File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
jQuery in Action, 3rd edition