Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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
 
I have gone to look for myself. If I should return before I get back, keep me here with this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic