Tomcat4 restart/stop problem.

Lance F. Squire lance-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Fri Jan 9 05:05:02 UTC 2004


Emir wrote:
> 
> Don't need to set CATALINA_BASE or CATALINA_TMPDIR; unless you know the exact
> reason you're setting it, it's best left unset.  All you need is CATALINA_HOME
> and JAVA_HOME and these need to point to the top level directory where Tomcat4
> and J2SE are installed, respectively.  On my machine, for example, it's
> /usr/java/jakarta-tomcat-4.1.24 and /usr/java/j2sdk1.4.2_03
> 

I'll check if the developer did that.

> 
>>Exception during startup processing
>>java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
>>	at org.apache.catalina.loader.StandardClassLoader.loadClass(Unknown Source)
>>	at org.apache.catalina.loader.StandardClassLoader.loadClass(Unknown Source)
>>	at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
>>                                                            [FAILED]
> 
> 
> Long story short: classloader is unable to locate
> org.apache.catalina.startup.Catalina class (usually contained in
> $CATALINA_HOME/server/lib/catalina.jar).  Did you change the directory
> structure of the Tomcat installation?  Are you using default start/stop scripts?
> 

Thanks, That gives me something to look at...

>>Now this system was working fine until I tryed to allow a developer
>>access to the tomcat files.
> 
> 
> What exactly do you mean by that?
> 

I'd rather plead the fifth on that one :)

Actually, I chgrp everything under bla/../tomcat4. to tomcat4. I thought 
this would work as I had made the developer part of the tomcat4 grp. But 
it didn't, so I changed access mode to world read write execute. Not 
wise, not secure, (My BAD...)but now the developer could access the 
relative files.


--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list