8 Replies Latest reply on Jul 14, 2006 6:13 AM by Heiko Braun

    jbossws 1.0.1GA sample not working

    Alessio Soldano Newbie

      We are experimenting some problems with the WS-Eventing JBossWS 1.0.1 GA sample deployed on JBoss 4.0.4 GA (jbossws updated to 1.0.1GA).
      We build the sample code and deployed it; server.log says:

      2006-07-07 11:43:51,834 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 30000
      2006-07-07 11:43:51,838 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/home/oracle/jboss-4.0.4.GA_2/server/lintec/deploy/jbossws-samples-eventing.war
      2006-07-07 11:43:51,838 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/home/oracle/jboss-4.0.4.GA_2/server/lintec/deploy/jbossws-samples-eventing.war
      2006-07-07 11:43:51,839 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/home/oracle/jboss-4.0.4.GA_2/server/lintec/deploy/jbossws-samples-eventing.war -> /home/oracle/jboss-4.0.4.GA_2/server/lintec/
      tmp/deploy/tmp26050jbossws-samples-eventing.war
      2006-07-07 11:43:51,839 DEBUG [org.jboss.deployment.MainDeployer] using deployer MBeanProxyExt[jboss.web:service=WebServer]
      2006-07-07 11:43:51,839 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Begin init
      2006-07-07 11:43:51,840 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Unpacking war to: /home/oracle/jboss-4.0.4.GA_2/server/lintec/
      tmp/deploy/tmp26050jbossws-samples-eventing-exp.war
      2006-07-07 11:43:51,844 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Replaced war with unpacked contents
      2006-07-07 11:43:51,845 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Deleted war archive
      2006-07-07 11:43:51,845 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] webContext: null
      2006-07-07 11:43:51,845 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] warURL: file:/home/oracle/jboss-4.0.4.GA_2/server/lintec/tmp/deploy/tmp26050jbossws-samples-eventing-exp.war/
      2006-07-07 11:43:51,847 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] End init
      2006-07-07 11:43:51,847 DEBUG [org.jboss.deployment.DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null)
      2006-07-07 11:43:51,847 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@53ad085, cl=org.jboss.mx.loading.UnifiedClassLoader3@f5ebe2d{ url=file:/home/oracle/jboss-4.0.4.GA_2/server/lintec/tmp/deploy/tmp26050jbossws-samples-eventing-exp.war/ ,addedOrder=0}
      2006-07-07 11:43:51,847 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@53ad085, cl=org.jboss.mx.loading.UnifiedClassLoader3@f5ebe2d{ url=file:/home/oracle/jboss-4.0.4.GA_2/server/lintec/tmp/deploy/tmp26050jbossws-samples-eventing-exp.war/ ,addedOrder=0}
      2006-07-07 11:43:51,847 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@f5ebe2d{ url=file:/home/oracle/jboss-4.0.4.GA_2/server/lintec/tmp/deploy/tmp26050jbossws-samples-eventing-exp.war/ ,addedOrder=0}
      2006-07-07 11:43:51,848 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/home/oracle/jboss-4.0.4.GA_2/server/lintec/deploy/jbossws-samples-eventing.war
      2006-07-07 11:43:51,848 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/home/oracle/jboss-4.0.4.GA_2/server/lintec/deploy/jbossws-samples-eventing.war
      2006-07-07 11:43:51,848 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/home/oracle/jboss-4.0.4.GA_2/server/lintec/deploy/jbossws-samples-eventing.war
      2006-07-07 11:43:51,848 DEBUG [org.jboss.ws.integration.jboss.DeployerInterceptorJSE] create: file:/home/oracle/jboss-4.0.4.GA_2/server/lintec/deploy/jbossws-samples-eventing.war
      2006-07-07 11:43:51,848 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] create, jbossws-samples-eventing.war
      2006-07-07 11:43:51,850 DEBUG [org.jboss.system.ServiceController] Creating service jboss.web.deployment:war=jbossws-samples-eventing.war,id=-1430548425
      2006-07-07 11:43:51,850 DEBUG [org.jboss.system.ServiceController] adding depends in ServiceController.register: []
      2006-07-07 11:43:51,850 DEBUG [org.jboss.web.WebModule] Creating jboss.web.deployment:war=jbossws-samples-eventing.war,id=-1430548425
      2006-07-07 11:43:51,850 DEBUG [org.jboss.web.WebModule] Created jboss.web.deployment:war=jbossws-samples-eventing.war,id=-1430548425
      2006-07-07 11:43:51,850 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.web.deployment:war=jbossws-samples-eventing.war,id=-1430548425 dependents are: []
      2006-07-07 11:43:51,854 DEBUG [org.jboss.ws.deployment.ServiceEndpointDeployer] create: file:/home/oracle/jboss-4.0.4.GA_2/server/lintec/deploy/jbossws-samples-eventing.war
      2006-07-07 11:43:51,854 DEBUG [org.jboss.ws.deployment.JSR109ServerMetaDataBuilder] START buildMetaData: [name=jbossws-samples-eventing.war]
      2006-07-07 11:43:51,855 DEBUG [org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory] parse: file:/home/oracle/jboss-4.0.4.GA_2/server/lintec/tmp/deploy/tmp26050jbossws-samples-eventing-exp.war/WEB-INF/wsdl/sysmon.wsdl
      


      After that we check the WebModule deployment state through JMX console and see that jbossws-samples-eventing.war has state 6 (Created) (shouldn't it be 3 (Started) ?)
      Moreover the deployment process seems to be still running, since no other deployement is performed until server restart, even if deployment scanner is active.

      Running the client test case anyway we get the following error:

      JUnit version 4.1
      .E.E
      Time: 4,251
      There were 2 failures:
      1) testSubscribe(org.jboss.test.ws.samples.wseventing.SysmonTestCase)
      java.rmi.RemoteException: Call invocation failed: Could not transmit message; nested exception is:
       javax.xml.soap.SOAPException: Could not transmit message
       at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:710)
       at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:403)
       at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
       at $Proxy0.subscribe(Unknown Source)
       at org.jboss.test.ws.samples.wseventing.SysmonTestCase.doSubscribe(SysmonTestCase.java:194)
       at org.jboss.test.ws.samples.wseventing.SysmonTestCase.testSubscribe(SysmonTestCase.java:128)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       [...a lot of stuff...]
       at junit.framework.TestSuite.run(TestSuite.java:223)
       at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
       at org.junit.internal.runners.CompositeRunner.run(CompositeRunner.java:29)
       at org.junit.runner.JUnitCore.run(JUnitCore.java:121)
       at org.junit.runner.JUnitCore.run(JUnitCore.java:100)
       at org.junit.runner.JUnitCore.run(JUnitCore.java:91)
       at org.junit.runner.JUnitCore.runMain(JUnitCore.java:75)
       at org.junit.runner.JUnitCore.main(JUnitCore.java:42)
      Caused by: javax.xml.soap.SOAPException: Could not transmit message
       at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:201)
       at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:680)
       ... 24 more
      Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker.
       at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:201)
       at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:81)
       at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
       at org.jboss.remoting.Client.invoke(Client.java:525)
       at org.jboss.remoting.Client.invoke(Client.java:488)
       at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:186)
       ... 25 more
      Caused by: org.jboss.ws.WSException: Invalid HTTP server response [404] - /jbossws-samples-eventing/subscribe
       at org.jboss.ws.binding.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:73)
       at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:175)
       ... 30 more
      2) testUnsubscribe(org.jboss.test.ws.samples.wseventing.SysmonTestCase)
      java.rmi.RemoteException: Call invocation failed: Could not transmit message; nested exception is:
       javax.xml.soap.SOAPException: Could not transmit message
       at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:710)
       at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:403)
       at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
       at $Proxy0.subscribe(Unknown Source)
       at org.jboss.test.ws.samples.wseventing.SysmonTestCase.doSubscribe(SysmonTestCase.java:194)
       at org.jboss.test.ws.samples.wseventing.SysmonTestCase.testUnsubscribe(SysmonTestCase.java:138)
       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 junit.framework.TestCase.runTest(TestCase.java:164)
       [...a lot of stuff...]
       at org.junit.runner.JUnitCore.main(JUnitCore.java:42)
      Caused by: javax.xml.soap.SOAPException: Could not transmit message
       at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:201)
       at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:680)
       ... 24 more
      Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker.
       at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:201)
       at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:81)
       at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
       at org.jboss.remoting.Client.invoke(Client.java:525)
       at org.jboss.remoting.Client.invoke(Client.java:488)
       at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:186)
       ... 25 more
      Caused by: org.jboss.ws.WSException: Invalid HTTP server response [404] - /jbossws-samples-eventing/subscribe
       at org.jboss.ws.binding.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:73)
       at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:175)
       ... 30 more
      
      FAILURES!!!
      Tests run: 2, Failures: 2
      


      .. and as a matter of fact every http get calls to http://our.host/jbossws-samples-eventing/subscribe result in a 404 error.
      Please note that manually starting the WebModule from JMX-Console does not solve the problem since we get this error:

      JUnit version 4.1
      .E.E
      Time: 4,429
      There were 2 failures:
      1) testSubscribe(org.jboss.test.ws.samples.wseventing.SysmonTestCase)
      java.rmi.RemoteException: Call invocation failed: Could not transmit message; nested exception is:
       javax.xml.soap.SOAPException: Could not transmit message
       at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:710)
       at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:403)
       at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
       at $Proxy0.subscribe(Unknown Source)
       at org.jboss.test.ws.samples.wseventing.SysmonTestCase.doSubscribe(SysmonTestCase.java:194)
       at org.jboss.test.ws.samples.wseventing.SysmonTestCase.testSubscribe(SysmonTestCase.java:128)
       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 junit.framework.TestCase.runTest(TestCase.java:164)
       [...a lot of stuff...]
       at org.junit.runner.JUnitCore.main(JUnitCore.java:42)
      Caused by: javax.xml.soap.SOAPException: Could not transmit message
       at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:201)
       at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:680)
       ... 24 more
      Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker.
       at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:201)
       at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:81)
       at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
       at org.jboss.remoting.Client.invoke(Client.java:525)
       at org.jboss.remoting.Client.invoke(Client.java:488)
       at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:186)
       ... 25 more
      Caused by: java.io.IOException: javax.xml.soap.SOAPException: Unsupported content type: text/html; charset=utf-8
       at org.jboss.ws.binding.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:82)
       at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:175)
       ... 30 more
      2) testUnsubscribe(org.jboss.test.ws.samples.wseventing.SysmonTestCase)
      java.rmi.RemoteException: Call invocation failed: Could not transmit message; nested exception is:
       javax.xml.soap.SOAPException: Could not transmit message
       at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:710)
       at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:403)
       at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
       at $Proxy0.subscribe(Unknown Source)
       at org.jboss.test.ws.samples.wseventing.SysmonTestCase.doSubscribe(SysmonTestCase.java:194)
       at org.jboss.test.ws.samples.wseventing.SysmonTestCase.testUnsubscribe(SysmonTestCase.java:138)
       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 junit.framework.TestCase.runTest(TestCase.java:164)
       [...a lot of stuff...]
       at org.junit.runner.JUnitCore.main(JUnitCore.java:42)
      Caused by: javax.xml.soap.SOAPException: Could not transmit message
       at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:201)
       at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:680)
       ... 24 more
      Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker.
       at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:201)
       at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:81)
       at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
       at org.jboss.remoting.Client.invoke(Client.java:525)
       at org.jboss.remoting.Client.invoke(Client.java:488)
       at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:186)
       ... 25 more
      Caused by: org.jboss.ws.WSException: Invalid HTTP server response [404] - Servlet EventSourceServlet is not available
       at org.jboss.ws.binding.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:73)
       at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:175)
       ... 30 more
      
      FAILURES!!!
      Tests run: 2, Failures: 2
      


      We would like to understand what's appening before trying to implement out real application.
      Thanks in advance
      Alessio Soldano

        • 1. Re: jbossws 1.0.1GA sample not working
          Alessio Soldano Newbie

          We did some more experiments; prepared a fresh jboss installation, rebuild the tests and tried again; now the deployment fails with the following error:

          18:24:02,757 INFO [TomcatDeployer] deploy, ctxPath=/jbossws-samples-eventing, warUrl=.../tmp/deploy/tmp25008jbossws-samples-eventing-exp.war/
          18:24:03,206 INFO [WSDLFilePublisher] WSDL published to: file:/home/oracle/stefano/jboss/server/default/data/wsdl/jbossws-samples-eventing.war/sysmon.wsdl
          18:24:03,245 ERROR [MainDeployer] Could not start deployment: file:/home/oracle/stefano/jboss/server/default/deploy/jbossws-samples-eventing.war
          org.jboss.ws.WSException: Cannot publish wsdl to: /home/oracle/stefano/jboss/server/default/data/wsdl/jbossws-samples-eventing.war/sysmon.wsdl
           at org.jboss.ws.server.WSDLFilePublisher.publishWsdlFiles(WSDLFilePublisher.java:141)
           at org.jboss.ws.deployment.ServiceEndpointDeployer.start(ServiceEndpointDeployer.java:138)
           at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:104)
           at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
           at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
           at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
           at $Proxy38.start(Unknown Source)
           at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
           at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
           at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
           at sun.reflect.GeneratedMethodAccessor14.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:155)
           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
           at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
           at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
           at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
           at $Proxy6.deploy(Unknown Source)
           at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
           at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
           at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
           at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
           at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
           at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
           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:155)
           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
           at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
           at $Proxy0.start(Unknown Source)
           at org.jboss.system.ServiceController.start(ServiceController.java:417)
           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:155)
           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
           at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
           at $Proxy4.start(Unknown Source)
           at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
           at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
           at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
           at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
           at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
           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:155)
           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
           at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
           at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
           at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
           at $Proxy5.deploy(Unknown Source)
           at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
           at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
           at org.jboss.Main.boot(Main.java:200)
           at org.jboss.Main$1.run(Main.java:464)
           at java.lang.Thread.run(Thread.java:595)
          Caused by: WSDLException: faultCode=CONFIGURATION_ERROR: Unsupported Java encoding for writing wsdl file: 'ISO8859_15'.:
           at com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:1053)
           at org.jboss.ws.server.WSDLFilePublisher.publishWsdlImports(WSDLFilePublisher.java:171)
           at org.jboss.ws.server.WSDLFilePublisher.publishWsdlFiles(WSDLFilePublisher.java:124)
           ... 78 more
          18:24:03,279 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
          18:24:03,700 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
          
          --- Incompletely deployed packages ---
          org.jboss.deployment.DeploymentInfo@2a608860 { url=file:/home/oracle/stefano/jboss/server/default/deploy/jbossws-samples-eventing.war }
           deployer: MBeanProxyExt[jboss.web:service=WebServer]
           status: Deployment FAILED reason: Cannot publish wsdl to: /home/oracle/stefano/jboss/server/default/data/wsdl/jbossws-samples-eventing.war/sysmon.wsdl
           state: FAILED
           watch: file:/home/oracle/stefano/jboss/server/default/deploy/jbossws-samples-eventing.war
           altDD: null
           lastDeployed: 1152635040508
           lastModified: 1152635040000
           mbeans:
           jboss.web:j2eeType=Servlet,name=jsp,WebModule=//localhost/jbossws-samples-eventing,J2EEApplication=none,J2EEServer=none (state not available)
           jboss.web:j2eeType=Servlet,name=default,WebModule=//localhost/jbossws-samples-eventing,J2EEApplication=none,J2EEServer=none (state not available)
           jboss.web:j2eeType=Servlet,name=EventSourceServlet,WebModule=//localhost/jbossws-samples-eventing,J2EEApplication=none,J2EEServer=none (state not available)
           jboss.web:j2eeType=Servlet,name=SubscriptionManagerServlet,WebModule=//localhost/jbossws-samples-eventing,J2EEApplication=none,J2EEServer=none (state not available)
          



          Thank you in advance

          • 2. Re: jbossws 1.0.1GA sample not working
            Alessio Soldano Newbie

            We succeded in deploying the sample and running the tests after modifying the JAVA_OPT in run.sh in order to set the VM default encoding ( -Dfile.encoding=ISO-8859-1 ). The problem no longer occurs setting ISO-8859-1 or UTF-8. However please note that ISO-8859-15 is a very common setting in Western Europe, so probably it would be better if you take a look about that.
            Now the second problem is solved, however we can't get it work on our usual environment, getting the first reported problem. We are investigating about and we would love any suggestions on possibile solutions and/or explanations.
            Thank you
            Alessio Soldano

            • 3. Re: jbossws 1.0.1GA sample not working
              alberto sarubbi Newbie

              got the same problem.
              i'm not running the examples, but a real app consuming web services.
              no luck so far.
              : (

              • 5. Re: jbossws 1.0.1GA sample not working
                Heiko Braun Master

                What's


                Sarooooooooooooooooobbbi!!!!


                supposed to mean?

                However, do we agree that it's not an eventing problem, more a encoding problem?
                If so, can one the gentlemen please supply with some information about your environments?


                • 6. Re: jbossws 1.0.1GA sample not working
                  Stefano Maestri Expert

                  hi,
                  I'm a collegue of Alessio (palin).

                  "heiko.braun@jboss.com" wrote:


                  Sarooooooooooooooooobbbi!!!!

                  supposed to mean?

                  is the same question I'd like to ask. I suppose something about Taleban....something like a humoristic trolling?

                  "heiko.braun@jboss.com" wrote:

                  However, do we agree that it's not an eventing problem, more a encoding problem?
                  If so, can one the gentlemen please supply with some information about your environments?


                  yes for sure. We have a Linux server 64 bit (opteron) with java 1.5.0_06 jboss-4.04GA with jboss-ws-1.0.1 and ejb3-RC8-FD. Operating system is installed in italian, and the default encoding is ISO-8859-15. We tryied to force the parameter -Dfile.encoding=ISO-8859-1 (or UTF-8) and it works perfectly.
                  Do you need some more informations?


                  • 7. Re: jbossws 1.0.1GA sample not working
                    Stefano Maestri Expert

                     

                    "maeste" wrote:
                    hi,

                    yes for sure. We have a Linux server 64 bit (opteron) with java 1.5.0_06 jboss-4.04GA with jboss-ws-1.0.1 and ejb3-RC8-FD.


                    I'm sorry, Iforgot we made some test on a different server Linux 2.6.12 32 bit java 1.5.0_07 and same jboss and library of the previous. We get same problem

                    • 8. Re: jbossws 1.0.1GA sample not working
                      Heiko Braun Master

                      The com.ibm.wsdl.xml.WSDLWriterImpl maps Java encodings to xml encodings:

                      static
                       {
                       xmlEncodingMap.put(null, Constants.XML_DECL_DEFAULT);
                       xmlEncodingMap.put(System.getProperty("file.encoding"),
                       Constants.XML_DECL_DEFAULT);
                       xmlEncodingMap.put("UTF8", "UTF-8");
                       xmlEncodingMap.put("UTF-16", "UTF-16");
                       xmlEncodingMap.put("UnicodeBig", "UTF-16");
                       xmlEncodingMap.put("UnicodeLittle", "UTF-16");
                       xmlEncodingMap.put("ASCII", "US-ASCII");
                       xmlEncodingMap.put("ISO8859_1", "ISO-8859-1");
                       xmlEncodingMap.put("ISO8859_2", "ISO-8859-2");
                       xmlEncodingMap.put("ISO8859_3", "ISO-8859-3");
                       xmlEncodingMap.put("ISO8859_4", "ISO-8859-4");
                       xmlEncodingMap.put("ISO8859_5", "ISO-8859-5");
                       xmlEncodingMap.put("ISO8859_6", "ISO-8859-6");
                       xmlEncodingMap.put("ISO8859_7", "ISO-8859-7");
                       xmlEncodingMap.put("ISO8859_8", "ISO-8859-8");
                       xmlEncodingMap.put("ISO8859_9", "ISO-8859-9");
                       xmlEncodingMap.put("ISO8859_13", "ISO-8859-13");
                       xmlEncodingMap.put("ISO8859_15_FDIS", "ISO-8859-15");
                       xmlEncodingMap.put("GBK", "GBK");
                       xmlEncodingMap.put("Big5", "Big5");
                       }
                      


                      For some reason unknown to me, it maps 'ISO8859_15_FDIS' but not 'ISO8859_15'. So i'd say either you go ahead and fix wsd4l, or you use ISO8859_15_FDIS as your system file encoding.