Re: NoSuchMethod shutdown error
That was the next thing I looked into after I solved this bug. I fixed it by commenting out the Listener className=org.apache.catalina.core.AprLifecycleListener / line in the server.xml file. My take on the native APR stuff (which is likely completely wrong since it consists of what I learned in about a 2 minute skim of some documentation) was that it was really only going to help performance when interfacing with apache, or possibly, in the way it handles HTTP connections. My app doesn't interface with apache, and it doesn't get loaded by HTTP connections anyway - plus we distribute to customers using all sorts of different hardware and software combinations. So the whole native thing is really a non starter for my application. Thanks for the note, however. That was going to be my next question, had I not found out how to disable the warnings. Dan On 8/14/07, Matthew Kerle [EMAIL PROTECTED] wrote: also, I noticed that you have some Failed Shutdown of Apache Portable Runtime errors, if you want to make that message go away grab the APR native library for your platform and drop it into %JAVA_HOME%/bin symptoms: on startup something like the following gets printed out: INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path and on shutdown- INFO: Failed shutdown of Apache Portable Runtime Basically, tomcat looks for a native library that lets it do funky stuff related to performance. In development we don't usually care about performance, but if you want to get rid of those messages, then the easiest way is to drop the tomcat native dll onto the system path, the best place being %JAVA_HOME%/bin read about the APR: http://tomcat.apache.org/tomcat-5.5-doc/apr.html I downloaded it here: http://apr.apache.org/download.cgi -- * Matthew Kerle ** IT Consultant* ** * Canberra, Australia* - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: NoSuchMethod shutdown error
no worries. I hadn't seen how to remove that dependency before, which is why I didn't mention it in my reply. the APR just gives tomcat comparable file reading performance as httpd, but unless you're running slashdot or hea.net on your tomcat then not having it isn't a big issue and your distro will be more portable as a result. glad I could help! Dan Armbrust wrote: That was the next thing I looked into after I solved this bug. I fixed it by commenting out the Listener className=org.apache.catalina.core.AprLifecycleListener / line in the server.xml file. My take on the native APR stuff (which is likely completely wrong since it consists of what I learned in about a 2 minute skim of some documentation) was that it was really only going to help performance when interfacing with apache, or possibly, in the way it handles HTTP connections. My app doesn't interface with apache, and it doesn't get loaded by HTTP connections anyway - plus we distribute to customers using all sorts of different hardware and software combinations. So the whole native thing is really a non starter for my application. Thanks for the note, however. That was going to be my next question, had I not found out how to disable the warnings. Dan -- Matthew Kerle IT Consultant Canberra, Australia Mobile: +61404 096 863 Email : [EMAIL PROTECTED] Web : http://threebrightlights.blogspot.com/ - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
NoSuchMethod shutdown error
I just upgraded from 5.5.9 to 5.5.23, and now, when I shut down tomcat, I get these errors. Any idea whats going on? Looks like I have an out of date jar file on the classpath - but as far as I know, these are tomcat only jar files... Thanks INFO: Server startup in 8284 ms Aug 14, 2007 12:30:02 PM org.apache.coyote.http11.Http11BaseProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Aug 14, 2007 12:30:03 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Aug 14, 2007 12:30:03 PM org.apache.catalina.startup.HostConfig undeployApps WARNING: Error while removing context [/ap] java.lang.NoSuchMethodError: org.apache.commons.modeler.util.IntrospectionUtils.clear()V at org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1644) at org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1496) at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:734) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4398) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:893) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1180) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1151) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1055) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1067) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448) at org.apache.catalina.core.StandardService.stop(StandardService.java:510) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:734) at org.apache.catalina.startup.Catalina.stop(Catalina.java:602) at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:645) Aug 14, 2007 12:30:04 PM org.apache.catalina.startup.HostConfig undeployApps WARNING: Error while removing context [] java.lang.NoSuchMethodError: org.apache.commons.modeler.util.IntrospectionUtils.clear()V at org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1644) at org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1496) at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:734) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4398) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:893) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1180) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1151) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1055) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1067) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448) at org.apache.catalina.core.StandardService.stop(StandardService.java:510) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:734) at org.apache.catalina.startup.Catalina.stop(Catalina.java:602) at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:645) Aug 14, 2007 12:30:04 PM org.apache.catalina.startup.HostConfig undeployApps WARNING: Error while removing context [/manager] java.lang.NoSuchMethodError: org.apache.commons.modeler.util.IntrospectionUtils.clear()V at org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1644) at org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1496) at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:734) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4398) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:893) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1180) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1151) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1055) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1067) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448) at org.apache.catalina.core.StandardService.stop(StandardService.java:510) at
Re: NoSuchMethod shutdown error
When I was upgrading tomcat, I had a jar file hang around in source control that shouldn't have been there. I had both commons-modeler.jar and commons-modeler-2.0.jar in my server lib folder. All better now, Thanks, Dan On 8/14/07, Martin Gainty [EMAIL PROTECTED] wrote: Dan- did you check your manifest.mf in your $CATALINA_HOME/commons/lib/commons-modeler.jar is at least version 1.1? e.g. Manifest-Version: 1.1 Ant-Version: Apache Ant 1.5.3 Created-By: 1.4.1_01-b01 (Sun Microsystems Inc.) Extension-Name: org.apache.commons.modeler Specification-Vendor: Apache Software Foundation Specification-Version: 1.1 Implementation-Vendor-Id: org.apache Implementation-Vendor: Apache Software Foundation Implementation-Version: 1.1.0 HTH/ M-- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: NoSuchMethod shutdown error
also, I noticed that you have some Failed Shutdown of Apache Portable Runtime errors, if you want to make that message go away grab the APR native library for your platform and drop it into %JAVA_HOME%/bin symptoms: on startup something like the following gets printed out: INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path and on shutdown- INFO: Failed shutdown of Apache Portable Runtime Basically, tomcat looks for a native library that lets it do funky stuff related to performance. In development we don't usually care about performance, but if you want to get rid of those messages, then the easiest way is to drop the tomcat native dll onto the system path, the best place being %JAVA_HOME%/bin read about the APR: http://tomcat.apache.org/tomcat-5.5-doc/apr.html I downloaded it here: http://apr.apache.org/download.cgi -- * Matthew Kerle ** IT Consultant* ** * Canberra, Australia* Mobile: +61404 096 863 Email: mailto:[EMAIL PROTECTED] Matthew Kerle mailto:[EMAIL PROTECTED] Web: Matthew Kerle http://threebrightlights.blogspot.com/ Dan Armbrust wrote: When I was upgrading tomcat, I had a jar file hang around in source control that shouldn't have been there. I had both commons-modeler.jar and commons-modeler-2.0.jar in my server lib folder. All better now, Thanks, Dan On 8/14/07, Martin Gainty [EMAIL PROTECTED] wrote: Dan- did you check your manifest.mf in your $CATALINA_HOME/commons/lib/commons-modeler.jar is at least version 1.1? e.g. Manifest-Version: 1.1 Ant-Version: Apache Ant 1.5.3 Created-By: 1.4.1_01-b01 (Sun Microsystems Inc.) Extension-Name: org.apache.commons.modeler Specification-Vendor: Apache Software Foundation Specification-Version: 1.1 Implementation-Vendor-Id: org.apache Implementation-Vendor: Apache Software Foundation Implementation-Version: 1.1.0 HTH/ M-- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]