Wednesday November 02, 2005 at 20:45
Subject: Installing Tomcat5 on RHEL4 or CentOS4.2
Keywords:
CentOS, CentOS4.2, Java, RHEL, RHEL4, Tech, Technical, Tomcat5
Posted by: Scott Kleihege
Related entries:Installing Tomcat5 on CentOS4 with JDK 1.5 by Scott Kleihege, Wednesday April 11, 2007 at 00:12
Due to licensing issues, installing Java base packages on Linux is several orders of magnitude more difficult than packages which are included in your distribution's base, or even software from some third party repositories. The good people at JPackage.org have gone to a lot of effort to make it pretty easy to install Java packages on RPM-based machines. Sadly, unless Sun decides to start allowing for free redistribution of it's packages, it still requires some manual installation.
In the course of our recent travels we've found it necessary to install tomcat for customer web-sites. Fedora Core 4 includes most of these files in the base, but we haven't tested it yet; you may still need to seek out some files from the Sun website. My notes for installing Tomcat5 on Red Hat Enterprise Linux 4 or CentOS 4.2 are available here. If you're using another RPM based distribution, your instructions should be similar.
(Post Reply)
| Comment |
KDCF Subject: re: Tomcat 5 + Java + CentOS 4.2 |
| Comment |
Author:
Sean Reifschneider Subject: Thanks for the suggestion. |
Sean
| Comment |
Marcos Subject: Failed dependencies |
It's the only useful resource I found on the subjetc. However I got into trouble with the line:
rpm -ivh /usr/src/redhat/RPMS/i586/java-1.4.2-sun-1.4.2.09-1jpp.i586.rpmthat results in the following errors:
error: Failed dependencies:
libjava.so(SUNWprivate_1.1) is needed by java-1.4.2-sun-1.4.2.09-1jpp.i586
libjvm.so(SUNWprivate_1.1) is needed by java-1.4.2-sun-1.4.2.09-1jpp.i586
libnet.so(SUNWprivate_1.1) is needed by java-1.4.2-sun-1.4.2.09-1jpp.i586
libverify.so(SUNWprivate_1.1) is needed by java-1.4.2-sun-1.4.2.09-1jpp.i586
I'm stuck there. Why is this happening and how to work around it. Please help with this. I'm a linux newbie and have nowhere else to turn to for help.
Thank you very much.
| Comment |
Author:
Sean Reifschneider Subject: Dependencies. |
| Comment |
Author:
Sean Reifschneider Subject: More on dependency issues. |
| Comment |
Author:
Scott Kleihege Subject: Guide for JDK 1.5 available |