Dear Martin, this is the weird thing. I do have $CATALINA_HOME/bin/bootstrap.jar in the classpath
I can say this because, I start up Tomcat (on Linux this is) with "bash catalina.sh run". Looking at the catalina.sh file I can say that $CATALINA_HOME/bin/bootstrap.jar is in the classpath. BUT, org.apache.naming.JndiPermission.class is in $CATALINA_HOME/bin/bootstrap.jar!!! Anyway, what i did was reinstall JDK and Tomcat from scratch and it seemed to have fixed my problems with jar files. If anyone knows exactly why I had to reinstall everything I would like to know :) Also, if anyone knows a less invasive solution to my troubles, I would really appreciate if they would tell me as well. Regards, Yakov P.S. my problems with jar files, can be probably attributed to the fact, that I decided to copy and paste different jar files from all over the place, inlcuding other version of Tomcat. Alas, I paid the price. ----- Original Message ----- From: "Martin Gainty" <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, January 13, 2004 11:02 PM Subject: Re: Help, please! :) > Yakov > You need bootstrap.jar in your classpath > How do you start Tomcat without bootstrap.jar in your classpath? > Martin > ----- Original Message ----- > From: "Yakov Belov" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, January 12, 2004 7:29 PM > Subject: Help, please! :) > > > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
