Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS 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 ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

NameNotFoundException in JDNI look up

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all - new to Websphere and learning J2EE. My problem, I have a session bean that tries to get an instance of a entity bean's local home. I am doing this via JNDI look up:



and ServiceLocator.getInstance().getLocalHome() looks like this:


I am getting the following exception:
javax.naming.NameNotFoundException: Name "comp/env/Closed_day" not found in context "java:".]: com.actech.webroads.common.ServiceLocatorException: javax.naming.NameNotFoundException: Name "comp/env/Closed_day" not found in context "java:".

I have tried adding a ejb-reference tag to my session bean in my deployment descriptor (manually, but I am sure WASD has way to do this for me) and it didn't help.

Any suggestions are greatly appreciated!

[ August 27, 2004: Message edited by: Matthew Sloan ]
[ August 27, 2004: Message edited by: msloan ]
 
Power corrupts. Absolute power xxxxxxxxxxxxxxxx is kinda neat.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic