1 Reply Latest reply on Dec 13, 2001 12:17 AM by Hiram Chirino

    Problems with durable subscribers

    Christian Kubczak Newbie

      Hi!
      I'm new to JBoss and JMS and have some problems relating to durable subscribers. I've written several examples at present implementing some "normal" subscribers, publishers and for queues recievers and senders. Every time I'm trying to create a durable subscriber for a topic now, I get an exception saying

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

      on the client side and

      "[OILServerILService] Connection failure (1).
      java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read
      at java.net.SocketInputStream.socketRead(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:86)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
      at java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1549)
      at java.io.ObjectInputStream.refill(ObjectInputStream.java:1683)
      at java.io.ObjectInputStream.read(ObjectInputStream.java:1659)
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:1905)
      at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:199)
      at java.lang.Thread.run(Thread.java:484)
      [OILServerILService] Client request resulted in a server exception:
      javax.jms.JMSException: ClientID 'ID1' cannot create durable subscriptions.
      at org.jboss.mq.server.StateManager.setDurableSubscription(StateManager.java:140)
      at org.jboss.mq.server.JMSTopic.addSubscriber(JMSTopic.java:77)
      at org.jboss.mq.server.ClientConsumer.addSubscription(ClientConsumer.java:103)
      at org.jboss.mq.server.JMSServer.subscribe(JMSServer.java:391)
      at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:262)
      at java.lang.Thread.run(Thread.java:484)
      "

      on the server side. Had anyone ever had some problems like this one?


      Regards
      ck