[jboss-user] [JNDI/Naming/Network] - NameNotBoundException
bambooh
do-not-reply at jboss.com
Wed Apr 9 05:26:06 EDT 2008
Hi, I have a problem in lookup an stateless session bean from jsf.
I use jboss4.2.2.GA, seam and EJB3.
I have the jndiPatter in in xml file to myApp/#{ejbName}/local but when call the ejb from JSF page an exception is throws.
The exception is NameNotBoundExcpetion myApp not bound.
The strange thing is that if I change jndiPatter to aaaa/#{ejbName}/local the exeption is NameNotBoundExcpetion aaaa is not bound.
If I change the jndiPatter to #{ejbName}/local the exception is
NameNotBoundExcpetion #{ejbName}is not bound.
It seems thet the jndiName is cut to the first / in the jndiPatter.
Can you help me?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142633#4142633
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142633
More information about the jboss-user
mailing list