Security and Tomcat

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top