Your message dated Sat, 14 Mar 2026 14:23:46 +0100
with message-id <4961759.LvFx2qVVIh@debian>
and subject line 
has caused the Debian Bug report #1130731,
regarding jetty12: Issue with annotation @MultipartConfig (EE8)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1130731: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1130731
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: jetty12
Version: 12.0.33-1
Severity: normal

Dear Maintainer,

I added the @MultipartConfig on css-validator.

Everything works fine on jetty9, tomcat10 & tomcat11, but it fails with jetty12.

Error is like this:

2026-03-14T10:07:15.607675Z 01O java.lang.IllegalStateException: No multipart 
config for servlet
2026-03-14T10:07:15.607676Z 01O         at 
org.eclipse.jetty.ee8.nested.Request.getParts(Request.java:1716)
2026-03-14T10:07:15.607678Z 01O         at 
org.eclipse.jetty.ee8.nested.Request.getParts(Request.java:1700)
2026-03-14T10:07:15.607679Z 01O         at 
org.eclipse.jetty.ee8.nested.Request.getPart(Request.java:1691)
2026-03-14T10:07:15.607680Z 01O         at 
org.w3c.css.servlet.CssValidator.doPost(CssValidator.java:554)
2026-03-14T10:07:15.607682Z 01O         at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:665)
2026-03-14T10:07:15.607683Z 01O         at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
2026-03-14T10:07:15.607684Z 01O         at 
org.eclipse.jetty.ee8.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1157)
2026-03-14T10:07:15.607686Z 01O         at 
org.eclipse.jetty.ee8.servlet.ServletHolder.handle(ServletHolder.java:651)
2026-03-14T10:07:15.607687Z 01O         at 
org.eclipse.jetty.ee8.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1374)
2026-03-14T10:07:15.607689Z 01O         at 
org.eclipse.jetty.ee8.websocket.servlet.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:175)
2026-03-14T10:07:15.607690Z 01O         at 
org.eclipse.jetty.ee8.servlet.FilterHolder.doFilter(FilterHolder.java:171)
2026-03-14T10:07:15.607692Z 01O         at 
org.eclipse.jetty.ee8.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1348)
2026-03-14T10:07:15.607693Z 01O         at 
org.eclipse.jetty.ee8.servlet.ServletHandler.doHandle(ServletHandler.java:454)
2026-03-14T10:07:15.607695Z 01O         at 
org.eclipse.jetty.ee8.nested.ScopedHandler.handle(ScopedHandler.java:119)
2026-03-14T10:07:15.608464Z 01O         at 
org.eclipse.jetty.ee8.security.SecurityHandler.handle(SecurityHandler.java:497)
2026-03-14T10:07:15.608467Z 01O         at 
org.eclipse.jetty.ee8.nested.HandlerWrapper.handle(HandlerWrapper.java:108)
2026-03-14T10:07:15.608467Z 01O         at 
org.eclipse.jetty.ee8.nested.ScopedHandler.nextHandle(ScopedHandler.java:183)
2026-03-14T10:07:15.608468Z 01O         at 
org.eclipse.jetty.ee8.nested.SessionHandler.doHandle(SessionHandler.java:519)
2026-03-14T10:07:15.608469Z 01O         at 
org.eclipse.jetty.ee8.nested.ScopedHandler.nextHandle(ScopedHandler.java:181)
2026-03-14T10:07:15.608470Z 01O         at 
org.eclipse.jetty.ee8.nested.ContextHandler.doHandle(ContextHandler.java:891)
2026-03-14T10:07:15.608470Z 01O         at 
org.eclipse.jetty.ee8.nested.ScopedHandler.nextScope(ScopedHandler.java:152)
2026-03-14T10:07:15.608471Z 01O         at 
org.eclipse.jetty.ee8.servlet.ServletHandler.doScope(ServletHandler.java:423)
2026-03-14T10:07:15.608472Z 01O         at 
org.eclipse.jetty.ee8.nested.ScopedHandler.nextScope(ScopedHandler.java:150)
2026-03-14T10:07:15.608473Z 01O         at 
org.eclipse.jetty.ee8.nested.SessionHandler.doScope(SessionHandler.java:503)
2026-03-14T10:07:15.608473Z 01O         at 
org.eclipse.jetty.ee8.nested.ScopedHandler.nextScope(ScopedHandler.java:150)
2026-03-14T10:07:15.608474Z 01O         at 
org.eclipse.jetty.ee8.nested.ContextHandler.doScope(ContextHandler.java:830)
2026-03-14T10:07:15.608475Z 01O         at 
org.eclipse.jetty.ee8.nested.ScopedHandler.handle(ScopedHandler.java:117)
2026-03-14T10:07:15.608476Z 01O         at 
org.eclipse.jetty.ee8.nested.ContextHandler.handle(ContextHandler.java:1449)
2026-03-14T10:07:15.608476Z 01O         at 
org.eclipse.jetty.ee8.nested.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1290)
2026-03-14T10:07:15.608477Z 01O         at 
org.eclipse.jetty.ee8.nested.HttpChannel.dispatch(HttpChannel.java:617)
2026-03-14T10:07:15.608478Z 01O         at 
org.eclipse.jetty.ee8.nested.HttpChannel.handle(HttpChannel.java:460)
2026-03-14T10:07:15.608479Z 01O         at 
org.eclipse.jetty.ee8.nested.ContextHandler$CoreContextHandler$CoreToNestedHandler.handle(ContextHandler.java:2518)
2026-03-14T10:07:15.608480Z 01O         at 
org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1102)
2026-03-14T10:07:15.608480Z 01O         at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:181)
2026-03-14T10:07:15.608501Z 01O         at 
org.eclipse.jetty.server.Server.handle(Server.java:182)
2026-03-14T10:07:15.608502Z 01O         at 
org.eclipse.jetty.server.internal.HttpChannelState$HandlerInvoker.run(HttpChannelState.java:721)
2026-03-14T10:07:15.608502Z 01O         at 
org.eclipse.jetty.server.internal.HttpConnection.onFillable(HttpConnection.java:416)
2026-03-14T10:07:15.608503Z 01O         at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:322)
2026-03-14T10:07:15.608504Z 01O         at 
org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
2026-03-14T10:07:15.608505Z 01O         at 
org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
2026-03-14T10:07:15.608506Z 01O         at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:981)
2026-03-14T10:07:15.608506Z 01O         at 
org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1211)
2026-03-14T10:07:15.608507Z 01O         at 
org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1166)
2026-03-14T10:07:15.608509Z 01O         at 
java.base/java.lang.Thread.run(Thread.java:1474)

