Security and Tomcat
From: JScoobyCed (pim_at_pam.poum)
Date: 11/30/04
- Next message: Yakima Jones: "Laptop with Websphere"
- Previous message: www.hwwfs.url.cjb.net: "Re: report matt parker to portland@fbi.gov"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Nov 2004 15:40:40 +0700
Hi,
I have a RMI client that looks up to a RMI server. The client is
running under Tomcat
I have added the catalina.policy in the JVM environment, in which I have
put my security policies
It works fine except with an external library (quartz scheduler).
That lib reads a .properties file from its own .jar:
quartz.jar:
/org/quartz/quartz.properties < the lib class tries to read that one
/org/quartz/blabla.class
/org/quartz/blabla1.class
/org/quartz/blabla2.class
When starting Tomcat, i got this Exception:
java.security.AccessControlException: access denied
(java.io.FilePermission quartz.properties read)
at java.security.AccessControlContext.checkPermission()
at java.security.AccessController.checkPermission()
at java.lang.SecurityManager.checkPermission()
at java.lang.SecurityManager.checkRead()
at java.io.File.exists(File.java:678)
at org.quartz.impl.StdSchedulerFactory.initialize()
...
How could I set the policy in the catalina.policy ? I can't find the
correct syntax. Or is there a better way to do?
Cedric
- Next message: Yakima Jones: "Laptop with Websphere"
- Previous message: www.hwwfs.url.cjb.net: "Re: report matt parker to portland@fbi.gov"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]