4 Replies Latest reply on Oct 9, 2006 3:28 PM by Ovidiu Feodorov

    Marshalling problem

    Argenis Leon Newbie

      Greetings
      I am using Jboss 4.0.4 and JBoss Messaging 1.0.1.CR4. I am getting this error when i try connection = (Connection)factory.createConnection()

      21:52:59,859 ERROR @main [SocketClientInvoker] Got marshalling exception, exiting
      java.io.EOFException
       at java.io.DataInputStream.readByte(DataInputStream.java:243)
       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)
       at org.jboss.remoting.Client.invoke(Client.java:525)
       at org.jboss.remoting.Client.invoke(Client.java:488)
       at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.invoke(ClientConnectionFactoryDelegate.java:198)
       at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$getClientAOPConfig_8697532701842707646.invokeNext(ClientConnectionFactoryDelegate$getClientAOPConfig_8697532701842707646.java)
       at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPConfig(ClientConnectionFactoryDelegate.java)
       at org.jboss.jms.client.JBossConnectionFactory.ensureAOPConfigLoaded(JBossConnectionFactory.java:233)
       at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:196)
       at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:96)
       at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:91)
       at JBMService.JBMServiceImpl.<init>(JBMServiceImpl.java:46)
      java.lang.RuntimeException: Failed to config client side AOP
       at org.jboss.jms.client.JBossConnectionFactory.ensureAOPConfigLoaded(JBossConnectionFactory.java:251)
       at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:196)
       at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:96)
       at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:91)
       at JBMService.Main.start(Main.java:41)
       at JBMService.JBMServiceImpl.<init>(JBMServiceImpl.java:46)
       at JBMService.Main.main(Main.java:29)
       at JBMService.Main.start(Main.java:41)
      21:52:59,890 ERROR @main [JBossConnectionFactory] Failed to config client side AOP
       at JBMService.Main.main(Main.java:29)
      java.rmi.MarshalException: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is:
      Caused by: java.rmi.MarshalException: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is:
       java.io.EOFException
       java.io.EOFException
       at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:306)
       at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:306)
       at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
       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.jms.client.delegate.ClientConnectionFactoryDelegate.invoke(ClientConnectionFactoryDelegate.java:198)
       at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$getClientAOPConfig_8697532701842707646.invokeNext(ClientConnectionFactoryDelegate$getClientAOPConfig_8697532701842707646.java)
       at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPConfig(ClientConnectionFactoryDelegate.java)
       at org.jboss.jms.client.JBossConnectionFactory.ensureAOPConfigLoaded(JBossConnectionFactory.java:233)
       at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:196)
       at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:96)
       at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:91)
       at JBMService.JBMServiceImpl.<init>(JBMServiceImpl.java:46)
       at JBMService.Main.start(Main.java:41)
       at JBMService.Main.main(Main.java:29)
      Caused by: java.io.EOFException
       at java.io.DataInputStream.readByte(DataInputStream.java:243)
       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)
       ... 13 more
       at org.jboss.remoting.Client.invoke(Client.java:525)
       at org.jboss.remoting.Client.invoke(Client.java:488)
       at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.invoke(ClientConnectionFactoryDelegate.java:198)
       at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$getClientAOPConfig_8697532701842707646.invokeNext(ClientConnectionFactoryDelegate$getClientAOPConfig_8697532701842707646.java)
       at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPConfig(ClientConnectionFactoryDelegate.java)
       at org.jboss.jms.client.JBossConnectionFactory.ensureAOPConfigLoaded(JBossConnectionFactory.java:233)
      


      Thanks in advance