|
Question : Global JNDI for managed server
|
|
I have setup a WebLogic 8.1 node manager with 3 managed servers. I would like to use a common JNDI tree accessible from all managed server. Could anyone guide me on this?
|
Answer : Global JNDI for managed server
|
|
Hafiz,
As far as i understand, you want a remote lookup to a server's JNDI tree from your application EJB clients which are deployed - an ejb looking up another one on a different application is equivalent to an an client doing a lookup.
I am not sure that a global JNDI tree can be looked up btu you can try to lookup the JNDI tree in the following manner from one ejb to another:-
> jndi://:/
One application on a server to look up another's JNDI tree is not a recommended way in my experience, primarily for security reasons and I guess there will be lot of performance implications; since it will be am RMI call and these can be expensive calls.
If you still want to acheive this, you should configure security for the same:- http://e-docs.bea.com/wls/docs70/ConsoleHelp/security_7x.html#1173690
Also , from your above code snippet, I guess you can try changing provider-url and check if it works. You can refer the following link for details:- http://e-docs.bea.com/wls/docs81/ejb/message_beans.html#1155021
Things are lot differnt in a cluster setup where internally security and other considerations are already made by vendors.
Let us know if the above helps.
|
|
|
|