tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Johnson <d_john...@cox-internet.com>
Subject Re: JSVC, Redhat, and Tomcat 5.0.xx startup
Date Tue, 29 Jun 2004 05:05:09 GMT
Thanks for the feedback so far.  It has been very helpful - I think that
I am having an issue with my relative inexperience with linux boot
processes. 

I have made the log as verbose as I could, and it appears that linux is
trying to start Tomcat before the network is fully available. 

Tomcat.sh is a trivial modification of the sample file that is shipped
with the Tomcat server. 

The call to Tomcat.sh is fired from a script called "tomcat" in init.d 

Is it possible that I have my startup script in the wrong folder? 

Thanks, 

Log excerpt (successful startup): 

INFO: Installing web application at context path  from URL
file:/opt/jakarta-tomcat-5.0.25/webapps/ROOT 
Jun 28, 2004 11:50:19 PM org.apache.coyote.http11.Http11Protocol start 
INFO: Starting Coyote HTTP/1.1 on http-8000 
Jun 28, 2004 11:50:20 PM org.apache.jk.common.ChannelSocket init 
INFO: JK2: ajp13 listening on /0.0.0.0:8009 
Jun 28, 2004 11:50:20 PM org.apache.jk.server.JkMain start 
INFO: Jk running ID=0 time=17/128 
config=/opt/jakarta-tomcat-5.0.25/conf/jk2.properties 
Jun 28, 2004 11:50:21 PM org.apache.catalina.startup.Catalina start 
INFO: Server startup in 30279 ms 


Log excerpt (failed startup): 

INFO: Installing web application at context path  from URL
file:/opt/jakarta-tomcat-5.0.25/webapps/ROOT 
Jun 28, 2004 11:12:11 PM org.apache.coyote.http11.Http11Protocol start 
INFO: Starting Coyote HTTP/1.1 on http-8000 
Jun 28, 2004 11:12:12 PM org.apache.jk.common.ChannelSocket init 
INFO: JK2: ajp13 listening on /0.0.0.0:8009 
Jun 28, 2004 11:12:12 PM org.apache.jk.server.JkMain start 
INFO: Jk running ID=0 time=22/190 
config=/opt/jakarta-tomcat-5.0.25/conf/jk2.properties 
Jun 28, 2004 11:12:12 PM org.apache.catalina.startup.Catalina start 
INFO: Server startup in 32346 ms 
Jun 28, 2004 11:33:11 PM org.apache.coyote.http11.Http11Protocol pause 
INFO: Pausing Coyote HTTP/1.1 on http-8000 
Jun 28, 2004 11:33:12 PM org.apache.coyote.tomcat5.CoyoteConnector pause
SEVERE: Protocol handler pause failed 
java.net.SocketException: Network is unreachable 
at java.net.PlainSocketImpl.socketConnect(Native Method) 
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) 
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) 
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) 
at java.net.Socket.connect(Socket.java:452) 
at java.net.Socket.connect(Socket.java:402) 
at java.net.Socket.<init>(Socket.java:309) 
at java.net.Socket.<init>(Socket.java:124) 
at
org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:420) 
at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:264) 
at org.apache.jk.server.JkMain.pause(JkMain.java:657) 
at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:199) 
at
org.apache.coyote.tomcat5.CoyoteConnector.pause(CoyoteConnector.java:1417) 
at
org.apache.catalina.core.StandardService.stop(StandardService.java:517) 
at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:2332) 
at org.apache.catalina.startup.Catalina.stop(Catalina.java:605) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
at java.lang.reflect.Method.invoke(Method.java:324) 
at org.apache.catalina.startup.Bootstrap.stop(Bootstrap.java:296) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
at java.lang.reflect.Method.invoke(Method.java:324) 
at
org.apache.commons.daemon.support.DaemonLoader.stop(DaemonLoader.java:241) 
jsvc.exec error: Shutdown or reload already scheduled 
jsvc.exec error: Shutdown or reload already scheduled 
jsvc.exec error: Shutdown or reload already scheduled 
jsvc.exec error: Shutdown or reload already scheduled 
jsvc.exec error: Shutdown or reload already scheduled 
jsvc.exec error: Shutdown or reload already scheduled 
jsvc.exec error: Shutdown or reload already scheduled 
jsvc.exec error: Shutdown or reload already scheduled 
jsvc.exec error: Shutdown or reload already scheduled 
jsvc.exec error: Shutdown or reload already scheduled 
jsvc.exec error: Shutdown or reload already scheduled 
jsvc.exec error: Shutdown or reload already scheduled 
jsvc.exec error: Shutdown or reload already scheduled 
jsvc.exec error: Shutdown or reload already scheduled 
jsvc.exec error: Shutdown or reload already scheduled 
jsvc.exec error: Shutdown or reload already scheduled 
jsvc.exec error: Shutdown or reload already scheduled 
jsvc.exec error: Shutdown or reload already scheduled 
jsvc.exec error: Service exit with a return value of 143 



---------------------------------------------------------------------
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