错误2:如果应用程序(不是部署在AdminServer)需要ADF环境,但安装Weblogic时没有安装EM,可如下enable ADF running environment.
Step:1.deploy app at AdminServer,try to access it,and check it run ok
2.then cp /config/fmwconfig/system-jazn-data.xml <policy-store> section
3.undeploy the app at AdminServer
4.edit system-jazn-data.xml, the <policy-store> section is empty,post the one copied.
5.restart AdminServer, deploy app at other server.
如启动发现缺jar,修改/config/config.xml中library的target即可,例如下:
<library>
<name>adf.oracle.domain.webapp#1.0@11.1.1.2.0</name>
<target>AdminServer,youapp</target>
<module-type>war</module-type>
<source-path>/home/oracle/Middleware/oracle_common/modules/oracle.adf.view_11.1.1/adf.oracle.domain.webapp.war</source-path>
<security-dd-model>DDOnly</security-dd-model>
<staging-mode>nostage</staging-mode>
</library>