aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes  Error creating bean with name 'manager';def nested exception is javax.naming.NameNotFoundException: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark " Error creating bean with name Watch " Error creating bean with name New topic
Author

Error creating bean with name 'manager';def nested exception is javax.naming.NameNotFoundException:

Abhish Sharma
Greenhorn

Joined: Nov 14, 2011
Posts: 13
I am trying to develop one application which shows few data of all candidate. I am using spring and Ejb. My web portion is handled by spring and service through EJB and connectivity through hibernate. But when ever i am trying to start the the server its showing error,

org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'Manager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: ejb not bound

I know i am doing something wrong in applicationContext.xml where spring is integrating with EJB. Can any body help me out.I am in a serious help as I am stuck on this from past 3 days. My applicationContext.xml is


For the ref. I am adding rest of my code also. Please Help!!!

My Controller

Remote Interface(This is EJB portion and in jar)



Interface Implementation


My ejb-jar.xml


Rest of my file is domaincontext containing connection and one xml file which contains mapping of jsp with controller, which calls applicationContext bean.

Can any help me out What wromg i m doing???!!!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error creating bean with name 'manager';def nested exception is javax.naming.NameNotFoundException: