tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Wingfield <jon.wingfi...@mkodo.com>
Subject Re: Stopping tomcat but can not make it start again.
Date Tue, 15 Apr 2003 11:13:49 GMT
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 ;)


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: java.net.ConnectException: Connection refused
> java.net.ConnectException: Connection refused
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
>         at 
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
>         at java.net.Socket.connect(Socket.java:425)
>         at java.net.Socket.connect(Socket.java:375)
>         at java.net.Socket.<init>(Socket.java:290)
>         at java.net.Socket.<init>(Socket.java:118)
>         at org.apache.catalina.startup.Catalina.stop(Catalina.java:831)
>         at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
>         at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
> 
> 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,
> 
> Ricky
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message