• Post Reply Bookmark Topic Watch Topic
  • New Topic

NameNotFoundException: X not bound  RSS feed

 
Gemini Moses
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
X is name of my EJB.
I am new to EJB. and working on development of EJB using Jboss.
Can some one tell me what might be the reason for me to get this error?
javax.naming.NameNotFoundException: X not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
Please help!
 
Amol Desai
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
This exception is thrown when a component of the name cannot be resolved because it is not bound.
Make sure you have given the current name of your ejb.
-Amol
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!