【发布时间】:2012-12-18 18:51:20
【问题描述】:
我在尝试使用 jacl 从 ant ask 部署带有 websphere 的耳朵时遇到以下错误:
[wsadmin] WASX7017E: Exception received while running file "C:\...\AppData\Local\Temp\wsant6857788060872488512jacl"; exception information: com.ibm.websphere.management.application.client.AppDeploymentException: com.ibm.websphere.management.application.client.AppDeploymentException: [Root exception is org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml]
当我尝试从 websphere 控制台部署 ear 时,我得到:
The following exception occurred. Check log for details.
com.ibm.websphere.management.application.client.AppDeploymentException: [Root exception is org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml]
机器详细信息:Win7x64,WebSphere 8.5 x86,使用 oracle jdk 6u30 x86(也使用 x64 测试)。
其他人已经能够让安装程序为他们工作。 WebSphere 连接信息是正确的,因为其他脚本正确地更新了共享库。我很困惑为什么它可以在其他机器上运行,而不是在这台机器上运行。
【问题讨论】:
-
您在“查看日志以获取详细信息”中得到提示,请提供详细信息
-
例外是指您访问 EAR 中应用程序的 web.xml。 EAR 中的所有 WAR 是否都有 web.xml 文件?你能看看是否有任何 web.xml 文件有错误吗?
标签: deployment websphere websphere-8