一、异常场景:
发布war包到tomcat,jetty中正常部署,war包解压后用weblogic部署正常,war包直接在weblogic上部署异常:
Cannot set web app root system property when WAR file is not expanded
激活更改期间出错, 有关详细信息, 请查看日志。
消息图标 - 错误 java.lang.IllegalArgumentException: Invalid 'log4jConfigLocation' parameter:
class path resource [log4j.properties] cannot be resolved to absolute file path
because it does not reside in the file system:zip:
/home/oracle/domain/servers/AdminServer/tmp/_WL_user/teenagers-report/9dj5sc/war/WEB-INF/lib/_wl_cls_gen.jar!/log4j.properties
消息图标 - 错误 Invalid 'log4jConfigLocation' parameter: class path resource [log4j.properties]
cannot be resolved to absolute file path because it does not reside in the file system:
zip:/home/oracle/domain/servers/AdminServer/tmp/_WL_user/teenagers-report/9dj5sc/war/WEB-INF/lib/_wl_cls_gen.jar!/log4j.properties
发布war包到tomcat,jetty中正常部署,war包解压后用weblogic部署正常,war包直接在weblogic上部署异常:
Cannot set web app root system property when WAR file is not expanded
激活更改期间出错, 有关详细信息, 请查看日志。
消息图标 - 错误 java.lang.IllegalArgumentException: Invalid 'log4jConfigLocation' parameter:
class path resource [log4j.properties] cannot be resolved to absolute file path
because it does not reside in the file system:zip:
/home/oracle/domain/servers/AdminServer/tmp/_WL_user/teenagers-report/9dj5sc/war/WEB-INF/lib/_wl_cls_gen.jar!/log4j.properties
消息图标 - 错误 Invalid 'log4jConfigLocation' parameter: class path resource [log4j.properties]
cannot be resolved to absolute file path because it does not reside in the file system:
zip:/home/oracle/domain/servers/AdminServer/tmp/_WL_user/teenagers-report/9dj5sc/war/WEB-INF/lib/_wl_cls_gen.jar!/log4j.properties