tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ricky Ignatius <>
Subject Re: Stopping tomcat but can not make it start again.
Date Wed, 16 Apr 2003 18:02:04 GMT
At 12:13 PM 4/15/2003 +0100, you wrote:
>Even though you got [OK] on starting the service, tomcat didn't start. 
>Look in the tomcat log files for the reason.
>You got an error stopping the service because tomcat wasn't up. You may 
>need to kill the java processes associated with your failed startup (if 
>any remain).
>The unix command
>pstree -aup
>is helpful in determining which these are ;)

Hi John,
I though so, tomcat is not runing yet.

This happend when I change ownership /tomcat4/conf/ directory to tomcat4 
from root
[root@www tomcat4]#chmod -R tomcat4.tomcat4 conf/

I stop tomcat, and start it again but can not.
Before that tomcat is running.

>These messages mean that the stop is failing. I usually see this error when
>I try to stop Tomcat when it isn't actually running.
>It looks to me like it may be terminating when you start it.  Check the
>catalina.out logfile.

Hi Andy,
But catalina.out is empty.

[root@www logs]# ll catalina.out*
-rw-r--r--   1 root     root            0 Apr 16 08:46 catalina.out
-rw-r--r--   1 root     root            0 Apr 16 08:46 catalina.out.1.gz
-rw-r--r--   1 root     root            0 Apr 16 08:46 catalina.out.10.gz
-rw-r--r--   1 root     root            0 Apr 16 08:46 catalina.out.2.gz
-rw-r--r--   1 root     root            0 Apr 16 08:46 catalina.out.3.gz
-rw-r--r--   1 root     root            0 Apr 16 08:46 catalina.out.4.gz
-rw-r--r--   1 root     root            0 Apr 16 08:46 catalina.out.5.gz
-rw-r--r--   1 root     root          746 Apr 16 08:46 catalina.out.6.gz
-rw-r--r--   1 root     root          647 Apr 16 08:46 catalina.out.7.gz
-rw-r--r--   1 root     root          222 Apr 16 08:46 catalina.out.8.gz
-rw-r--r--   1 root     root            0 Apr 16 08:46 catalina.out.9.gz

And I can not open catalina.out.6.gz - catalina.out.8.gz

[root@www logs]# gunzip  catalina.out.6.gz
gunzip: catalina.out.6.gz: unexpected end of file



>Ricky Ignatius wrote:
>>Hi All,
>>I tried to integrated tomcat with apache using mod_jk.
>>I stop tomcat but I can not make it start again.
>>When I start it, it written ok.
>>[root@www WEB-INF]# /etc/rc.d/init.d/tomcat4 start
>>Starting tomcat4:                                          [  OK  ]
>>When I stop it again, it wriiten.
>>[root@www WEB-INF]# /etc/rc.d/init.d/tomcat4 stop
>>Stopping tomcat4: Using CATALINA_BASE:   /var/tomcat4
>>Using CATALINA_HOME:   /var/tomcat4
>>Using CATALINA_TMPDIR: /var/tomcat4/temp
>>Using JAVA_HOME:       /usr/java/j2sdk1.4.0_01
>>Catalina.stop: Connection refused
>> Connection refused
>>         at Method)
>>         at
>>         at 
>>         at
>>         at
>>         at
>>         at<init>(
>>         at<init>(
>>         at org.apache.catalina.startup.Catalina.stop(
>>         at org.apache.catalina.startup.Catalina.execute(
>>         at org.apache.catalina.startup.Catalina.process(
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>>         at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>>         at java.lang.reflect.Method.invoke(
>>What I done before are only change owner of conf files to tomcat4, I 
>>already change it back to root owner.
>>Please help... it is on production server :(
>>Best Regards,
>>To unsubscribe, e-mail:
>>For additional commands, e-mail:
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message