Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AccessControlException while starting the Tomcat4 Server

 
Basil Kurian
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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_02\jre\bin\server\jvm.dll -jvm_option -Djava.class.path="c:\Program Files\tomcat\bin\bootstrap.jar" -jvm_option -Dcatalina.home="c:\Program Files\tomcat" -jvm_option -Djava.security.auth.login.config="c:\Program Files\tomcat\conf\jaas.config" -jvm_option -Djava.security.manager -jvm_option -java.security.policy="c:\Program Files\tomcat\conf\catalina.policy" -jvm_option -java.endorsed.dirs="c:\j2sdk1.4.2_02\jre\lib\endorsed" -jvm_option -Xms1024M -jvm_option -Xmx1024M -jvm_option -Duser.dir="F:\build2\webcontent\sso" -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out f:\logs\tomcat\service.out -err f:\logs\tomcat\service.err

Is there any issues in the properties set in the service..? Please help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic