user177800
user177800

Reputation:

How to stop an application on only one server in a cluster?

How can I stop an application deployed to a cluster on only specific servers?

I want to use the AppDeploymentRuntimesMBean to issue an application stop command to a deployed application, but to only specific servers in the cluster.

Upvotes: 0

Views: 683

Answers (1)

Display Name is missing
Display Name is missing

Reputation: 6227

You can do exactly what you're asking:

http://docs.oracle.com/cd/E14571_01/apirefs.1111/e13951/mbeans/AppDeploymentRuntimeMBean.html?skipReload=true#stop

When you call stop you can tell it what 'targets' to stop the application on. A target can be a single managed server or a cluster.

There is a fully coded example in their documentation here:

http://docs.oracle.com/middleware/1212/wls/DEPRF/api_intro.htm#BHCHFGGD

Upvotes: 1

Related Questions