Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

plz Help reg LookUp with EJB Local Client with WSAD 5.1.1

 
Ramesh Krishna
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In WSAD 5.1.1
We created J2ee project In that In Ejb Perspective
In Enterprise Bean Creation procedure �.
We created session Bean and here we selected Local Client View only.

So now we have created <ejb-local-ref> tag .like

<session id="AdminSession">
.
.
.
<ejb-local-ref id="EJBLocalRef_1085638692468">
<ejb-ref-name>ejb/AdminSession</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>com.radiant.admin.facade.AdminSessionLocalHome</local-home>
<local>com.radiant.admin.facade.AdminSessionLocal</local>
<ejb-link>AdminSession</ejb-link>
</ejb-local-ref>
</session>
i am calling JNDI name is like local:/ejb/AdminSession && ejb/AdminSession
i tried in both ways but i am not getting .The error is like this


IWAD0402E Could not perform lookup with the JNDI name: Name "ejb/AdminSession" not found in context "local:".

plz suggest me
 
som toleti
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use local:/ejb/ejb/<name of yourEJB>

Somesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic