JNDI lookup across different WebSphere6 profiles, impossible?
Joined: Oct 09, 2006
I am experiencing some trouble trying to complete what looked like a very simple task, but got me stuck for days :'(
The thing is: I have one WebSphere 6 base installation, with two profiles created. Profile1: (myHostNode01Cell/nodes/myHostNode01/servers/server1; name server port: 2809) Profile2: (myHostNode02Cell/nodes/myHostNode02/servers/server1; name server port: 2810)
I have an EJB deployed on Profile1's server (myHostCell01/nodes/myHostNode01/servers/server1/ejb/myEjb), and when I try to look it up from Profile2's server, using the following code:
I get the following output:
It seems that I cannot instanciate an InitialContext from one profile's server to another.
I have tried corbaname and corbaloc format for the provider url. I have also tried using ejb-ref, configured bindings (CORBA), with no success.
When I run this code from another server (in another machine), it just works fine.
Do you guys know if it is posible to access to a was6 profile's server JNDI namespace from another profile?
Thanks in advance!
[ October 09, 2006: Message edited by: Jaime Garc�a ] [ October 09, 2006: Message edited by: Jaime Garc�a ]