[jboss-user] [JBoss Messaging] - Exception while executing the queue example from the 1.2.0 d

georgesberscheid do-not-reply at jboss.com
Thu Mar 8 10:44:48 EST 2007


Hi,

I followed the docs for installing JBMessaging 1.2.0 on JBAS 4.2.0CR1. However I get the following exception while running the validation test (examples/queue):
Queue /queue/testQueue exists
  | 16:28:51,667 ERROR @main [SocketClientInvoker] Got marshalling exception, exiting
  | java.io.EOFException
  |     at java.io.DataInputStream.readInt(DataInputStream.java:375)
  |     at org.jboss.jms.server.remoting.JMSWireFormat.read(JMSWireFormat.java:297)
  |     at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedRead(MicroSocketClientInvoker.java:936)
  |     at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:579)
  |     at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:269)
  |     at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
  |     at org.jboss.remoting.LeasePinger.sendClientPing(LeasePinger.java:283)
  |     at org.jboss.remoting.LeasePinger.addClient(LeasePinger.java:117)
  |     at org.jboss.remoting.MicroRemoteClientInvoker.establishLease(MicroRemoteClientInvoker.java:398)
  |     at org.jboss.remoting.Client.setupClientLease(Client.java:1504)
  |     at org.jboss.remoting.Client.connect(Client.java:1404)
  |     at org.jboss.remoting.Client.connect(Client.java:441)
  |     at org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMSRemotingConnection.java:271)
  |     at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:146)
  |     at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_4579211046834694258.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_4579211046834694258.java)
  |     at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:83)
  |     at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect0.invoke(StateCreationAspect0.java)
  |     at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_4579211046834694258.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_4579211046834694258.java)
  |     at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:71)
  |     at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_4579211046834694258.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_4579211046834694258.java)
  |     at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
  |     at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_4579211046834694258.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_4579211046834694258.java)
  |     at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
  |     at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:212)
  |     at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:88)
  |     at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:83)
  |     at org.jboss.example.jms.queue.QueueExample.example(QueueExample.java:72)
  |     at org.jboss.example.jms.common.ExampleSupport.run(ExampleSupport.java:137)
  |     at org.jboss.example.jms.queue.QueueExample.main(QueueExample.java:133)
  | 16:28:51,667 WARN  @main [LeasePinger] LeasePinger[SocketClientInvoker[1afae45, bisocket://127.0.0.1:4457](5c4o01x-cu35mx-ez1cunns-1-ez1cuo3n-5)] failed to ping to server: Failed to communicate.  Problem during marshalling/unmarshalling; nested exception is:
  |     java.io.EOFException
  | The message was successfully sent to the testQueue queue
  | Received message: Hello!
  | The example connected to JBoss Messaging version 1.2.0.GA (1.2)
  | 
  | #####################
  | ###    SUCCESS!   ###
  | #####################
Any ideas?

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

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



More information about the jboss-user mailing list