If you try to run a web application under Jetty that uses JSP it will throw the following exception (full stacktrace included as an attachment). Caused by: org.xml.sax.SAXException: PWC6181: File /javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd not found It appears as though the file /javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd is contained in the /usr/share/java/jetty-schemas/jetty-schemas.jar which is provided by the jetty-schemas RPM. But if you install the jetty-schemas RPM it still won't work because the jetty-schemas.jar is not in the jetty jsp classpath when jetty starts. There would appear to be two omissions: 1. the jetty-schemas RPM should use build-jar-repository to install a link to the jar in ${jetty.home}/lib/jsp 2. the jetty package should have a Requires: jetty-schemas I'm not sure of the history here but it appears that the web-jsptaglibrary_1_2.dtd file was originally in the jetty-runner jar provided in the jetty distribution. But recently (April 2014) the jetty-runner subpackage was removed in jetty-9.0.5-3. About 5 months earlier the jetty-schemas package was introduced. I presume jetty-schemas was meant to supersede jetty-runner. It also appears the upstream jetty 9.0 default loading includes the jetty-schemas jar. So I'm not exactly sure what is happening with our packaging with respect to upstream but all I know is that after installing jetty-schemas and making a link to it in ${jetty.home}/lib/jsp the problem went away, not sure if this is the preferred or correct solution, if not please advise.
Created attachment 964868 [details] stacktrace show failure to build jsp page due to missing web-jsptaglibrary_1_2.dtd
jetty-9.2.1-3.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/jetty-9.2.1-3.fc21
I could reproduce the issue with jetty from f21, but not with the f20 version version, so I assume you're using later version. I added the symlink, but the requires is automatically generated on jetty-jsp subpackage, so if you have jsp, it should pull in jetty-schemas.
Package jetty-9.2.1-3.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing jetty-9.2.1-3.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-0124/jetty-9.2.1-3.fc21 then log in and leave karma (feedback).
jetty-9.2.1-3.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.