2 Replies Latest reply on Sep 22, 2005 8:06 PM by Thomas Diesler

    JBossWS doesn't seem to pick up my webservice

    platinumdragon Newbie

      I am attempting to deploy my web application using JAX-WS 2.0 and JBoss 4.0.3. I have the WEB-INF/web.xml and WEB-INF/webservices.xml (I'll post if it will help). As you can see below from the log, my web app (udbms-server-ws.war) is being picked up, but I don't see anywhere where the WSDL is being processed. The only thing I can see that I'm doing differently from the tutorials, is that there is no mapping file (JAX-WS 2.0 doesn't seem to have the option of producing one). Could this be the problem, or is it likely something else I'm not doing?

      Thanks,
      Mike

      08:56:07,970 DEBUG [MainDeployer] Starting deployment of package: file:/C:/Program Files/jboss-4.0.3RC1/server/default/deploy/udbms-server-ws.war
      08:56:07,970 DEBUG [MainDeployer] Starting deployment (init step) of package at: file:/C:/Program Files/jboss-4.0.3RC1/server/default/deploy/udbms-server-ws.war
      08:56:07,970 DEBUG [MainDeployer] Copying file:/C:/Program Files/jboss-4.0.3RC1/server/default/deploy/udbms-server-ws.war -> C:\Program Files\jboss-4.0.3RC1\server\default\tmp\deploy\tmp34836udbms-server-ws.war
      08:56:08,001 DEBUG [MainDeployer] using deployer MBeanProxyExt[jboss.web:service=WebServer]
      08:56:08,001 DEBUG [Tomcat5] Begin init
      08:56:08,001 DEBUG [Tomcat5] Unpacking war to: C:\Program Files\jboss-4.0.3RC1\server\default\tmp\deploy\tmp34836udbms-server-ws-exp.war
      08:56:08,392 DEBUG [Tomcat5] Replaced war with unpacked contents
      08:56:08,392 DEBUG [Tomcat5] webContext: null
      08:56:08,392 DEBUG [Tomcat5] warURL: file:/C:/Program Files/jboss-4.0.3RC1/server/default/tmp/deploy/tmp34836udbms-server-ws-exp.war/
      08:56:08,407 DEBUG [Tomcat5] End init
      08:56:08,407 DEBUG [DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null)
      08:56:08,407 DEBUG [UnifiedClassLoader] New jmx UCL with url file:/C:/Program Files/jboss-4.0.3RC1/server/default/tmp/deploy/tmp34836udbms-server-ws-exp.war/
      08:56:08,407 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@12b3d53, cl=org.jboss.mx.loading.UnifiedClassLoader3@75be38{ url=file:/C:/Program Files/jboss-4.0.3RC1/server/default/tmp/deploy/tmp34836udbms-server-ws-exp.war/ ,addedOrder=0}
      08:56:08,407 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@12b3d53, cl=org.jboss.mx.loading.UnifiedClassLoader3@75be38{ url=file:/C:/Program Files/jboss-4.0.3RC1/server/default/tmp/deploy/tmp34836udbms-server-ws-exp.war/ ,addedOrder=0}
      08:56:08,407 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@75be38{ url=file:/C:/Program Files/jboss-4.0.3RC1/server/default/tmp/deploy/tmp34836udbms-server-ws-exp.war/ ,addedOrder=0}
      08:56:08,407 DEBUG [MainDeployer] found 0 subpackages of file:/C:/Program Files/jboss-4.0.3RC1/server/default/deploy/udbms-server-ws.war
      08:56:08,407 DEBUG [MainDeployer] Watching new file: file:/C:/Program Files/jboss-4.0.3RC1/server/default/deploy/udbms-server-ws.war
      08:56:08,407 DEBUG [MainDeployer] create step for deployment file:/C:/Program Files/jboss-4.0.3RC1/server/default/deploy/udbms-server-ws.war
      08:56:08,407 DEBUG [ServiceController] Creating service jboss.web.deployment:war=udbms-server-ws.war,id=-1676855006
      08:56:08,407 DEBUG [ServiceController] adding depends in ServiceController.register: []
      08:56:08,423 DEBUG [WebModule] Creating jboss.web.deployment:war=udbms-server-ws.war,id=-1676855006
      08:56:08,423 DEBUG [WebModule] Created jboss.web.deployment:war=udbms-server-ws.war,id=-1676855006
      08:56:08,423 DEBUG [ServiceController] Creating dependent components for: jboss.web.deployment:war=udbms-server-ws.war,id=-1676855006 dependents are: []
      08:56:08,423 DEBUG [MainDeployer] Done with create step of deploying udbms-server-ws.war
      08:56:08,439 DEBUG [MainDeployer] Begin deployment start file:/C:/Program Files/jboss-4.0.3RC1/server/default/deploy/udbms-server-ws.war
      08:56:08,439 DEBUG [ServiceController] starting service jboss.web.deployment:war=udbms-server-ws.war,id=-1676855006
      08:56:08,439 DEBUG [WebModule] Starting jboss.web.deployment:war=udbms-server-ws.war,id=-1676855006
      08:56:08,439 DEBUG [TomcatDeployer] webContext: null
      08:56:08,454 DEBUG [TomcatDeployer] warURL: file:/C:/Program Files/jboss-4.0.3RC1/server/default/tmp/deploy/tmp34836udbms-server-ws-exp.war/
      08:56:08,454 DEBUG [TomcatDeployer] webAppParser: org.jboss.web.AbstractWebDeployer$DescriptorParser@1b55f2
      08:56:08,454 DEBUG [WebPermissionMapping] Qualified url patterns: {/=PatternInfo[pattern=/,type=3,isOverriden=false,qualifiers=[]]}
      08:56:08,454 INFO [TomcatDeployer] deploy, ctxPath=/udbms-server-ws, warUrl=file:/C:/Program Files/jboss-4.0.3RC1/server/default/tmp/deploy/tmp34836udbms-server-ws-exp.war/
      08:56:08,454 DEBUG [TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, Begin
      08:56:08,470 DEBUG [TomcatDeployer] Creating ENC using ClassLoader: java.net.FactoryURLClassLoader@a7ae01
      08:56:08,470 DEBUG [TomcatDeployer] ..org.jboss.mx.loading.UnifiedClassLoader3@75be38{ url=file:/C:/Program Files/jboss-4.0.3RC1/server/default/tmp/deploy/tmp34836udbms-server-ws-exp.war/ ,addedOrder=32}
      08:56:08,470 DEBUG [TomcatDeployer] ..org.jboss.system.server.NoAnnotationURLClassLoader@1833955
      08:56:08,470 DEBUG [TomcatDeployer] ..sun.misc.Launcher$AppClassLoader@169e11
      08:56:08,486 DEBUG [TomcatDeployer] ..sun.misc.Launcher$ExtClassLoader@e39a3e
      08:56:08,486 DEBUG [TomcatDeployer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered.
      08:56:08,486 DEBUG [TomcatDeployer] Linked java:comp/UserTransaction to JNDI name: UserTransaction
      08:56:08,486 DEBUG [TomcatDeployer] addEnvEntries
      08:56:08,501 DEBUG [TomcatDeployer] linkResourceEnvRefs
      08:56:08,501 DEBUG [TomcatDeployer] linkResourceRefs
      08:56:08,501 DEBUG [TomcatDeployer] linkMessageDestinationRefs
      08:56:08,501 DEBUG [TomcatDeployer] linkEjbRefs
      08:56:08,517 DEBUG [TomcatDeployer] linkEjbLocalRefs
      08:56:08,517 DEBUG [TomcatDeployer] linkServiceRefs
      08:56:08,517 DEBUG [TomcatDeployer] linkSecurityDomain
      08:56:08,517 DEBUG [TomcatDeployer] No security-domain given, using default: java:/jaas/other
      08:56:08,532 DEBUG [TomcatDeployer] Linking security/securityMgr to JNDI name: java:/jaas/other
      08:56:08,532 DEBUG [TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, End
      08:56:08,564 DEBUG [TomcatDeployer] Using session cookies default setting
      08:56:08,626 DEBUG [ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.0.3RC1 (build: CVSTag=JBoss_4_0_3_RC1 date=200506260220)/Tomcat-5.5'
      08:56:08,626 DEBUG [TomcatDeployer] Initialized: {WebApplication: /C:/Program Files/jboss-4.0.3RC1/server/default/tmp/deploy/tmp34836udbms-server-ws-exp.war/, URL: file:/C:/Program Files/jboss-4.0.3RC1/server/default/tmp/deploy/tmp34836udbms-server-ws-exp.war/, classLoader: java.net.FactoryURLClassLoader@a7ae01:10989057} jboss.web:j2eeType=WebModule,name=//l
      ocalhost/udbms-server-ws,J2EEApplication=none,J2EEServer=none
      08:56:08,626 DEBUG [WebModule] Started jboss.web.deployment:war=udbms-server-ws.war,id=-1676855006
      08:56:08,642 DEBUG [ServiceController] Starting dependent components for: jboss.web.deployment:war=udbms-server-ws.war,id=-1676855006 dependent components: []
      08:56:08,642 DEBUG [MainDeployer] End deployment start on package: udbms-server-ws.war
      08:56:08,642 DEBUG [MainDeployer] Deployed package: file:/C:/Program Files/jboss-4.0.3RC1/server/default/deploy/udbms-server-ws.war
      08:56:08,642 DEBUG [URLDeploymentScanner] Watch URL for: file:/C:/Program Files/jboss-4.0.3RC1/server/default/deploy/udbms-server-ws.war -> file:/C:/Program Files/jboss-4.0.3RC1/server/default/deploy/udbms-server-ws.war
      08:56:08,642 DEBUG [AbstractDeploymentScanner$ScannerThread] Notified that enabled: true
      08:56:08,642 DEBUG [URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
      08:56:08,642 DEBUG [ServiceController] Starting dependent components for: jboss.deployment:type=DeploymentScanner,flavor=URL dependent components: []
      08:56:08,642 DEBUG [MainDeployer] End deployment start on package: jboss-service.xml
      08:56:08,642 DEBUG [MainDeployer] Deployed package: file:/C:/Program Files/jboss-4.0.3RC1/server/default/conf/jboss-service.xml
      08:56:08,642 DEBUG [Tomcat5] Saw org.jboss.system.server.started notification, starting connectors
      08:56:08,657 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      08:56:08,783 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
      08:56:08,798 INFO [JkMain] Jk running ID=0 time=0/31 config=null
      08:56:08,814 INFO [Server] JBoss (MX MicroKernel) [4.0.3RC1 (build: CVSTag=JBoss_4_0_3_RC1 date=200506260220)] Started in 27s:123ms
      



        • 1. Re: JBossWS doesn't seem to pick up my webservice
          platinumdragon Newbie

          Hmmm...

          Deploying to JBoss on my laptop gets a little further. Same version, I don't get what the difference is. I'll have to do a new install and see which way it goes.

          It looks like it's trying on this one, but because I'm using JAX-WS 2.0, I don't have a jaxrpc-mapping.xml file, which is apparently required.

          Does anyone know a way around this? I can't get a response from the JAX-WS community. I am using wsimport to create my stubs from a WSDL.

          Thanks,
          Mike

          13:12:52,296 DEBUG [ServiceController] Starting dependent components for: jboss.web.deployment:war=jmx-console.war,id=1901914517 dependent components: []
          13:12:52,296 DEBUG [ServiceDeployer] handleNotification: org.jboss.deployment.SubDeployer.start,jmx-console.war
          13:12:52,312 DEBUG [MainDeployer] End deployment start on package: jmx-console.war
          13:12:52,312 DEBUG [MainDeployer] Deployed package: file:/C:/Java/jboss-4.0.3RC1/server/mycompany/deploy/jmx-console.war/
          13:12:52,312 DEBUG [URLDeploymentScanner] Watch URL for: file:/C:/Java/jboss-4.0.3RC1/server/mycompany/deploy/jmx-console.war/ -> file:/C:/Java/jboss-4.0.3RC1/server/mycompany/deploy/jmx-console.war/WEB-INF/web.xml
          13:12:52,312 DEBUG [MainDeployer] Starting deployment of package: file:/C:/Java/jboss-4.0.3RC1/server/mycompany/deploy/udbms-server-ws.war
          13:12:52,312 DEBUG [MainDeployer] Starting deployment (init step) of package at: file:/C:/Java/jboss-4.0.3RC1/server/mycompany/deploy/udbms-server-ws.war
          13:12:52,312 DEBUG [MainDeployer] Copying file:/C:/Java/jboss-4.0.3RC1/server/mycompany/deploy/udbms-server-ws.war -> C:\Java\jboss-4.0.3RC1\server\mycompany\tmp\deploy\tmp27791udbms-server-ws.war
          13:12:52,343 DEBUG [MainDeployer] using deployer MBeanProxyExt[jboss.web:service=WebServer]
          13:12:52,343 DEBUG [Tomcat5] Begin init
          13:12:52,359 DEBUG [Tomcat5] Unpacking war to: C:\Java\jboss-4.0.3RC1\server\mycompany\tmp\deploy\tmp27791udbms-server-ws-exp.war
          13:12:53,578 DEBUG [Tomcat5] Replaced war with unpacked contents
          13:12:53,578 DEBUG [Tomcat5] webContext: null
          13:12:53,578 DEBUG [Tomcat5] warURL: file:/C:/Java/jboss-4.0.3RC1/server/mycompany/tmp/deploy/tmp27791udbms-server-ws-exp.war/
          13:12:53,578 DEBUG [ServiceDeployer] handleNotification: org.jboss.deployment.SubDeployer.init,udbms-server-ws.war
          13:12:53,578 DEBUG [Tomcat5] End init
          13:12:53,578 DEBUG [DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig:
           null)
          13:12:53,578 DEBUG [UnifiedClassLoader] New jmx UCL with url file:/C:/Java/jboss-4.0.3RC1/server/mycompany/tmp/deploy/tmp27791udbms-server-ws-exp.war/
          13:12:53,578 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@21b220, cl=org.jboss.mx.loading.UnifiedClassLoader3@19fe5e6{ url=file:/C:/Java/jboss-4.0.3RC1/server/mycompany/tmp/deploy/tmp2
          7791udbms-server-ws-exp.war/ ,addedOrder=0}
          13:12:53,578 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@21b220, cl=org.jboss.mx.loading.UnifiedClassLoader3@19fe5e6{ url=file:/C:/Java/jboss-4.0.3RC1/server/mycompany/tmp/deploy/tmp2
          7791udbms-server-ws-exp.war/ ,addedOrder=0}
          13:12:53,578 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@19fe5e6{ url=file:/C:/Java/jboss-4.0.3RC1/server/mycompany/tmp/deploy/tmp27791udbms-server-ws-exp.war/ ,addedOrder=0}
          13:12:53,593 DEBUG [MainDeployer] found 0 subpackages of file:/C:/Java/jboss-4.0.3RC1/server/mycompany/deploy/udbms-server-ws.war
          13:12:53,593 DEBUG [MainDeployer] Watching new file: file:/C:/Java/jboss-4.0.3RC1/server/mycompany/deploy/udbms-server-ws.war
          13:12:53,593 DEBUG [MainDeployer] create step for deployment file:/C:/Java/jboss-4.0.3RC1/server/mycompany/deploy/udbms-server-ws.war
          13:12:53,593 DEBUG [ServiceController] Creating service jboss.web.deployment:war=udbms-server-ws.war,id=492048131
          13:12:53,593 DEBUG [ServiceController] adding depends in ServiceController.register: []
          13:12:53,593 DEBUG [WebModule] Creating jboss.web.deployment:war=udbms-server-ws.war,id=492048131
          13:12:53,593 DEBUG [WebModule] Created jboss.web.deployment:war=udbms-server-ws.war,id=492048131
          13:12:53,593 DEBUG [ServiceController] Creating dependent components for: jboss.web.deployment:war=udbms-server-ws.war,id=492048131 dependents are: []
          13:12:53,593 DEBUG [ServiceDeployer] handleNotification: org.jboss.deployment.SubDeployer.create,udbms-server-ws.war
          13:12:53,734 DEBUG [MainDeployer] Done with create step of deploying udbms-server-ws.war
          13:12:53,734 DEBUG [MainDeployer] Begin deployment start file:/C:/Java/jboss-4.0.3RC1/server/mycompany/deploy/udbms-server-ws.war
          13:12:53,734 DEBUG [ServiceController] starting service jboss.web.deployment:war=udbms-server-ws.war,id=492048131
          13:12:53,734 DEBUG [WebModule] Starting jboss.web.deployment:war=udbms-server-ws.war,id=492048131
          13:12:53,734 DEBUG [TomcatDeployer] webContext: null
          13:12:53,734 DEBUG [TomcatDeployer] warURL: file:/C:/Java/jboss-4.0.3RC1/server/mycompany/tmp/deploy/tmp27791udbms-server-ws-exp.war/
          13:12:53,734 DEBUG [TomcatDeployer] webAppParser: org.jboss.web.AbstractWebDeployer$DescriptorParser@1ae2c6f
          13:12:53,734 DEBUG [WebPermissionMapping] Qualified url patterns: {/=PatternInfo[pattern=/,type=3,isOverriden=false,qualifiers=[]]}
          13:12:53,750 INFO [TomcatDeployer] deploy, ctxPath=/udbms-server-ws, warUrl=file:/C:/Java/jboss-4.0.3RC1/server/mycompany/tmp/deploy/tmp27791udbms-server-ws-exp.war/
          13:12:53,750 DEBUG [TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, Begin
          13:12:53,750 DEBUG [TomcatDeployer] Creating ENC using ClassLoader: java.net.FactoryURLClassLoader@1e75e89
          13:12:53,750 DEBUG [TomcatDeployer] ..org.jboss.mx.loading.UnifiedClassLoader3@19fe5e6{ url=file:/C:/Java/jboss-4.0.3RC1/server/mycompany/tmp/deploy/tmp27791udbms-server-ws-exp.war/ ,addedOrder=53}
          13:12:53,750 DEBUG [TomcatDeployer] ..org.jboss.system.server.NoAnnotationURLClassLoader@ab95e6
          13:12:53,750 DEBUG [TomcatDeployer] ..sun.misc.Launcher$AppClassLoader@e39a3e
          13:12:53,750 DEBUG [TomcatDeployer] ..sun.misc.Launcher$ExtClassLoader@a39137
          13:12:53,750 DEBUG [TomcatDeployer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered.
          13:12:53,750 DEBUG [TomcatDeployer] Linked java:comp/UserTransaction to JNDI name: UserTransaction
          13:12:53,750 DEBUG [TomcatDeployer] addEnvEntries
          13:12:53,750 DEBUG [TomcatDeployer] linkResourceEnvRefs
          13:12:53,750 DEBUG [TomcatDeployer] linkResourceRefs
          13:12:53,750 DEBUG [TomcatDeployer] linkMessageDestinationRefs
          13:12:53,750 DEBUG [TomcatDeployer] linkEjbRefs
          13:12:53,750 DEBUG [TomcatDeployer] linkEjbLocalRefs
          13:12:53,750 DEBUG [TomcatDeployer] linkServiceRefs
          13:12:53,750 DEBUG [TomcatDeployer] linkSecurityDomain
          13:12:53,750 DEBUG [TomcatDeployer] No security-domain given, using default: java:/jaas/other
          13:12:53,750 DEBUG [TomcatDeployer] Linking security/securityMgr to JNDI name: java:/jaas/other
          13:12:53,750 DEBUG [TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, End
          13:12:53,796 DEBUG [TomcatDeployer] Using session cookies default setting
          13:12:53,828 DEBUG [ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.0.3RC1 (build: CVSTag=JBoss_4_0_3_RC1 date=200506260220)/Tomcat-5.5'
          13:12:53,843 DEBUG [TomcatDeployer] Initialized: {WebApplication: /C:/Java/jboss-4.0.3RC1/server/mycompany/tmp/deploy/tmp27791udbms-server-ws-exp.war/, URL: file:/C:/Java/jboss-4.0.3RC1/server/mycompany/tmp/deploy/tmp27791udbms-server-ws-exp.
          war/, classLoader: java.net.FactoryURLClassLoader@1e75e89:31940233} jboss.web:j2eeType=WebModule,name=//localhost/udbms-server-ws,J2EEApplication=none,J2EEServer=none
          13:12:53,843 DEBUG [WebModule] Started jboss.web.deployment:war=udbms-server-ws.war,id=492048131
          13:12:53,843 DEBUG [ServiceController] Starting dependent components for: jboss.web.deployment:war=udbms-server-ws.war,id=492048131 dependent components: []
          13:12:53,843 DEBUG [ServiceDeployer] handleNotification: org.jboss.deployment.SubDeployer.start,udbms-server-ws.war
          13:12:53,859 DEBUG [WSDL11DefinitionFactory] getBaseInputSource [wsdlUrl=file:/C:/Java/jboss-4.0.3RC1/server/mycompany/tmp/deploy/tmp27791udbms-server-ws-exp.war/WEB-INF/wsdl/udbmsService.wsdl]
          13:12:53,859 DEBUG [WSDLReaderImpl] Retrieving document at 'file:/C:/Java/jboss-4.0.3RC1/server/mycompany/tmp/deploy/tmp27791udbms-server-ws-exp.war/WEB-INF/wsdl/udbmsService.wsdl'.
          13:12:53,953 DEBUG [WebserviceDescriptionMetaData] Replace port location 'REPLACE_WITH_ACUTAL_URL' with 'http://INSPIRON9300:8080/udbms-server-ws/UDBMS-DML'
          13:12:53,968 INFO [WSDLFilePublisher] WSDL published to: file:/C:/Java/jboss-4.0.3RC1/server/mycompany/data/wsdl/udbms-server-ws.war/udbmsService.wsdl
          13:12:53,968 DEBUG [AxisService] deployService: udbms-server-ws.war#DML
          13:12:53,984 ERROR [ServiceDeployer] Cannot startup webservice for: udbms-server-ws.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.GeneratedMethodAccessor22.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 $Proxy45.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:234)
           at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:202)
           at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:410)
           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 $Proxy42.start(Unknown Source)
           at org.jboss.deployment.MainDeployer.start(MainDeployer.java:973)
           at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
           at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
           at sun.reflect.GeneratedMethodAccessor8.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:325)
           at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
           at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
           at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
           at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:267)
           at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:217)
           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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950)
           at $Proxy0.start(Unknown Source)
           at org.jboss.system.ServiceController.start(ServiceController.java:436)
           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.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
           at $Proxy4.start(Unknown Source)
           at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
           at org.jboss.deployment.MainDeployer.start(MainDeployer.java:973)
           at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
           at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
           at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:721)
           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.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 $Proxy5.deploy(Unknown Source)
           at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
           at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
           at org.jboss.Main.boot(Main.java:195)
           at org.jboss.Main$1.run(Main.java:463)
           at java.lang.Thread.run(Thread.java:595)
          Caused by: javax.xml.rpc.JAXRPCException: Cannot unmarshal jaxrpc-mapping-file: WEB-INF/mapping.xml
           at org.jboss.webservice.mycompany.WebserviceDescriptionMetaData.getJavaWsdlMapping(WebserviceDescriptionMetaData.java:180)
           at org.jboss.webservice.AxisService.getServiceDescription(AxisService.java:517)
           at org.jboss.webservice.AxisService.deployService(AxisService.java:353)
           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 $Proxy33.deployService(Unknown Source)
           at org.jboss.webservice.ServiceDeployer.deployWebservices(ServiceDeployer.java:370)
           ... 96 more
          Caused by: java.lang.IllegalArgumentException: URL cannot be null
           at org.jboss.webservice.mycompany.jaxrpcmapping.JavaWsdlMappingFactory.parse(JavaWsdlMappingFactory.java:55)
           at org.jboss.webservice.mycompany.WebserviceDescriptionMetaData.getJavaWsdlMapping(WebserviceDescriptionMetaData.java:175)
           ... 110 more
          13:12:54,093 DEBUG [MainDeployer] Undeploying file:/C:/Java/jboss-4.0.3RC1/server/mycompany/deploy/udbms-server-ws.war
          13:12:54,093 DEBUG [ServiceController] stopping service: jboss.web.deployment:war=udbms-server-ws.war,id=492048131
          13:12:54,093 DEBUG [ServiceController] stopping dependent services for: jboss.web.deployment:war=udbms-server-ws.war,id=492048131 dependent services are: []
          13:12:54,093 DEBUG [WebModule] Stopping jboss.web.deployment:war=udbms-server-ws.war,id=492048131
          13:12:54,093 INFO [TomcatDeployer] undeploy, ctxPath=/udbms-server-ws, warUrl=file:/C:/Java/jboss-4.0.3RC1/server/mycompany/tmp/deploy/tmp27791udbms-server-ws-exp.war/
          13:12:54,109 DEBUG [WebModule] Stopped jboss.web.deployment:war=udbms-server-ws.war,id=492048131
          13:12:54,109 DEBUG [ServiceDeployer] handleNotification: org.jboss.deployment.SubDeployer.stop,udbms-server-ws.war
          13:12:54,109 DEBUG [AxisService] No PortComponentInfo found for serviceID: udbms-server-ws.war#DML
          13:12:54,109 WARN [ServiceDeployer] Cannot undeploy webservice: java.lang.IllegalStateException: Cannot find port component info for: udbms-server-ws.war#DML
          13:12:54,109 DEBUG [ServiceController] destroying service: jboss.web.deployment:war=udbms-server-ws.war,id=492048131
          13:12:54,109 DEBUG [ServiceController] destroying dependent services for: jboss.web.deployment:war=udbms-server-ws.war,id=492048131 dependent services are: []
          13:12:54,109 DEBUG [WebModule] Destroying jboss.web.deployment:war=udbms-server-ws.war,id=492048131
          13:12:54,109 DEBUG [WebModule] Destroyed jboss.web.deployment:war=udbms-server-ws.war,id=492048131
          13:12:54,125 DEBUG [ServiceController] removing service: jboss.web.deployment:war=udbms-server-ws.war,id=492048131
          13:12:54,125 DEBUG [ServiceController] removing already unregistered jboss.web.deployment:war=udbms-server-ws.war,id=492048131 from server
          13:12:54,125 DEBUG [ServiceDeployer] handleNotification: org.jboss.deployment.SubDeployer.destroy,udbms-server-ws.war
          13:12:54,125 DEBUG [RepositoryClassLoader] Unregistering cl=org.jboss.mx.loading.UnifiedClassLoader3@19fe5e6{ url=file:/C:/Java/jboss-4.0.3RC1/server/mycompany/tmp/deploy/tmp27791udbms-server-ws-exp.war/ ,addedOrder=53}
          13:12:54,125 DEBUG [UnifiedLoaderRepository3] UnifiedLoaderRepository removed(true) org.jboss.mx.loading.UnifiedClassLoader3@19fe5e6{ url=file:/C:/Java/jboss-4.0.3RC1/server/mycompany/tmp/deploy/tmp27791udbms-server-ws-exp.war/ ,addedOrder=5
          3}
          13:12:54,390 DEBUG [DeploymentInfo] Cleaned Deployment: file:/C:/Java/jboss-4.0.3RC1/server/mycompany/tmp/deploy/tmp27791udbms-server-ws-exp.war/
          13:12:54,390 DEBUG [MainDeployer] Undeployed file:/C:/Java/jboss-4.0.3RC1/server/mycompany/deploy/udbms-server-ws.war
          13:12:54,390 DEBUG [MainDeployer] End deployment start on package: udbms-server-ws.war
          13:12:54,390 DEBUG [MainDeployer] Deployed package: file:/C:/Java/jboss-4.0.3RC1/server/mycompany/deploy/udbms-server-ws.war
          13:12:54,390 DEBUG [URLDeploymentScanner] Watch URL for: file:/C:/Java/jboss-4.0.3RC1/server/mycompany/deploy/udbms-server-ws.war -> file:/C:/Java/jboss-4.0.3RC1/server/mycompany/deploy/udbms-server-ws.war
          


          • 2. Re: JBossWS doesn't seem to pick up my webservice
            Thomas Diesler Master

            I think this is the cause

            Caused by: java.lang.IllegalArgumentException: URL cannot be null
             at org.jboss.webservice.mycompany.jaxrpcmapping.JavaWsdlMappingFactory.parse(JavaWsdlMapping
            Factory.java:55)
            


            Can you point me to the section in the spec where it says that jaxrpc-mapping.xml is optional?

            The schema for webservices.xml suggests that it is required

             <xsd:element name="jaxrpc-mapping-file"
             type="j2ee:pathType">
             <xsd:annotation>
             <xsd:documentation>
            
             The jaxrpc-mapping-file element contains the name of a file that
             describes the JAX-RPC mapping between the Java interaces used by
             the application and the WSDL description in the wsdl-file. The
             file name is a relative path within the module.
            
             </xsd:documentation>
             </xsd:annotation>
             </xsd:element>