This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Websphere and the fly likes EJB Lookup fails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "EJB Lookup fails" Watch "EJB Lookup fails" New topic

EJB Lookup fails

Aryan Khan
Ranch Hand

Joined: Sep 12, 2004
Posts: 290

I am having problem with ejb lookup on was 6.1. Just to mention that on standalone WAS server it works fine, but on WAS+NDM it fails.
I have my server server1 which has a DNS entry of server1.mypc.mydomain, which I cannot change to server name only. But the server is not part of domain. So when I do a lookup from the client it fails saying cannot resolve server name(server1). My question how can I make WAS to pick up the fully qualified server name:

I changed the ORB_LISTENER_ADDRESS to fully qualified name. As a result I am able to lookup the EJB, but while narrowing the Object it fails with the above exception. I found a link on IBM for the same issue, and changed the plugin-cfg.xml file but no use.
Can some one help!!!

Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

Try doing using the dumpnamespace utility. It can be helpful. Here's some information on using it to look at the various namespaces:

Using the WebSphere dumpnamespace Utility to Address JNDI Problems

Good luck!

-Cameron McKenzie
I agree. Here's the link:
subject: EJB Lookup fails
It's not a secret anymore!