【问题标题】:How to enable IBM Websphere Application Management Service?如何启用 IBM Websphere 应用程序管理服务?
【发布时间】:2010-06-29 07:04:39
【问题描述】:

我尝试使用 IBM Websphere $AdminApp(和 Ant 任务)在远程服务器上安装/更新应用程序 EAR。 You may want to read this question too.

手动流程

我用这个命令行打开一个 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 管理页面上的配置选项。但是我找不到任何靠近应用程序管理服务的东西。我现在用英语语言设置再次点击,但如果有人能指出配置选项或文档,我将不胜感激

【问题讨论】:

    标签: configuration websphere admin


    【解决方案1】:

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

    重新启动了我的控制台
    *WAS_HOME*\profiles\was61profile1\bin>wsadmin.bat -lang jython -host MYHOST -port 32003
    

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

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

    【讨论】:

    • 对于 WebSphere v 7:服务器类型 > WebSphere 应用程序服务器 > [serverName] > 通信 > 端口:SOAP_CONNECTOR_ADDRESS blogs.adobe.com/livecyclepost/2011/03/…
    • 这篇文章也解决了我的问题,尝试联系错误的端口。错误:WASX8011W:AdminTask 对象不可用。 WASX7206W: 应用程序管理服务没有运行。应用程序管理命令将不会运行。使用 SOAP_CONNECTOR_ADDRESS 作为端口。我从以下位置找到了我的:${WAS_ROOT}/profiles/{profile}/config/cells/localhost/nodes/localhost/serverindex.xml
    猜你喜欢
    • 2011-11-30
    • 1970-01-01
    • 1970-01-01
    • 2023-03-05
    • 2022-10-21
    • 1970-01-01
    • 2012-05-06
    • 2011-03-27
    • 1970-01-01
    相关资源
    最近更新 更多