如何启用 IBM Websphere 应用程序管理服务?

发布于 2024-09-07 14:20:31 字数 914 浏览 6 评论 0原文

我尝试使用 IBM Websphere $AdminApp (和 Ant 任务)在远程服务器上安装/更新应用程序 EAR。 您可能也想阅读这个问题

手动过程

我使用此命令行打开 jython 控制台:

$was61profile1\bin$> wsadmin.bat -lang jython -host MYHOST -port 32092

之后我想列出所有应用程序:

wsadmin>AdminApp.list()
WASX7015E: Exception running command: "$AdminApp list"; exception information:
com.ibm.ws.scripting.ScriptingException: WASX7206W: The application management service is not running. Application management commands will not run.

我认为这里的消息很明确:应用程序管理服务未运行。

如何启用应用程序管理服务?

我确实在非常非常糟糕的 IBM 网站上搜索了文档。我还尝试单击 Websphere 管理页面上的配置选项。但我找不到任何距离应用程序管理服务较远的东西。我现在再次单击英语语言设置,但是如果有人可以向我指出配置选项或文档,我将不胜感激。

I try to use the IBM Websphere $AdminApp (and the Ant tasks) to install/update an application EAR on a remote server. You may want to read this question too.

Manual process

I open a jython console with this command line:

$was61profile1\bin
gt; wsadmin.bat -lang jython -host MYHOST -port 32092

After that I want to list all applications:

wsadmin>AdminApp.list()
WASX7015E: Exception running command: "$AdminApp list"; exception information:
com.ibm.ws.scripting.ScriptingException: WASX7206W: The application management service is not running. Application management commands will not run.

I think the message here is clear: The application management service is not running.

How to enable the Application Management Service?

I did search for documentation on the horrible, horrible IBM website. I also tried to click through the configuration options on the Websphere admin pages. But I can't find anything remotely close to application management service. I do that clicking again with english language settings now, but I'd appreciate if someone can point me to the configuration option or the documentation.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

开始看清了 2024-09-14 14:20:31

糟糕,我连接到了错误的端口。如果您想使用 AdminApp.list(),您必须连接到部署管理器(缩写为 DMGR)。我重新启动了控制台

*WAS_HOME*\profiles\was61profile1\bin>wsadmin.bat -lang jython -host MYHOST -port 32003

,然后我可以通过 AdminApp 列出已安装的应用程序。

确保您转至 Websphere 管理控制台 Web 界面并转至系统配置 -> 部署管理器并检查页面右侧的端口列表。有一个 SOAP_CONNECTOR_ADDRESS 端口,这就是您需要用于控制台的端口。

Crap, I was connected to the wrong port. If you want to use AdminApp.list() you have to connect to the deployment manager (abbreviated as DMGR). I restarted my console with

*WAS_HOME*\profiles\was61profile1\bin>wsadmin.bat -lang jython -host MYHOST -port 32003

and then I could list installed applications via AdminApp.

Make sure you go to the Websphere Administration console web interface and go to System configuration -> Deployment manager and check the list of Ports on the right hand side of the page. There is a port for SOAP_CONNECTOR_ADDRESS and that is what you need to use for the console.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文