[jboss-user] [JNDI and Naming] - Re: NameNotFoundException with "Not Bound" message

Peter McCann do-not-reply at jboss.com
Wed Dec 14 15:05:59 EST 2011

Peter McCann [http://community.jboss.org/people/plmc41] created the discussion

"Re: NameNotFoundException with "Not Bound" message"

To view the discussion, visit: http://community.jboss.org/message/641617#641617

We had a similar error... the issue was with our ejb-jar.xml file. 

Take a look at how jboss loads your jar file.
For example: 

review the server.log for how your jar file is loaded. Notice the name mismatch in mine RefundPolicyRequestPlugin vs RefundPolicyPlugin

2011-12-14 19:12:56,394 INFO [org.jboss.ejb.deployers.EjbDeployer] installing bean: ejb/RefundPolicyRequestPlugin.jar#RefundPolicyPlugin,uid1280009145
2011-12-14 19:12:56,395 INFO [org.jboss.ejb.deployers.EjbDeployer] with dependencies:
2011-12-14 19:12:56,395 INFO [org.jboss.ejb.deployers.EjbDeployer] and supplies:
2011-12-14 19:12:56,395 INFO [org.jboss.ejb.deployers.EjbDeployer] jndi:RefundPolicyPlugin

Our error was with our ejb-jar.xml file (we changed the name to RefundPolicyRequestPlugin and failed to change the ejb-jar.xml file

JBOSS 5 and 6 are more restrictive in their naming then jboss 4 was. Hope this helps.

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111214/9e11ddaf/attachment.html 

More information about the jboss-user mailing list