1 Reply Latest reply on Jun 3, 2008 3:55 PM by Tomas Muller

    (java.lang.IllegalStateException: removeAttribute: Session a

    Tomas Muller Newbie

      Hello!
      This is the environment that I has been working with:

      - JbossAS 4.0.1 Sp1
      - Java version "1.5.0_13"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
      Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_13-b05, mixed mode)

      - An application that uses: SpringFramework 2.0.8, and others libraries, as follows:
      - commons-beanutils-1.7.0.jar
      - commons-collections-3.1.jar
      - commons-dbcp-1.2.1.jar
      - commons-digester-1.6.jar
      - commons-logging-1.0.4.jar
      - commons-pool-1.2.jar
      - commons-unisc-util-1.0.jar
      - commons-validator-1.1.4.jar
      - jsp-api-2.0.jar
      - jstl-1.1.2.jar
      - servlet-api-2.4.jar
      - sitemesh-2.2.1.jar
      - struts-1.1.jar
      - spring-2.0.8.jar
      - ibatis2-common-2.1.7.597.jar
      - ibatis2-dao-2.1.7.597.jar
      - ibatis2-sqlmap-2.1.7.597.jar
      - aspectjweaver-1.5.3.jar
      - cglib-nodep-2.1_3.jar

      - There are others applications running on the same server, with a very similar architecture. But only this makes use of SpringFramework.

      - The error occurs when I generate the war file and I deploy it on the server.

      - After this, when I access the application (by browser) it appears the Tomcat error 503. Only if I restart the server instance, I will be able to access the application again.

      - The error occurs with each deploy on production environment, but rarely on development environmet (where only one user access it).

      - Next we can see the moment when I deploy the application “webapplicâ€�. Here is the error log, that contains the deployment of this application (with a DEBUG threshold on server):

      15:01:41,132 DEBUG [MainDeployer] Undeploying file:/C:/java/jboss-4.0.1sp1/server/prod/deploy/webapplic.war
      15:01:41,132 DEBUG [ServiceController] stopping service: jboss.web.deployment:war=webapplic.war,id=1188863606
      15:01:41,132 DEBUG [ServiceController] stopping dependent services for: jboss.web.deployment:war=webapplic.war,id=1188863606 dependent services are: []
      15:01:41,132 DEBUG [WebModule] Stopping jboss.web.deployment:war=webapplic.war,id=1188863606
      15:01:41,132 INFO [TomcatDeployer] undeploy, ctxPath=/webapplic, warUrl=file:/C:/java/jboss-4.0.1sp1/server/prod/tmp/deploy/tmp56986webapplic-exp.war/
      15:01:41,163 DEBUG [Context] Stopping
      15:01:41,163 DEBUG [Context] Stopping filters
      15:01:41,163 DEBUG [Context] Stopping filter 'sitemesh'
      15:01:41,163 DEBUG [Context] Stopping filter 'CommonHeadersFilter'
      15:01:41,163 DEBUG [Context] Stopping filter 'requestControlFilter'
      15:01:41,163 ERROR [BaseModelMBean] Exception invoking method destroy
      java.lang.IllegalStateException: removeAttribute: Session already invalidated
       at org.apache.catalina.session.StandardSession.removeAttribute(StandardSession.java:1147)
       at org.apache.catalina.session.StandardSession.removeAttribute(StandardSession.java:1122)
       at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1405)
       at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:902)
       at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:539)
       at org.apache.catalina.session.StandardManager.unload(StandardManager.java:485)
       at org.apache.catalina.session.StandardManager.stop(StandardManager.java:687)
       at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4496)
       at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1213)
       at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4602)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performUndeployInternal(TomcatDeployer.java:445)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performUndeploy(TomcatDeployer.java:416)
       at org.jboss.web.AbstractWebDeployer.stop(AbstractWebDeployer.java:421)
       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)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:224)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
       at $Proxy0.stop(Unknown Source)
       at org.jboss.system.ServiceController.stop(ServiceController.java:498)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy28.stop(Unknown Source)
       at org.jboss.web.AbstractWebContainer.stop(AbstractWebContainer.java:391)
       at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:632)
       at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:605)
       at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:600)
       at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:573)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy8.undeploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.undeploy(URLDeploymentScanner.java:335)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:457)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
      15:01:41,163 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
      15:01:41,163 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
      15:01:41,163 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
      15:01:41,163 ERROR [WebModule] Stopping failed jboss.web.deployment:war=webapplic.war,id=1188863606
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.RuntimeOperationsException: Exception 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)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:224)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
       at $Proxy0.stop(Unknown Source)
       at org.jboss.system.ServiceController.stop(ServiceController.java:498)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy28.stop(Unknown Source)
       at org.jboss.web.AbstractWebContainer.stop(AbstractWebContainer.java:391)
       at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:632)
       at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:605)
       at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:600)
       at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:573)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy8.undeploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.undeploy(URLDeploymentScanner.java:335)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:457)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
      Caused by: javax.management.RuntimeOperationsException: Exception invoking method destroy
       at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:511)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performUndeployInternal(TomcatDeployer.java:445)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performUndeploy(TomcatDeployer.java:416)
       at org.jboss.web.AbstractWebDeployer.stop(AbstractWebDeployer.java:421)
       ... 51 more
      Caused by: java.lang.IllegalStateException: removeAttribute: Session already invalidated
       at org.apache.catalina.session.StandardSession.removeAttribute(StandardSession.java:1147)
       at org.apache.catalina.session.StandardSession.removeAttribute(StandardSession.java:1122)
       at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1405)
       at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:902)
       at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:539)
       at org.apache.catalina.session.StandardManager.unload(StandardManager.java:485)
       at org.apache.catalina.session.StandardManager.stop(StandardManager.java:687)
       at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4496)
       at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1213)
       at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4602)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
       ... 56 more
      15:01:41,163 DEBUG [ServiceController] destroying service: jboss.web.deployment:war=webapplic.war,id=1188863606
      15:01:41,163 DEBUG [ServiceController] destroying dependent services for: jboss.web.deployment:war=webapplic.war,id=1188863606 depenent services are: []
      15:01:41,163 DEBUG [ServiceController] stopping service: jboss.web.deployment:war=webapplic.war,id=1188863606
      15:01:41,163 DEBUG [WebModule] Destroying jboss.web.deployment:war=webapplic.war,id=1188863606
      15:01:41,163 DEBUG [WebModule] Destroyed jboss.web.deployment:war=webapplic.war,id=1188863606
      15:01:41,163 DEBUG [RepositoryClassLoader] Unregistering cl=org.jboss.mx.loading.UnifiedClassLoader3@7cf883{ url=file:/C:/java/jboss-4.0.1sp1/server/prod/tmp/deploy/tmp56986webapplic-exp.war/ ,addedOrder=43}
      15:01:41,163 DEBUG [UnifiedLoaderRepository3] UnifiedLoaderRepository removed(true) org.jboss.mx.loading.UnifiedClassLoader3@7cf883{ url=file:/C:/java/jboss-4.0.1sp1/server/prod/tmp/deploy/tmp56986webapplic-exp.war/ ,addedOrder=43}
      15:01:41,366 DEBUG [DeploymentInfo] Cleaned Deployment: file:/C:/java/jboss-4.0.1sp1/server/prod/tmp/deploy/tmp56986webapplic-exp.war/
      15:01:41,366 DEBUG [MainDeployer] Undeployed file:/C:/java/jboss-4.0.1sp1/server/prod/deploy/webapplic.war
      15:01:41,366 DEBUG [MainDeployer] Starting deployment of package: file:/C:/java/jboss-4.0.1sp1/server/prod/deploy/webapplic.war
      15:01:41,366 DEBUG [MainDeployer] Starting deployment (init step) of package at: file:/C:/java/jboss-4.0.1sp1/server/prod/deploy/webapplic.war
      15:01:41,366 DEBUG [MainDeployer] Copying file:/C:/java/jboss-4.0.1sp1/server/prod/deploy/webapplic.war -> C:\java\jboss-4.0.1sp1\server\prod\tmp\deploy\tmp56987webapplic.war
      15:01:41,366 DEBUG [MainDeployer] using deployer org.jboss.web.tomcat.tc5.Tomcat5@a010ba
      15:01:41,366 DEBUG [Tomcat5] Begin init
      15:01:41,366 DEBUG [Tomcat5] Unpacking war to: C:\java\jboss-4.0.1sp1\server\prod\tmp\deploy\tmp56987webapplic-exp.war
      15:01:41,788 DEBUG [Tomcat5] Replaced war with unpacked contents
      15:01:41,788 DEBUG [Tomcat5] webContext: null
      15:01:41,788 DEBUG [Tomcat5] warURL: file:/C:/java/jboss-4.0.1sp1/server/prod/tmp/deploy/tmp56987webapplic-exp.war/
      15:01:41,788 DEBUG [Tomcat5] End init
      15:01:41,788 DEBUG [DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null)
      15:01:41,788 DEBUG [UnifiedClassLoader] New jmx UCL with url file:/C:/java/jboss-4.0.1sp1/server/prod/tmp/deploy/tmp56987webapplic-exp.war/
      15:01:41,788 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@1c74f37, cl=org.jboss.mx.loading.UnifiedClassLoader3@1daa877{ url=file:/C:/java/jboss-4.0.1sp1/server/prod/tmp/deploy/tmp56987webapplic-exp.war/ ,addedOrder=0}
      15:01:41,788 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@1c74f37, cl=org.jboss.mx.loading.UnifiedClassLoader3@1daa877{ url=file:/C:/java/jboss-4.0.1sp1/server/prod/tmp/deploy/tmp56987webapplic-exp.war/ ,addedOrder=0}
      15:01:41,788 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@1daa877{ url=file:/C:/java/jboss-4.0.1sp1/server/prod/tmp/deploy/tmp56987webapplic-exp.war/ ,addedOrder=0}
      15:01:41,788 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg:
      15:01:41,835 DEBUG [MainDeployer] found 0 subpackages of file:/C:/java/jboss-4.0.1sp1/server/prod/deploy/webapplic.war
      15:01:41,835 DEBUG [MainDeployer] Watching new file: file:/C:/java/jboss-4.0.1sp1/server/prod/deploy/webapplic.war
      15:01:41,835 DEBUG [MainDeployer] create step for deployment file:/C:/java/jboss-4.0.1sp1/server/prod/deploy/webapplic.war
      15:01:41,835 DEBUG [ServiceController] Creating service jboss.web.deployment:war=webapplic.war,id=1188863606
      15:01:41,835 DEBUG [ServiceController] adding depends in ServiceController.register: []
      15:01:41,835 DEBUG [WebModule] Creating jboss.web.deployment:war=webapplic.war,id=1188863606
      15:01:41,835 DEBUG [WebModule] Created jboss.web.deployment:war=webapplic.war,id=1188863606
      15:01:41,835 DEBUG [ServiceController] Creating dependent components for: jboss.web.deployment:war=webapplic.war,id=1188863606 dependents are: []
      15:01:41,835 DEBUG [MainDeployer] Done with create step of deploying webapplic.war
      15:01:41,835 DEBUG [MainDeployer] Begin deployment start file:/C:/java/jboss-4.0.1sp1/server/prod/deploy/webapplic.war
      15:01:41,835 DEBUG [ServiceController] starting service jboss.web.deployment:war=webapplic.war,id=1188863606
      15:01:41,835 DEBUG [WebModule] Starting jboss.web.deployment:war=webapplic.war,id=1188863606
      15:01:41,835 DEBUG [TomcatDeployer] webContext: null
      15:01:41,835 DEBUG [TomcatDeployer] warURL: file:/C:/java/jboss-4.0.1sp1/server/prod/tmp/deploy/tmp56987webapplic-exp.war/
      15:01:41,835 DEBUG [TomcatDeployer] webAppParser: org.jboss.web.AbstractWebDeployer$DescriptorParser@6a54f9
      15:01:41,835 INFO [TomcatDeployer] deploy, ctxPath=/webapplic, warUrl=file:/C:/java/jboss-4.0.1sp1/server/prod/tmp/deploy/tmp56987webapplic-exp.war/
      15:01:41,851 DEBUG [RepositoryClassLoader] Added url: file:/C:/java/jboss-4.0.1sp1/server/prod/tmp/deploy/tmp56987webapplic-exp.war/WEB-INF/classes/, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@1daa877{ url=file:/C:/java/jboss-4.0.1sp1/server/prod/tmp/deploy/tmp56987webapplic-exp.war/ ,addedOrder=44}
      15:01:41,851 DEBUG [TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, Begin
      15:01:41,851 DEBUG [TomcatDeployer] Creating ENC using ClassLoader: java.net.FactoryURLClassLoader@f0bf3d
      15:01:41,851 DEBUG [TomcatDeployer] ..org.jboss.mx.loading.UnifiedClassLoader3@1daa877{ url=file:/C:/java/jboss-4.0.1sp1/server/prod/tmp/deploy/tmp56987webapplic-exp.war/ ,addedOrder=44}
      15:01:41,851 DEBUG [TomcatDeployer] ..org.jboss.system.server.NoAnnotationURLClassLoader@291aff
      15:01:41,851 DEBUG [TomcatDeployer] ..sun.misc.Launcher$AppClassLoader@a39137
      15:01:41,851 DEBUG [TomcatDeployer] ..sun.misc.Launcher$ExtClassLoader@92e78c
      15:01:41,851 DEBUG [TomcatDeployer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered.
      15:01:41,851 DEBUG [TomcatDeployer] Linked java:comp/UserTransaction to JNDI name: UserTransaction
      15:01:41,851 DEBUG [TomcatDeployer] addEnvEntries
      15:01:41,851 DEBUG [TomcatDeployer] linkResourceEnvRefs
      15:01:41,851 DEBUG [TomcatDeployer] linkResourceRefs
      15:01:41,851 DEBUG [TomcatDeployer] Linking 'java:/saDS' to JNDI name: saDS
      15:01:41,851 DEBUG [TomcatDeployer] linkMessageDestinationRefs
      15:01:41,851 DEBUG [TomcatDeployer] linkEjbRefs
      15:01:41,851 DEBUG [TomcatDeployer] linkEjbLocalRefs
      15:01:41,851 DEBUG [TomcatDeployer] linkServiceRefs
      15:01:41,851 DEBUG [TomcatDeployer] linkSecurityDomain
      15:01:41,851 DEBUG [TomcatDeployer] Linking security/securityMgr to JNDI name: java:/jaas/sa
      15:01:41,851 DEBUG [TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, End
      15:01:41,851 DEBUG [TomcatDeployer] Already exists, destroying jboss.web:j2eeType=WebModule,name=//localhost/webapplic,J2EEApplication=none,J2EEServer=none
      15:01:41,851 DEBUG [Context] Stopping
      15:01:41,851 DEBUG [Context] Stopping filters
      15:01:41,851 ERROR [BaseModelMBean] Exception invoking method destroy
      LifecycleException: Manager has not yet been started
       at org.apache.catalina.session.StandardManager.stop(StandardManager.java:680)
       at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4496)
       at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1213)
       at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4602)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:153)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:92)
       at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:374)
       at org.jboss.web.WebModule.startModule(WebModule.java:62)
       at org.jboss.web.WebModule.startService(WebModule.java:40)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:416)
       at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy28.start(Unknown Source)
       at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:360)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
       at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy8.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:463)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
      15:01:41,866 ERROR [WebModule] Starting failed jboss.web.deployment:war=webapplic.war,id=1188863606
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.MBeanException: Exception invoking method destroy)
       at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:383)
       at org.jboss.web.WebModule.startModule(WebModule.java:62)
       at org.jboss.web.WebModule.startService(WebModule.java:40)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:416)
       at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy28.start(Unknown Source)
       at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:360)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
       at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy8.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:463)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
      Caused by: javax.management.MBeanException: Exception invoking method destroy
       at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:517)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:153)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:92)
       at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:374)
       ... 48 more
      Caused by: LifecycleException: Manager has not yet been started
       at org.apache.catalina.session.StandardManager.stop(StandardManager.java:680)
       at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4496)
       at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1213)
       at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4602)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
       ... 53 more
      15:01:41,866 WARN [ServiceController] Problem starting service jboss.web.deployment:war=webapplic.war,id=1188863606
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.MBeanException: Exception invoking method destroy)
       at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:383)
       at org.jboss.web.WebModule.startModule(WebModule.java:62)
       at org.jboss.web.WebModule.startService(WebModule.java:40)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:416)
       at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy28.start(Unknown Source)
       at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:360)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
       at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy8.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:463)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
      Caused by: javax.management.MBeanException: Exception invoking method destroy
       at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:517)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:153)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:92)
       at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:374)
       ... 48 more
      Caused by: LifecycleException: Manager has not yet been started
       at org.apache.catalina.session.StandardManager.stop(StandardManager.java:680)
       at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4496)
       at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1213)
       at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4602)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
       ... 53 more
      15:01:41,866 ERROR [MainDeployer] could not start deployment: file:/C:/java/jboss-4.0.1sp1/server/prod/deploy/webapplic.war
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.MBeanException: Exception invoking method destroy)
       at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:383)
       at org.jboss.web.WebModule.startModule(WebModule.java:62)
       at org.jboss.web.WebModule.startService(WebModule.java:40)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:416)
       at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy28.start(Unknown Source)
       at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:360)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
       at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy8.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:463)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
      Caused by: javax.management.MBeanException: Exception invoking method destroy
       at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:517)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:153)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:92)
       at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:374)
       ... 48 more
      Caused by: LifecycleException: Manager has not yet been started
       at org.apache.catalina.session.StandardManager.stop(StandardManager.java:680)
       at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4496)
       at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1213)
       at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4602)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
       ... 53 more
      15:01:41,866 DEBUG [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@46dc9e76{ url=file:/C:/java/jboss-4.0.1sp1/server/prod/deploy/webapplic.war, deployedLastModified=1211219207366 }
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.MBeanException: Exception invoking method destroy)
       at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:383)
       at org.jboss.web.WebModule.startModule(WebModule.java:62)
       at org.jboss.web.WebModule.startService(WebModule.java:40)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:416)
       at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy28.start(Unknown Source)
       at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:360)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
       at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy8.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:463)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
      Caused by: javax.management.MBeanException: Exception invoking method destroy
       at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:517)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:153)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:92)
       at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:374)
       ... 48 more
      Caused by: LifecycleException: Manager has not yet been started
       at org.apache.catalina.session.StandardManager.stop(StandardManager.java:680)
       at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4496)
       at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1213)
       at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4602)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
       ... 53 more
      


      Does anybody know a solution?
      Had anyone already observed a similar problem?

      Thank's.

      Tomas Augusto Muller
      tomas.am@gmail.com