aspose file tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Doubt in JNDI binding Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply 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: 8147
    
  52

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Doubt in JNDI binding
 
Similar Threads
Cannot lookup local session bean in jndi
Unable to access EJB 3 stateful session bean in a servlet in jboss 4.2
Unable to access EJB 3 stateful session bean in a servlet in jboss 4.2
client lookup java.lang.ClassCastException: $Proxy0
Could not access Local Session Bean using JNDI lookup