JBossRemoting Client to JBossRemotingGateway comms broken for HTTP
------------------------------------------------------------------
Key: JBESB-1345
URL:
http://jira.jboss.com/jira/browse/JBESB-1345
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Transports
Affects Versions: 4.2.1
Reporter: Tom Fennelly
Assigned To: Tom Fennelly
Fix For: 4.2.1 CP1
[java] Calling JBoss Remoting Listener using locator URI:
http://localhost:8765
[java] Exception in thread "main"
org.jboss.remoting.CannotConnectException: Can not connect http client invoker.
[java] at
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:332)
[java] at
org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:135)
[java] at
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
[java] at org.jboss.remoting.Client.invoke(Client.java:1550)
[java] at org.jboss.remoting.Client.invoke(Client.java:530)
[java] at org.jboss.remoting.Client.invoke(Client.java:518)
[java] at
org.jboss.soa.esb.samples.quickstart.webserviceproducer.test.SendMessage.sendMessageToJBRListener(SendMessage.java:72)
[java] at
org.jboss.soa.esb.samples.quickstart.webserviceproducer.test.SendMessage.main(SendMessage.java:114)
[java] Caused by: java.io.StreamCorruptedException: invalid stream header
[java] at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764)
[java] at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277)
[java] at
org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.<init>(ObjectInputStreamWithClassLoader.java:95)
[java] at
org.jboss.remoting.serialization.impl.java.JavaSerializationManager.createInput(JavaSerializationManager.java:54)
[java] at
org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.getMarshallingStream(SerializableUnMarshaller.java:72)
[java] at
org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:119)
[java] at
org.jboss.remoting.marshal.http.HTTPUnMarshaller.read(HTTPUnMarshaller.java:69)
[java] at
org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:470)
[java] at
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:304)
[java] ... 7 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira