aspose file tools*
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 Soft Skills this week in the Jobs Discussion 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
 
Don't get me started about those stupid light bulbs.
 
subject: NameNotFoundException while calling EJB in JBOSS