This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Enabling automigration in 10.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Enabling automigration in 10.3" Watch "Enabling automigration in 10.3" New topic
Author

Enabling automigration in 10.3

jagan raja
Ranch Hand

Joined: Jan 29, 2010
Posts: 54
Hi All,

I have created a singleton service class by implementing "weblogic.cluster.singleton.SingletonService" and deployed this as an ear in weblogic 10.3.

Deployment is done on a cluster(ManagedServer1,ManagedServer2).

The activate method gets invoked on only of the server ManagedServer1 and necessary actions are taking place. When ManagedServer1 is brought down how to migrate this action to ManagedServer2.

When ManagedServer1 is down, the ear is in ManagedServer2 and the activate method is called and its running as infinite loop.

When ManagedServer1 is up everything works fine.

Not sure where I have gone wrong.Could anyone please help me out
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Enabling automigration in 10.3