This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

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
 
Let's get him boys! We'll make him read 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!