【发布时间】:2015-11-04 23:24:51
【问题描述】:
我有一个非常简单的 Unix 上的 Jython 脚本。它在 WebSphere 7 期间运行良好,而现在,在我们升级到 WAS 8.5 后,它不再运行了。显然,我将路径更改为指向 WAS8.5。我花了一整天的时间努力寻找这种下降的原因,我完全被困住了。异常描述没有多大帮助。
我从 JCL JOB 调用 Jython 脚本。 /WebSphere/was85/dtl85cel/ledm85nd/DeploymentManager/profiles/default/bin/wsadmin.sh -lang jython -f /WebSphereDevelopment/scripts/dtl/WAS85/Install.jy
Jython 脚本非常简单。 基本上,我使用以下选项调用 AdminApp.install("myEAR path", ...:
-nopreCompileJSPs -installed.ear.destination /WebSphereDevelopment/MYAPP/dtl/curr/deployment/ -distributeApp -nouseMetaDataFromBinary -nodeployejb -appname DVL-MYAPP -createMBeansForResources -noreloadEnabled -nodeployws -validateinstall warn -processEmbeddedConfig -filepermission . .dll=755#. .so=755#..a=755#.*.sl=755 -noallowDispatchRemoteInclude -noallowServiceRemoteInclude -asyncRequestDispatchType 已禁用 -nouseAutoLink -contextroot / -MapModulesToServers ÝÝ MyApp MyApp.war,WEB-INF/web.xml WebSphere:cell=dtl85cel,node=wleMyAppa,server=WLEMYAPP¨¨ )
错误日志是:
WASX7017E: 运行文件“/WebSphereDevelopment/scripts dtl/MYAPP/MYAPP_DTL_DEPLOY.jy”时收到异常;异常信息:com.ibm.websphere.management.application.client.AppDeploymentException:com.ibm.websphere.management.appliccation.client.AppDeploymentException:Ý根异常是 java.lang.RuntimeException:正在部署 /WebSphere/was85/dtl85cel/ledm85nd/ DeploymentManager/profiles/d java.lang.RuntimeException: java.lang.RuntimeException: 部署 /WebSphere/wa s85/dtl85cel/ledm85nd/DeploymentManager/profiles/default/temp/app69105293327198772690.ear 失败。
【问题讨论】:
-
'Ý' 字符来自哪里?
-
wsadmin.traceout 文件说明了什么?
-
Aguibert,删除“Y”后,出现此错误:WASX7017E: 运行文件“/WebSphereDevelopment/scripts/ Traceback (innermost last):文件“
”,第 30 行时收到异常, in ? java.lang.IllegalArgumentException: WASX7122E: 未找到预期的“-”。 -
Bkail,虽然很奇怪,但我在 wsadmin.traceout 中没有找到任何最近的日志。我查看了:/WebSphere/was85/dtl85cel/wleMyAppa/AppServer/profiles/default/logs,最后的日志很旧:000263,[9/24/15 11:47:35:314 CDT] 00000001 AdminControlC W WASX7072E: 000264,[9/24/15 11:47:35:650 CDT] 00000001 AbstractShell A WASX7091I: 000265,[9/24/15 11:47:35:980 CDT] 00000001 FileRepositor A ADMR0010I:
-
您知道如何在运行在大型机上的 Websphere 8.5 中找到有关 wsadmin.traceout 的最新日志吗?
标签: unix deployment websphere jython