13 Replies Latest reply on Feb 14, 2007 7:54 PM by Kurt Stam

    JBoss Messaging and JBoss ESB

    Patryk Wojewoda Newbie

      Hi,
      I?ve looked at "Admin Guide" and posts on developers forum where it?s written how to use JbossESB and JBoss Messaging ? it?s very clear ? but I can?t make it working (it must be my stupid mistake:-). I?ve created my own CBR application and it works fine on JbossMQ. To start working it with JBoss Messaging I:
      1) unzip jboss-4.0.5.GA
      2) install jboss-messaging-1.0.1.SP2
      3) copy jboss-messaging-client.jar to jboss-4.0.5.GA\client
      4) install jbossesb-4.0GA

      But after all, when I run my CBR application I?ve got error (on JBossAS console):

      java.io.IOException: Can not read data for version 6. Supported versions: 1,2
      at org.jboss.remoting.transport.socket.ServerThread.versionedRead(ServerThread.java:426)
      at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:478)
      at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:631)
      at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:293)

      so I add to classpath (in my build.xml file) jboss-remoting.jar from jboss-messaging.sar but It?s the same error on JBossAS console.

      What have I done wrong?

      Best regards
      jendruch