MyEclipse: [Closed] Tomcat 5.12: "Failed Shutdown of Apache

bradm - Dec 19, 2005 - 02:46 PM
Post subject: [Closed] Tomcat 5.12: "Failed Shutdown of Apache
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?
support-scott - Dec 20, 2005 - 02:59 PM
Post subject:
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?
mshpigel - Jan 09, 2006 - 06:51 PM
Post subject: Failed shutdown of Apache Portable Runtime
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
arjan.tijms - Jan 23, 2006 - 01:18 PM
Post subject:
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?
arjan.tijms - Jan 23, 2006 - 01:21 PM
Post subject:
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.
support-rkalla - Jan 23, 2006 - 02:19 PM
Post subject:
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.
arjan.tijms - Jan 23, 2006 - 02:24 PM
Post subject:
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.
support-rkalla - Jan 23, 2006 - 02:59 PM
Post subject:
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.
shakkathirvel - Aug 10, 2006 - 08:37 PM
Post subject:
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"
support-scott - Aug 10, 2006 - 09:57 PM
Post subject:
It's really just a poorly worded diagnostic message from Tomcat:
http://marc.theaimsgroup.com/?l=tomcat-user&m=113307219707673&w=2
agalgomuwa - Mar 16, 2007 - 06:50 AM
Post subject:
I am using jakarta-tomcat-5.5.11 and I'm also having this problem. So this is not specific to 5.5.12.
support-rkalla - Mar 16, 2007 - 04:04 PM
Post subject:
As scott mentioned agalgomuwa, this isn't a bug or a problem, it's just a message from Tomcat.
agalgomuwa - Mar 22, 2007 - 10:11 AM
Post subject:
Sure It is . I had no problem with the performance and the functionality of the tomcat. :)
Vittorio1970 - Apr 19, 2010 - 11:27 AM
Post subject: Re: Failed shutdown of Apache Portable Runtime
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).
support-joy - Apr 20, 2010 - 05:31 AM
Post subject: RE: Re: Failed shutdown of Apache Portable Runtime
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?
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits