facebook

[Closed] Tomcat 5.12: "Failed Shutdown of Apache

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #243343 Reply

    bradm
    Member

    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?

    #243434 Reply

    Scott Anderson
    Participant

    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 [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context regarding your setup?

    #244191 Reply

    mshpigel
    Member

    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

    #244994 Reply

    arjan.tijms
    Member

    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?

    #244995 Reply

    arjan.tijms
    Member

    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.

    #244999 Reply

    Riyad Kalla
    Member

    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.

    #245000 Reply

    arjan.tijms
    Member

    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.

    #245011 Reply

    Riyad Kalla
    Member

    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.

    #256514 Reply

    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”

    #256534 Reply

    Scott Anderson
    Participant

    It’s really just a poorly worded diagnostic message from Tomcat:
    http://marc.theaimsgroup.com/?l=tomcat-user&m=113307219707673&w=2

    #267500 Reply

    agalgomuwa
    Member

    I am using jakarta-tomcat-5.5.11 and I’m also having this problem. So this is not specific to 5.5.12.

    #267513 Reply

    Riyad Kalla
    Member

    As scott mentioned agalgomuwa, this isn’t a bug or a problem, it’s just a message from Tomcat.

    #267871 Reply

    agalgomuwa
    Member

    Sure It is . I had no problem with the performance and the functionality of the tomcat. 🙂

    #307762 Reply

    Vittorio1970
    Member

    @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).

    #307784 Reply

    support-joy
    Member

    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?

Viewing 15 posts - 1 through 15 (of 15 total)
Reply To: [Closed] Tomcat 5.12: "Failed Shutdown of Apache

You must be logged in to post in the forum log in