J
JScoobyCed
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
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