尝试在WebLogic 12.2.1 Docker容器中部署ADF项目时,我会收到以下错误:
Error Unable to access the selected application.
Error org.apache.myfaces.trinidad.webapp.ResourceServlet
Error org.apache.myfaces.trinidad.webapp.ResourceServlet
Error org.apache.myfaces.trinidad.webapp.ResourceServlet
[这是我部署项目时得到的] [1]
<Dec 14, 2017 7:01:58 AM GMT> <Warning> <J2EE> <BEA-160188> <Unresolved application library references, for application TrendzV3App-3.10.4-2.ear, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false], [Extension-Name: trendzV3Images, exact-match: false], [Extension-Name: oracle.jsp.next, exact-match: false].>
<Dec 14, 2017 7:01:58 AM GMT> <Warning> <J2EE> <BEA-160188> <Unresolved WebApp library references defined in weblogic.xml, of module 'TrendzAppwebapp.war' [Extension-Name: adf.oracle.domain.webapp, exact-match: false].>
<Dec 14, 2017 7:02:00 AM GMT> <Error> <J2EE> <BEA-160228> <AppMerge failed to merge your application. If you are running AppMerge on the command-line, merge again with the -verbose option for more details. See the error message(s) below.>
weblogic.utils.compiler.ToolFailureException:
org.apache.myfaces.trinidad.webapp.ResourceServlet
at weblogic.application.compiler.FlowDriver.handleStateChangeException(FlowDriver.java:55)
我如何克服这个?
我正在发布此信息,只是为了确保没有启动器犯与我相同的错误。
这不是解决我问题的实际解决方案,但我希望这将有助于确定该解决方案。
对于像我这样的初学者,首先要确保您拥有相应的WebLogic版本的正确码头图。
我一直在尝试使用WebLogic-Quick-Installer构建Docker Image。
相反
启动WebLogic并确保所有库文件都存在于您的控制台中的部署中,否则您可能需要添加它们。
以及如果您有这样的错误:
Unresolved application library references
确保您在部署中看到的所有库都是针对目标的(请参阅服务器的目标选项卡)到您部署应用程序的托管服务器。