Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

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

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???!!!
get schwifty. tiny ad:
Garden Master Course kickstarter
    Bookmark Topic Watch Topic
  • New Topic