Ravi.Kumar
Ravi.Kumar

Reputation: 767

Restarting Managed Server in weblogic using weblogic API

My company wants to automate the process of managing server, one of the requirement is to automate restarting the managed servers. Is there any way I can do that using java code. may be with weblogic APIs ? In brief I need to restart managed server whenever a request comes for restarting the managed server by email.

Ravi

Upvotes: 3

Views: 2378

Answers (1)

JoseK
JoseK

Reputation: 31371

Yes it is possible using JMX and specifically the ServerRuntimeMBean within Weblogic has methods to stop and restart.

A full example is given here

Upvotes: 3

Related Questions