| Author |
Message |
|
|
Post subject: [Closed] Tomcat 5.12: "Failed Shutdown of Apache
Posted: Dec 19, 2005 - 02:46 PM
|
|
Veteran Member


Joined: Nov 24, 2003
Posts: 106
|
|
I am getting all kinds of bizzare behavior after "upgrading" to Tomcat 5.12, but one consistent problem is the message "Failed Shutdown of Apache Portable Runtime" when I try to stop the server and restart it. What does this mean? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Dec 20, 2005 - 02:59 PM
|
|
Moderator


Joined: May 06, 2003
Posts: 6799
|
|
Brad,
I'm not sure as I haven't tried this version specifically. I've tried 5.0.30 and 5.5.9 recently and both were fine. When are you seeing this message? Are you using the connector in MyEclipse or the commandline? Does it do the same thing from the commandline? Can you please post all the information we request in the Posting Guidelines thread at the top of this forum? That will give us some context regarding your setup? |
_________________ --Scott
MyEclipse Support
|
| |
|
|
|
 |
|
|
|
Post subject: Failed shutdown of Apache Portable Runtime
Posted: Jan 09, 2006 - 06:51 PM
|
|
Registered Member


Joined: Jan 09, 2006
Posts: 1
|
|
I am having exactly the same propblem. I am trying to stop Tomcat through MyEclipse IDE after successfully starting it.
I am doing through the Application Server connector.
My OS is Windoes XP.
Eclipse - 3.1
MyEclipse - 4.0.3GA
Tomcat - 5.5.12
Java - JDK 1.4 - also specified as the JDK in the App Server Connector
Below is what I get on the Console:
Jan 9, 2006 1:50:41 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@3a5794')
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@4be2cc')
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@16ef71')
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1c888d9')
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@f1f051')
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1d88db7')
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Jan 9, 2006 1:50:42 PM org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 23, 2006 - 01:18 PM
|
|
Registered Member

Joined: Mar 15, 2004
Posts: 187
|
|
Scott, have you already tried this yourself?
I just updated to Tomcat 5.5.15 and I'm getting the exact same message:
[...]
Jan 23, 2006 2:20:11 PM org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Jan 23, 2006 2:20:11 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime
I'm running Tomcat 5.5.15 on JDK 1.5.0 update 6 on Debian GNU/Linux, Eclipse 3.1.1, MyEclipse 4.03GA, using the standard tomcat 5 connector. I'm also using the same JDK for both Eclipse and Tomcat.
Any ideas? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 23, 2006 - 01:21 PM
|
|
Registered Member

Joined: Mar 15, 2004
Posts: 187
|
|
btw, this problem is specific for 5.5.15 and probably 5.5.12. I was using 5.5.9 before and this one worked fine. I also tried upgrading Tomcat from 5.5.9 to 5.5.15 on a Windows XP machine and this gave the same problem. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 23, 2006 - 02:19 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23855
|
|
This problem seems to be specific to 5.5.12, we have reproduced it and will get it fixed. Sorry about this guys.
One workaround is to click the server button itself, this issues a restart where ME will wait X number of seconds for the app server to cycle, and if it doesn't it kills it and starts it back up again. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 23, 2006 - 02:24 PM
|
|
Registered Member

Joined: Mar 15, 2004
Posts: 187
|
|
Upon further investigation, it seems that this message is probably rather harmless. It sure looks alarming, but as far as I can see now it's just a warning. If you don't have the APR connector installed it doesn't matter. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 23, 2006 - 02:59 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23855
|
|
We confirmed on our side that the process is infact stopped, but we are still going to look into it to see why this error is comming out of the server and get it fixed (if there is anything to fix) by the 4.1.1 release. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Aug 10, 2006 - 08:37 PM
|
|
Veteran Member


Joined: Apr 26, 2004
Posts: 1
|
|
i commented out the following in <TOMCAT_HOME>/conf/server.xml and the WARN goes away.
<!-- disabled the listener to avoid the warning during shutdown.
<Listener className="org.apache.catalina.core.AprLifecycleListener"/>
-->
<!-- Define an AJP 1.3 Connector on port 8009
<Connector port="8009"
enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
-->
my tomcat version=apache-tomcat-5.5.17
my jdk version = java version "1.5.0_07" |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Aug 10, 2006 - 09:57 PM
|
|
Moderator


Joined: May 06, 2003
Posts: 6799
|
|
|
_________________ --Scott
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Mar 16, 2007 - 06:50 AM
|
|

Joined: Mar 16, 2007
Posts: 2
|
|
I am using jakarta-tomcat-5.5.11 and I'm also having this problem. So this is not specific to 5.5.12. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Mar 16, 2007 - 04:04 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23855
|
|
As scott mentioned agalgomuwa, this isn't a bug or a problem, it's just a message from Tomcat. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
|
Post subject:
Posted: Mar 22, 2007 - 10:11 AM
|
|

Joined: Mar 16, 2007
Posts: 2
|
|
Sure It is . I had no problem with the performance and the functionality of the tomcat. :) |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: Failed shutdown of Apache Portable Runtime
Posted: Apr 19, 2010 - 11:27 AM
|
|
Joined: Apr 19, 2010
Posts: 1
|
|
| mshpigel wrote: | I am having exactly the same propblem. I am trying to stop Tomcat through MyEclipse IDE after successfully starting it.
I am doing through the Application Server connector.
My OS is Windoes XP.
Eclipse - 3.1
MyEclipse - 4.0.3GA
Tomcat - 5.5.12
Java - JDK 1.4 - also specified as the JDK in the App Server Connector
Below is what I get on the Console:
Jan 9, 2006 1:50:41 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@3a5794')
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@4be2cc')
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@16ef71')
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1c888d9')
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@f1f051')
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1d88db7')
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Jan 9, 2006 1:50:42 PM org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Jan 9, 2006 1:50:42 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime |
I'm using tomcat .5.27 and I have the same problem inside Eclipse. When it goes up and I'm trying to shut down it, sometimes it happens I have to restart Eclipse (I'm using Galileo 3.5). |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: Failed shutdown of Apache Portable Runtime
Posted: Apr 20, 2010 - 05:31 AM
|
|
Registered Member


Joined: Feb 03, 2009
Posts: 3364
|
|
Vittorio1970,
Are you referring to your issue in Eclipse Galileo 3.5? If yes, I am afraid this is the wrong forum. You need to post your query on Eclipse Forums. If you are facing issue on MyEclipse, please answer below queries for me to get to the root cause -
1. Can you copy and paste your installation details? Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details
2. How did you install ME? Meaning all-in-one installer / pulse / archived update site on top of eclipse classic
3. Can you copy and paste tomcat settings under Window > Preferences > MyEclipse > Servers > Tomcat 5.x and also the JDK
4. Can you copy and paste relevant issues logged in [your workspace dir]/.metadata/.log? |
_________________ Joy
MyEclipse Support
|
| |
|
|
|
 |
|
|