[jboss-user] [JBoss Messaging] - Cannot connect to JMS from Service MBean

chipschoch do-not-reply at jboss.com
Thu Aug 31 13:48:16 EDT 2006


I have a service that uses JMS and I have tested it stand alone and it works fine.  However, when I wrapped it in the StandardMBean interface and deploy it, it loads and begins to execute.  Then I get an exception when it calls ConnectionFactory.createConnection().  Part of the stack:

java.io.IOException: Can not read data for version 4.  Supported versions: 1,2
	at org.jboss.remoting.transport.socket.ServerThread.versionedRead(ServerThread.java:387)
	at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:439)
	at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:520)
	at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:257)
13:14:11,559 ERROR [SocketClientInvoker] Got marshalling exception, exiting
java.io.EOFException
	at java.io.DataInputStream.readByte(Unknown Source)
	at org.jboss.serial.io.JBossObjectInputStream.readByte(JBossObjectInputStream.java:227)
	at org.jboss.jms.server.remoting.JMSWireFormat.read(JMSWireFormat.java:411)
	at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
	at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)

also:

13:14:11,606 ERROR [JBossConnectionFactory] Failed to config client side AOP
java.rmi.MarshalException: Failed to communicate.  Problem during marshalling/unmarshalling; nested exception is: 
	java.io.EOFException
	at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:306)
	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)

Any ideas anyone?  I don't even know what this means.  I am using JBoss Messaging 1.01 CR4.

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

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



More information about the jboss-user mailing list