Re: REG: Version stability of Tomcat 9.0.96

2025-02-07 Thread Jason Wee
> Could you please suggest whether the below link can be given to the > application team as supported artifacts or doc for the deprecated methods. Been reading this threads and I think you can encounter issue due to arguments in the method releaseTag, if yes, you can use this link https://tomcat.

Re: Custom error page for invalid mutual authentication (TLS)

2025-02-07 Thread Sebastian Trost
Peter, if updating your application is out of the question, I'm guessing that there is no way to achieve this. If updating your application is an option, you can set the clientAuth attribute of your connector to 'want' instead of 'true' and then try to detect within your app, if the client p

Re: Tomcat 10.1 Upgrade & Uber JAR Error

2025-02-07 Thread Tim N
Looks like this last worked Tomcat v10.1.20 and first failed v19.1.23 On Fri, Feb 7, 2025 at 3:22 PM Tim N wrote: > I was launching my application successfully with Tomcat 10.1.16 using a > JAR with all dependencies in a single JAR via "maven-assembly-plugin". > > Since upgrading to Tomcat 10.1.

Re: Reg: Tomcat temp file deletion

2025-02-07 Thread Robert Turner
On Fri, Feb 7, 2025 at 12:27 PM Jalaj Asher wrote: > Thanks mark for the response. > > I am not sure why the tomcat is not doing the auto clean up. But we did > try using the deleteonexithook approach but that introduces its own set of > problems. Is there a recommendation to clean up the folder

RE: Reg: Tomcat temp file deletion

2025-02-07 Thread Jalaj Asher
Thanks mark for the response. I am not sure why the tomcat is not doing the auto clean up. But we did try using the deleteonexithook approach but that introduces its own set of problems. Is there a recommendation to clean up the folder while the tomcats are running ? as we don’t stop and restar

Re: REG: Version stability of Tomcat 9.0.96

2025-02-07 Thread Divyabharathi Sundaram
Hi Jason Wee & Konstantin Kolinko, Noted, thank you both for the suggestions. @ Jason Wee, Could you please suggest whether the below link can be given to application team as supported artifacts or doc for the deprecated methods. https://tomcat.apache.org/tomcat-9.0-doc/jspapi/deprecated-list.ht

Re: REG: Version stability of Tomcat 9.0.96

2025-02-07 Thread Jason Wee
Why not use releaseTag with 2 arguments? That 3 arguments method is deprecated in tomcat9.0.98 anyway...sooner it will be removed... Regards, Jason Wee On Fri, Feb 7, 2025 at 5:55 PM Konstantin Kolinko wrote: > > чт, 6 февр. 2025 г. в 16:42, Divyabharathi Sundaram > : > > > > Stacktraces > > org

Re: REG: Version stability of Tomcat 9.0.96

2025-02-07 Thread Konstantin Kolinko
чт, 6 февр. 2025 г. в 16:42, Divyabharathi Sundaram : > > Stacktraces > org.apache.jasper.JasperException: javax.servlet.ServletException: > java.lang.NoSuchMethodError: > org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(Ljavax/servlet/jsp/tagext/Tag;Lorg/apache/tomcat/InstanceManager;Z)V >

Re: REG: Version stability of Tomcat 9.0.96

2025-02-07 Thread Mark Thomas
If the applications contain JSPs precompiled against an earlier version of Tomact 9 there is no solution that will enable them to work with 9.0.96 short of rebuilding and precompiling against 9.0.96 or later. If they have not been precompiled then: - stop Tomact - empty work directory - start T

Re: Reg: Tomcat temp file deletion

2025-02-07 Thread Mark Thomas
On 06/02/2025 19:25, Jalaj Asher wrote: Hello, Is it ok to delete files from tomcat/temp folder while the tomcat is running ? Generally, no. There are instances where that will break things. It may be possible to delete some files safely - although that begs the question why isn't Tomcat del