I am trying to obtain a remote reference to an EJB in another machine.
I have set the ejb-ref in web.xml as follows:
<ejb-ref>
<description>Sample bean generated by coolgen placed here for ease of
early testing</description>
<ejb-ref-name>ejb/S_STRESS_32K</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>cool.models.coop07.java.S_STRESS_32KpsHome</home>
<remote>cool.models.coop07.java.S_STRESS_32Kps</remote>
<ejb-link>jndi:/ttt1.ca.com:1099/S_STRESS_32Kps</ejb-link>
</ejb-ref>
However, when I do ctx.lookup("java:/comp/ejb/S_STRESS_32K") I get a null
reference instead of the necessary remote reference to the home interface.
Is ejb-link implemented and documented?
Which code is involved in ejb-link lookup?
Is this fixed in the latest 4.0?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]