1 Reply Latest reply on Apr 17, 2006 7:49 PM by Vishy Kadambari

    Messages not being persisted -- Please Help!

    Vishy Kadambari Newbie

      Hi All,

      I am using version 4.0.3SP1

      I have set up a Topic, and am subscribing to this topic as a durable

      If I stop the client (durable subscriber) and publish any message, this message is not being persisted in the database. I thought that when I
      re-subscribe, the client would be able to receive any messages that
      are published while it's not subscribed...

      When I subscribe to this topic, and view the jmx-console, I do see that the
      DurableSubscriptionsCount is set to 1.

      I tried to follow the following sequence of steps....but, it didn't work:

      1) Setup durable subscription
      2) stop the client (unsubscribe)
      3) publish a message

      At this time, when I check, there are no messages in the JMS_MESSAGES
      table in the database...

      When I re-connect and re-subscribe, the client doesn't receive any messages...

      In the deploy/jms/oracle-jdbc2-service.xml file, the destination manager is configured as follows:

      <depends optional-attribute-name="MessageCache">jboss.mq:service=MessageCache
      <depends optional-attribute-name="PersistenceManager">jboss.mq:service=PersistenceManager
      <depends optional-attribute-name="StateManager">jboss.mq:service=StateManager

      The PersistenceManager is configured as follows:

      <depends optional-attribute-name="ConnectionManager">jboss.jca:service=DataSourceBinding,name=OracleDS

      ------ similar to the example configuration ---

      Would appreciate any help!