0 Replies Latest reply on Oct 3, 2006 6:35 PM by Lillian Andres

    Depends on what service in order to have "ConnectionFactory"

    Lillian Andres Newbie

      I've written a service bean that I would like to have the JBoss microcontainer start for me. It implements the necessary life cycle methods. However, when the server starts the bean for me - the code attempts to create a JMS topic. It looks up the "ConnectionFactory" jndi name - but that name is not yet set. I receive an error. This is the xml that I put into the jboss-service.xml file. As you can see - I do wait for the naming service. However, who sets up the connection factory name? Who should the bean "depend" on?

      Thanks for your help in advance.


      jboss.mq:service=DestinationManager
      jboss:service=Naming
      jboss.jca:service=ConnectionFactoryDeployer
      jboss.web:service=WebServer