1 Reply Latest reply on Mar 24, 2004 8:39 AM by tonig

    MDB Descriptor JBoss.xml Error

    tonig Newbie

      Hello,

      i get follwing Message from my JBoss:

      14:01:21,143 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3.2.3/server/default/deploy/SimpleMessage.jar
      org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean SimpleMessageBean: found in jboss.xml but not in ejb-jar.xml


      So i think, i should have a syntax error in my jboss.xml , but i dont have any mistakes there. Here is it:
      <?xml version="1.0"?>
      <!DOCTYPE jboss PUBLIC
       "-//JBoss//DTD JBOSS 3.2//EN"
       "http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd">
      <jboss>
       <enterprise-beans>
       <message-driven>
       <ejb-name>SimpleMessageBean</ejb-name>
       <destination-jndi-name>topic/errorTopic</destination-jndi-name>
       <configuration-name>Simple Message Bean</configuration-name>
       </message-driven>
       </enterprise-beans>
      </jboss>

      I dont see any mistakes, dont know what i shall do now. Do you know where the error could be and what i can do against it.

      Thx