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

moejoe do-not-reply at jboss.com
Mon Jul 27 09:47:36 EDT 2009


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 
 service = (TokenManagementService) ctx
  |                     .getBean("token");
  | 

Don't know if i am right. but i hope that helps :D if anything.


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246199#4246199

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246199



More information about the jboss-user mailing list