Menu

#325 subscription does not exist exception

closed-works-for-me
JBossMQ (152)
5
2002-07-19
2002-02-19
Doug Beeman
No

javax.jms.JMSException: The provided subscription does not exist occurs when (re)registering with
a new selector. This is intermittant and happens with the new 2.4.4 build as well.

[Default] JBoss 2.5 ALPHA Started in 0m:6s
[OILServerILService] The OILClientIL Connection is set up
[OILServerILService] The OILClientIL Connection is set up
[JMSServer] Server: subscribe(dest=TOPIC.TRAPS,idConnection=ID2)
[ClientConsumer:ID2] ClientConsumer:ID2->run()
[ClientConsumer:ID2] Adding subscription for: org.jboss.mq.Subscription@409554
[ClientConsumer:ID2] ClientConsumer:ID2->setEnabled(enabled=true)
[JMSServer] Server: unsubscribe(idConnection=ID2)
[ClientConsumer:ID2] ClientConsumer:ID2->removeSubscription(subscriberId=-2147483648)
[ClientConsumer:ID2] ClientConsumer:ID2->setEnabled(enabled=false)
[JMSServer] Server: subscribe(dest=TOPIC.TRAPS,idConnection=ID2)
[ClientConsumer:ID2] Adding subscription for: org.jboss.mq.Subscription@56f631
[ClientConsumer:ID2] ClientConsumer:ID2->setEnabled(enabled=true)
[OILServerILService] Client request resulted in a server exception:
javax.jms.JMSException: The provided subscription does not exist
at org.jboss.mq.server.ClientConsumer.receive(Unknown Source)
at org.jboss.mq.server.JMSServer.receive(Unknown Source)
at org.jboss.mq.il.oil.OILServerILService.run(Unknown Source)
at java.lang.Thread.run(Thread.java:484)
[JMSServer] Server: unsubscribe(idConnection=ID2)
[ClientConsumer:ID2] ClientConsumer:ID2->removeSubscription(subscriberId=-2147483647)
[ClientConsumer:ID2] ClientConsumer:ID2->setEnabled(enabled=false)
[JMSServer] Server: subscribe(dest=TOPIC.TRAPS,idConnection=ID2)
[ClientConsumer:ID2] Adding subscription for: org.jboss.mq.Subscription@6c6b00
[OILServerILService] Client request resulted in a server exception:
javax.jms.JMSException: The provided subscription does not exist
at org.jboss.mq.server.ClientConsumer.receive(Unknown Source)
at org.jboss.mq.server.JMSServer.receive(Unknown Source)
at org.jboss.mq.il.oil.OILServerILService.run(Unknown Source)
at java.lang.Thread.run(Thread.java:484)
[ClientConsumer:ID2] ClientConsumer:ID2->setEnabled(enabled=true)
[JMSServer] Server: unsubscribe(idConnection=ID2)

Discussion

  • Andreas Schaefer

    • assigned_to: nobody --> schaefera
     
  • Andreas Schaefer

    Logged In: YES
    user_id=70434

    This is one of the worst bug report I have ever seen.

    So either you provide the code causing the problem or shut
    up and don't waste my time.

    Andy

     
  • Andreas Schaefer

    • status: open --> closed-works-for-me
     
  • Nobody/Anonymous

    Logged In: NO

    Andreas,

    I take it that the dump didn't help you. ;-]

    I looked at the code and I think what has happened is that an message ack is trying to be returned for a
    subscripton that has been closed. There appears to be a thread race condition. I also now believe it is harmless,
    just looks bad getting an exception and all.

    Regards,
    dB

     
  • Andreas Schaefer

    Logged In: YES
    user_id=70434

    This is one of the worst bug report I have ever seen.

    So either you provide the code causing the problem or shut
    up and don't waste my time.

    Andy

     

Log in to post a comment.