3 Replies Latest reply on Jan 13, 2006 2:41 AM by Scott Stark

    JBoss Server shutdown failure

    Jacky Fang Newbie

      I am trying to migrate our appplication from JBoss 3.0.8 to JBoss 3.2.5.

      After lots of changes, the JBoss 3.2.5 boots up successfully and web application works fine. However, following exception occurs when I try to shut down the JBoss server from windows console:

      ERROR [org.apache.commons.modeler.BaseModelMBean] Exception invoking method destroy
      java.lang.NoSuchMethodError: org.apache.commons.logging.LogFactory.release(Ljava/lang/ClassLoader;)V
       at org.jboss.web.tomcat.tc5.WebCtxLoader.stop(WebCtxLoader.java:109)
       at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4517)
       at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1213)
       at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4573)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


      This exception results in the undeployment failure of the web application. Although it doesn't really affect the running of application under test environment, I do worry about it if I switch it to production server.

      Any suggestion will be appreciated.

        • 1. Re: JBoss Server shutdown failure
          Ryan Ogaard Newbie

          Hello,

          Has this issue been resolved for you? I'm having the same trouble...

          I appreciate any additional information you or anyone else may have.

          Thank you.

          • 2. Re: JBoss Server shutdown failure
            Ryan Ogaard Newbie

            I just wanted to also mention that I'm running JBoss 4.0.1... I'd greatly appreciate any information or pointers into where I need to look to correct this trouble...

            ERROR [BaseModelMBean] Exception invoking method destroy
            java.lang.NoSuchMethodError: org.apache.commons.logging.LogFactory.release(Ljava/lang/ClassLoader;)V
             at org.jboss.web.tomcat.tc5.WebCtxLoader.stop(WebCtxLoader.java:118)
             at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4546)
             at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1213)
             at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4602)
            
            ERROR [WebModule] Stopping failed jboss.web.deployment:war=web-console.war,id=-471584339
            org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.RuntimeErrorException: Error invoking method destroy)
             at org.jboss.web.AbstractWebDeployer.stop(AbstractWebDeployer.java:435)
             at org.jboss.web.WebModule.stopModule(WebModule.java:79)
             at org.jboss.web.WebModule.stopService(WebModule.java:45)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:320)
            


            Thank you!
            Ryan


            • 3. Re: JBoss Server shutdown failure
              Scott Stark Master

              Remove commons-logging.jar from your war.