5 Replies Latest reply on Aug 20, 2008 10:29 AM by jaikiran

    Issue in JBOSS 5

    kieth_jane

      Hi,
      i am trying to deploy an ear appication jboss 5 beta-4.The below is the error i got.

      org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/D:/jboss-5.0.0.Beta4/jboss-5.0.0.Beta4/server/default/deploy/USAPatient.ear/USAPatient-ejb.jar
      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:175)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:906)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:246)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)
      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)
      at org.jboss.Main.boot(Main.java:208)
      at org.jboss.Main$1.run(Main.java:534)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: org.jboss.wsf.spi.deployment.WSFDeploymentException: javax.xml.ws.WebServiceException: org.dom4j.DocumentException: java.sun.com Nested exception: java.sun.com
      at org.jboss.wsf.spi.deployment.WSFDeploymentException.rethrow(WSFDeploymentException.java:54)
      at org.jboss.wsf.container.jboss50.WebAppDeploymentAspect.create(WebAppDeploymentAspect.java:87)
      at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115)
      at org.jboss.wsf.container.jboss50.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:95)
      at org.jboss.wsf.container.jboss50.AbstractWebServiceDeployer.internalDeploy(AbstractWebServiceDeployer.java:63)
      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
      ... 18 more
      Caused by: javax.xml.ws.WebServiceException: org.dom4j.DocumentException: java.sun.com Nested exception: java.sun.com
      at org.jboss.wsf.container.jboss50.WebXMLRewriterImpl.rewriteWebXml(WebXMLRewriterImpl.java:92)
      at org.jboss.wsf.container.jboss50.WebAppDeploymentAspect.create(WebAppDeploymentAspect.java:74)
      ... 23 more
      Caused by: org.dom4j.DocumentException: java.sun.com Nested exception: java.sun.com
      at org.dom4j.io.SAXReader.read(SAXReader.java:484)
      at org.dom4j.io.SAXReader.read(SAXReader.java:343)
      at org.jboss.wsf.container.jboss50.WebXMLRewriterImpl.rewriteWebXml(WebXMLRewriterImpl.java:111)
      at org.jboss.wsf.container.jboss50.WebXMLRewriterImpl.rewriteWebXml(WebXMLRewriterImpl.java:84)
      ... 24 more
      16:13:02,781 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      *** CONTEXTS IN ERROR: Name -> Error

      vfsfile:/D:/jboss-5.0.0.Beta4/jboss-5.0.0.Beta4/server/default/deploy/USAPatient.ear/ -> org.dom4j.DocumentException: java.sun.com Nested exception: java.sun.com


      Thanks

        • 1. Re: Issue in JBOSS 5
          jaikiran

           

          i am trying to deploy an ear appication jboss 5 beta-4


          Based on one of the JIRA issues, this probably is fixed in JBoss5 CR1 (which by the way is released and available for download). Can you try this on this new version?

          As for the exception, it looks like while parsing the xml, the DTD is not being resolved because your system probably does not have access to java.sun.com site?

          • 2. Re: Issue in JBOSS 5
            kieth_jane

            Hi,

            but it says there is an deployment exception.I am really confused.

            Thanks

            • 3. Re: Issue in JBOSS 5
              jaikiran

              The exception occurs when the xml is being parsed during deployment and hence is wrapped in a DeploymentException.

              • 4. Re: Issue in JBOSS 5
                kieth_jane

                Hi,

                First of all Thanks.

                I am facing one more issue in Jboss 4.3.are jsf are supported by jboss 4.3.
                where i have to put the jsf libs, if i put in my application they are throwing error at deployment only.if i put server\lib i am getting TLD exception at run time.

                Thanks

                • 5. Re: Issue in JBOSS 5
                  jaikiran

                   

                  "kieth_jane" wrote:

                  I am facing one more issue in Jboss 4.3.are jsf are supported by jboss 4.3.
                  where i have to put the jsf libs, if i put in my application they are throwing error at deployment only.if i put server\lib i am getting TLD exception at run time.



                  Since this is not EJB3 specific, you should probably start a new thread in the Installation & Configuration forum http://www.jboss.com/index.html?module=bb&op=viewforum&f=61, where you have better chance of getting this answered. And while posting the question there, remember to provide more details about your application and the entire exception stacktrace.