Weblogic Managed Server Refresh -JNDI
I deploy the ear file containing the EJBs to the cluster. Within the app-deployment in config.xml I have
<target>fxcluster</target>
I have a break-point on the line of code doing the lookup
“AITranslateSHome home = (AITranslateSHome) ctx.lookup(jndiName);”
Using my debug tool, I look at the ctx.defaultInitCtx.node variable add see the following:
ClusterableRemoteRef(-306558348287932644S:199.81.131.145:[7002,-1,-1,-1,-1,-1,-1]:fxdomain:fx1 NamingNodeReplicaHandler (for ))/9
*notice fx1 which is one of our managed host.
The next time this line of code is executed, the node is set to
ClusterableRemoteRef(-8256790204091432638S:199.81.131.146:[7002,-1,-1,-1,-1,-1,-1]:fxdomain:fx2 NamingNodeReplicaHandler (for ))/9