Solved

what is the concept of stub in WebLogic Clustering

Posted on 2009-07-14
6
3,338 Views
Last Modified: 2013-12-10
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
Comment
Question by:NikhilKotagiri
  • 4
  • 2
6 Comments
 
LVL 10

Accepted Solution

by:
rajesh_bala earned 500 total points
ID: 24856076
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
 
LVL 10

Expert Comment

by:rajesh_bala
ID: 24856081
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
 
LVL 10

Expert Comment

by:rajesh_bala
ID: 24856083
You can refer to this as well for SerializedSystemIni.DAT

http://e-docs.bea.com/wls/docs81/secmanage/passwords.html
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

Author Comment

by:NikhilKotagiri
ID: 24856529
do you this (stub) only for servlets and EJB. how can I configure proxy_server

Thanks for clearing my doubt on SerializedSystemIni.DAT
0
 
LVL 10

Expert Comment

by:rajesh_bala
ID: 24856586
stubs are created for RMI and EJB.

Not for servlets. Servlets work on http mode.
0
 

Author Comment

by:NikhilKotagiri
ID: 24859389
could you provide me the link (bea docs) for STUBS
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question