2 Replies Latest reply on Nov 15, 2005 3:32 PM by Adrian Brock

    deploying MDB dependent on JMS in cluster

    mikeg123 Newbie

      Hello,

      I'm having a problem starting second (non master server) in cluster , I did deploy xml file with all the topics/queue
      under deploy-hasingleton/jms directory on master
      and I can see it being successfully deployed. I have the same files under the same dir on the second server.

      jboss.xml
      for MDB looks like this (there are more mdb, it?s just a sample)
      <message-driven>
      <ejb-name>SessionCredentialFlush</ejb-name>
      <destination-jndi-name>topic/UserManagerEventTopic</destination- jndi-name>
      jboss.mq.destination:service=Topic,name=UserManagerEventT
      opic
      </message-driven>

      And xdoclet is this:

      * @ejb.bean name="SessionCredentialFlush"
      * display-name="Name for SessionCredentialFlush"
      * description="Description for SessionCredentialFlush"
      * destination-type="javax.jms.Topic"
      * acknowledge-mode="Auto-acknowledge"
      * message-selector = "type='onUserDelete'"
      *
      *
      * @jboss.destination-jndi-name name = "topic/UserManagerEventTopic"
      * @jboss.depends name = "jboss.mq.destination:service=Topic,name=UserManagerEventTopic"

      The problem is when I start second server I get the following error

      MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
      ObjectName: jboss.mq.destination:service=Topic,name=UserManagerEventTopic
      state: NOTYETINSTALLED
      I Depend On:
      Depends On Me: jboss.j2ee:jndiName=local/SessionCredentialFlush,service=EJB

      ObjectName: jboss.mq.destination:service=Queue,name=TaskQueue
      state: NOTYETINSTALLED
      I Depend On:
      Depends On Me: jboss.j2ee:jndiName=local/UpdateStartupConfig,service=EJB
      jboss.j2ee:jndiName=local/PrepositionRelease,service=EJB
      jboss.j2ee:jndiName=local/Upgrade,service=EJB
      jboss.j2ee:jndiName=local/ExecuteMacro,service=EJB
      jboss.j2ee:jndiName=local/CaptureConfig,service=EJB
      jboss.j2ee:jndiName=local/TemplateAction,service=EJB
      jboss.j2ee:jndiName=local/Sleep,service=EJB
      jboss.j2ee:jndiName=local/WaitForReboot,service=EJB
      jboss.j2ee:jndiName=local/BroadcastMessage,service=EJB
      jboss.j2ee:jndiName=local/GroupTaskExecutor,service=EJB
      jboss.j2ee:jndiName=local/BackupRestore,service=EJB
      jboss.j2ee:jndiName=local/Reboot,service=EJB
      jboss.j2ee:jndiName=local/PrepositionMutiple,service=EJB


      any ideas why, what am I missing here?