• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

plz Help reg LookUp with EJB Local Client with WSAD 5.1.1

 
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
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use local:/ejb/ejb/<name of yourEJB>

Somesh
 
Get me the mayor's office! I need to tell him about this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!