WebSphere 8.5,为什么AdminApp返回“异常信息:websphere.management.application.client.AppDeploymentException”

时间:2015-11-04 23:24:51

标签: unix deployment websphere jython

我在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 DISABLED -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:ÝRootexception is java.lang.RuntimeException:Deploying / WebSphere / was85 / dtl85cel / ledm85nd / DeploymentManager / profiles / d java.lang.RuntimeException:java.lang.RuntimeException:部署/ WebSphere / wa s85 / dtl85cel / ledm85nd / DeploymentManager / profiles / default / temp / app69105293327198772690.ear失败。

1 个答案:

答案 0 :(得分:2)

启用wsadmin.properties下的跟踪: com.ibm.ws.scripting.traceString