| Summary: | can't parse the servlet multipart-config for the web.xml. | ||
|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | d0ngw <agile.java> |
| Component: | server | Assignee: | Jan Bartel <janb> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | agile.java, janb, jetty-inbox |
| Version: | 8.0.4 | ||
| Target Milestone: | 7.5.x | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Drat. That serves me right for testing with annotations instead! Fixed for jetty-8 next release, scheduled as jetty-8.1.0. So magic speed,thanks. (In reply to comment #1) > Drat. That serves me right for testing with annotations instead! > Fixed for jetty-8 next release, scheduled as jetty-8.1.0. |
Build Identifier: jetty-8.0.4.v20111024 The MultipartConfigElement can't be inited with the the multipart-config defined at the web.xml. Maybe the xml parser using the wrong Node object on line 555 of StandardDescriptorProcessor.java ? if (multipart != null) { String location = node.getString("location", false, true); String maxFile = node.getString("max-file-size", false, true); String maxRequest = node.getString("max-request-size", false, true); String threshold = node.getString("file-size-threshold",false,true); and I think it should be: if (multipart != null) { String location = multipart.getString("location", false, true); String maxFile = multipart.getString("max-file-size", false, true); String maxRequest = multipart.getString("max-request-size", false, true); String threshold = multipart.getString("file-size-threshold",false,true); Reproducible: Always