Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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???!!!
 
reply
    Bookmark Topic Watch Topic
  • New Topic