[jboss-user] [JBoss/Spring Integration] - Re: Cant connect to EJB using from applicationContext.xml

2009-07-27 Thread moejoe
Hey marty, I am as new to ejbs as you are but i do know spring a little. Just had a look at your code an noticed that you are calling a bean that does not exist. so service = (TokenManagementService) ctx | .getBean(tokenManagementService); | should probably be

[jboss-user] [JBoss/Spring Integration] - Re: Cant connect to EJB using from applicationContext.xml

2009-07-27 Thread mlynch147
Hi Thanks for the suggestion... tried it but no luck here are my ejb-jar and jboss XML files in case they might help show something | ?xml version = '1.0' encoding = 'UTF-8'? | ejb-jar version=3.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

[jboss-user] [JBoss/Spring Integration] - Re: Cant connect to EJB using from applicationContext.xml

2009-07-27 Thread marius.bogoevici
The bean name being wrong was a separate issue, but you also have a JNDI configuration problem. In your case, you need to set the jndiEnvironment property on your LocalStatelessSessionProxyFactoryBean, which is essentially a Properties object that you need to set up for being able to look up

[jboss-user] [JBoss/Spring Integration] - Re: Cant connect to EJB using from applicationContext.xml

2009-07-27 Thread mlynch147
Hi Marius Im sorry but i dont understand what you mean... as I said, im a beginner at this stuff... could you please provide an example? thanks marty View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4246222#4246222 Reply to the post :