0 Replies Latest reply on Oct 21, 2002 8:42 PM by Phill

    MDB Deployment creates topic

    Phill Newbie

      I'm not sure what the correct pattern for doing this is. I have a service (packed in a .sar file) that pulls messages from a socket and shoves them to a topic or queue. It defines a deployment descriptor that creates the topic like so:


      I also deploy a jar file that contains my mdb, the jboss.xml contains the entry:


      Problem.. If I deploy my services (.sar) first.. everything works. The topic is created, and when the mdb is deployed they hook up. However, if I deploy the mdb first, the topic gets created. Then the deployment of my service is unable to create the topic itself.

      Is this just ok? Is there something I'm not getting?

      thanks in advance and I apologize if this is a silly question.