-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSTL fails in JPMS #9301
Labels
Bug
For general bugs on Jetty side
Comments
janbartel
added a commit
that referenced
this issue
Feb 2, 2023
This was referenced Feb 2, 2023
janbartel
added a commit
that referenced
this issue
Feb 8, 2023
janbartel
added a commit
that referenced
this issue
Feb 8, 2023
* Issue #9301 Fix dependencies for ee10-glassfish-jstl module * Fix jstl,el,jsp to work in jpms and osgi.
gregpoulos
pushed a commit
to gregpoulos/jetty.project
that referenced
this issue
Feb 9, 2023
…x-documentation-operations-logging * upstream/jetty-12.0.x: (35 commits) Fixes jetty#9326 - Rename DecryptedEndPoint to SslEndPoint. Jetty 10 Upgrade to Hazelcast 5 and totally disable auto join multicast etc.. (fix build on CI) (jetty#9331) jetty#9328 - changes from review jetty#9287 - catch error in ee9 maxRequestSize MultiPart test Jetty 12.0.x 9301 fix ee10 jstl jpms (jetty#9321) Issue jetty#9301 Fix dependencies for ee10-glassfish-jstl module (jetty#9303) Jetty 12 Hazelcast 5.x and disable auto detection/multicast" (jetty#9332) jetty#9287 - fix further test failures Fixed imports. Issue jetty#7650 - Fix race condition when stopping QueuedThreadPool (jetty#9325) jetty#9287 - remove unpaired release of Content.Chunk Issue jetty#8991 - rename websocket isDemanding() method to isAutoDemanding() Issue jetty#9287 - fix failing tests changes f rom review add todo to revert to normal pool after fix for jetty#9311 Issue jetty#9309 - Introducing test for requestlog format with spaces use non-pooling RetainableByteBufferPool to work around performance bug consumeAvailable should use number of reads instead of bytes fix for retainable merge changes from review ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jetty-12.0.x
Running with JSTL enabled in JPMS fails in jetty-12.
Problems are:
ee10-glassfish-jstl.mod
file does not depend onee10-apache-jsp.mod
which it shouldjetty-home/lib/ee10-glassfish-jstl
dir contains thejakarta.el-api
jars which export the same jsp/el api as theorg.mortbay.jasper
jars fromjetty-home/lib/ee10-apache-jsp
so there are duplicate classes on the classpath, (and in JPMS multiple modules export the same package which is a failure) and must be removedjakarta.servlet.jsp.jstl-api
jar has amodule-info
that explicitly requires thejakarta.el-api
jar (and others), so cannot be used with ourorg.mortbay.jasper
jars leading to a JPMS failureSo we need to rework and rerelease the
org.mortbay.jasper
jars minus thejakarta.el-api
andjakarta.servlet.jsp-api
classes, and then update theee10-apache-jsp.mod
module to refer to those jars, and then fixjetty-ee10-osgi
as necessary to refer to those jars.Note that according to eclipse-ee4j/wasp#58, even when we correct jetty, JSTL still may not work in JPMS due to module naming conflicts with the glassfish jstl jar and the
jakarta.servlet.jsp.jstl-api
jarsOriginal problem report is here: jetty-project/jasper-jsp#143 and
The text was updated successfully, but these errors were encountered: