aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "EJB Lookup fails" Watch "EJB Lookup fails" New topic
Author

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 issuehttp://www-1.ibm.com/support/docview.wss?uid=swg21198886, and changed the plugin-cfg.xml file but no use.
Can some one help!!!
Thanks
Ahmad


OCP/MCP/SCJP/SCWCD/IBM XML/SCMAD/SCEA-1
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

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: http://aspose.com/file-tools
 
subject: EJB Lookup fails
 
Similar Threads
EJB client WAS4 to WAS5 lookup error
EJB calls across app. servers
Websphere EJB issue. Same application working fine in JBOSS. need help.
Error while getting JMX Connector: "ORB_CONNECT_ERROR (5) - couldn't get Server Subcontract"
javax.naming.NamingException while lookup for JNDI Name of EJB