Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clustering

Status
Not open for further replies.

drkestrel

MIS
Joined
Sep 25, 2000
Messages
439
Location
GB
I am experimenting on clustering on a WebLogic cluster.

I have set up

-MyCluster
--server1
--server2

I have set up the WebLogic Properties on server1 and server2 to separate machines to deploy properly, as appeared on the webLogic console (join cluster....)

Problem is, I could get the client to look up using the following code-
Code:
Properties p = new Properties(); 
p.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory"); 
p.put(Context.PROVIDER_URL, "t3://server1,server2:7001"); 
Context ctx= new InitialContext(); 
MyBeanHome home = (MyBeanHome) ctx.lookup("MyBean");
...

What settings do I need to get
p.put(Context.PROVIDER_URL, "t3://myCluster:7001"); working??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top