Skip to content

fix JSPs from appengine-local-runtime-shared-jetty12 - #350

Closed
lachlan-roberts wants to merge 1 commit into
mainfrom
DevAppServer-JSP
Closed

fix JSPs from appengine-local-runtime-shared-jetty12#350
lachlan-roberts wants to merge 1 commit into
mainfrom
DevAppServer-JSP

Conversation

@lachlan-roberts

Copy link
Copy Markdown
Collaborator

The EE8 JSPs in appengine-local-runtime-shared-jetty12 were being compiled with an older version of org.mortbay.jasper:apache-jsp which was causing the following error

Caused by: javax.servlet.ServletException: java.lang.NoSuchMethodError: 'void org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(javax.servlet.jsp.tagext.Tag, org.apache.tomcat.InstanceManager, boolean)'

I have tested /_ah/admin which now successfully displays the page, however there seems to be other issues with its functionality which requires further investigation.

Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>

@ludoch ludoch left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But should we have also a EE10 version?

copybara-service Bot pushed a commit that referenced this pull request Mar 13, 2025
--
a47b5b3 by Lachlan Roberts <lachlan.p.roberts@gmail.com>:

fix JSPs from appengine-local-runtime-shared-jetty12

Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
COPYBARA_INTEGRATE_REVIEW=#350 from GoogleCloudPlatform:DevAppServer-JSP a47b5b3
PiperOrigin-RevId: 736601363
Change-Id: I231efd68881ea23227d1f8d1a21749cc02b71d0e
@lachlan-roberts

Copy link
Copy Markdown
Collaborator Author

@ludoch we already have jetty-ee10-jspc-maven-plugin in this pom which compiles the JSPs for EE10.

ludoch added a commit that referenced this pull request Mar 18, 2025
* Bump io.netty:netty-common from 4.1.117.Final to 4.1.118.Final

Bumps [io.netty:netty-common](https://github.com/netty/netty) from 4.1.117.Final to 4.1.118.Final.
- [Commits](netty/netty@netty-4.1.117.Final...netty-4.1.118.Final)

---
updated-dependencies:
- dependency-name: io.netty:netty-common
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* - Add Maven CI action for building with Zulu and Liberica JDKs for Java 21, 23.
- Removing Java 22 from all JDK since we can now safely just test on JDK23 and the upcoming JDK24.

PiperOrigin-RevId: 727603486
Change-Id: I73c659ef58fe85fb6d9964d0997949eccec08aeb

* allow Jetty 9.4 jetty-servlets class names to work with Jetty 12

Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>

* allow Jetty 9.4 jetty-servlets class names to work with Jetty 12

Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>

* allow Jetty 9.4 jetty-servlets class names to work with Jetty 12

Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>

* Upgrade GAE Java version from 2.0.32 to 2.0.33 and prepare next version 2.0.34-SNAPSHOT

PiperOrigin-RevId: 728533780
Change-Id: Ic8bd0b0863999092f469267dbb15d0eca39a92db

* PR #345 - changes from review

Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>

* PR #345 - fixes for broken tests

Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>

* Set API host idle timeout to 2 seconds by default instead of no timeout. See jetty/jetty.project#3891

PiperOrigin-RevId: 729286826
Change-Id: Iea5120e9e46db5874fd95426537f4136bf876f84

* Set API host idle timeout to 2 seconds by default instead of no timeout. See jetty/jetty.project#3891

PiperOrigin-RevId: 729581319
Change-Id: I85a21e3fdd2cc5c5c250ff048632f5687870a049

* Update all non-major dependencies

* Set API host idle timeout to 25 seconds by default instead of no timeout. See jetty/jetty.project#3891

PiperOrigin-RevId: 731360214
Change-Id: Ifedd44381e45a318ab38705d910ba3f41317ee79

* Update all non-major dependencies

* Update to Jetty 12.0.17 and allow invalid pathSpecs in EE8

Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>

* Internal change

PiperOrigin-RevId: 734104453
Change-Id: I0ad3f52c675374e3f9337a02ebf5b5668eef8b1b

* Update all non-major dependencies

* Adding `org.eclipse.jetty.servlet` to deprecated package names. This is related to #345

PiperOrigin-RevId: 735623640
Change-Id: I6b2e351765d0778cc2ded07255be8c84b46181db

* Fix App Engine tests for Windows.

This change addresses several issues that prevented App Engine tests from passing on Windows:

- **Maven Wrapper:** The Maven wrapper executable `mvnw` is now invoked with the `.cmd` extension when running on Windows to ensure it can be executed correctly.
- **Newline Handling:** Test output reading logic has been updated to handle both `\n` and `\r\n` newline representations, which is necessary for Windows compatibility.

These changes ensure that the affected tests pass on both Linux/macOS and Windows environments.

PiperOrigin-RevId: 736207509
Change-Id: I7c11b010689343ccdbf9b29801e17569064bb867

* Copybara import of the project:

--
a47b5b3 by Lachlan Roberts <lachlan.p.roberts@gmail.com>:

fix JSPs from appengine-local-runtime-shared-jetty12

Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
COPYBARA_INTEGRATE_REVIEW=#350 from GoogleCloudPlatform:DevAppServer-JSP a47b5b3
PiperOrigin-RevId: 736601363
Change-Id: I231efd68881ea23227d1f8d1a21749cc02b71d0e

* Update all non-major dependencies

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Abhinand Sundararajan <abhinasu@google.com>
Co-authored-by: GAE Java Team <gae-java-bot@google.com>
Co-authored-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
Co-authored-by: Srinjoy Ray <srinjoyray@google.com>
Co-authored-by: Mend Renovate <bot@renovateapp.com>
Co-authored-by: Lachlan <lachlan@webtide.com>
@ludoch

ludoch commented Mar 19, 2025

Copy link
Copy Markdown
Collaborator

Merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants