tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tt...@ticnet.com
Subject <ejb-ref> <ejb-link> Implementation in 4.0.b1
Date Fri, 09 Mar 2001 16:55:57 GMT

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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-dev-help@jakarta.apache.org


Mime
View raw message