Full log: https://salsa.debian.org/bastif/css-validator/-/jobs/9225579

According to this issue, I believe made it correctly 
https://github.com/jetty/jetty.project/issues/5987

I suspect that jetty12 in Debian couldn't analyse correctly the 
@MultipartConfig annotation, hence the error.

Given that there are some Debian specific patches esp. for EE8 in the jetty12 
package, could this be another debian packaging issue, somehow like #1129638 ?

BTW, I'm totally unsure on whether the correct fix for #1129638 was just to add 
the dependency.

Regards
Fab

-- System Information:
Debian Release: 13.3
  APT prefers stable-updates
  APT policy: (991, 'stable-updates'), (991, 'stable-security'), (991, 
'stable'), (390, 'oldoldstable-security'), (390, 'oldoldstable'), (389, 
'oldoldstable-updates'), (95, 'testing'), (94, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.73+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages jetty12 depends on:
ii  adduser                                            3.152
ii  apache2-utils                                      2.4.66-1~deb13u1
ii  default-jre-headless [java17-runtime-headless]     2:1.21-76
ii  libeclipse-jdt-core-java                           3.35.0+eclipse4.29-2
ii  libgeronimo-annotation-1.3-spec-java               1.3-1
ii  libjetty12-extra-java                              12.0.33-1
ii  libjetty12-java                                    12.0.33-1
ii  openjdk-21-jre-headless [java17-runtime-headless]  21.0.10+7-1~deb13u1
ii  systemd [systemd-sysusers]                         257.9-1~deb13u1
ii  sysvinit-utils                                     3.14-4

jetty12 recommends no packages.

jetty12 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi,

I actually had to make an additional change so that it works.
I could choose between any of these, both fix the issue:

Option 1
-----------

Configure jetty12 so that it loads the ee8-annotations module.

This can be done this way (but I'm not sure whether the css-validator package 
is supposed to write there):

echo "--module=ee8-annotations" > /etc/jetty12/start.d/css-validator.ini

That way, jetty annotations module is loaded, and scan the webapp for 
annotation, and therefore find it.


Option 2
-----------

Add element "<multipart-config/>" to the web.xml of css-validator
<web-app>
  <servlet>
    ...
    <multipart-config/>
  </servlet>
</web-app>

That way, jetty doesn't have to scan the annotations, because it is also 
defined in web.xml

Regards
Fab

--- End Message ---

Reply via email to