I just migrated a
java web application (unchanged) from
Tomcat version 8.0.9 to 8.0.18 and it does not appear that the
jsf core taglib is being loaded by Tomcat, which is obviously causing application issues. The new unexpected behavior is that data that is entered into XHTML forms is not being captured and passed to the bean field defined in the form.
The exact same application WAR file was merely copied from 8.0.9 webapps folder to the 8.0.18 installation webapps folder . Tomcat immediately installed the app and it was accessible. The only problem encountered during
testing was that all input fields that are entered are now being processed as null values and triggering error messages.
The catalina log file shows the following entries as the server is started. All entries are identical between the 8.0.9 log and the 8.0.18 log except the for jsf-core.taglib.xml which is supposed to load class com.sun.facelets.tag.jsf.core.CoreLibrary, and which does exist in the jsf-facelets-1.1.15.B1.jar in the web apps LIB folder. On the first log entry here, the null.null is the only difference I found between the 2 logs. I am not sure what it means, but I am guessing that it did not load the taglib class. I cannot find any similar logged issues in this forum or anywhere else on the internet.
27-Feb-2015 01:00:31.317 INFO [http-nio-8080-exec-1] null.null Added Library from: jar:file:/D:/apache-tomcat-8.0.20/webapps/OidRegistry-1.0/WEB-INF/lib/jsf-facelets-1.1.15.B1.jar!/META-INF/jsf-core.taglib.xml
27-Feb-2015 01:00:31.317 INFO [http-nio-8080-exec-1] com.sun.facelets.compiler.TagLibraryConfig.loadImplicit Added Library from: jar:file:/D:/apache-tomcat-8.0.20/webapps/OidRegistry-1.0/WEB-INF/lib/jsf-facelets-1.1.15.B1.jar!/META-INF/jsf-html.taglib.xml
27-Feb-2015 01:00:31.348 INFO [http-nio-8080-exec-1] com.sun.facelets.compiler.TagLibraryConfig.loadImplicit Added Library from: jar:file:/D:/apache-tomcat-8.0.20/webapps/OidRegistry-1.0/WEB-INF/lib/jsf-facelets-1.1.15.B1.jar!/META-INF/jsf-ui.taglib.xml
27-Feb-2015 01:00:31.379 INFO [http-nio-8080-exec-1] com.sun.facelets.compiler.TagLibraryConfig.loadImplicit Added Library from: jar:file:/D:/apache-tomcat-8.0.20/webapps/OidRegistry-1.0/WEB-INF/lib/jsf-facelets-1.1.15.B1.jar!/META-INF/jstl-core.taglib.xml
27-Feb-2015 01:00:31.395 INFO [http-nio-8080-exec-1] com.sun.facelets.compiler.TagLibraryConfig.loadImplicit Added Library from: jar:file:/D:/apache-tomcat-8.0.20/webapps/OidRegistry-1.0/WEB-INF/lib/jsf-facelets-1.1.15.B1.jar!/META-INF/jstl-fn.taglib.xml
27-Feb-2015 01:00:31.395 INFO [http-nio-8080-exec-1] com.sun.facelets.compiler.TagLibraryConfig.loadImplicit Added Library from: jar:file:/D:/apache-tomcat-8.0.20/webapps/OidRegistry-1.0/WEB-INF/lib/jsf-impl-1.2_12.jar!/META-INF/mojarra_ext.taglib.xml
27-Feb-2015 01:00:31.426 INFO [http-nio-8080-exec-1] com.sun.facelets.compiler.TagLibraryConfig.loadImplicit Added Library from: jar:file:/D:/apache-tomcat-8.0.20/webapps/OidRegistry-1.0/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar!/META-INF/a4j.taglib.xml
27-Feb-2015 01:00:31.535 INFO [http-nio-8080-exec-1] com.sun.facelets.compiler.TagLibraryConfig.loadImplicit Added Library from: jar:file:/D:/apache-tomcat-8.0.20/webapps/OidRegistry-1.0/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar!/META-INF/rich.taglib.xml
27-Feb-2015 01:00:31.535 INFO [http-nio-8080-exec-1] com.sun.facelets.compiler.TagLibraryConfig.loadImplicit Added Library from: jar:file:/D:/apache-tomcat-8.0.20/webapps/OidRegistry-1.0/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar!/META-INF/jsp.taglib.xml
27-Feb-2015 01:00:31.551 INFO [http-nio-8080-exec-1] com.sun.facelets.compiler.TagLibraryConfig.loadImplicit Added Library from: jar:file:/D:/apache-tomcat-8.0.20/webapps/OidRegistry-1.0/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar!/META-INF/richfaces.taglib.xml