1 Reply Latest reply on Apr 19, 2006 4:32 PM by Frank Langelage

    problem in deploying webservice

    Deepak Sharma Newbie

      Hi
      I have problem in deploying webservice

      when i try to deploy the webservices it is giving the follwing error:

      04:02:52,531 INFO [WSDLFilePublisher] WSDL published to: file:/C:/Program Files/jboss-4.0.3SP1/server/all/data/wsdl/myWebservice.war/MyWSService.wsdl
      04:02:52,546 ERROR [ServiceDeployer] Cannot startup webservice for: myWebservice.war
      org.jboss.deployment.DeploymentException: Cannot deploy webservice; - nested throwable: (javax.xml.rpc.JAXRPCException: Cannot unmarshal jaxrpc-mapping-file: WEB-INF/mapping.xml)
      at org.jboss.webservice.ServiceDeployer.deployWebservices(ServiceDeployer.java:376)
      at org.jboss.webservice.ServiceDeployer.startWebservice(ServiceDeployer.java:229)
      at org.jboss.webservice.ServiceDeployer.handleNotification(ServiceDeployer.java:110)
      at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138)
      at $Proxy49.handleNotification(Unknown Source)
      at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:112)
      at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:95)
      at org.jboss.deployment.SubDeployerSupport.emitNotification(SubDeployerSupport.java:325)
      at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:293)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:416)
      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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy46.start(Unknown Source)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:203)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:182)
      Caused by: javax.xml.rpc.JAXRPCException: Cannot unmarshal jaxrpc-mapping-file: WEB-INF/mapping.xml
      at org.jboss.webservice.metadata.WebserviceDescriptionMetaData.getJavaWsdlMapping(WebserviceDescriptionMetaData.java:180)
      at org.jboss.webservice.AxisService.getServiceDescription(AxisService.java:523)
      at org.jboss.webservice.AxisService.deployService(AxisService.java:359)
      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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
      at $Proxy36.deployService(Unknown Source)
      at org.jboss.webservice.ServiceDeployer.deployWebservices(ServiceDeployer.java:370)
      ... 48 more
      Caused by: java.lang.IllegalArgumentException: URL cannot be null
      at org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMappingFactory.parse(JavaWsdlMappingFactory.java:55)
      at org.jboss.webservice.metadata.WebserviceDescriptionMetaData.getJavaWsdlMapping(WebserviceDescriptionMetaData.java:175)
      ... 62 more
      04:02:52,578 INFO [TomcatDeployer] undeploy, ctxPath=/myWebservice, warUrl=.../tmp/deploy/tmp37616myWebservice-exp.war/
      04:02:52,593 WARN [ServiceDeployer] Cannot undeploy webservice: java.lang.IllegalStateException: Cannot find port component info for: myWebservice.war#MyWSService/MyWebServiceInterface



      And when i try to run the application in the browser the following msg is shown

      HTTP Status 404 - //myWebservice/WebService

      --------------------------------------------------------------------------------

      type Status report

      message //myWebservice/WebService

      description The requested resource (//myWebservice/WebService) is not available.

      --------------------------------------------------------------------------------

      Apache Tomcat/5.5

      Can anybody pls help ????????????????????????????????????????????????

      Cheers
      Deepak