469,338 Members | 8,424 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,338 developers. It's quick & easy.

Tomcat5+CentOS 4.2+JDK 1.5.0_11 Failure

Hi all,

I have been working on this problem for two days, any suggestion would
be very appreciated.

I am installing Tomcat5 on CentOS 4.2 with the following instructions:

1. I installed jpackage-utils by yum from jpackage repo
2. rpmbuild --rebuild /usr/local/src/java-1.5.0-sun-
3. rpm -ivh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-
4. rpm -ivh
5. rpmbuild --rebuild --without javadoc
6. rpm -ivh /usr/src/redhat/RPMS/noarch/jta-1.0.1-0.b.4jpp.noarch.rpm

So that I installed jdk 1.5.0_11, then I installed tomcat5 with
yum install yum install tomcat5 tomcat5-admin-webapps tomcat5-webapps

There was a problem when I installed tomcat5:
JVM_LIBDIR /usr/lib/jvm-exports/java does not exist or is not a directory

I then modified /etc/tomcat5/tomcat5.conf, commented out JAVA_HOME to
use the system one.

I then run
# /etc/rc.d/init.d/tomcat5 start

It said OK but tomcat5 was not on. I check
/var/log/tomcat5/catalina.out, it said:

Bootstrap: Class loader creation threw exception
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
org.apache.tomcat.util.compat.JdkCompat.<clinit>(J dkCompat.java:55)
org.apache.catalina.startup.ClassLoaderFactory.<cl init>(ClassLoaderF
org.apache.catalina.startup.Bootstrap.initClassLoa ders(Bootstrap.jav
at org.apache.catalina.startup.Bootstrap.init(Bootstr ap.java:196)
at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:402)
I googled the error log, it seemed that the problem has to do with
commons-logging.jar, can any one help me with this?

Thank you so much for your time!

Apr 20 '07 #1
0 4635

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by shanmukhi | last post: by
9 posts views Thread by mak1084 | last post: by
3 posts views Thread by aradhanathawait | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Purva khokhar | last post: by
1 post views Thread by haryvincent176 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.