Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
There is less than 24 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I install the apache-tomcat-5.5.23, but I can't view page http://localhost:8080. Is there any error in following message?
root@localhost apache-tomcat-5.5.23> /usr/src/apache-tomcat-5.5.23/bin/startup.sh
Using CATALINA_BASE: /usr/src/apache-tomcat-5.5.23
Using CATALINA_HOME: /usr/src/apache-tomcat-5.5.23
Using CATALINA_TMPDIR: /usr/src/apache-tomcat-5.5.23/temp
Using JRE_HOME: /usr/java/jdk1.5.0_07
Or do I neet to paste out other file for discussion?
EDIT: by the way, it seems that I have different jave modules installed, do I need to uninstall the previous version?
Last edited by brave heart; 08-02-2007 at 05:50 AM.
That's strange, since startup.sh produces no errors but tomcat is not running. According to catalina.out the startup process is stopping somewhere in the middle but with no errors.
One thing I've noticed is the path to catalina.out (and admin.xml, balancer.xml) that is /var/www/tomcat. If this is correct, then your CATALINA_* variables should point to /var/www/tomcat
Where is tomcat installed? And how did you installed it?
Because the only thing you need to define in order to run tomcat is JAVA_HOME. The various CATALINA_* variables are taken from the path to the startup script.
And I installed apache-tomcat-5.5.23 in /usr/java via instruction of
The instructions you mentioned are for building jsvc which is used to run tomcat as daemon and /usr/java is the path to the jdk needed. I think that you've extracted the tomcat archive under /usr/src, so the CATALINA_* are /usr/src/apache-tomcat-5.5.23. If that's the case, remove (or comment out) the TOMCAT_HOME from your /etc/profile, or edit it to be the same as CATALINA_HOME and then logout/login again to re-read your profile. Or run
Then try to start tomcat using the /usr/src/apache-tomcat-5.5.23/bin/startup.sh script.