Tomcat & RMI & policy files
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   s_k
Posted On:   Wednesday, April 11, 2001 02:35 PM

We are using Tomcat 3.2 and need to connect to an RMI based server process from a JSP page.

We have used these switches to specify the policy file
-Djava.security.manager -Djava.security.policy=="%TOMCAT_HOME%/conf/tomcat.policy" -Dtomcat.home="%TOMCAT_HOME%"

But anytime we change the policy file from "all permissions" to a specific codebase, we get 'Access denied' errors.....any help on this is welcome.

Re: Tomcat & RMI & policy files

Posted By:   AlessandroA_Garbagnati  
Posted On:   Wednesday, April 11, 2001 02:54 PM

Hi,

Have you already checked out the pages Using the Java SecurityManager with Tomcat.
In the paragraph related to unix security there are some hints on troubleshooting. Maybe setting the debug flag on, could give you more hints:

TOMCAT_OPTS=-Djava.security.debug=all
About | Sitemap | Contact