You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Oliver Hirschi <o....@bluewin.ch> on 2008/07/16 11:25:09 UTC
Tomcat does not start after update
Hi
Since a Java or a MacOSX update, my Tomcat 6.0.14 does not start on my
MacOSX Server 10.4.11. There comes always the followed message into
catalina.out:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/digester/Rule
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:127)
The current java version is 1.5.0_13
Can anybody help?
Thanks & Regards,
Oliver Hirschi
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Tomcat does not start after update
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: news [mailto:news@ger.gmane.org] On Behalf Of Oliver Hirschi
> Subject: Re: Tomcat does not start after update
>
> I also tested
> System.out.println(System.getProperty("java.class.path"));
> in a test-class and so the output was:
> .:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
> Classes/.compatibility/14compatibility.jar
>
> So it seems the classpath is set correct or isn't it?
The above looks rather unusual. The classpath is being set somewhere, otherwise it would have only the "." entry. Also, if that's the Tomcat 5.5 compatibility package jar for running with a 1.4 JVM, it must not be present for execution on a 1.5 JVM, so get rid of it.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat does not start after update
Posted by Oliver Hirschi <o....@bluewin.ch>.
"Caldarale, Charles R" <Ch...@unisys.com> schrieb im
Newsbeitrag
news:0AAE5AB84B013E45A7B61CB66943C17213B839502E@USEA-EXCH7.na.uis.unisys.com...
> > From: news [mailto:news@ger.gmane.org] On Behalf Of Oliver Hirschi
> > Subject: Tomcat does not start after update
> >
> > Since a Java or a MacOSX update, my Tomcat 6.0.14 does not start on
> > my
> > MacOSX Server 10.4.11. There comes always the followed message into
> > catalina.out:
>
> Make sure the CLASSPATH environment variable is not set. Apple
> hasn't figured out yet that it should > never be set, and certain
> product installs muck with it.
>
Hi Chuck,
I typed into Terminal "echo $CLASSPATH", but there coms a blank line,
so it seems no classpath is set as environment variable.
I also tested
System.out.println(System.getProperty("java.class.path")); in a
test-class and so the output was:
.:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar
So it seems the classpath is set correct or isn't it?
Thanks, Oli
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Tomcat does not start after update
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: news [mailto:news@ger.gmane.org] On Behalf Of Oliver Hirschi
> Subject: Tomcat does not start after update
>
> Since a Java or a MacOSX update, my Tomcat 6.0.14 does not start on my
> MacOSX Server 10.4.11. There comes always the followed message into
> catalina.out:
Make sure the CLASSPATH environment variable is not set. Apple hasn't figured out yet that it should never be set, and certain product installs muck with it.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org