7 Replies Latest reply on Oct 9, 2011 11:21 AM by tong tong

    cannot deploy td-es-internal.war

    tong tong Newbie

      I want deploy td-es-internal.war to JBOSS AS 5.0.1 but many error thrown, I paste some portion of server.log here and hope it can help

       

      2011-10-06 17:35:27,076 DEBUG [org.jboss.ejb3.deployers.Ejb3Deployer] (main) Ignoring legacy EJB deployment AbstractVFSDeploymentContext@18391212{vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/td-es-internal.war/}

      2011-10-06 17:35:27,076 DEBUG [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (main) Added component ejb/#SequenceGeneratorEJB,uid23965122 to vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/td-es-internal.war/

      2011-10-06 17:35:27,092 DEBUG [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (main) Added component ejb/#SchedulerEJB,uid15327586 to vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/td-es-internal.war/

      2011-10-06 17:35:27,217 WARN  [org.jboss.wsf.container.jboss50.deployer.JAXWSDeployerHookPreJSE] (main) Cannot load servlet class: td.es.app515.internal.struts.servlet.EnqManualRecovery

      2011-10-06 17:35:27,217 WARN  [org.jboss.wsf.container.jboss50.deployer.JAXWSDeployerHookPreJSE] (main) Cannot load servlet class: td.es.app515.internal.struts.servlet.EnqMRRsendAction

      2011-10-06 17:35:27,217 WARN  [org.jboss.wsf.container.jboss50.deployer.JAXWSDeployerHookPreJSE] (main) Cannot load servlet class: td.es.app517.internal.struts.servlet.EnqManualRecovery

      2011-10-06 17:35:27,248 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployer] (main) Begin deploy, org.jboss.metadata.web.jboss.JBossWebMetaData@1f

      2011-10-06 17:35:31,045 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] (Thread-13) Periodic recovery - second pass <Thu, 6 Oct 2011 17:35:31>

      2011-10-06 17:35:31,045 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] (Thread-13) AtomicActionRecoveryModule: Second pass

      2011-10-06 17:35:31,045 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] (Thread-13) [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass

      2011-10-06 17:35:31,045 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] (Thread-13) [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass

      2011-10-06 17:35:47,421 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployer] (main) Ignoring path element: MemoryContextHandler@32967261[path= context=vfsmemory://4sg7p-y4mib5-gtfjvckt-1-gtfjvsmz-25 real=vfsmemory://4sg7p-y4mib5-gtfjvckt-1-gtfjvsmz-25]

      2011-10-06 17:35:47,421 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployer] (main) deployWebModule: vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/td-es-internal.war/

      2011-10-06 17:35:47,421 DEBUG [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (main) Added component jboss.web.deployment:war=/td-es-internal to vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/td-es-internal.war/

      2011-10-06 17:35:47,421 DEBUG [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (main) Added component jboss.j2ee:module="td-es-internal.war",service=EjbModule to vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/td-es-internal.war/

      2011-10-06 17:35:47,421 DEBUG [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (main) Added component jboss.jacc:id="vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/td-es-internal.war/",service=jacc to vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/td-es-internal.war/

      2011-10-06 17:35:47,421 DEBUG [org.jboss.system.ServiceCreator] (main) About to create bean: jboss.web.deployment:war=/td-es-internal with code: org.jboss.web.deployers.WebModule

      2011-10-06 17:35:47,437 DEBUG [org.jboss.system.ServiceCreator] (main) Created mbean: jboss.web.deployment:war=/td-es-internal

      2011-10-06 17:35:47,437 DEBUG [org.jboss.system.ServiceConfigurator] (main) SecurityManagement set to org.jboss.security.integration.JNDIBasedSecurityManagement@2963fb in jboss.web.deployment:war=/td-es-internal

      2011-10-06 17:35:47,437 DEBUG [org.jboss.system.ServiceConfigurator] (main) PolicyRegistration set to org.jboss.security.plugins.JBossPolicyRegistration@da24f1 in jboss.web.deployment:war=/td-es-internal

      2011-10-06 17:35:47,437 DEBUG [org.jboss.system.ServiceConfigurator] (main) Kernel set to org.jboss.kernel.Kernel@96b38e in jboss.web.deployment:war=/td-es-internal

      2011-10-06 17:35:47,437 DEBUG [org.jboss.system.ServiceController] (main) Creating service jboss.web.deployment:war=/td-es-internal

      2011-10-06 17:35:47,437 DEBUG [org.jboss.system.ServiceController] (main) starting service jboss.web.deployment:war=/td-es-internal

      2011-10-06 17:35:47,437 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) webContext: /td-es-internal

      2011-10-06 17:35:47,437 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) warURL: file:/C:/jboss-5.0.1.GA/server/default/tmp/4sg7p-y4mib5-gtfjvckt-1-gtfjwc28-a6/td-es-internal.war/

      2011-10-06 17:35:47,437 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/td-es-internal

      2011-10-06 17:35:47,437 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) Using session cookies default setting

      2011-10-06 17:35:47,640 ERROR [org.jboss.web.tomcat.service.deployers.JBossContextConfig] (main) XML error parsing: context.xml

      org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser

          at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)

          at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:557)

          at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:543)

          at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)

          at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)

          at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)

          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)

          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)

          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)

          at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

          at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

          at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:585)

          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

          at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

          at $Proxy36.start(Unknown Source)

          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

          at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

          at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

          at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

          at org.jboss.system.ServiceController.start(ServiceController.java:460)

          at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

          at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)

          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)

          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)

          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)

          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)

          at org.jboss.Main.boot(Main.java:209)

          at org.jboss.Main$1.run(Main.java:547)

          at java.lang.Thread.run(Thread.java:595)

      Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser

          at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:97)

          at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:56)

          at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)

          ... 62 more

      Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration

          at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)

          at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)

          at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown Source)

          at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)

          at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)

          at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)

          ... 64 more

      2011-10-06 17:35:47,656 ERROR [org.jboss.web.tomcat.service.deployers.JBossContextConfig] (main) XML error parsing: jboss.web/localhost/context.xml.default

      org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser

          at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)

          at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:557)

          at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:544)

          at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)

          at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)

          at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)

          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)

          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)

          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)

          at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

          at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

          at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:585)

          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

          at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

          at $Proxy36.start(Unknown Source)

          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

          at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

          at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

          at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

          at org.jboss.system.ServiceController.start(ServiceController.java:460)

          at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

          at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)

          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)

          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)

          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)

          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)

          at org.jboss.Main.boot(Main.java:209)

          at org.jboss.Main$1.run(Main.java:547)

          at java.lang.Thread.run(Thread.java:595)

      Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser

          at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:97)

          at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:56)

          at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)

          ... 62 more

      Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration

          at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)

          at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)

          at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown Source)

          at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)

          at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)

          at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)

          ... 64 more

      2011-10-06 17:35:47,671 ERROR [org.jboss.web.tomcat.service.deployers.JBossContextConfig] (main) XML error parsing: WEB-INF/context.xml

      org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser

          at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)

          at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:557)

          at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:547)

          at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)

          at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)

          at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)

          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)

          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)

          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)

          at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

          at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

          at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:585)

          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

          at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

          at $Proxy36.start(Unknown Source)

          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

          at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

          at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

          at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

          at org.jboss.system.ServiceController.start(ServiceController.java:460)

          at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

          at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)

          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)

          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)

          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)

          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)

          at org.jboss.Main.boot(Main.java:209)

          at org.jboss.Main$1.run(Main.java:547)

          at java.lang.Thread.run(Thread.java:595)

      Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser

          at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:97)

          at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:56)

          at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)

          ... 62 more

      Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration

          at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)

          at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)

          at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown Source)

          at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)

          at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)

          at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)

          ... 64 more

      2011-10-06 17:35:47,765 DEBUG [org.jboss.web.tomcat.service.WebCtxLoader] (main) injectionContainer enabled and processing beginning with JBoss WebCtxLoader

      2011-10-06 17:35:48,156 DEBUG [org.jboss.web.tomcat.service.deployers.JBossContextConfig] (main) Setting MC attributes, kernel: org.jboss.kernel.Kernel@96b38e, unit: AbstractVFSDeploymentContext@18391212{vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/td-es-internal.war/}

      2011-10-06 17:35:48,171 ERROR [org.apache.catalina.startup.ContextConfig] (main) Marking this application unavailable due to previous error(s)

      2011-10-06 17:35:48,171 ERROR [org.apache.catalina.core.StandardContext] (main) Context [/td-es-internal] startup failed due to previous errors

      2011-10-06 17:35:48,171 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=jboss.web.deployment:war=/td-es-internal state=Create mode=Manual requiredState=Installed

      org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-5.0.1.GA/server/default/tmp/4sg7p-y4mib5-gtfjvckt-1-gtfjwc28-a6/td-es-internal.war/ deployment failed

          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:333)

          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)

          at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

          at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

          at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:585)

          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

          at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

          at $Proxy36.start(Unknown Source)

          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

          at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

          at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

          at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

          at org.jboss.system.ServiceController.start(ServiceController.java:460)

          at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

          at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)

          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)

          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)

          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)

          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)

          at org.jboss.Main.boot(Main.java:209)

          at org.jboss.Main$1.run(Main.java:547)

          at java.lang.Thread.run(Thread.java:595)

       

        • 1. Re: cannot deploy td-es-internal.war
          Wolf-Dieter Fink Master

          Do you include any xerces or other libraries in your WAR file that are included in the JBoss lib directories?

          Does JBoss starts without error if you remove the WAR file?

          • 2. Re: cannot deploy td-es-internal.war
            tong tong Newbie

            I delete C:\jboss-5.0.1.GA\server\default\deploy\td-es-internal.war\WEB-INF\lib\\xercesImpl.jar and that problem is fixed, however, that are still many error in server log, like the following error in server.log

             

             

              Deployment "vfszip:/E:/jboss-5.0.1.GA/server/default/deploy/keyservice_admin-0.9.4.war/" is in error due to the following reason(s): org.xml.sax.SAXException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)". @ vfszip:/E:/jboss-5.0.1.GA/server/default/deploy/keyservice_admin-0.9.4.war/WEB-INF/web.xml[134,11]

             

            from the error message, seems the error come from  jboss-5.0.1.GA/server/default/deploy/keyservice_admin-0.9.4.war/WEB-INF/web.xml, but I still cannot figure out where is the problem in jboss-5.0.1.GA/server/default/deploy/keyservice_admin-0.9.4.war/WEB-INF/web.xml

            <?xml version="1.0" encoding="UTF-8"?>
            <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
            <web-app >
               <distributable/>
                <!--
                To use non XDoclet filters, create a filters.xml file that
                contains the additional filters (eg Sitemesh) and place it in your
                project's merge dir.  Don't include filter-mappings in this file,
                include them in a file called filter-mappings.xml and put that in
                the same directory.
                -->
               <filter>
                  <filter-name>CheckSessionFilter</filter-name>
                  <filter-class>hk.gov.ogcio.egis.rm.keyservice.webserver.struts.filter.CheckSessionFilter</filter-class>
                  <init-param>
                     <param-name>errorPage</param-name>
                     <param-value>/admin/login/loginKeyServiceAdmin.jsp</param-value>
                  </init-param>
               </filter>
               <filter>
                  <filter-name>ChangeEncodingFilter</filter-name>
                  <filter-class>hk.gov.ogcio.egis.rm.keyservice.webserver.struts.filter.ChangeEncodingFilter</filter-class>
               </filter>
                <!--
                To use non XDoclet filter-mappings, create a filter-mappings.xml file that
                contains the additional filter-mappings and place it in your
                project's merge dir.
                -->
               <filter-mapping>
                  <filter-name>CheckSessionFilter</filter-name>
                  <url-pattern>*.do</url-pattern>
               </filter-mapping>
               <filter-mapping>
                  <filter-name>ChangeEncodingFilter</filter-name>
                  <url-pattern>*.do</url-pattern>
               </filter-mapping>
                <!--
                To use non XDoclet listeners, create a listeners.xml file that
                contains the additional listeners and place it in your
                project's merge dir.
                -->
            <servlet>
            <servlet-name>action</servlet-name>
            <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
            <init-param>
               <param-name>config</param-name>
               <param-value>/WEB-INF/config/struts-config.xml</param-value>
            </init-param>
            <init-param>
               <param-name>debug</param-name>
               <param-value>3</param-value>
            </init-param>
            <init-param>
               <param-name>detail</param-name>
               <param-value>3</param-value>
            </init-param>
            <load-on-startup>0</load-on-startup>
            </servlet>
              <servlet-mapping>
            <servlet-name>action</servlet-name>
            <url-pattern>*.do</url-pattern>
            </servlet-mapping>
               <!--
               To specify mime mappings, create a file named mime-mappings.xml, put it in your project's mergedir.
               Organize mime-mappings.xml following this DTD slice:
               <!ELEMENT mime-mapping (extension, mime-type)>
               -->
               <!--
               To specify error pages, create a file named error-pages.xml, put it in your project's mergedir.
               Organize error-pages.xml following this DTD slice:
               <!ELEMENT error-page ((error-code | exception-type), location)>
               -->
              <!--
              To add taglibs by xml, create a file called taglibs.xml and place it
              in your merge dir.
              -->
              <security-constraint>
                <web-resource-collection>
                 <web-resource-name>Secure Content</web-resource-name>
                 <url-pattern>/*</url-pattern>
            </web-resource-collection>
                <auth-constraint>
                 <role-name>keyservice_admin</role-name>
            </auth-constraint>
                <user-data-constraint>
              <transport-guarantee>NONE</transport-guarantee>
            </user-data-constraint>
            </security-constraint>
            <!-- ... -->
            <login-config>
            <auth-method>BASIC</auth-method>
                <realm-name>The Restricted Zone</realm-name>
            </login-config>
            <!-- ... -->
            <security-role>
            <description>The role required to access KeyService administrator content </description>
                <role-name>keyservice_admin</role-name>
            </security-role>
               <env-entry>
                  <env-entry-name>COMMON_PROPERTIES_FILENAME</env-entry-name>
                  <env-entry-value>/config/common_web.properties</env-entry-value>
                  <env-entry-type>java.lang.String</env-entry-type>
              </env-entry>
              <env-entry>
                  <env-entry-name>APP_PROPERTIES_FILENAME</env-entry-name>
                  <env-entry-value>/config/keyservice/keyservice_app.properties</env-entry-value>
                  <env-entry-type>java.lang.String</env-entry-type>
              </env-entry>
              <resource-ref>
              <description>DB Connection</description>
              <res-ref-name>jdbc/RmDSRef</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
              </resource-ref>

            </web-app>

             

             

             

            thanks!!

             

            消息编辑者为:tong tong

            • 3. Re: cannot deploy td-es-internal.war
              tong tong Newbie

              I fix the web.xml by moving <resource-ref> before <security-constraints>, however, there is still many errors in server.log, like the one below:

               

               

              2011-10-07 16:12:54,503 WARN  [org.jboss.ejb.EjbModule] (main) EJB configured to bypass security. Please verify if this is intended. Bean=SchedulerEJB Deployment=vfszip:/E:/jboss-5.0.1.GA/server/default/deploy/common_rm_app-0.9.4.jar/

              2011-10-07 16:12:54,503 DEBUG [org.jboss.ejb.EjbModule] (main) creating binding for common/ejb/SchedulerHome:stateless-unified-invoker

              2011-10-07 16:12:54,503 INFO  [org.jboss.ejb.StatelessSessionContainer] (main) Registration is not done -> stop

              2011-10-07 16:12:54,503 DEBUG [org.jboss.ejb.StatelessSessionContainer] (main) Ignoring stop call; current state is Unregistered

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.EjbModule] (main) Looking to destroy container: jboss.j2ee:jndiName=common/ejb/SchedulerHome,service=EJB, state: Unregistered, destroy: true

              2011-10-07 16:12:54,518 DEBUG [org.jboss.system.ServiceController] (main) destroying service: jboss.j2ee:jndiName=common/ejb/SchedulerHome,service=EJB

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.StatelessSessionContainer] (main) Stopping jboss.j2ee:jndiName=common/ejb/SchedulerHome,service=EJB

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.StatelessSessionContainer] (main) Removed bindings from java:comp/env for EJB: SchedulerEJB

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.StatelessSessionContainer] (main) Unbound java:comp/TransactionSynchronizationRegistry for EJB: SchedulerEJB

              2011-10-07 16:12:54,518 DEBUG [org.jboss.system.ServiceController] (main) stopping service: jboss.j2ee:service=EJB,plugin=pool,jndiName=common/ejb/SchedulerHome

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.plugins.StatelessSessionInstancePool] (main) Stopping jboss.j2ee:service=EJB,plugin=pool,jndiName=common/ejb/SchedulerHome

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.plugins.StatelessSessionInstancePool] (main) Stopped jboss.j2ee:service=EJB,plugin=pool,jndiName=common/ejb/SchedulerHome

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.StatelessSessionContainer] (main) Stopped jboss.j2ee:jndiName=common/ejb/SchedulerHome,service=EJB

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.StatelessSessionContainer] (main) Destroying jboss.j2ee:jndiName=common/ejb/SchedulerHome,service=EJB

              2011-10-07 16:12:54,518 INFO  [org.jboss.proxy.ejb.ProxyFactory] (main) Unbind EJB Home 'SchedulerEJB' from jndi 'common/ejb/SchedulerHome'

              2011-10-07 16:12:54,518 DEBUG [org.jboss.system.ServiceController] (main) destroying service: jboss.j2ee:service=EJB,plugin=pool,jndiName=common/ejb/SchedulerHome

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.plugins.StatelessSessionInstancePool] (main) Destroying jboss.j2ee:service=EJB,plugin=pool,jndiName=common/ejb/SchedulerHome

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.plugins.StatelessSessionInstancePool] (main) Destroyed jboss.j2ee:service=EJB,plugin=pool,jndiName=common/ejb/SchedulerHome

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.StatelessSessionContainer] (main) Destroyed jboss.j2ee:jndiName=common/ejb/SchedulerHome,service=EJB

              2011-10-07 16:12:54,518 DEBUG [org.jboss.system.ServiceController] (main) removing service: jboss.j2ee:jndiName=common/ejb/SchedulerHome,service=EJB

              2011-10-07 16:12:54,518 DEBUG [org.jboss.system.ServiceCreator] (main) Removing mbean from server: jboss.j2ee:jndiName=common/ejb/SchedulerHome,service=EJB

              2011-10-07 16:12:54,518 INFO  [org.jboss.ejb.EjbModule] (main) Undeployed SchedulerEJB

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.EjbModule] (main) Looking to destroy container: jboss.j2ee:jndiName=common/ejb/SequenceGeneratorHome,service=EJB, state: Unregistered, destroy: true

              2011-10-07 16:12:54,518 DEBUG [org.jboss.system.ServiceController] (main) destroying service: jboss.j2ee:jndiName=common/ejb/SequenceGeneratorHome,service=EJB

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.StatelessSessionContainer] (main) Stopping jboss.j2ee:jndiName=common/ejb/SequenceGeneratorHome,service=EJB

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.StatelessSessionContainer] (main) Removed bindings from java:comp/env for EJB: SequenceGeneratorEJB

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.StatelessSessionContainer] (main) Unbound java:comp/TransactionSynchronizationRegistry for EJB: SequenceGeneratorEJB

              2011-10-07 16:12:54,518 DEBUG [org.jboss.system.ServiceController] (main) stopping service: jboss.j2ee:service=EJB,plugin=pool,jndiName=common/ejb/SequenceGeneratorHome

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.plugins.StatelessSessionInstancePool] (main) Stopping jboss.j2ee:service=EJB,plugin=pool,jndiName=common/ejb/SequenceGeneratorHome

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.plugins.StatelessSessionInstancePool] (main) Stopped jboss.j2ee:service=EJB,plugin=pool,jndiName=common/ejb/SequenceGeneratorHome

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.StatelessSessionContainer] (main) Stopped jboss.j2ee:jndiName=common/ejb/SequenceGeneratorHome,service=EJB

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.StatelessSessionContainer] (main) Destroying jboss.j2ee:jndiName=common/ejb/SequenceGeneratorHome,service=EJB

              2011-10-07 16:12:54,518 INFO  [org.jboss.proxy.ejb.ProxyFactory] (main) Unbind EJB Home 'SequenceGeneratorEJB' from jndi 'common/ejb/SequenceGeneratorHome'

              2011-10-07 16:12:54,518 DEBUG [org.jboss.system.ServiceController] (main) destroying service: jboss.j2ee:service=EJB,plugin=pool,jndiName=common/ejb/SequenceGeneratorHome

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.plugins.StatelessSessionInstancePool] (main) Destroying jboss.j2ee:service=EJB,plugin=pool,jndiName=common/ejb/SequenceGeneratorHome

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.plugins.StatelessSessionInstancePool] (main) Destroyed jboss.j2ee:service=EJB,plugin=pool,jndiName=common/ejb/SequenceGeneratorHome

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.StatelessSessionContainer] (main) Destroyed jboss.j2ee:jndiName=common/ejb/SequenceGeneratorHome,service=EJB

              2011-10-07 16:12:54,518 DEBUG [org.jboss.system.ServiceController] (main) removing service: jboss.j2ee:jndiName=common/ejb/SequenceGeneratorHome,service=EJB

              2011-10-07 16:12:54,518 DEBUG [org.jboss.system.ServiceCreator] (main) Removing mbean from server: jboss.j2ee:jndiName=common/ejb/SequenceGeneratorHome,service=EJB

              2011-10-07 16:12:54,518 INFO  [org.jboss.ejb.EjbModule] (main) Undeployed SequenceGeneratorEJB

              2011-10-07 16:12:54,518 DEBUG [org.jboss.ejb.EjbModule] (main) Initialization failed jboss.j2ee:service=EjbModule,module="common_rm_app-0.9.4.jar"

              javax.management.InstanceAlreadyExistsException: jboss.j2ee:jndiName=common/ejb/SequenceGeneratorHome,service=EJB already registered.

              at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:767)

              at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:236)

              at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)

              at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)

              at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

              at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)

              at java.security.AccessController.doPrivileged(Native Method)

              at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)

              at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)

              at org.jboss.ejb.EjbModule.createService(EjbModule.java:428)

              at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:344)

              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:320)

              at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

              at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:189)

              at $Proxy36.create(Unknown Source)

              at org.jboss.system.microcontainer.CreateDestroyLifecycleAction.installAction(CreateDestroyLifecycleAction.java:42)

              at org.jboss.system.microcontainer.CreateDestroyLifecycleAction.installAction(CreateDestroyLifecycleAction.java:37)

              at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

              at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

              at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

              at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)

              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

              at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

              at org.jboss.system.ServiceController.create(ServiceController.java:422)

              at org.jboss.system.ServiceController.create(ServiceController.java:387)

              at org.jboss.system.deployers.ServiceDeployer.create(ServiceDeployer.java:158)

              at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:96)

              at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

              at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

              at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)

              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)

              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)

              at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)

              at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)

              at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)

              at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)

              at org.jboss.Main.boot(Main.java:209)

              at org.jboss.Main$1.run(Main.java:547)

              at java.lang.Thread.run(Thread.java:619)

              2011-10-07 16:12:54,518 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Create: name=jboss.j2ee:module="common_rm_app-0.9.4.jar",service=EjbModule state=Configured mode=Manual requiredState=Create

              javax.management.InstanceAlreadyExistsException: jboss.j2ee:jndiName=common/ejb/SequenceGeneratorHome,service=EJB already registered.

              what is the cause of

               

              javax.management.InstanceAlreadyExistsException: jboss.j2ee:jndiName=common/ejb/SequenceGeneratorHome,service=EJB already registered.

               

              and how to fix it?

               

              I found in vfszip:/E:/jboss-5.0.1.GA/server/default/deploy/common_rm_app-0.9.4.jar/META-INF/

              has three xml file as attached, and I found the following:

              in jboss.xml

               

               

              <session>
                       <ejb-name>SequenceGeneratorEJB</ejb-name>
                       <jndi-name>common/ejb/SequenceGeneratorHome</jndi-name>
                       <resource-ref>
                          <res-ref-name>jdbc/RmDSRef</res-ref-name>
                          <jndi-name>java:/MySqlDS</jndi-name>
                       </resource-ref>

                      <method-attributes>
                      </method-attributes>
                    </session>

               

               

              in weblogic-ejb-jar.xml, I also found the following:

               

               

              <weblogic-enterprise-bean>

                    <ejb-name>SequenceGeneratorEJB</ejb-name>

                    <stateless-session-descriptor>

                       <pool>

                          <max-beans-in-free-pool>0</max-beans-in-free-pool>

                          <initial-beans-in-free-pool>1</initial-beans-in-free-pool>

                       </pool>

                       <stateless-clustering>

                          <home-is-clusterable>True</home-is-clusterable>

                          <home-load-algorithm>RoundRobin</home-load-algorithm>

                          <stateless-bean-is-clusterable>True</stateless-bean-is-clusterable>

                          <stateless-bean-load-algorithm>RoundRobin</stateless-bean-load-algorithm>

                          <stateless-bean-methods-are-idempotent>False</stateless-bean-methods-are-idempotent>

                       </stateless-clustering>

                    </stateless-session-descriptor>

                    <transaction-descriptor>

                       <trans-timeout-seconds>600</trans-timeout-seconds>

                    </transaction-descriptor>

                    <reference-descriptor>

                       <resource-description>

                          <res-ref-name>jdbc/RmDSRef</res-ref-name>

                          <jndi-name>OracleDS</jndi-name>

                       </resource-description>

                    </reference-descriptor>

                    <jndi-name>common/ejb/SequenceGeneratorHome</jndi-name>

                 </weblogic-enterprise-bean>

               

               

              that is , <jndi-name>common/ejb/SequenceGeneratorHome</jndi-name> occur in both jboss.xml and weblogic-ejb-jar.xml, is this the cause of error and how to fix it?

               

              Thanks

               

              消息编辑者为:tong tong

              • 4. Re: cannot deploy td-es-internal.war
                tong tong Newbie

                one even more strange thing, when I enter http://localhost:9081/td-es-internal/, the error message in server.log is

                 

                org.apache.commons.logging.LogConfigurationException: User-specified log class 'org.apache.commons.logging.impl.Log4JLogger' cannot be found or is not useable.

                 

                but when I add commons-logging.jar under \jboss-5.0.1.GA\server\default\lib, the problem is even worse, the jsp show

                 

                The requested resource (/td-es-internal/UserLogin) is not available.

                and no error message in server.log, but the JBOSS is running as shown in server.log

                 

                2011-10-07 18:26:11,937 INFO  [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)] Started in 1m:7s:795ms

                So what is the problem? cannot place any .jar in  \jboss-5.0.1.GA\server\default\lib?

                 

                Thanks

                • 5. Re: cannot deploy td-es-internal.war
                  tong tong Newbie

                  I download a simple helloworld.war application and I see under WEB-INF\lib of the war, it contain many jar which duplicate with C:\jboss-5.0.1.GA\common\lib

                  but the .war can run successfully, so it seems that even there is same jar in the .war\web-inf\lib and %JBOSS_HOME%\common\lib, it will not cause any error.

                  So what cause the error in previous thread?

                  • 6. Re: cannot deploy td-es-internal.war
                    tong tong Newbie

                    I have read the servlet.log when deploy td-es-internal.war and found other error message as follow

                     

                    2011-10-07 18:26:09,032 ERROR [org.apache.commons.digester.Digester] (main) Digester.getParser: 
                    java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl cannot be cast to javax.xml.parsers.SAXParserFactory
                        at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
                        at org.apache.commons.digester.Digester.getFactory(Digester.java:478)
                        at org.apache.commons.digester.Digester.getParser(Digester.java:683)
                        at org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
                        at org.apache.commons.digester.Digester.parse(Digester.java:1591)
                        at org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1144)
                        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:328)
                        at javax.servlet.GenericServlet.init(GenericServlet.java:212)
                        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
                        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
                        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
                        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)
                        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)
                        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
                        at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
                        at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                        at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:597)
                        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                        at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                        at $Proxy36.start(Unknown Source)
                        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
                        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                        at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
                        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                        at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                        at org.jboss.system.ServiceController.start(ServiceController.java:460)
                        at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
                        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
                        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
                        at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
                        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
                        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
                        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
                        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
                        at org.jboss.Main.boot(Main.java:209)
                        at org.jboss.Main$1.run(Main.java:547)
                        at java.lang.Thread.run(Thread.java:619)
                    2011-10-07 18:26:09,032 ERROR [org.apache.struts.action.ActionServlet] (main) Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable.  Most likely, this is due to an incorrect or missing library dependency.
                    java.lang.NullPointerException
                        at org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
                        at org.apache.commons.digester.Digester.parse(Digester.java:1591)
                        at org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1144)
                        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:328)
                        at javax.servlet.GenericServlet.init(GenericServlet.java:212)
                        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
                        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
                        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
                        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)
                        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)
                        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
                        at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
                        at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                        at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:597)
                        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                        at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                        at $Proxy36.start(Unknown Source)
                        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
                        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                        at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
                        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                        at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                        at org.jboss.system.ServiceController.start(ServiceController.java:460)
                        at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
                        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
                        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
                        at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
                        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
                        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
                        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
                        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
                        at org.jboss.Main.boot(Main.java:209)
                        at org.jboss.Main$1.run(Main.java:547)
                        at java.lang.Thread.run(Thread.java:619)
                    2011-10-07 18:26:09,048 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/td-es-internal]] (main) Marking servlet action as unavailable
                    2011-10-07 18:26:09,048 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/td-es-internal]] (main) Servlet /td-es-internal threw load() exception
                    javax.servlet.UnavailableException
                        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)
                        at javax.servlet.GenericServlet.init(GenericServlet.java:212)
                        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
                        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
                        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
                        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)
                        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)
                        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
                        at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
                        at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                        at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:597)
                        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                        at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                        at $Proxy36.start(Unknown Source)
                        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
                        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                        at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
                        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                        at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                        at org.jboss.system.ServiceController.start(ServiceController.java:460)
                        at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
                        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
                        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
                        at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
                        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
                        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
                        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
                        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
                        at org.jboss.Main.boot(Main.java:209)
                        at org.jboss.Main$1.run(Main.java:547)
                        at java.lang.Thread.run(Thread.java:619)
                    

                     

                    what is the cause of this error? need remove some .jar inside .war\web-inf\lib again?

                    • 7. Re: cannot deploy td-es-internal.war
                      tong tong Newbie

                      oh, sorry, I need go to office and handle these problem again in tomorrow, anyone could help?