-
1. Re: wrong local-jndi tags in jboss.xml using Eclipse+Lomboz
darranl Aug 19, 2004 9:29 AM (in response to adco)Your post makes no sense, can you describe what you are doing fully.
-
2. Re: wrong local-jndi tags in jboss.xml using Eclipse+Lomboz
adco Aug 20, 2004 6:10 AM (in response to adco)I have a session bean that use local home interfaces of a few entity beans. I'm using Eclipse 3.0 with Lomboz and XDoclet to generate the EJB classes and the deployment descriptors. The session bean contains a sequence like
* @ejb.ejb-external-ref
* ref-name="ejb/TaskLocal"
* type="Entity"
* view-type="local"
* home="promis.dm.ca.TaskLocalHome"
* business="promis.dm.ca.TaskLocal"
..............................
* @jboss.ejb-ref-jndi
* ref-name="TaskLocal"
* jndi-name="TaskLocal"
Therefor generate Lomboz the next (wrong) code in jboss.xml:
.......................................
<ejb-name>SessionAgent</ejb-name>
<jndi-name>SessionAgentBean</jndi-name>
<local-jndi-name>SessionAgentLocal</local-jndi-name>
<ejb-ref>
<ejb-ref-name>ejb/TaskLocal</ejb-ref-name>
<jndi-name>TaskLocal</jndi-name>
</ejb-ref>
.......................................
instead of
<ejb-name>SessionAgent</ejb-name>
<jndi-name>SessionAgentBean</jndi-name>
<local-jndi-name>SessionAgentLocal</local-jndi-name>
<ejb-local-ref>
<ejb-ref-name>ejb/TaskLocal</ejb-ref-name>
<local-jndi-name>TaskLocal</local-jndi-name>
</ejb-local-ref>
Here I'm copying/pasting every time after genertaing the EJB classes
the right text into the jboss.xml file.
I have updated Lomboz according to the article http://www.amitysolutions.com.au/documents/XDocletChange-technote.pdf, but nothing changes.