wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes NameNotFoundException while calling EJB in JBOSS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "NameNotFoundException while calling EJB in JBOSS" Watch "NameNotFoundException while calling EJB in JBOSS" New topic
Author

NameNotFoundException while calling EJB in JBOSS

Suhas Mohamedali
Greenhorn

Joined: Jun 05, 2012
Posts: 29
My EJB jar is packaged in EAR and deployed succesfullt in JBOSS.

Now I am run a java class like below.




Now I am getting javax.naming.NameNotFoundException: AreaBean not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

when running the java file.

Please help......
Meiyappan Kannappa
Greenhorn

Joined: Sep 15, 2008
Posts: 10
Hi,

Could you please update with the name of your bean class, bean remote class, version of JBoss and EJB.


Warm Regards
 
wood burning stoves
 
subject: NameNotFoundException while calling EJB in JBOSS