• 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 wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

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
 
reply
    Bookmark Topic Watch Topic
  • New Topic