Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

All of a sudden Catalina can not start.

Yakov Belov

2004-01-12

Replies:

Dear All,

I have Tomcat 4.1.29 and untill today I had no problems with it.

Today I decided to restart it (silly me) and Tomcat won't start, but shows the following stack trace:

java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke (Method.java:324)
    at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:203)
Caused by: java.lang.NoClassDefFoundError: org/apache/naming/JndiPermission

so, I think what is happening, is that server.xml is being processed and for some reason JndiPermission.class, which is in bootstrap.jar, is not seen. How can I tell Tomcat where to look? I have created a CLASSPATH variable, but I am not sure if it is used.

I looked on the web and noticed other people having the same problem, but not too many answers to it.

Can someone help?

Regards,
Yakov
©2008 junlu.com - Jax Systems, LLC, U.S.A.