WebLogic Server 版本:12.1.2.0.0 正在尝试预编译
WebLogic Server Version: 12.1.2.0.0 Attempting to precompile
我正在部署我的 JAVA EE ear 应用程序。和 WL 服务器一样,
但突然之间,似乎每次 WL 都在尝试再次预编译所有 JSP 并且部署需要很长时间
12.1.2.0.0.>
ST> <Info> <HTTP> <BEA-101343> <my_devices: Attempting to precompile /WEB-INF/jsp/template/header.jsp, since the class file associated with it was found to be out-of-date.>
ST> <Info> <HTTP> <BEA-101295> <Recompiling JSP [ServletContext@29540787[app:my_devices module:my_devices path:null spec-version:3.0]], resource [/WEB-INF/jsp/template/popupHeader.jsp], because it is stale. It was previously compiled using a different version of WebLogic Server.
12.1.2.0.0.>
预编译是个好东西!!
但是如果您想禁用它以获得更快的部署,请更改您的 weblogic.xml 文件并包括以下内容:
<jsp-descriptor>
<jsp-param>
<param-name>precompile</param-name>
<param-value>false</param-value>
</jsp-param>
</jsp-descriptor>
这应该对你有帮助!
我正在部署我的 JAVA EE ear 应用程序。和 WL 服务器一样, 但突然之间,似乎每次 WL 都在尝试再次预编译所有 JSP 并且部署需要很长时间
12.1.2.0.0.>
ST> <Info> <HTTP> <BEA-101343> <my_devices: Attempting to precompile /WEB-INF/jsp/template/header.jsp, since the class file associated with it was found to be out-of-date.>
ST> <Info> <HTTP> <BEA-101295> <Recompiling JSP [ServletContext@29540787[app:my_devices module:my_devices path:null spec-version:3.0]], resource [/WEB-INF/jsp/template/popupHeader.jsp], because it is stale. It was previously compiled using a different version of WebLogic Server.
12.1.2.0.0.>
预编译是个好东西!!
但是如果您想禁用它以获得更快的部署,请更改您的 weblogic.xml 文件并包括以下内容:
<jsp-descriptor>
<jsp-param>
<param-name>precompile</param-name>
<param-value>false</param-value>
</jsp-param>
</jsp-descriptor>
这应该对你有帮助!