473,396 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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:
http://www.law.emory.edu/~bchapman/tomcat5.html

1. I installed jpackage-utils by yum from jpackage repo
2. rpmbuild --rebuild /usr/local/src/java-1.5.0-sun-1.5.0.11-1jpp.nosrc.rpm
3. rpm -ivh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.11-1jpp.i586.rpm
4. rpm -ivh
/usr/src/redhat/RPMS/i586/java-1.5.0-sun-devel-1.5.0.11-1jpp.i586.rpm
5. rpmbuild --rebuild --without javadoc
/usr/local/src/jta-1.0.1-0.b.4jpp.nosrc.rpm
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
at
org.apache.tomcat.util.compat.JdkCompat.<clinit>(J dkCompat.java:55)
at
org.apache.catalina.startup.ClassLoaderFactory.<cl init>(ClassLoaderF
at
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!

-Chen
Apr 20 '07 #1
0 4832

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: shanmukhi | last post by:
Hi, I am using tomcat i got a problem with tomcat 5.0.25 as i specified jdk path during installation of tomcat as C:/j2sdk1.4.2_12/jre i tried by specifying path as...
9
by: mak1084 | last post by:
hi folks, i installed tomcat 5.5... and there was already jdk 1.5.0.02 was installed. i cofigure the path JAVA_HOME and CLASSPATH corectly but i'm not able to compile servlet. do i need to add ne...
3
by: aradhanathawait | last post by:
Hi all I have installed tomcat5 server and also jdk.1.5.0 and set the classpath, path catalina_home and java_home variables. I wrote a HelloServlet.java , compiled it and copied the class file to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.