Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3822
  • Last Modified:

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 ?

Thanks,
Charan
0
NikhilKotagiri
Asked:
NikhilKotagiri
  • 4
  • 2
1 Solution
 
rajesh_balaCommented:
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?
0
 
rajesh_balaCommented:
Ideally SerializedSystemIni.DAT should have the passwords, admin related username and passwords there. If you can be more specific, i can get more details
0
 
rajesh_balaCommented:
You can refer to this as well for SerializedSystemIni.DAT

http://e-docs.bea.com/wls/docs81/secmanage/passwords.html
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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
0
 
rajesh_balaCommented:
stubs are created for RMI and EJB.

Not for servlets. Servlets work on http mode.
0
 
NikhilKotagiriAuthor Commented:
could you provide me the link (bea docs) for STUBS
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now