错误无法访问所选应用程序,未解析的应用程序库引用

问题描述 投票:0回答:1

在尝试在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)

我怎么能通过这个?

docker weblogic weblogic12c
1个回答
0
投票

我发布这个只是为了确保没有先发制人犯同样的错误。

这不是我的问题的实际解决方案,但我希望这将有助于确定该解决方案。

对于像我这样的初学者,首先要确保您拥有相应Weblogic版本的正确泊坞窗图像。

我一直在尝试使用Weblogic-quick-installer使用docker镜像构建部署ADF应用程序。

而是使用Oracle-Fusion-Middleware-Infrastructure来获得更多基于oracle的应用程序支持。

一旦weblogic启动并运行,请确保控制台中的部署中存在所有库文件,或者您可能需要添加它们。

如果你得到这样的错误:

Unresolved application library references

确保您在部署中看到的所有库都是针对您部署应用程序的托管服务器的目标(请参阅服务器的目标选项卡)。

© www.soinside.com 2019 - 2024. All rights reserved.