[jboss-user] [JBoss Messaging] - JBoss Messaging 1.2 and JBoss AS 4.2.2

ikarius do-not-reply at jboss.com
Thu Nov 8 10:46:39 EST 2007


Hello,

I have all the difficulties in the world running JBM 1.2 on a 4.2.2 AS.

Installation works well, but a simple test (examples/queue) fails with:



  | 16:34:55,983 INFO  [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 30s:968ms
  | 16:35:06,312 ERROR [SocketClientInvoker] Got marshalling exception, exiting
  | java.io.IOException: Can not write data for version 22.  Supported versions: 1, 2
  |         at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedWrite(MicroSocketClientInvoker.java:963)
  |         at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:552)
  |         at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:269)
  |         at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
  |         at org.jboss.remoting.Client.invoke(Client.java:1513)
  |         at org.jboss.remoting.Client.invoke(Client.java:527)
  |         at org.jboss.remoting.Client.invokeOneway(Client.java:577)
  |         at org.jboss.remoting.callback.ServerInvokerCallbackHandler.handleCallback(ServerInvokerCallbackHandler.java:687)
  |         at org.jboss.remoting.callback.ServerInvokerCallbackHandler.handleCallbackOneway(ServerInvokerCallbackHandler.java:564)
  |         at org.jboss.jms.server.endpoint.ServerConsumerEndpoint.handle(ServerConsumerEndpoint.java:294)
  |         at org.jboss.messaging.core.local.RoundRobinPointToPointRouter.handle(RoundRobinPointToPointRouter.java:120)
  |         at org.jboss.messaging.core.ChannelSupport.deliverInternal(ChannelSupport.java:600)
  |         at org.jboss.messaging.core.ChannelSupport.deliver(ChannelSupport.java:306)
  |         at org.jboss.jms.server.endpoint.ServerSessionEndpoint$2.run(ServerSessionEndpoint.java:949)
  |         at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
  |         at java.lang.Thread.run(Thread.java:595)
  | 16:35:06,327 WARN  [DefaultCallbackErrorHandler] DefaultCallbackErrorHandler[SocketServerInvoker[127.0.0.1:4457]] reached maximum number of callback e
  | rrors allowed (1). Will clean up callback hander now.
  | 16:35:06,343 ERROR [ServerInvokerCallbackHandler] Error handling callback
  | java.rmi.MarshalException: Failed to communicate.  Problem during marshalling/unmarshalling; nested exception is:
  |         java.io.IOException: Can not write data for version 22.  Supported versions: 1, 2
  |         at org.jboss.remoting.transport.socket.SocketClientInvoker.handleException(SocketClientInvoker.java:122)
  |         at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:639)
  |         at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:269)
  |         at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
  |         at org.jboss.remoting.Client.invoke(Client.java:1513)
  |         at org.jboss.remoting.Client.invoke(Client.java:527)
  |         at org.jboss.remoting.Client.invokeOneway(Client.java:577)
  |         at org.jboss.remoting.callback.ServerInvokerCallbackHandler.handleCallback(ServerInvokerCallbackHandler.java:687)
  |         at org.jboss.remoting.callback.ServerInvokerCallbackHandler.handleCallbackOneway(ServerInvokerCallbackHandler.java:564)
  |         at org.jboss.jms.server.endpoint.ServerConsumerEndpoint.handle(ServerConsumerEndpoint.java:294)
  |         at org.jboss.messaging.core.local.RoundRobinPointToPointRouter.handle(RoundRobinPointToPointRouter.java:120)
  |         at org.jboss.messaging.core.ChannelSupport.deliverInternal(ChannelSupport.java:600)
  |         at org.jboss.messaging.core.ChannelSupport.deliver(ChannelSupport.java:306)
  |         at org.jboss.jms.server.endpoint.ServerSessionEndpoint$2.run(ServerSessionEndpoint.java:949)
  |         at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
  |         at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.io.IOException: Can not write data for version 22.  Supported versions: 1, 2
  |         at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedWrite(MicroSocketClientInvoker.java:963)
  |         at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:552)
  |         ... 14 more
  | 16:35:06,374 WARN  [SimpleConnectionManager] ConnectionManager[3b8219] cannot look up remoting session ID 5c4o4o18-qq65cj-f8rfyd9c-1-f8rfydoz-4
  | 16:35:06,390 WARN  [SimpleConnectionManager] A problem has been detected trying to send a message to remote client 5c4o4o18-qq65cj-f8rfyd9c-1-f8rfydoz
  | -4. It is possible the client has exited without closing its connection(s) or there is a network problem. All connection resources corresponding to th
  | at client process will now be removed.
  | 

In documentation, version 1.2 seems to be runnable on a 4.2.1

Any idea ?




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

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



More information about the jboss-user mailing list