0 Replies Latest reply on Feb 20, 2002 2:47 PM by Anador

    Durable subscriber problem

    Anador Newbie

      Hi,

      I tried to create durable subscriber but whenever I do that I got the following exception

      (I have put into my client classpath all the jar files from server/client folder and still doesn't work. Am I missing something ? )

      EXCEPTION:

      org.jboss.mq.SpyJMSException: Cannot subscribe to this Destination: javax.jms.JMSException; Local class not compatible: stream classdesc serialVersionUID=4233309835094591609 local class serialVersionUID=8951994251593378324

      at org.jboss.mq.Connection.addConsumer(Connection.java:657)

      at org.jboss.mq.SpySession.addConsumer(SpySession.java:498)

      at org.jboss.mq.SpyTopicSession.createDurableSubscriber(SpyTopicSession.java:101)

      at (...)

      linked exception is:

      java.io.InvalidClassException: javax.jms.JMSException; Local class not compatible: stream classdesc serialVersionUID=4233309835094591609 local class serialVersionUID=8951994251593378324

      at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:523)

      at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)

      at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:936)

      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)

      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)

      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)

      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)

      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)

      at org.jboss.mq.il.oil.OILServerIL.waitAnswer(OILServerIL.java:271)

      at org.jboss.mq.il.oil.OILServerIL.subscribe(OILServerIL.java:234)

      at org.jboss.mq.Connection.addConsumer(Connection.java:653)

      at org.jboss.mq.SpySession.addConsumer(SpySession.java:498)

      at org.jboss.mq.SpyTopicSession.createDurableSubscriber(SpyTopicSession.java:101)

      at (...)



      Thank you!