I have seen a few postings around about this, but nothing that seems to
solve my issue.  When I shut down tomcat, it hangs and then throws a
'SEVERE: Protocol handler pause failed'  error that I can't seem to resolve,
but it does finally stop.  I have seen suggestions such as:

 

.         Port is already running

.         Ensure that the catalina.sh shell script has CATALINA_BASE,
CATALINA_HOME, and JAVA_HOME are all set correctly

 

None of these seem to be the case, as I can't connect to port 80 unless
tomcat is running, and my variables are all set in catalina.sh.

 

I have included output from when I start and stop tomcat.  As you can see, I
am using tomcat 5.0.27 with java 1.5.0_10.

 

I am running tomcat on a Linux box:

 

# uname -a

Linux f8101 2.6.9-55.0.6.ELsmp #1 SMP Thu Aug 23 11:13:21 EDT 2007 x86_64
x86_64 x86_64 GNU/Linux

 

Any suggestions in resolving this would be greatly appreciated.

 

 

Starting Tomcat

 

Using CATALINA_BASE:   /appl/WebServices/webapps/interfaces

Using CATALINA_HOME:   /appl/WebServices/jakarta-tomcat-5.0.27

Using CATALINA_TMPDIR: /appl/WebServices/webapps/interfaces/temp

Using JAVA_HOME:       /usr/java/jdk1.5.0_10

Sep 26, 2007 9:00:54 AM org.apache.coyote.http11.Http11Protocol init

INFO: Initializing Coyote HTTP/1.1 on http-80

Sep 26, 2007 9:00:54 AM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 1026 ms

Sep 26, 2007 9:00:54 AM org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

Sep 26, 2007 9:00:54 AM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/5.0.27

Sep 26, 2007 9:00:54 AM org.apache.catalina.core.StandardHost start

INFO: XML validation disabled

Sep 26, 2007 9:00:54 AM org.apache.catalina.core.StandardHost getDeployer

INFO: Create Host deployer for direct deployment ( non-jmx )

Sep 26, 2007 9:00:54 AM org.apache.catalina.core.StandardHostDeployer
install

INFO: Processing Context configuration file URL
file:/appl/WebServices/webapps/interfaces/conf/Catalina/localhost/admin.xml

Sep 26, 2007 9:00:55 AM org.apache.struts.util.PropertyMessageResources
<init>

INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true

Sep 26, 2007 9:00:55 AM org.apache.struts.util.PropertyMessageResources
<init>

INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true

Sep 26, 2007 9:00:55 AM org.apache.struts.util.PropertyMessageResources
<init>

INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources',
returnNull=true

Sep 26, 2007 9:00:56 AM org.apache.catalina.core.StandardHostDeployer
install

INFO: Processing Context configuration file URL
file:/appl/WebServices/webapps/interfaces/conf/Catalina/localhost/manager.xm
l

Sep 26, 2007 9:00:56 AM org.apache.catalina.core.StandardHostDeployer
install

INFO: Installing web application at context path /tmca from URL
file:/appl/WebServices/webapps/interfaces/tmca

Sep 26, 2007 9:00:56 AM org.apache.catalina.core.StandardHostDeployer
install

INFO: Installing web application at context path /AckMsg from URL
file:/appl/WebServices/webapps/interfaces/AckMsg

Sep 26, 2007 9:00:56 AM org.apache.catalina.core.StandardHostDeployer
install

INFO: Installing web application at context path /testcomms from URL
file:/appl/WebServices/webapps/interfaces/testcomms

Sep 26, 2007 9:00:57 AM org.apache.coyote.http11.Http11Protocol start

INFO: Starting Coyote HTTP/1.1 on http-80

Sep 26, 2007 9:00:57 AM org.apache.jk.common.ChannelSocket init

INFO: JK2: ajp13 listening on /0.0.0.0:8009

Sep 26, 2007 9:00:57 AM org.apache.jk.server.JkMain start

INFO: Jk running ID=0 time=1/19
config=/appl/WebServices/webapps/interfaces/conf/jk2.properties

Sep 26, 2007 9:00:57 AM org.apache.catalina.startup.Catalina start

INFO: Server startup in 3304 ms

 

 

Stopping Tomcat

 

$CATALINA_HOME/bin/catalina.sh stop

Using CATALINA_BASE:   /appl/WebServices/webapps/interfaces

Using CATALINA_HOME:   /appl/WebServices/jakarta-tomcat-5.0.27

Using CATALINA_TMPDIR: /appl/WebServices/webapps/interfaces/temp

Using JAVA_HOME:       /usr/java/jdk1.5.0_10

Sep 26, 2007 9:03:38 AM org.apache.coyote.http11.Http11Protocol pause

INFO: Pausing Coyote HTTP/1.1 on http-80

Sep 26, 2007 9:06:47 AM org.apache.coyote.tomcat5.CoyoteConnector pause

SEVERE: Protocol handler pause failed

java.net.ConnectException: Connection timed out

        at java.net.PlainSocketImpl.socketConnect(Native Method)

        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

        at java.net.Socket.connect(Socket.java:519)

        at java.net.Socket.connect(Socket.java:469)

        at java.net.Socket.<init>(Socket.java:366)

        at java.net.Socket.<init>(Socket.java:208)

        at
org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:460)

        at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:272)

        at org.apache.jk.server.JkMain.pause(JkMain.java:657)

        at
org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:202)

        at
org.apache.coyote.tomcat5.CoyoteConnector.pause(CoyoteConnector.java:1444)

        at
org.apache.catalina.core.StandardService.stop(StandardService.java:521)

        at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:2347)

        at org.apache.catalina.startup.Catalina.stop(Catalina.java:605)

        at org.apache.catalina.startup.Catalina.start(Catalina.java:580)

        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:585)

        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)

        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)

Sep 26, 2007 9:06:48 AM org.apache.catalina.core.StandardService stop

INFO: Stopping service Catalina

Sep 26, 2007 9:06:48 AM org.apache.catalina.core.StandardHostDeployer remove

INFO: Removing web application at context path /admin

Sep 26, 2007 9:06:48 AM org.apache.catalina.logger.LoggerBase stop

INFO: unregistering logger Catalina:type=Logger,path=/admin,host=localhost

Sep 26, 2007 9:06:48 AM org.apache.catalina.core.StandardHostDeployer remove

INFO: Removing web application at context path /tmca

Sep 26, 2007 9:06:48 AM org.apache.catalina.core.StandardHostDeployer remove

INFO: Removing web application at context path /testcomms

Sep 26, 2007 9:06:48 AM org.apache.catalina.core.StandardHostDeployer remove

INFO: Removing web application at context path /AckMsg

Sep 26, 2007 9:06:48 AM org.apache.catalina.core.StandardHostDeployer remove

INFO: Removing web application at context path /manager

Sep 26, 2007 9:06:48 AM org.apache.catalina.logger.LoggerBase stop

INFO: unregistering logger Catalina:type=Logger,host=localhost

Sep 26, 2007 9:06:48 AM org.apache.catalina.logger.LoggerBase stop

INFO: unregistering logger Catalina:type=Logger

Sep 26, 2007 9:06:48 AM org.apache.coyote.http11.Http11Protocol destroy

INFO: Stopping Coyote HTTP/1.1 on http-80

 

 

Regards,

Andrew

Reply via email to