wood burning stoves*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Doubt in JNDI binding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Doubt in JNDI binding " Watch "Doubt in JNDI binding " New topic
Author

Doubt in JNDI binding

subir rastogi
Greenhorn

Joined: Apr 11, 2006
Posts: 18
Hi,
I have created a stateless bean -ProcessPaymentBean with local and remote interfaces.
In Jboss console in JNDI view under global jndi namespace, I am seeing -

In my test client, I am doing -

but getting error -

Any idea about what is it that I am doing wrong? and how to correct it?
Thanks
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9932
    
159

Based on that JNDI listing, you should be using EJB1EAR/ProcessPaymentBean/remote as the JNDI name


[My Blog] [JavaRanch Journal]
rachna jain
Ranch Hand

Joined: Jul 14, 2009
Posts: 74
Hey subir

I just wanted to know is your code working after making changes in lookup name of bean

as i am also facing the same problem .

Please let me know the solution.


Thanks
SCJP,SCWCD


Rachna Jain

SCWCD 1.5
subir rastogi
Greenhorn

Joined: Apr 11, 2006
Posts: 18
Yes, its working.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt in JNDI binding
 
Similar Threads
Could not access Local Session Bean using JNDI lookup
client lookup java.lang.ClassCastException: $Proxy0
Unable to access EJB 3 stateful session bean in a servlet in jboss 4.2
Cannot lookup local session bean in jndi
Unable to access EJB 3 stateful session bean in a servlet in jboss 4.2