Skip to content

KNOX-3238: Migrate from javax.servlet to jakarta.servlet servlet-api#1213

Draft
bonampak wants to merge 42 commits intoapache:masterfrom
bonampak:KNOX-3238
Draft

KNOX-3238: Migrate from javax.servlet to jakarta.servlet servlet-api#1213
bonampak wants to merge 42 commits intoapache:masterfrom
bonampak:KNOX-3238

Conversation

@bonampak
Copy link
Copy Markdown
Contributor

KNOX-3238 - Migrate from javax.servlet to jakarta.servlet servlet-api and upgrade jetty to 12.x.

What changes were proposed in this pull request?

Updated javax.servlet dependencies to jakarta.servlet. Jetty 9 was upgraded to Jetty 12 (Handlers, Websocket handling). Some other libraries were also upgraded (shiro, ehcache, jersey, pac4j)

How was this patch tested?

Not tested yet. Websocket-related tests still need to be corrected.

bonampak added 30 commits April 28, 2026 12:05
# Conflicts:
#	gateway-provider-security-jwt/src/test/java/org/apache/knox/gateway/provider/federation/JWTFederationFilterTest.java
#	gateway-service-knoxtoken/src/main/java/org/apache/knox/gateway/service/knoxtoken/ClientCredentialsResource.java

# Conflicts:
#	gateway-spi/src/main/java/org/apache/knox/gateway/util/ServletRequestUtils.java
…sses, deleting NoOpLogger (Log class removed in Jetty 12) and defining log4j2.xml configuration files for tests.
… along with jetty 12 form keys length and size.
…k in Jetty 12, as Jetty will use 1...n threads for a request / response exchange).
…bshellWebSocketAdapter and JWTValidatorFactory.
…o a top-level class and correcting WebsocketBackendUrlTest.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 28, 2026

Test Results

21 tests   21 ✅  1s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 6aa8040.

♻️ This comment has been updated with latest results.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant