Solved

what is the concept of stub in WebLogic Clustering

Posted on 2009-07-14
6
3,159 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now