dcsimg
AccessControlException while starting the Tomcat 4 Server
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Basil_Kurian
Posted On:   Tuesday, January 17, 2012 01:33 AM

Hi, While starting the Tomcat4 server AccessControlException is coming java.security.AccessControlException: access denied (java.util.PropertyPermission catalina.home read) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269) at java.security.AccessController.checkPermission(AccessController.java:401) at java.lang.SecurityManager.checkPermission(SecurityManager.java:524) at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1276) at java.lang.System.getProperty(System.java:573) I am running the Tomcat as a windows service. Installed the service by executing a batch file with below options.    More>>

Hi,

While starting the Tomcat4 server AccessControlException is coming



java.security.AccessControlException: access denied (java.util.PropertyPermission catalina.home read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1276)
at java.lang.System.getProperty(System.java:573)



I am running the Tomcat as a windows service.

Installed the service by executing a batch file with below options.



tomcat.exe -install Tomcat C:j2sdk1.4.2_02jre inserverjvm.dll -jvm_option -Djava.class.path="c:Program Files omcat in ootstrap.jar" -jvm_option -Dcatalina.home="c:Program Files omcat" -jvm_option -Djava.security.auth.login.config="c:Program Files omcatconfjaas.config" -jvm_option -Djava.security.manager -jvm_option -java.security.policy="c:Program Files omcatconfcatalina.policy" -jvm_option -java.endorsed.dirs="c:j2sdk1.4.2_02jrelibendorsed" -jvm_option -Xms1024M -jvm_option -Xmx1024M -jvm_option -Duser.dir="F: uild2webcontentsso" -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out f:logs omcatservice.out -err f:logs omcatservice.err



Is there any issues in the properties set in the service..? Please help

   <<Less
About | Sitemap | Contact