1 Reply Latest reply on Dec 8, 2001 10:45 AM by Peter Antman

    NullPointerException deploying MDB

    Brasten Sager Newbie

      Hi all! I'm new to Message Driven Beans, trying to deploy my first one, and I'm getting the following error:
      --------------------------------------------
      [Container factory] Deploying:file:/C:/JBoss-2.4.3/tmp/deploy/Default/FlowContro
      ller.jar
      [Verifier] Verifying file:/C:/JBoss-2.4.3/tmp/deploy/Default/FlowController.jar/
      ejb1001.jar
      [Container factory] Deploying FlowController
      [Container factory] java.lang.NullPointerException
      [Container factory] at org.jboss.ejb.plugins.jms.JMSContainerInvoker.start(J
      MSContainerInvoker.java:480)
      [Container factory] at org.jboss.ejb.MessageDrivenContainer.start(MessageDri
      venContainer.java:188)
      [Container factory] at org.jboss.ejb.Application.start(Application.java:218)

      [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactor
      y.java:374)
      [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactor
      y.java:304) at
      -------- etc etc ---------------------------------

      my ejb-jar.xml file is:
      -------------------------
      <ejb-jar>
      <enterprise-beans>
      <message-driven>
      <ejb-name>FlowController</ejb-name>
      <ejb-class>
      com.starcomsoft.growernetwork.ejb.FlowMessageHandler
      </ejb-class>
      <transaction-type>Container</transaction-type>
      <message-driven-destination>
      <destination-type>
      javax.jms.Queue
      </destination-type>
      </message-driven-destination>
      </message-driven>
      </enterprise-beans>
      <assembly-descriptor>
      </assembly-descriptor>
      </ejb-jar>
      ---------------------

      my jboss.xml file is:
      -----------------------

      <enterprise-beans>
      <message-driven>
      <ejb-name>FlowController</ejb-name>
      <configuration-name>Standard Message Driven Bean</configuration-name>
      <destination-jndi-name>FlowControllerQueue</destination-jndi-name>
      </message-driven>
      </enterprise-beans>

      -------------------

      Anyway, lemme know if you need anything else to help me... thanks!