I thnk u should put < view-type="local" > because the default view type of referenced 
Entity is Remote so.

ur tag will look like this.

* @jboss.ejb-ref-jndi 
 * ref-name="AddressLocal"
 * jndi-name="AddressLocal"
 * view-type="local"

this should work

Nirmish..
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Leandro
Melo
Sent: Tuesday, July 20, 2004 10:37 PM
To: xdoclet
Subject: [Xdoclet-user] Tag ejb-ref-jndi doesn't work properly


Hi,
sorry for the insistence, cause a few moths ago i sent
a similar question.

I'm trying to declare that my session ejb references a
cmp ejb by using the following code.

 * @jboss.ejb-ref-jndi 
 *  ref-name="AddressLocal"
 *  jndi-name="AddressLocal" 


The problem is that xdoclet generates tags with
missing parts in jboss.xml, here it is what was
generated by the tags above.

<ejb-ref>                      
   <ejb-ref-name>ejb/AddressLocal</ejb-ref-name>
   <jndi-name>AddressLocal</jndi-name>
</ejb-ref>


The generated stuff is NOT what i wanted, as the ejb
i'm referencing is a local one, thus, the generated
stuff should be like this.

<ejb-local-ref>                      
   <ejb-ref-name>ejb/AddressLocal</ejb-ref-name>
   <jndi-name>AddressLocal</jndi-name>
</ejb-local-ref>

Note the "local" inside the ejb-ref.

So, could anyone tell me what i'm doing wrong???

Thanks,
ltcmelo

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to