1 Reply Latest reply on Sep 17, 2008 5:45 AM by Alessio Soldano

    JBoss4.2.3 + Metro-3.0.3

    Milan Kuchtiak Newbie

      Hi,

      Can You help please.

      I installed jbossws-metro-3.0.3 on top of JBoss-4.2.3.
      Then I created an EJB3.0 module(EJBModule1) with a simple Stateless session bean(a.A.java) annotated with @javax.jws.WebService annotation.

      The deployment failed with the following :
      14:51:36,183 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
      14:51:36,183 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=EJBModule1.jar,name=A,service=EJB3 with dependencies:
      14:51:36,187 INFO [EJBContainer] STARTED EJB: a.A ejbName: A
      14:51:36,191 INFO [EJB3Deployer] Deployed: file:/space/home/mkuchtiak/JBoss/jboss-4.2.3.GA-Metro/server/default/deploy/EJBModule1.jar
      14:51:36,194 INFO [SunJaxwsDeploymentAspect] Add Endpoint
      name=A
      implementation=a.A
      url-pattern=/A
      enable-mtom=false
      14:51:36,194 INFO [DefaultEndpointRegistry] register: jboss.ws:context=EJBModule1,endpoint=A
      14:51:36,202 INFO [TomcatDeployer] deploy, ctxPath=/EJBModule1, warUrl=.../tmp/deploy/EJBModule1.jar17683.war/
      14:51:36,243 ERROR [VFSResourceLoader] Failed to read resource paths from '/WEB-INF/wsdl/': java.net.MalformedURLException: Cannot get URL for: WEB-INF/wsdl/
      at org.jboss.wsf.stack.metro.metadata.VFSResourceLoader.getResource(VFSResourceLoader.java:66)
      at org.jboss.wsf.stack.metro.metadata.VFSResourceLoader.getResourcePaths(VFSResourceLoader.java:90)
      at org.jboss.wsf.stack.metro.DeploymentDescriptorParserExt.collectDocs(DeploymentDescriptorParserExt.java:226)
      at org.jboss.wsf.stack.metro.DeploymentDescriptorParserExt.(DeploymentDescriptorParserExt.java:161)
      ....

      14:51:36,245 ERROR [MainDeployer] Could not start deployment: file:/space/home/mkuchtiak/JBoss/jboss-4.2.3.GA-Metro/server/default/deploy/EJBModule1.jar
      javax.xml.ws.WebServiceException: Failed to build METRO runtime model
      at org.jboss.wsf.stack.metro.metadata.RuntimeModelDeploymentAspect.start(RuntimeModelDeploymentAspect.java:132)
      at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.start(DeploymentAspectManagerImpl.java:144)
      at org.jboss.wsf.container.jboss42.LazyAssemblyWSFRuntime.start(LazyAssemblyWSFRuntime.java:66)
      ....

      Note: When I installed jbossws-native-3.0.3 (on the top of JBoss-4.2.3) the service EJB endpoint was deployed correctly.
      Thank You