1 Reply Latest reply on Mar 26, 2013 12:51 PM by petal1

    Jar with MDB fails to deploy with error "Message driven beans are not bound into remote jndi"

    petal1 Newbie


      I'm trying to deploy a jar that I have in my JBoss-4.0.4.GA environment to a JBoss-6.0.0.Final environment. I have hit an issue that I'm not sure about. I am getting this error when starting JBoss:

      17:45:27,719 INFO  [EjbDeployer] installing bean: ejb/#MyMessageBean,uid33175643

      17:45:27,719 INFO  [EjbDeployer]   with dependencies:

      17:45:27,719 INFO  [EjbDeployer]   and supplies:

      17:45:27,738 INFO  [EjbDeployer]        jndi:null

      17:45:27,796 INFO  [EjbModule] Deploying MyMessageBean

      17:45:27,918 ERROR [AbstractKernelController] Error installing to Create: name=jboss.j2ee:jndiName=local/MyMessageBean@16788767,service=EJB state=Configured mode=Manual requiredState=Create: java.lang.UnsupportedOperationException: Message driven beans are not bound into remote jndi

      We are using ejb 2.1. Well, I think we are. Not really sure how to tell to be honest. It might be 2.0 I guess.

      I imagine that there is something in my deployment descriptors that JBoss 4.0.4 was tolerant of, that JBoss 6 is not so tolerant of.




          <display-name>My Message Bean</display-name>










      And META-INF/jboss.xml:





              <configuration-name>My Message Driven Bean Container Configuration</configuration-name>



      My deployment descriptors are generated by xdoclet.

      Many thanks for any help.