Tomcat4 restart/stop problem.

Emir emir-rdkfGonbjUTTQjIoRn/dzw at public.gmane.org
Thu Jan 8 23:05:22 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/01/2004 15:28, Lance F. Squire wrote:

> I can't seem to restart or stop a tomcat4 server on my system,
> I get :
>
> Stopping tomcat4: Using CATALINA_BASE:   /var/tomcat4
> Using CATALINA_HOME:   /var/tomcat4
> Using CATALINA_TMPDIR: /var/tomcat4/temp
> Using JAVA_HOME:       /usr/java/j2sdk1.4.1_01

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

> 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?

> and hangs there until ^c.
>
> 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?


- --
Emir.

"Politicians, like diapers, have to be changed frequently.
 And for the very same reason."               -- Anonymous
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)

iD8DBQE//eIxuSy542G+Z7QRAjtOAJ9kp+sZYKGF2IeKIOZexYKvTlss8ACbB4qi
bloZqnnB8L3JqQ0L4/ErxF8=
=eNk/
-----END PGP SIGNATURE-----

--
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