1 Reply Latest reply on May 22, 2006 7:04 AM by Michael Kress

    MDBExample in 1.0.1.CR1

    Michael Kress Newbie


      I can't get the MDB example get to work in 1.0.1.CR1.
      Deploying the thing from the examples/mdb (ant run) gives me the output quoted below.
      Have you got any ideas? I'm using jboss-4.0.4.GA, jdk 1.5.0_06 and I already configured messaging to use persistence with a mysql database.
      TIA & greetings


      11:04:39,000 INFO [EjbModule] Deploying MDBExample
      11:04:49,468 WARN [JMSContainerInvoker] JMS provider failure detected for MDBExample
      javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jms.destination.JBossQueue (no security manager: RMI class loader disabled)]
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:728)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
       at javax.naming.InitialContext.lookup(InitialContext.java:351)
       ... 118 more
      11:04:49,531 INFO [JMSContainerInvoker] Waiting for reconnect internal 10000ms for MDBExample
      11:04:49,687 INFO [EJBDeployer] Deployed: file:/C:/dev/jboss-4.0.4.GA/server/messaging/deploy/mdb-example.jar

        • 1. Re: MDBExample in 1.0.1.CR1
          Michael Kress Newbie

          Hi, I'm sorry, if that post confused you, I deleted the whole server and reinstalled a jboss-4.0.4.GA with jboss-messaging-1.0.1.CR1 and the mdb example worked immediately. That must have been some kind of misconfiguration in the old deployment tree.

          I must say, once I understood a little bit the configuration and the whole idea of jboss-messaging it's a very nice thing to have! I hope very soon in near future. I'm eager to read more tutorials! I think, it's very important to have working tutorials with each of the products.

          cu - Michael