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
<enterprise-beans>
<session>
<ejb-name>RefundPolicyPlugin</ejb-name>
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
[
http://community.jboss.org/message/641617#641617]
Start a new discussion in JNDI and Naming at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]