【问题标题】:Error while Deploying WAR in WebSphere using ANT使用 ANT 在 WebSphere 中部署 WAR 时出错
【发布时间】:2016-10-30 14:51:24
【问题描述】:

我们正在尝试检查、构建和部署 EAR 文件(IBM Integration Designer 开发了中介模块..但大多类似于 Java EAR 文件)。在部署到 WAS ND 时,我收到以下错误...

[wsadmin] WASX7017E: Exception received while running file "C:\Users\INSTAL~2\AppData\Local\Temp\wsant1588202279705404612jacl"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7132E: Application install for C:\Ant_Automation\ESB\MMCheckout\KY_SF1520_CPRServices_MMApplication\KY_SF1520_CPRServices_MM.ear failed: see previous messages for details.

[wsadmin] WASX7341W: No "save" was performed before the interactive scripting session exited; configuration changes will not be saved.

BUILD FAILED

C:\Ant_Automation\ESB\build.xml:124: Java returned: 105

Total time: 1 minute 53 seconds

我认为我们必须在 ND 部署后保存配置,但我不确定如何使用 ANT 保存。

DMGR 系统日志

[28-06-16 16:43:13:572 CEST] 000003ef InstallSchedu I   ADMA5016I: Installation of KY_SF1520_CPRServices_MMApp started.
[28-06-16 16:43:14:384 CEST] 000003ef Configuration I com.ibm.bpm.config.spi.ConfigurationSpi getDeploymentEnvironment Effective deployment target is WebSphere:cell=KYDevBMP02Cell01,node=KYDevBMP02CellManager01,server=dmgr
[28-06-16 16:43:14:400 CEST] 000003ef Configuration I com.ibm.bpm.config.spi.ConfigurationSpi getDeploymentEnvironment Effective deployment target is WebSphere:cell=KYDevBMP02Cell01,node=KYDevBMP02CellManager01,server=dmgr
[28-06-16 16:43:14:493 CEST] 000003ef WBIAAbstractT I com.ibm.ws.wbia.deployment.WBIAAbstractTask performTask CWLRD0101I: No WebSphere Business Integration Adapter files are found in the application KY_SF1520_CPRServices_MMApp.
[28-06-16 16:43:15:134 CEST] 000003ef Configuration I com.ibm.bpm.config.spi.ConfigurationSpi getDeploymentEnvironment Effective deployment target is WebSphere:cell=KYDevBMP02Cell01,node=KYDevBMP02CellManager01,server=dmgr
[28-06-16 16:43:15:149 CEST] 000003ef InstallSchedu I   ADMA5014E: The installation of application KY_SF1520_CPRServices_MMApp failed.

【问题讨论】:

  • 少数 cmets:1) 在 IID 中创建的中介模块用于 BPM/WPS 不是 ND。如果你只有 WAS ND,他们无论如何都会失败。 2) 错误已经表明:see previous messages for details. - 你没有提供任何细节。 3) 您没有提供您的 ant 脚本,所以很难说您使用的是WsAdmin 任务还是wsInstallApp。如果是前者,那么您需要在脚本中包含AdminConfig.save()
  • 我只安装在 IBM BPM Process Server 中,它的底部有 WAS ND。上一条消息没有任何错误详情
  • 我正在使用 wsInstallApp。使用它时如何保存配置?还是不需要?
  • 构建文件和完整日志。 drive.google.com/…

标签: deployment websphere ear


【解决方案1】:

如果你正在使用,则不需要保存,请查看此链接以获取 Ant 脚本示例Using Ant scripts for testing in headless WebSphere Business Process Manager

您必须在 Ant 控制台输出或服务器 SystemOut.log 中查找错误详细信息。

查看您的消息:

Effective deployment target is WebSphere:cell=KYDevBMP02Cell01,node=KYDevBMP02CellManager01,server=dmgr

这是不正确的,您正在将应用程序安装到某个服务器的任一集群,但肯定不是 DeploymentManager。

您必须将options 提供给将定义目标的wsInstallApp 任务。详情请见AdminApp.installcommand

【讨论】:

  • 我在 ANT 控制台输出中找不到任何内容。我已经更新了问题中的 DMGR systemout 日志。没有线索..请帮忙。
  • 构建文件和完整日志:drive.google.com/…
  • 我尝试使用此选项="-usedefaultbindings -target WebSphere:cell=KYDevBMP02Cell01,cluster=ProcessServerDB.SingleCluster" 在此操作成功完成之后..但我收到了一个非常新的错误。 .. 将新日志附加到 google 驱动器路径中。
  • 嗨,代替目标试试:-cluster ProcessServerDB.SingleCluster
  • 也尝试简单地使用网络管理控制台安装该应用程序,看看它是否安装正确。
猜你喜欢
  • 1970-01-01
  • 2011-01-04
  • 1970-01-01
  • 2015-07-16
  • 1970-01-01
  • 2016-08-04
  • 2013-06-01
相关资源
最近更新 更多