1 Reply Latest reply on Apr 14, 2003 7:09 AM by Adrian Brock

    DeploymentException: *PUZZLED*

    xenonii Newbie

      hi i have a project which currently deploys and works fine in orion. I'm trying to use jboss for various reasons but in one of the beans i have a problem
      org.jboss.deployment.DeploymentException: Error in ejb-jar.xml, in container-transaction: bean B doesn't exist
      at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:429)
      at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:151).......etc

      the ejb-jar.xml has the following

      <ejb-name>B</ejb-name>
      test.BHome
      test.B
      <ejb-class>test.BBean</ejb-class>
      <session-type>Stateful</session-type>
      <transaction-type>Container</transaction-type>

      <ejb-ref>
      <ejb-ref-name>ejb/A</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      testAHome
      test.A
      <ejb-link>A</ejb-link>
      </ejb-ref>


      i defined the jboss.xml (this may have the problems, SO PLZ HELP!!!)



      <enterprise-beans>

      <ejb-name>B</ejb-name>
      <jndi-name>ejb/B</jndi-name>


      </enterprise-beans>

      <resource-managers>
      </resource-managers>



      do u have any ideas for me?

      cheers
      nev