1 Reply Latest reply on Jun 15, 2007 4:26 AM by nicolas duminil

    JBoss EJB 3.0 TrailBlazer doesn't seem to work for me

    nicolas duminil Newbie


      I'm starting using EJB 3 with JBoss 4.0.5GA and I deployed the EJB 3 TrailBlazer (EJBTrail.ear). I launced the browser and I went in the Message Driven Beans section. Here I pressed the "Try the message driven calculation" button, I accepted the default values in the Investment calculator windows and I pressed on the Calculate button. I got HTTP 500 saying "javax.naming.NameNotFoundException mdb not bound". This is true since I didn't deploy any queue named mdb. However, the same page is saying:

      If the queue does not exist, the JBoss container automatically creates it at deploy time. There is no XML configuration file needed!

      So I don't understand wether I have or not to explicitly deploy the queue.

      Okay, I deployed the queue with the following service:

      <?xml version="1.0" encoding="UTF-8"?>
       <mbean code="org.jboss.mq.server.jmx.Queue"
       <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>

      After doing this, I got the following message in the console:

      [mdb] Bound to JNDI name: queue/mdb

      Now when I repeat the test and I click on the Calculate button, as described previously, I get the message:

      Please wait a while, I am checking wether the message has arrived.

      But the result is not displayed, meaning that the message didn't arrive. No error message is displayed in the server's console.

      Could someone please explain how to get running this nice tutorial ?

      Kind regards,