[jboss-user] [JBoss/Spring Integration] - Re: Error when looking up SLSB EJB with Spring
wzkl52
do-not-reply at jboss.com
Tue May 26 17:00:22 EDT 2009
This error occurs because we are trying to look up a Local interface of an stateless EJB with spring, by definition when you specify <jndi-name> on jboss.xml or ejb-jar.xml this JNDI is assigned to the remote interface. So you need to specify the local-jndi-name as follows:
<enterprise-beans>
<ejb-name>GranInvokerEJB</ejb-name>
<jndi-name>GranInvokerEJB</jndi-name>
<local-jndi-name>GranInvokerEJBLocal</local-jndi-name>
</enterprise-beans>
Once you do this error should be solved.
I hope this can help you...
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4233420#4233420
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4233420
More information about the jboss-user
mailing list