Re: multipart and Apache Tomcat 11

2025-05-02 Thread Ernesto Reinaldo Barreiro
Hi, Mamy thanks for your email. On Fri, May 2, 2025 at 1:42 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Ernesto, > > On 5/1/25 8:51 PM, Ernesto Reinaldo Barreiro wrote: > > We have an Apache Wicket application that I just ported to wicket 10. The > > application works as expe

Re: Content type unknown after upgrading Tomcat 10.1.39 => 10.1.40

2025-05-02 Thread Thorsten Heit
Hi Chris, please excuse the long delay in answering (unplanned holidays...) Tomcat is never going to figure out what MIME type should be used for a request like "/my/servlet/app?version=!!1.22.32-4-g8a3c060!!" So I think Mark is probably right (well, he's right like 99.999% of the time, so..

Re: multipart and Apache Tomcat 11

2025-05-02 Thread Christopher Schultz
Ernesto, On 5/1/25 8:51 PM, Ernesto Reinaldo Barreiro wrote: We have an Apache Wicket application that I just ported to wicket 10. The application works as expected with the latest Tomcat 10.1.40. But our application does not work with Tomcat 11.0.6 because file upload (multipart processing is b

Re: Help with Cluster Setup on Tomcat 9

2025-05-02 Thread Christopher Schultz
Zoran, On 5/1/25 9:14 PM, Zoran Avtarovski wrote: I appreciate you input. In answer to your questions the primary issue we are experiencing is that on occasions (once a month or two) we will get two users on different nodes with the same session id. We suspect this could be because there is a

Re: [EXT]multipart and Apache Tomcat 11

2025-05-02 Thread Ernesto Reinaldo Barreiro
Hi, Thank you very much for your email. My answers inlined. On Fri, May 2, 2025 at 6:54 AM Rick Noel wrote: > We had the same issue when going to Tomcat 11. > > You need to make two changes. > 1) get the request params passed in via. > jakarta.servlet.http.Part > > Like so. >

RE: [EXT]multipart and Apache Tomcat 11

2025-05-02 Thread Rick Noel
We had the same issue when going to Tomcat 11. You need to make two changes. 1) get the request params passed in via. jakarta.servlet.http.Part Like so. import jakarta.servlet.http.Part; Part fileUpload = request.getPart("param-name"); if(null != fileUpload) {