Dear All,
it is me again.
The full story is, that I get the stacktrace only if I uncomment the /ROOT
context tag in the server.xml file.
But if I leave everything as it was, I don't get any exceptions, but also
none of my aspplications get installed, which sux. However if I try to
manually install them using manager application, which runs, thank god, I
get get the same error:
FAIL - Encountered exception java.lang.NoClassDefFoundError:
org/apache/naming/JndiPermission
This is why I attempted to uncomment the /ROOT context tag. But it didn't
work.
So, why are my applications not able to be installed ?
Regards,
Yakov
----- Original Message -----
From: "Yakov Belov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 12, 2004 6:01 PM
Subject: All of a sudden Catalina can not start.
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]