|
Home > Archive > Web Servers on Unix and Linux > December 2004 > Tomcat5 on Redhat won't start
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Tomcat5 on Redhat won't start
|
|
|
|
I've been struggling to get tomcat5 running on RHE 3.0. Can somebody
help me with these log entries?:
java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1747)
at java.lang.Class.getConstructor1(Class.java:2063)
at java.lang.Class.newInstance3(Class.java:331)
at java.lang.Class.newInstance(Class.java:305)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:205)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:399)
I have _everything_ installed (via up2date and RHN Application Server
channel).
Also, despite "/etc/init.d/tomcat5 start" returning '[OK]', no process
is found running with PID found in /var/run/tomcat5.pid. I've also
added the jk2 connector, modified httpd.conf to use it, ... and, well,
I'm not sure whether I should be expective Tomcat to run in stanalone
or Apache mode.
I've spent a week at this... please help!
TIA
(please excuse the burp when replying)
| |
| Juha Laiho 2004-12-18, 5:47 pm |
| Jaz <harbell@beerburp.com> said:
>I've been struggling to get tomcat5 running on RHE 3.0. Can somebody
>help me with these log entries?:
>
>java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at java.lang.Class.privateGetDeclaredConstructors(Class.java:1747)
> at java.lang.Class.getConstructor1(Class.java:2063)
> at java.lang.Class.newInstance3(Class.java:331)
> at java.lang.Class.newInstance(Class.java:305)
> at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:205)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:399)
Ok, so Tomcat does initially start, but doesn't get very far before
tripping over. The commons-digester that is reported as missing in
the above should be found in file server/lib/commons-digester.jar
within the Tomcat binary directory. You might wish to check that
this file is in place.
Also, see if you can find file named catalina.properties (should be
found in conf/ directory). This file lists places where Tomcat looks
for the server classes (line starting with "server.loader"), and
look for the directories listed in that line to see if you can find
the commons-digester.jar from one of those directories.
>I have _everything_ installed (via up2date and RHN Application Server
>channel).
So this is stock RH-provided Tomcat? How about contacting RH for support?
If you haven't made anything to the configuration by yourself, it
looks like RH has messed up their Tomcat installation.
>Also, despite "/etc/init.d/tomcat5 start" returning '[OK]', no process
>is found running with PID found in /var/run/tomcat5.pid.
Yep; sounds like the process will start for long enough for the pid to be
recorded, but fails soon after.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
| |
| suga_rray@yahoo.com 2004-12-21, 2:50 am |
| Also see if the paths to the class files (where ever applicable) are
fine.. just yesterday i had trouble here and when i appended the
CLASS_PATH with yet another entry it was working.
| |
| suga_rray@yahoo.com 2004-12-21, 2:50 am |
| Check the JAVA_HOME and CLASSPATH viariables are set properly.
we have configured tomcat 5, apache[2.0.49], jk2 and all from the soure
code and we had a great help from --
http://www.reliablepenguin.com/clients/misc/tomcat
I hope u will come around ur trouble..
|
|
|
|
|