• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Finding Local within JNDI Tree

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know this is a silly question, but I am stump on why I can not find the error. I am having problems finding the EJB Local within the JNDI tree.

In the deployment descriptor I have this bean with the jndi name of local/CacheEJB


When I start the server and run the Universal Test Client. I can see with the JNDI Explorer and the [Local EJB beans]. Under this is the local directory with the CacheEJB object id, so I am lead to believe I can find the bean should I ask for it correctly.

The way I lookup the local is by passing the following string "java:comp/env/local/CacheEJB" When I test this in the Test Client, I get this error: "Name comp/env/local not found in context "java:"
I've regenerated the RMIC code to be sure all changes are reflected properly, but this did not work.

I am working with WSAD 5.1.1.

Any suggestions would be greatly appreciated.

Russ
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic