Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Enabling automigration in 10.3

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic