what is the concept of stub in WebLogic Clustering

Hi Guys,

Suppose that a server in a cluster failed due to some reasons and now how is the request is going to be forwarded to other servers without going to the faialed server. I know it uses stub but I do not know the concepts. Also, what is replica aware stub.

Could you be more specific.

what is the purpose of SerializedSystemIni.DAT file which resides in WL_HOME/DOMAIN_HOME/security in weblogic ?

Who is Participating?
rajesh_balaConnect With a Mentor Commented:
Hi Charan,

Let us try to get the questions one by one.

are you asking from EJB stub perspective or servlet perspective?

In the case of servlets, you would have configured proxy_server which is aware of all the nodes in the cluster. So the incoming request would have the proxy_server address. Proxy based on the heartbeat mechanism will route it to appropriate managed node. If the managed node is down, it will communicate to the next one. Various algorithms are there for doing this like round-robin, weighted round robin, random, etc.

In the case of EJB, at the time of compilation itself the server can determine what are the cluster nodes in the cluster and incorporate them into stubs. So when you connect to this EJB, the stubs themselves know what are the nodes in the cluster and if one goes down, it will automatically contact the second and so on.

SerializedSystemIni.DAT - This is more of internal details of weblogic which user need not bother about unless otherwise he has very specific reason. Are there any specific question you have on this?
Ideally SerializedSystemIni.DAT should have the passwords, admin related username and passwords there. If you can be more specific, i can get more details
You can refer to this as well for SerializedSystemIni.DAT

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

NikhilKotagiriAuthor Commented:
do you this (stub) only for servlets and EJB. how can I configure proxy_server

Thanks for clearing my doubt on SerializedSystemIni.DAT
stubs are created for RMI and EJB.

Not for servlets. Servlets work on http mode.
NikhilKotagiriAuthor Commented:
could you provide me the link (bea docs) for STUBS
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.