Win a copy of Functional Design and Architecture this week in the Functional programming 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

plz Help reg LookUp with EJB Local Client with WSAD 5.1.1

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use local:/ejb/ejb/<name of yourEJB>

Somesh
 
Curse your sudden but inevitable betrayal! And this tiny ad too!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic