Websphere 8.5:根异常是org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException:WEB-INF / web.xml [英] Websphere 8.5: Root exception is org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml

查看:949
本文介绍了Websphere 8.5:根异常是org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException:WEB-INF / web.xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  [p]我试图用jacl从蚂蚁问题部署一个带有websphere的耳朵时,出现以下错误: wsadmin] WASX7017E:运行文件C:\ ... \AppData\Local\Temp\wsant6857788060872488512jacl时收到异常;异常信息:com.ibm.websphere.management.application.client.AppDeploymentException:com.ibm.websphere.management.application.client.AppDeploymentException:[根异常是org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException :WEB-INF / web.xml] 

当我尝试从websphere控制台部署耳朵时获取:

 以下异常发生。检查日志的详细信息。 
com.ibm.websphere.management.application.client.AppDeploymentException:[根异常是org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException:WEB-INF / web.xml]

机器详细信息:Win7x64,WebSphere 8.5 x86,使用oracle jdk 6u30 x86(也用x64测试)。



其他人已经能够让安装程序为他们工作。 WebSphere连接信息是正确的,因为其他脚本正确地更新共享库。我很困惑为什么它在其他机器上工作,而不是这个...任何答案/建议是赞赏。

解决方案

之后很多搜索(甚至在类似的问题上发布了一个赏金),我发现这个问题是web.xml中的注释。我很幸运地拥有一个没有评论和工作的源码分支机构,而另一个分支机构确实有这样的意见,并且被打破了。不同分支机构的不同安装人员可以让安装人员在某些机器上工作,而这个其他分支安装程序可以在我的机器上运行。



删除这些注释允许WebSphere的验证器过去那个错误...有趣的东西...将报告给WebSphere家伙。


I'm getting the following error when trying to deploy an ear with websphere from an ant ask with jacl:

[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]

When I try to deploy the ear from the websphere console I get:

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]

Machine details: Win7x64, WebSphere 8.5 x86, using oracle jdk 6u30 x86 (Tested with x64 too).

Others have been able to get the installer to work for them. The WebSphere connection information is correct, as other scripts properly update shared libraries. I'm baffled why it works on other machines and not this one... any answers/suggestions are appreciated.

解决方案

After much searching (even posted a bounty on a similar problem), I found the issue was comments in the web.xml.

I was lucky enough to have a source branch that didn't have the comments and worked and this other branch that did have the comments and was broke. Different installers from different branches is what allowed the installers to work on some machines, and this other branch installer breaking on my machine.

Removing the comments allowed WebSphere's validator to get past that error... fun stuff... will report it to the WebSphere guys.

这篇关于Websphere 8.5:根异常是org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException:WEB-INF / web.xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