As I wrote before, what you write in your lookup code after "java:comp/env/" must be the same as what you specified in the <ejb-ref-name> definition in <ejb-local-ref>:
[i]<ejb-local-ref>
<ejb-ref-name>ChargePlanSessBean</ejb-ref-name>
<local>com.forelogic.flhcs.common.ChargePlanSessRemote</local>
<ejb-link>ChargePlanSessBean</ejb-link>
</ejb-local-ref>[/i]
The lookup code will remain the same:
[i]return (ChargePlanSessRemote)new javax.naming.InitialContext().lookup("java:comp/env/ChargePlanSessBean");[/i]
[Message sent by forum member 'dkoper' (dkoper)]
http://forums.java.net/jive/thread.jspa?messageID=261111