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, [EMAIL PROTECTED], [EMAIL PROTECTED] 
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, [EMAIL PROTECTED], [EMAIL PROTECTED] 
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 [EMAIL PROTECTED] 
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

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956139#3956139

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956139

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to