1 Reply Latest reply on Apr 12, 2006 3:20 AM by Rene Hoferichter

    JBOSS 4.0.3SP1 - Pb for WS deployment

    bobo bibi Newbie

      Hi every one,

      I'm trying to deploy a webservice based on a EJB, and i encountered the following JBOSS message :

      2006-03-27 15:45:48,164 INFO [org.jboss.ejb.EJBDeployer] Deployed: file:/TPEDEVTT19/projets/TPE/users/tpedev19/jboss4/jboss-4.0.3/ser
      ver/dvd/deploy/ticketmanager_1.0.jar
      2006-03-27 15:45:48,230 INFO [org.jboss.webservice.WSDLFilePublisher] WSDL published to: file:/TPEDEVTT19/projets/TPE/users/tpedev19/
      jboss4/jboss-4.0.3/server/dvd/data/wsdl/ticketmanager_1.0.jar/TicketManager.wsdl
      2006-03-27 15:45:48,335 WARN [org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http
      ://bean.newticket.jpea}ArrayOf_xsd_string
      2006-03-27 15:45:48,336 WARN [org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http
      ://bean.newticket.jpea}ArrayOf_tns2_ReturnCode
      2006-03-27 15:45:48,336 WARN [org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http
      ://types.newticket.jpea}ReturnCode
      2006-03-27 15:45:48,336 ERROR [org.jboss.webservice.ServiceDeployer] Cannot startup webservice for: ticketmanager_1.0.jar
      org.jboss.deployment.DeploymentException: Cannot deploy webservice; - nested throwable: (java.lang.IllegalArgumentException: Cannot fi
      nd package type for: {http://types.newticket.jpea}ReturnCode)
       at org.jboss.webservice.ServiceDeployer.deployWebservices(ServiceDeployer.java:376)
       at org.jboss.webservice.ServiceDeployerEJB.deployWebservices(ServiceDeployerEJB.java:106)
       at org.jboss.webservice.ServiceDeployer.startWebservice(ServiceDeployer.java:229)
       at org.jboss.webservice.ServiceDeployer.handleNotification(ServiceDeployer.java:110)
       at sun.reflect.GeneratedMethodAccessor3.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 $Proxy27.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.ejb.EJBDeployer.start(EJBDeployer.java:642)
       at sun.reflect.GeneratedMethodAccessor92.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.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 $Proxy24.start(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:489)
       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: java.lang.IllegalArgumentException: Cannot find package type for: {http://types.newticket.jpea}ReturnCode
       at org.jboss.webservice.deployment.ServiceDescription.getPackageName(ServiceDescription.java:939)
       at org.jboss.webservice.deployment.ServiceDescription.initTypeMappings(ServiceDescription.java:894)
       at org.jboss.webservice.deployment.ServiceDescription.initServiceDescription(ServiceDescription.java:141)
       at org.jboss.webservice.deployment.ServiceDescription.<init>(ServiceDescription.java:108)
       at org.jboss.webservice.AxisService.getServiceDescription(AxisService.java:533)
       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 $Proxy26.deployService(Unknown Source)
       at org.jboss.webservice.ServiceDeployer.deployWebservices(ServiceDeployer.java:370)
       ... 48 more


      Has anyone an idea about this?