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:


    In Addition, I had to change the element




    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).

About Author

AMIS employee


  1. I am not able to generate the DAO interface using the @ejb.dao in the session bean

  2. Zeger Hendrikse on

    Changing <ejb-ref-name> in the ejb-jar.xml (renaming MyBean to ejb/MyBean) can be prevented by changing the Xdoclet tag in the source accordingly.

    Moreover, with the JBoss plug-in in Eclipse it seems that you can configure your XDoclet tags… more on this to follow.