• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Abhish Sharma
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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???!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic