Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

AccessControlException while starting the Tomcat4 Server

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic