gpt4 book ai didi

java - 使用 weblogic API 在 weblogic 中重启托管服务器

转载 作者:塔克拉玛干 更新时间:2023-11-02 18:58:14 27 4
gpt4 key购买 nike

我的公司想要自动化管理服务器的过程,其中一项要求是自动重启托管服务器。有什么办法可以使用 Java 代码做到这一点。可能与 weblogic API 一起使用?简而言之,每当通过电子邮件收到重新启动托管服务器的请求时,我都需要重新启动托管服务器。

拉维

最佳答案

是的,可以使用 JMX特别是 Weblogic 中的 ServerRuntimeMBean 具有停止和重新启动的方法。

一个完整的example is given here

关于java - 使用 weblogic API 在 weblogic 中重启托管服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10346468/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com