Hi,

With reference to this query raised earlier:
http://groups.google.com/group/ibm.s...9c8bc0c588d65d

I seem to hit into similar issues. Why would the JNDI Client get
confused when there are multiple servers in the same machine? This
must be a bug.

There are real reasons where the client (could be an EJB/Web
Component) accessing an EJB running on another server. I could have an
EJB in one Server calling another server for a shared service that is
hosted on another machine too.

Why does the client get confused and is not able to look up the JNDI
Server of another server running on the same machine?

Here is what i am trying to achieve:

Servlet on Machine 1 @ port 2816 (bootstrap) hosted on Server1
looking up an ejb running on Server1 (a Process Server machine)
running @ bootstrap port 2813

Looking at the logs i know for sure that the JNDI look up failed as
the Servlet is looking for the EJB in his own JNDI Server instead of
looking at the one on the Process Server box.

The Node name: WASRCNode01 is my WAS Node and not my WPS node.

Context: T43J2604Node04Cell/nodes/WASRCNode01/servers/server1

[8/13/07 20:13:49:062 IST] 00000036 SystemErr R
javax.naming.NameNotFoundException: Context: T43J2604Node04Cell/nodes/
WASRCNode01/servers/server1, name: ejb/com/scb/rc/ht/HTServiceHome:
First component in name com/scb/rc/ht/HTServiceHome not found. [Root
exception is org.omg.CosNaming.NamingContextPackage.NotFound:
IDLmg.org/CosNaming/NamingContext/NotFound:1.0]
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.naming.jndicos.CNContextImpl.processNot FoundException(CNContextImpl.java:
4730)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(C NContextImpl.java:
1907)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(C NContextImpl.java:
1862)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt( CNContextImpl.java:
1552)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNC ontextImpl.java:
1354)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCt x.java:172)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
javax.naming.InitialContext.lookup(InitialContext. java:363)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.scb.rc.ht.web.HTServletClient.doGet(HTServletC lient.java:64)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
javax.servlet.http.HttpServlet.service(HttpServlet .java:743)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:
966)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:
478)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.h andleRequest(ServletWrapper.java:
463)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.webcontainer.servlet.CacheServletWrappe r.handleRequest(CacheServletWrapper.java:
92)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:
744)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.wswebcontainer.WebContainer.handleReque st(WebContainer.java:
1425)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:
92)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:
465)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:
394)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.ready(HttpInboundLink.java:
290)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialRe adCallback.sendToDiscriminators(NewConnectionIniti alReadCallback.java:
214)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialRe adCallback.complete(NewConnectionInitialReadCallba ck.java:
113)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListe ner.futureCompleted(AioReadCompletionListener.java :
152)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.io.async.AbstractAsyncFuture.invokeCallbac k(AbstractAsyncFuture.java:
213)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.io.async.AbstractAsyncFuture.fireCompletio nActions(AbstractAsyncFuture.java:
195)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.io.async.AsyncFuture.completed(AsyncFuture .java:136)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.io.async.ResultHandler.complete(ResultHand ler.java:193)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.io.async.ResultHandler.runEventProcessingL oop(ResultHandler.java:
725)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.io.async.ResultHandler$2.run(ResultHandler .java:847)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1498)
[8/13/07 20:13:49:062 IST] 00000036 SystemErr R Caused by:
org.omg.CosNaming.NamingContextPackage.NotFound: IDLmg.org/CosNaming/
NamingContext/NotFound:1.0


Thanks,
Manglu