3 Replies Latest reply on Jul 9, 2010 3:20 AM by objectiser

    Failed to build METRO runtime model

    jcunanan

      Hello my environment includes:

       

      jboss-soa-platform 5.0.0

      riftsaw 2.0.0 final

       

      At first I was just using the jbossWS which came with jboss soa platform and was able to deploy some of the quickstarts.

       

      I have now installed jbossws-metro-3.3.1.GA and now I can't seem to deploy the quickstarts.

       

      Here is the stack from trying to deploy (quickstart\hello_world_header_wsdl):

       

      2010-07-08 12:06:34,121 INFO  [STDOUT] (Thread-20) Retrieving document at 'file:/C:/Development/soa-5.0.0.GA/jboss-soa-p.5.0.0/jboss-as/server/default/tmp/a4g1c2v-dkj3dy-gbdvpz9g-1-gbdyy5q0-op/Quickstart_bpel_hello_world_header_wsdl-1.jar/HelloWorld.wsdl'.

      2010-07-08 12:06:34,308 INFO  [org.jboss.wsf.stack.metro.SunJaxwsDeploymentAspect] (Thread-20) Add Endpoint
      name=Endpoint-e8618446-218b-45ff-9cb8-92500caaf899
      implementation=org.jboss.soa.bpel.runtime.ws.BPELWebServiceEndpoint_e8618446-218b-45ff-9cb8-92500caaf899
      url-pattern=/*
      enable-mtom=false

      2010-07-08 12:06:34,355 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (Thread-20) Error installing to Real: name=vfsfile:/C:/Development/soa-5.0.0.GA/jboss-soa-p.5.0.0/jboss-as/server/default/tmp/riftsaw/riftsaw-e8618446-218b-45ff-9cb8-92500caaf899.war/ state=PreReal mode=Manual requiredState=Real

      org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/C:/Development/soa-5.0.0.GA/jboss-soa-p.5.0.0/jboss-as/server/default/tmp/riftsaw/riftsaw-e8618446-218b-45ff-9cb8-92500caaf899.war/

          at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)

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

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

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

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

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

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

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

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

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

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

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

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

          at org.jboss.deployers.plugins.main.MainDeployerImpl.deploy(MainDeployerImpl.java:552)

          at org.jboss.soa.bpel.runtime.ws.EndpointManager.createEndpoint(EndpointManager.java:140)

          at org.jboss.soa.bpel.runtime.engine.ode.JAXWSBindingContext.activateMyRoleEndpoint(JAXWSBindingContext.java:113)

          at org.apache.ode.bpel.engine.BpelProcess.activate(BpelProcess.java:581)

          at org.apache.ode.bpel.engine.BpelEngineImpl.registerProcess(BpelEngineImpl.java:323)

          at org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:312)

          at org.jboss.soa.bpel.runtime.engine.ode.BPELEngineImpl.handleEvent(BPELEngineImpl.java:573)

          at org.jboss.soa.bpel.runtime.engine.ode.BPELEngineImpl.access$100(BPELEngineImpl.java:57)

          at org.jboss.soa.bpel.runtime.engine.ode.BPELEngineImpl$ProcessStoreListenerImpl.onProcessStoreEvent(BPELEngineImpl.java:628)

          at org.apache.ode.store.ProcessStoreImpl.fireEvent(ProcessStoreImpl.java:559)

          at org.apache.ode.store.ProcessStoreImpl.fireStateChange(ProcessStoreImpl.java:565)

          at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:301)

          at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:169)

          at org.apache.ode.store.RiftSawProcessStore$DeployScheduler.doDeploy(RiftSawProcessStore.java:173)

          at org.apache.ode.store.RiftSawProcessStore$DeployScheduler.run(RiftSawProcessStore.java:102)

      Caused by: javax.xml.ws.WebServiceException: Failed to build METRO runtime model

          at org.jboss.wsf.stack.metro.metadata.RuntimeModelDeploymentAspect.start(RuntimeModelDeploymentAspect.java:135)

          at org.jboss.webservices.integration.deployers.WSDeploymentAspectDeployer.internalDeploy(WSDeploymentAspectDeployer.java:107)

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

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

          ... 26 more

      Caused by: com.sun.xml.ws.util.exception.LocatableWebServiceException: file:/C:/Development/soa-5.0.0.GA/jboss-soa-p.5.0.0/jboss-as/server/default/tmp/a4g1c2v-dkj3dy-gbdvpz9g-1-gbdyy5q0-op/Quickstart_bpel_hello_world_header_wsdl-1.jar/HelloWorld.wsdl is not found in the WAR file. Package it in the WAR file or correct it in sun-jaxws.xml.
      at line 1 of file:/C:/Development/soa-5.0.0.GA/jboss-soa-p.5.0.0/jboss-as/server/default/tmp/jbossws/jbossws-sun-jaxws6834882517298474110.xml

          at org.jboss.wsf.stack.metro.DeploymentDescriptorParserExt.getPrimaryWSDL(DeploymentDescriptorParserExt.java:438)

          at org.jboss.wsf.stack.metro.DeploymentDescriptorParserExt.parseAdapters(DeploymentDescriptorParserExt.java:268)

          at org.jboss.wsf.stack.metro.DeploymentDescriptorParserExt.parse(DeploymentDescriptorParserExt.java:171)

          at org.jboss.wsf.stack.metro.metadata.RuntimeModelDeploymentAspect.start(RuntimeModelDeploymentAspect.java:111)

          ... 29 more