1 Reply Latest reply on May 16, 2003 2:42 PM by xavierpayne

    MDB loading before

    dewy

      I have an MDB that is deploys fine when the application server is already running. If I start the server with the EAR in the deploy directory I get the following exception:

      16:36:48,527 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=local/IntegrationResponseMDB,service=EJB
      javax.naming.NameNotFoundException: DefaultJMSProvider not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)

      I thought about putting a tag in the ejb-jar.xml file but couldn't get it to work. Anyone else have this problem? Know of how to get it to work?

      I would also like to have my MDB wait for another EJB that is being loaded. I wasn't sure what to use for the EJB.

      Thanks,
      Mark

        • 1. Re: MDB loading before
          xavierpayne

          Try adding this tag inside your jboss.xml for the mdb.

          jboss.mq:service=DestinationManager

          place it just before the (close session) tag.

          That should work...

          Please come back and let me know if it does.

          I have a regular Stateless EJB that can create and destroy topics and a service that calls the EJB at jboss startup. But when I make the My Stateless EJB depend on the DestinationManager (so it won't try to create topics before the DestinationManager is loaded) I get a ConcurrentModificationException.