Loading...

slide-user@jakarta.apache.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

ubuntu + tomcat5: error initializing domain Pere Cortada Bonjoch Fri Sep 28 00:07:39 2007

Hi,

I've just installed a fresh version of tomcat 5 on ubuntu 7.04 (Feisty).
When starting tomcat (/etc/init.d/tomcat5 start) I receive a exception
initializing Domain:

26 Sep 2007 23:00:57 - org.apache.slide.common.Domain - INFO -
Initializing Domain
java.lang.ExceptionInInitializerError
        at org.apache.slide.common.Domain.init(Domain.java:413)
        at org.apache.slide.common.Domain.init(Domain.java:366)
        at org.apache.slide.common.Domain.init(Domain.java:329)
        at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:253)
        at javax.servlet.GenericServlet.init(GenericServlet.java:211)
        at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:195)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
.....
.....
.....

Caused by: java.security.AccessControlException: access denied
(java.io.FilePermission
/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/slide.properties read)
        at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
        at 
java.security.AccessController.checkPermission(AccessController.java:546)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
        at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
        at java.io.File.exists(File.java:731)
       .....
       .....


I think there must be an erro in ClassPath because it's searching  in
/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/ that it's my
$JAVA_HOME/jre/lib instead than in $CATALINA_HOME/common/classes or
WEB-INF folder.

Anyone know where it's defined the slide.war classpath to avoid searching there?

Thanks a lot
PD: i've tried to create the slide.properties and give permissions,
but it didn't work

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]