2 Replies Latest reply on Feb 17, 2009 8:56 AM by ermes martino

    Adding MDB to your web configuration

    ermes martino Newbie

      Dear all,
      sorry to pester again the forum :-)
      I'm going to use the "web" configuration for a Tomcat project.
      I wonder if it's too complex to add MDB support to this configuration.

      I have added the "messaging" folder and jms-ra.rar to the "deploy" folder.
      Now JMS works correctly (tested with a simple client-server application), however deploying an MDB delivers the following error:

      org.jboss.deployers.spi.DeploymentException: Error deploying mdb.jar: failed to initialize bean container


      Taking a look at standard-jboss.xml I can see that MDB are actually configured:

      <container-configuration>
       <container-name>Standard Message Driven Bean</container-name>
       .....
       </container-configuration>


      What else should I add to the configuration ?
      thanks alot
      Marco