Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

problem getting Tomcat5 working (log file and trace includ..

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  IUSER Question  
Author Message
bbulsara23

External


Since: Aug 25, 2005
Posts: 1



(Msg. 1) Posted: Thu Aug 25, 2005 12:11 pm
Post subject: problem getting Tomcat5 working (log file and trace included)
Archived from groups: alt>apache>configuration (more info?)

Hi, I have installed tomcat 5 on debian using "apt-get install tomcat5"
accepting all defaults. It installs fine, I setup the policy file
default, and it appears to work. Tomcat starts. Tomcat stops. I don't
know why it stops. There is nothing in the logs I am looking in (but
I've include it below anyway). So where should I look now and what
should I do?

Below is a log of me manually starting tomcat5, seeing it is working
with /etc/init.d/tomcat5 status, then it stops a few seconds after it
starts, and I display the log file. My machine is called john.one.co.uk
and I am executing this script as root.

There seems to be a bit of info about using Tomcat 5 on debian I found
in Google but I see more or less the same thing with Tomcat 4. So,
what's up or any ideas most welcome even if you're using Windows or
other flavours of linux. Or if there are other logs I should be
reviewing etc.
Thanks in advance
Barry


<<< Log from john.one.co.uk started August 25, 2005, 19:50:57 >>>
john:/# find / -name tomcat5.pid -print
john:/# ls /var/log/tomcat5
john:/# /etc/init.d/tomcat5 start
Starting Tomcat 5 servlet engine using Java from /usr/lib/kaffe:
tomcat5.
john:/# /etc/init.d/tomcat5 status
Tomcat 5 servlet engine is running with Java pid 25197
john:/# /etc/init.d/tomcat5 status
Tomcat 5 servlet engine is running with Java pid 25197
john:/# /etc/init.d/tomcat5 status
Tomcat 5 servlet engine is running with Java pid 25197
john:/# /etc/init.d/tomcat5 status
Tomcat 5 servlet engine is running with Java pid 25197
john:/# /etc/init.d/tomcat5 status
Tomcat 5 servlet engine is running with Java pid 25197
john:/# /etc/init.d/tomcat5 status
Tomcat 5 servlet engine is not running, but pid file exists.
john:/# find / -name tomcat5.pid -print
/var/lib/tomcat5/temp/tomcat5.pid
john:/# cat /var/lib/tomcat5/temp/tomcat5.pid
25197
john:/# ls -la /var/log/tomcat5
total 12
drwxr-x--- 2 tomcat5 root 4096 Aug 25 13:02 .
drwxr-xr-x 11 root root 4096 Aug 25 01:52 ..
prwx------ 1 tomcat5 root0 Aug 25 13:02 catalina.out
-rw-r--r-- 1 tomcat5 nogroup 558 Aug 25 13:02
catalina_2005-08-25.log
john:/# cat /var/log/tomcat5/catalina_2005-08-25.log
Using CATALINA_BASE: /var/lib/tomcat5
Using CATALINA_HOME: /usr/share/tomcat5
Using CATALINA_TMPDIR: /var/lib/tomcat5/temp
Using JAVA_HOME:/usr/lib/kaffe
Due to new licensing guidelines mandated by the Apache Software
Foundation Board of Directors, a JMX implementation can no longer
be distributed with the Apache Tomcat binaries. As a result, you
must download a JMX 1.2 implementation (such as the Sun Reference
Implementation) and copy the JAR containing the API and
implementation of the JMX specification to:
${catalina.home}/bin/jmx.jar
john:/# ls -l /usr/share/tomcat5/bin
total 816
-rw-r--r-- 1 root root 29869 Aug 20 09:51 bootstrap.jar
-rwxr-xr-x 1 root root 9726 Aug 20 09:48 catalina.50.sh
-rwxr-xr-x 1 root root 10321 Aug 20 09:48 catalina.sh
lrwxrwxrwx 1 root root 29 Aug 21 15:26 commons-daemon.jar ->
.../../java/commons-daemon.jar
lrwxrwxrwx 1 root root 31 Aug 21 15:26 commons-launcher.jar ->
.../../java/commons-launcher.jar
lrwxrwxrwx 1 root root 34 Aug 21 15:26 commons-logging-api.jar ->
.../../java/commons-logging-api.jar
-rwxr-xr-x 1 root root 848 Aug 20 09:48 digest.sh
-rw-r--r-- 1 root root 343900 Jun 18 2004 jmx.jar
-rw-r--r-- 1 root root 398235 Aug 20 09:46 jmxOLD.jar
-rwxr-xr-x 1 root root 2315 Aug 20 09:48 setclasspath.sh
-rwxr-xr-x 1 root root 787 Aug 20 09:48 shutdown.sh
-rwxr-xr-x 1 root root 1136 Aug 20 09:48 startup.sh
-rwxr-xr-x 1 root root 2510 Aug 20 09:48 tool-wrapper.sh
-rwxr-xr-x 1 root root 790 Aug 20 09:48 version.sh
john:/#
<<< Log from john.one.co.uk ended August 25, 2005, 19:55:15 >>>

 >> Stay informed about: problem getting Tomcat5 working (log file and trace includ.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache2.0.47-Tomcat5.5.4 Integration Problem - Hi Everybody, I am trying to integrate the Apache Ver 2.0.47 and Tomcat 5.5.4 using the jk connector Version 1.2.5 (downloaded binary from tomcat site) on Solaris. I am using Apache with mod_ssl. I have configured the jk connector in the following way:...

Apache2.0.47-Tomcat5.5.4 Integration Problem - Hi Everybody, I am trying to integrate the Apache Ver 2.0.47 and Tomcat 5.5.4 using the jk connector Version 1.2.5 (downloaded binary from tomcat site) on Solaris. I am using Apache with mod_ssl. I have configured the jk connector in the following way:...

Tomcat5 segmentation fault - I'm trying to run Tomcat 5.0.19 with Sun's j2sdk1.4.2_03 on a linux server. But the startup.sh script hangs with a segmentation fault. After a Google search I discovered that some people had solved this problem by downgrading to 1.3 jdk. Is there anothe...

Disabling all examples etc with Tomcat5 - Hello, kind of a newbie question, most likely also answered earlier aswell, but I'll try my luck anyway... So, we are setting up a environment with Tomcat5, which will be webserver for another application, which means, that tomcat is not ment to be..

mod_jk, tomcat5.5 sticky seesion need help - I keep getting round robin behavor from my tomcat servlets, very bad since some servlets are doing POST commands. Here is what my worker.properties file looks like # # workers.properties # # list the workers by name worker.list=Tomcat5, Tomcat5_1,..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]