0 Replies Latest reply on Oct 1, 2007 8:18 PM by Ashok Venkat

    Deployment Issues

    Ashok Venkat Newbie

      Deployment issues.

      Currently i am using jboss 3.2.7 version and deploying .ear package with 3 war files inside the .ear file. Everything works just fine. I am currently
      looking into upgrading to jboss 4.2.1.GA. I intalled jboss 4.2.1.GA and jdk version 1.5. When i tried to deploy the .ear package, the deployment fails.The
      ear file is exploded, but none of the war packages are getting deployed. The WARDeployer (WebSerivce) fails to start and i see these error in the jboss log.

      Any help is greatly appreciated.


      2007-10-02 08:14:15,584 DEBUG [org.jboss.system.ServiceCreator] About to create xmbean object: jboss.web:service=WebServer with code: org.jboss.web.tomcat.service.JBossWeb with descriptor: META-INF/webserver-xmbean.xml
      2007-10-02 08:14:15,717 DEBUG [org.jboss.system.ServiceCreator] Created bean: jboss.web:service=WebServer
      2007-10-02 08:14:15,926 INFO [STDOUT] 08:14:15,902 ERROR [Util] Failed to create schema loader.
      java.lang.ClassCastException: org.apache.xerces.dom.DOMXSImplementationSourceImpl
      at org.w3c.dom.bootstrap.DOMImplementationRegistry.newInstance(DOMImplementationRegistry.java:144)
      at org.jboss.xb.binding.Util$5.run(Util.java:512)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.xb.binding.Util.getXSImplementation(Util.java:488)
      at org.jboss.xb.binding.Util.loadSchema(Util.java:387)
      at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:168)
      at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:139)
      at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resolve(DefaultSchemaResolver.java:247)
      at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:187)
      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:323)
      at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:188)
      at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:140)
      at org.jboss.system.ServiceConfigurator.parseJbxbSerialData(ServiceConfigurator.java:643)
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:327)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:460)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
      at org.jboss.system.ServiceController.install(ServiceController.java:226)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


      2007-10-02 08:14:15,930 INFO [STDOUT] 08:14:15,927 INFO [ServiceConfigurator] Problem configuring service jboss.web:service=WebServer
      org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to create schema loader: org.apache.xerces.dom.DOMXSImplementationSourceImpl
      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:192)
      at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:140)
      at org.jboss.system.ServiceConfigurator.parseJbxbSerialData(ServiceConfigurator.java:643)
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:327)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:460)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
      at org.jboss.system.ServiceController.install(ServiceController.java:226)
      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:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)



      2007-10-02 08:14:25,994 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.deployment.EARDeployer@1144ba2
      2007-10-02 08:14:25,994 INFO [STDOUT] 08:14:25,994 INFO [EARDeployer] Init J2EE application: file:/opt/janus/jboss-4.2.1.GA/server/default/deploy/application.ear
      2007-10-02 08:14:25,994 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/opt/janus/jboss-4.2.1.GA/server/default/deploy/application.ear
      2007-10-02 08:14:26,009 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: META-INF/MANIFEST.MF
      2007-10-02 08:14:26,025 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: ejb-db.jar
      2007-10-02 08:14:26,104 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: gui.war
      2007-10-02 08:14:26,112 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: unprotected.war
      2007-10-02 08:14:26,113 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: upload.war
      2007-10-02 08:14:26,207 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: communication.war





      2007-10-02 08:14:27,089 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/opt/janus/jboss-4.2.1.GA/server/default/tmp/deploy/tmp41094application.ear-contents/ejb-db.jar
      2007-10-02 08:14:27,089 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/opt/janus/jboss-4.2.1.GA/server/default/tmp/deploy/tmp41094application.ear-contents/communication.war
      2007-10-02 08:14:27,089 DEBUG [org.jboss.deployment.MainDeployer] No deployer found for url: file:/opt/janus/jboss-4.2.1.GA/server/default/tmp/deploy/tmp41094application.ear-contents/communication.war
      2007-10-02 08:14:27,089 DEBUG [org.jboss.deployment.MainDeployer] deployment waiting for deployer: file:/opt/janus/jboss-4.2.1.GA/server/default/tmp/deploy/tmp41094application.ear-contents/communication.war
      2007-10-02 08:14:27,090 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/opt/janus/jboss-4.2.1.GA/server/default/tmp/deploy/tmp41094application.ear-contents/gui.war
      2007-10-02 08:14:27,090 DEBUG [org.jboss.deployment.MainDeployer] No deployer found for url: file:/opt/janus/jboss-4.2.1.GA/server/default/tmp/deploy/tmp41094application.ear-contents/gui.war
      2007-10-02 08:14:27,090 DEBUG [org.jboss.deployment.MainDeployer] deployment waiting for deployer: file:/opt/janus/jboss-4.2.1.GA/server/default/tmp/deploy/tmp41094application.ear-contents/gui.war
      2007-10-02 08:14:27,090 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/opt/janus/jboss-4.2.1.GA/server/default/tmp/deploy/tmp41094application.ear-contents/unprotected.war
      2007-10-02 08:14:27,090 DEBUG [org.jboss.deployment.MainDeployer] No deployer found for url: file:/opt/janus/jboss-4.2.1.GA/server/default/tmp/deploy/tmp41094application.ear-contents/unprotected.war
      2007-10-02 08:14:27,090 DEBUG [org.jboss.deployment.MainDeployer] deployment waiting for deployer: file:/opt/janus/jboss-4.2.1.GA/server/default/tmp/deploy/tmp41094application.ear-contents/unprotected.war
      2007-10-02 08:14:27,090 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/opt/janus/jboss-4.2.1.GA/server/default/tmp/deploy/tmp41094application.ear-contents/upload.war
      2007-10-02 08:14:27,090 DEBUG [org.jboss.deployment.MainDeployer] No deployer found for url: file:/opt/janus/jboss-4.2.1.GA/server/default/tmp/deploy/tmp41094application.ear-contents/upload.war
      2007-10-02 08:14:27,091 DEBUG [org.jboss.deployment.MainDeployer] deployment waiting for deployer: file:/opt/janus/jboss-4.2.1.GA/server/default/tmp/deploy/tmp41094application.ear-contents/upload.war
      2007-10-02 08:14:27,091 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/opt/janus/jboss-4.2.1.GA/server/default/deploy/application.ear
      2007-10-02 08:14:27,091 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/opt/janus/jboss-4.2.1.GA/server/default/deploy/application.ear
      2007-10-02 08:14:27,091 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/opt/janus/jboss-4.2.1.GA/server/default/tmp/deploy/tmp41094application.ear-contents/ejb-db.jar




      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.web:service=WebServer
      State: FAILED
      Reason: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to create schema loader: org.apache.xerces.dom.DOMXSImplementationSourceImpl
      Depends On Me:
      jboss.mq:service=InvocationLayer,type=HTTP
      2007-10-02 08:14:29,185 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing: