JBoss EJB anomalies (JBoss 3.2.4, Eclipse, Xdoclet & Lomboz)! tools 15649 6401

JBoss EJB anomalies (JBoss 3.2.4, Eclipse, Xdoclet & Lomboz)!

Developing CMP entity beans with JBoss 3.2.4, Eclipse and the Lomboz plug-in, I encountered the following anomalies:

  1. Apparently, ejb-generate.xml is now called xdoclet.xml
  2. When generating the EJB-classes with the Lomboz plug-in, this tutorial already mentions the following bug:

    …the deployment descriptor generated by tag @jboss is wrong, because for local referencing of MyBean tag <ejb-ref> should be <ejb-local-ref>. There seems to be a bug in this tag, so we will correct this manually by changing the tag in the jboss.xml

    The tag mentioned is:

    ref-name=”MyBeanLocal”
    jndi-name="MyBeanLocal"

    In Addition, I had to change the element

    <ejb-ref-name>MyBeanLocal</ejb-ref-name>

    to

    <ejb-ref-name>ejb/MyBeanLocal<ejb-ref-name>

    in the ejb-jar.xmlas well!

  3. When working with JBoss 3.2.4, the jboss32x.server file does not work! Please replace it with this jboss32x.server for JBoss 3.2.4 and Lomboz plug-in (rename it to jboss32x.server in your Eclipse’s plugins/com.ojbectlearn.jdt.j2ee_3.0.0.rc2/servers directory).

3 Comments

  1. Pallavi June 21, 2005
  2. Zeger Hendrikse September 15, 2004
  3. Zeger Hendrikse July 16, 2004