3 Replies Latest reply on Oct 21, 2008 2:48 PM by ilango gurusamy

    org.jboss.xb.binding.JBossXBRuntimeException: Failed to reso

    ilango gurusamy Novice

      On deploying my Ear file into Jboss 5 from Netbeans I get the following errors: This is preventing my application from deploying correctly.
      Any help in sorting out this issue is gratefully acknowledged. Thanks in advance

      org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/C:/JBoss5/jboss-5.0.0.CR2/server/default/deploy/DCQueueing2.ear/DCQueueing2-ejb.jar
       at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:343)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:303)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:275)
       at org.jboss.deployment.JBossEjbParsingDeployer.createMetaData(JBossEjbParsingDeployer.java:105)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:236)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1056)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
       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:627)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
       at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
       at java.lang.Thread.run(Thread.java:619)
      
      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to resolve schema nsURI= location=enterprise-beans
      


        • 1. Re: org.jboss.xb.binding.JBossXBRuntimeException: Failed to
          Peter Johnson Master

          First question: why did you place this question in the messaging forum? It would seem to me that the JBossAS5 or Install/Config/Deploy forum would be a better location.

          Second question: Have you tried this with 4.2.3? Doing so will at least let you know if this is a general problem, or if the problem is related to 5.0 specifically.

          Third question: why did you not post the full stack trace - the interesting stuff comes after the last line you posted.

          Fourth question: what kind of application are you developing in NetBeans? What configuration files are part of the application?

          My initial guess would be that the application.xml file is incorrect, but it could be another configuration file. Fix that and you are all set. (I would be more specific, but you did not give me enough information to do so.)

          • 2. Re: org.jboss.xb.binding.JBossXBRuntimeException: Failed to
            ilango gurusamy Novice

            Peter
            I did not realize I was posting in the wrong place.
            Thanks for pointing that out to me.

            I have not tried this one with JBoss 4.

            I did not post the full stack trace because I was naive. I thought there was too much to paste here.

            I am developing an EJB 3 application using MDBs.

            The Netbeans IDE did not have any JBoss.xml or ejb-jar.xml (i added jboss.xml for the queues and the some problems went away)

            As you said, I need to look at the application.xml first.

            • 3. Re: org.jboss.xb.binding.JBossXBRuntimeException: Failed to
              ilango gurusamy Novice

              Peter
              Should I send you the EAR file? It has an MDB, a Session Facade Bean, 2 servlets. It is just a sample that was developed. I have posted the full stack trace in the deploy forum as well.

              thanks