Re: tomcat 11 tomcat-util.jar is contains a soon to be removed class

2025-04-25 Thread Christopher Schultz
Rick, On 4/24/25 10:47 AM, Rick Noel wrote: Hello, When I upgraded to tomcat 11.0.5 and Java 24, Tomcat log gives this warning.. WARNING: A terminally deprecated method in sun.misc.Unsafe has been called WARNING: sun.misc.Unsafe::invokeCleaner has been called by org.apache.tomcat.util

RE: Tomcat 9.0.104 Crashing at Startup on RHEL 8.4

2025-04-21 Thread RAY, DAVID
On 4/17/25 4:56 PM, Mark Thomas wrote: > On 17/04/2025 20:32, RAY, DAVID wrote: >>> I updated from Tomcat 9.0.102 to 9.0.104 on two RHEL servers.  Both >>> are 'crashing' at startup after the update.    Version 9.0.102 and >>> prior versions ran fine.  No issues.  Version 9.0.104 is crashing at

Re: Tomcat 9.0.104 Crashing at Startup on RHEL 8.4

2025-04-20 Thread Christopher Schultz
Mark, On 4/17/25 4:56 PM, Mark Thomas wrote: On 17/04/2025 20:32, RAY, DAVID wrote: I updated from Tomcat 9.0.102 to 9.0.104 on two RHEL servers.  Both are 'crashing' at startup after the update.    Version 9.0.102 and prior versions ran fine.  No issues.  Version 9.0.104 is crashing at start

RE: Tomcat 9.0.104 Crashing at Startup on RHEL 8.4

2025-04-17 Thread RAY, DAVID
-Original Message- From: Mark Thomas Sent: Thursday, April 17, 2025 3:57 PM To: users@tomcat.apache.org Subject: Re: Tomcat 9.0.104 Crashing at Startup on RHEL 8.4 On 17/04/2025 20:32, RAY, DAVID wrote: > I updated from Tomcat 9.0.102 to 9.0.104 on two RHEL servers. Both

Re: Tomcat 9.0.104 Crashing at Startup on RHEL 8.4

2025-04-17 Thread Mark Thomas
On 17/04/2025 20:32, RAY, DAVID wrote: I updated from Tomcat 9.0.102 to 9.0.104 on two RHEL servers. Both are 'crashing' at startup after the update.Version 9.0.102 and prior versions ran fine. No issues. Version 9.0.104 is crashing at startup. Any suggestions much appreciated: That

Re: Tomcat 11 catalina.policy file removed

2025-04-16 Thread Rémy Maucherat
On Wed, Apr 16, 2025 at 9:14 AM S Abirami wrote: > > Hi All, > > After upgrading to Tomcat 11, I noticed Catalina.policy file removed from the > tomcat. > I haven't see any specific documentation regarding it in tomcat release note, > migration guide etc. The security manager support has been r

Re: Tomcat Clustering Roadmap And Max Node Limit

2025-04-09 Thread Mark Thomas
On 08/04/2025 00:27, Tim N wrote: Thanks for clarifying that. Does BackupManager support auto-scaling Yes, if you use a cluster membership mechanism that allows that. and cycled restarts of all nodes (for web-app upgrades) without losing the user's session? Yes, but you need to trigger the

Re: Tomcat Clustering Roadmap And Max Node Limit

2025-04-07 Thread Tim N
Thanks for clarifying that. Does BackupManager support auto-scaling and cycled restarts of all nodes (for web-app upgrades) without losing the user's session? If the backup node is restarted...the backup is lost isn't it? On Fri, Apr 4, 2025 at 8:23 PM Mark Thomas wrote: > On 04/04/2025 02:42, C

Re: Tomcat Clustering Roadmap And Max Node Limit

2025-04-04 Thread Mark Thomas
On 04/04/2025 02:42, Chuck Caldarale wrote: On 2025 Apr 3, at 19:57, Tim N wrote: For a long time up to the latest version 11 documentation, there has been a recommended maximum limit of 4 nodes per cluster. https://tomcat.apache.org/tomcat-11.0-doc/cluster-howto.html "This works great for s

Re: Tomcat Clustering Roadmap And Max Node Limit

2025-04-03 Thread Chuck Caldarale
> On 2025 Apr 3, at 19:57, Tim N wrote: > > For a long time up to the latest version 11 documentation, there has been a > recommended maximum limit of 4 nodes per cluster. > > https://tomcat.apache.org/tomcat-11.0-doc/cluster-howto.html > "This works great for smaller clusters, but we don't re

Re: Tomcat Clustering Roadmap And Max Node Limit

2025-04-03 Thread r . barclay
Hi Tim, If you have an HTTP load balancer that supports "sticky sessions", you can have a cluster of as many Tomcat instances as you like as backend, without having to rely on any clustering feature of Tomcat. Yours, Reg > Gesendet: Freitag, den 04.04.2025 um 02:57 Uhr > Von: "Tim N" > An: "

Re: Tomcat 10.1 Upgrade & Uber JAR Error

2025-04-03 Thread Mark Thomas
On 03/04/2025 05:34, Tim N wrote: That should have been Looks like this last worked Tomcat v10.1.20 and first failed v10.1.23 ...and now looks like this was first fixed again in v10.1.39 Any ideas why? It suggests that the JasperInitializer was not trigger on start. If not a packaging issu

Re: Tomcat 10.1 Upgrade & Uber JAR Error

2025-04-02 Thread Tim N
That should have been > Looks like this last worked Tomcat v10.1.20 and first failed v10.1.23 ...and now looks like this was first fixed again in v10.1.39 Any ideas why? On Sat, Feb 8, 2025 at 6:36 AM Tim N wrote: > Looks like this last worked Tomcat v10.1.20 and first failed v19.1.23 > > On F

RE: [EXT]Re: tomcat 11.0.5 multi-part configuration error

2025-03-28 Thread Rick Noel
> > > > jsp > *.jsp > *.jspx > *.vpp > *.vsp > Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Rémy Maucherat Sent: Friday, March 28, 2025 10:56 AM To: Tomcat Users List

Re: tomcat 11.0.5 multi-part configuration error

2025-03-28 Thread Rémy Maucherat
On Fri, Mar 28, 2025 at 3:28 PM Rick Noel wrote: > > We recently went from an error free tomcat 10 to the latest tomcat 11.0.5 > And now we get a muiti-part configuration error happening. > > The exact error message is this.. > > org.apache.catalina.core.ApplicationDispatcher.invoke Serv

Re: Tomcat not releasing connector port at shutdown

2025-03-20 Thread James H. H. Lampert
On 3/20/25 9:00 AM, Christopher Schultz wrote: Is the process still running? My guess is that the old process is never actually stopping. FWIW: I've experienced that situation (i.e., the Tomcat server jobs lingering after being told to shut down) on IBM Midrange boxes enough times that I wro

Re: Tomcat not releasing connector port at shutdown

2025-03-20 Thread Christopher Schultz
Jason, On 3/19/25 1:53 PM, Jason Countryman wrote: Hello, I'm using Tomcat 10.1.34 on Debian Bookworm. I have a multiple CATALINA_HOME one CATALINA_BASE configuration, which works perfectly, most of the time. There are 4 CATALINA_HOME setups. The issue is that one of these CATALINA_BASE se

Re: Tomcat 9.0.98 Performance hits AWS 100% CPU

2025-03-12 Thread Christopher Schultz
Timothy, On 3/12/25 1:00 PM, Timothy Resh wrote: Thanks for your input on this issue. I have additional information on this. What would happen if the temp directory gets this size of 38000 Files and 1.6GB of data? Has anyone seen tomcat slow down because of temp directory size? I don't bel

Re: Tomcat 9.0.98 Performance hits AWS 100% CPU

2025-03-12 Thread Timothy Resh
Thanks for your input on this issue. I have additional information on this. What would happen if the temp directory gets this size of 38000 Files and 1.6GB of data? Has anyone seen tomcat slow down because of temp directory size? On Sun, Mar 9, 2025 at 1:01 PM Suvendu Sekhar Mondal wrote:

Re: Tomcat 9 on Debian 12

2025-03-11 Thread Dimitris Soumis
On Tue, Mar 11, 2025 at 8:04 PM Jason Bailey wrote: > I see /etc/tomcat9/server.xml and /usr/share/tomcat9/etc/server.xml. > Both have an entry like this: > > type="org.apache.catalina.UserDatabase" >description="User database that can be updated and saved" >

Re: Tomcat 9 on Debian 12

2025-03-11 Thread Chuck Caldarale
> On 2025 Mar 11, at 12:54, Jason Bailey > wrote: > > I see /etc/tomcat9/server.xml and /usr/share/tomcat9/etc/server.xml. That seems wrong - there should not be two instances of the server.xml file. Looks like the Debian repackaging of Tomcat has done something silly. > Both have an entry

Re: Tomcat 9 on Debian 12

2025-03-11 Thread Jason Bailey
I see /etc/tomcat9/server.xml and /usr/share/tomcat9/etc/server.xml. Both have an entry like this: So does that mean the tomcat-users.xml file should be in a subdirectory named 'conf'? In other words, '/etc/tomcat9/conf/tomcat-users.xml'? Also, in /usr/share/tomcat9-admin/host-manager/WEB-

Re: Tomcat 9 on Debian 12

2025-03-10 Thread Chuck Caldarale
> On 2025 Mar 10, at 18:06, Jason Bailey > wrote: > > I'm running Tomcat 9 on Debian 12 to run Apache Guacamole and am trying > to get the tomcat-users.xml file to take so that I can manage the > service from the Tomcat Manager. So far I have not had luck getting the > login dialog to the manag

Re: Tomcat 9.0.98 Performance hits AWS 100% CPU

2025-03-09 Thread Suvendu Sekhar Mondal
Hi Timothy, Since you are running Tomcat on Windows Server 2016, I'll suggest to capture OS level CPU utilization by threads and then tally them with the threads in Java thread dumps to identify the cause. Run Process Explorer as an administrator. Right-click the process, select Properties, and t

Re: Tomcat 9.0.98 Performance hits AWS 100% CPU

2025-03-07 Thread Christopher Schultz
Chuck, On 3/7/25 5:38 PM, Chuck Caldarale wrote: On 2025 Mar 7, at 16:06, Timothy Resh wrote: Dear Apache Support Team, I'm running Tomcat 9.0.98 in the AWS Cloud. After several days of use, we see that the CPU utilization eventually reaches 100% in the Cloud, but when we RDP into the Serve

Re: Tomcat 9.0.98 Performance hits AWS 100% CPU

2025-03-07 Thread Chuck Caldarale
> On 2025 Mar 7, at 16:06, Timothy Resh wrote: > > Dear Apache Support Team, > > I'm running Tomcat 9.0.98 in the AWS Cloud. After several days of use, we > see that the CPU utilization eventually reaches 100% in the Cloud, but when > we RDP into the Server and look at the Task Manager, we do

Re: tomcat 10.1.33 random rare 500 response status for http2 upgrade with tls

2025-02-28 Thread Cenk Pekyaman
On Wed, Feb 26, 2025 at 5:31 PM Mark Thomas wrote: > On 26/02/2025 12:04, Mark Thomas wrote: > > On 26/02/2025 08:16, Mark Thomas wrote: > >> On 13/02/2025 10:04, Rémy Maucherat wrote: > >>> On Thu, Feb 13, 2025 at 9:41 AM Cenk Pekyaman > >>> wrote: > > We run tomcat on java17 with the

Re: tomcat 10.1.33 random rare 500 response status for http2 upgrade with tls

2025-02-26 Thread Mark Thomas
On 26/02/2025 12:04, Mark Thomas wrote: On 26/02/2025 08:16, Mark Thomas wrote: On 13/02/2025 10:04, Rémy Maucherat wrote: On Thu, Feb 13, 2025 at 9:41 AM Cenk Pekyaman wrote: We run tomcat on java17 with the embedded tomcat setup. We have http and https connectors and we have http2 upgradeP

RE: Tomcat 10.1.36 Configuration Question: Client Certificate(s) missing from servlet request object

2025-02-26 Thread Chris Evans
Thanks for the help. Best regards, Chris Evans -Original Message- From: Christopher Schultz Sent: Wednesday, February 26, 2025 7:38 AM To: users@tomcat.apache.org Subject: Re: Tomcat 10.1.36 Configuration Question: Client Certificate(s) missing from servlet request object Robert

Re: Tomcat 10.1.36 Configuration Question: Client Certificate(s) missing from servlet request object

2025-02-26 Thread Christopher Schultz
Robert, On 2/25/25 5:59 PM, Robert Turner wrote: Tomcat 10.x uses the jakarta versions of the API, and I believe all the attributes have been renamed: "javax.servlet.request.X509Certificate" -> "jakarta.servlet.request.X509Certificate" +1 This is documented in Jakarta Servlet Specification[1

Re: tomcat 10.1.33 random rare 500 response status for http2 upgrade with tls

2025-02-26 Thread Mark Thomas
On 26/02/2025 08:16, Mark Thomas wrote: On 13/02/2025 10:04, Rémy Maucherat wrote: On Thu, Feb 13, 2025 at 9:41 AM Cenk Pekyaman wrote: We run tomcat on java17 with the embedded tomcat setup. We have http and https connectors and we have http2 upgradeProtocol for both. We recently upgraded f

Re: tomcat 10.1.33 random rare 500 response status for http2 upgrade with tls

2025-02-26 Thread Mark Thomas
On 13/02/2025 10:04, Rémy Maucherat wrote: On Thu, Feb 13, 2025 at 9:41 AM Cenk Pekyaman wrote: We run tomcat on java17 with the embedded tomcat setup. We have http and https connectors and we have http2 upgradeProtocol for both. We recently upgraded from 9.0.88 to 10.1.24 to work on javax to

Re: Tomcat 10.1.36 Configuration Question: Client Certificate(s) missing from servlet request object

2025-02-25 Thread Robert Turner
Tomcat 10.x uses the jakarta versions of the API, and I believe all the attributes have been renamed: "javax.servlet.request.X509Certificate" -> "jakarta.servlet.request.X509Certificate" Give that a quick try... On Tue, Feb 25, 2025 at 4:45 PM Chris Evans wrote: > > Hello, > > I need assistan

Re: tomcat 10.1.33 random rare 500 response status for http2 upgrade with tls

2025-02-21 Thread Cenk Pekyaman
On Thu, Feb 13, 2025 at 11:05 AM Rémy Maucherat wrote: > On Thu, Feb 13, 2025 at 9:41 AM Cenk Pekyaman > wrote: > > > > We run tomcat on java17 with the embedded tomcat setup. > > We have http and https connectors and we have http2 upgradeProtocol for > > both. > > > > We recently upgraded from

Re: tomcat 10.1.33 random rare 500 response status for http2 upgrade with tls

2025-02-13 Thread Rémy Maucherat
On Thu, Feb 13, 2025 at 9:41 AM Cenk Pekyaman wrote: > > We run tomcat on java17 with the embedded tomcat setup. > We have http and https connectors and we have http2 upgradeProtocol for > both. > > We recently upgraded from 9.0.88 to 10.1.24 to work on javax to jakarta > migration, and after a wh

Re: tomcat 10.1.33 random rare 500 response status for http2 upgrade with tls

2025-02-13 Thread Cenk Pekyaman
On Thu, Feb 13, 2025 at 9:58 AM Rainer Jung wrote: > Am 13.02.25 um 09:40 schrieb Cenk Pekyaman: > ... > > > We can reproduce the issue somewhat reliably with the reproducer setup we > > have in https://github.com/cpekyaman/java-server-http2-test. > > The odd part is we could only reproduce it wi

Re: tomcat 10.1.33 random rare 500 response status for http2 upgrade with tls

2025-02-13 Thread Rainer Jung
Am 13.02.25 um 09:40 schrieb Cenk Pekyaman: ... We can reproduce the issue somewhat reliably with the reproducer setup we have in https://github.com/cpekyaman/java-server-http2-test. The odd part is we could only reproduce it with certain clients reliably, with go and curl (we include go client

Re: Tomcat `11.0.3` embedded fails to start with `InaccessibleObjectException`

2025-02-11 Thread David P. Caldwell
Note that I am experiencing this with Tomcat 9.0.99. So it seems the recent point releases are all affected. On Tue, Feb 11, 2025 at 12:56 PM David P. Caldwell wrote: > > Also experiencing this with Java 17. but not Java 8, 11, or 21. > > Example run: > https://github.com/davidpcaldwell/slime/ac

Re: Tomcat `11.0.3` embedded fails to start with `InaccessibleObjectException`

2025-02-11 Thread David P. Caldwell
Also experiencing this with Java 17. but not Java 8, 11, or 21. Example run: https://github.com/davidpcaldwell/slime/actions/runs/13268650799/job/37043056764 - David. On Tue, Feb 11, 2025 at 11:23 AM Daniel Skiles wrote: > > I'm seeing the same thing in tomcat 10.1.35 with openjdk version "17.

Re: Tomcat `11.0.3` embedded fails to start with `InaccessibleObjectException`

2025-02-11 Thread Daniel Skiles
I was able to work around it on 17.0.13 by adding --add-opens=java.base/ java.io=ALL-UNNAMED to my startup script. On Tue, Feb 11, 2025 at 11:23 AM Daniel Skiles wrote: > I'm seeing the same thing in tomcat 10.1.35 with openjdk version "17.0.13" > 2024-10-15 > > On Tue, Feb 11, 2025 at 8:00 AM C

Re: Tomcat `11.0.3` embedded fails to start with `InaccessibleObjectException`

2025-02-11 Thread Daniel Skiles
I'm seeing the same thing in tomcat 10.1.35 with openjdk version "17.0.13" 2024-10-15 On Tue, Feb 11, 2025 at 8:00 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > Jack, > > On 2/11/25 5:56 AM, Jack Green wrote: > > When you try to start `11.0.3` via: > > ``` > > new Tomcat(); > >

Re: Tomcat 11 and JDK 17 Upgraded from Tomcat 9 & JDK 8

2025-02-11 Thread Christopher Schultz
Maucherat Sent: Monday, February 10, 2025 4:20 PM To: Tomcat Users List Subject: Re: Tomcat 11 and JDK 17 Upgraded from Tomcat 9 & JDK 8 On Mon, Feb 10, 2025 at 11:41 AM S Abirami wrote: Hi Remm, Our application uses both standalone and Embedded Tomcat. Hence pointing all the Standalon

Re: Tomcat `11.0.3` embedded fails to start with `InaccessibleObjectException`

2025-02-11 Thread Christopher Schultz
Jack, On 2/11/25 5:56 AM, Jack Green wrote: When you try to start `11.0.3` via: ``` new Tomcat(); ``` An error is thrown: ``` Exception in thread "main" java.lang.ExceptionInInitializerError at TomcatReproducer.main(TomcatReproducer.java:6) Caused by: java.lang.reflect.InaccessibleObjec

RE: Tomcat 11 and JDK 17 Upgraded from Tomcat 9 & JDK 8

2025-02-10 Thread S Abirami
sage- From: Rémy Maucherat Sent: Monday, February 10, 2025 4:20 PM To: Tomcat Users List Subject: Re: Tomcat 11 and JDK 17 Upgraded from Tomcat 9 & JDK 8 On Mon, Feb 10, 2025 at 11:41 AM S Abirami wrote: > > Hi Remm, > > Our application uses both standalone and Embedded Tomcat

Re: Tomcat 11 and JDK 17 Upgraded from Tomcat 9 & JDK 8

2025-02-10 Thread Rémy Maucherat
gt; Regards, > Abirami.S > > -Original Message- > From: Rémy Maucherat > Sent: Monday, February 10, 2025 3:38 PM > To: Tomcat Users List > Subject: Re: Tomcat 11 and JDK 17 Upgraded from Tomcat 9 & JDK 8 > > On Mon, Feb 10, 2025 at 10:46 AM S Abirami > wrote: &

RE: Tomcat 11 and JDK 17 Upgraded from Tomcat 9 & JDK 8

2025-02-10 Thread S Abirami
, 2025 3:38 PM To: Tomcat Users List Subject: Re: Tomcat 11 and JDK 17 Upgraded from Tomcat 9 & JDK 8 On Mon, Feb 10, 2025 at 10:46 AM S Abirami wrote: > > Hi , > > I am using a embedded tomcat while the below mentioned exception is > thrown when starting the Embedded

Re: Tomcat 11 and JDK 17 Upgraded from Tomcat 9 & JDK 8

2025-02-10 Thread Rémy Maucherat
On Mon, Feb 10, 2025 at 10:46 AM S Abirami wrote: > > Hi , > > I am using a embedded tomcat while the below mentioned exception is thrown > when starting the Embedded tomcat server when upgrading > To Tomcat 11 and JDK 17 Upgraded from Tomcat 9 & JDK 8 This is debug logging, so no problem. Howev

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: Tomcat 10 usage and necessity of --add-opens

2025-01-24 Thread Mark Thomas
On 24/01/2025 09:45, anand raj wrote: Hi all, is memory leak detection not optional ? Memory leak prevention and detection is optional but enabled by default. Also does adding --add-opens pose any security risk or concern ? That would be for you to judge given your environment. Mark On

Re: Tomcat 10 usage and necessity of --add-opens

2025-01-24 Thread anand raj
Hi all, is memory leak detection not optional ? Also does adding --add-opens pose any security risk or concern ? On Thu, 23 Jan, 2025, 8:25 pm Mark Thomas, wrote: > On 23/01/2025 14:42, anand raj wrote: > > Hi all, > > > > In Tomcat 10 there is --add-opens added default and does this mean Tomcat

Re: Tomcat 10 usage and necessity of --add-opens

2025-01-23 Thread Mark Thomas
On 23/01/2025 14:42, anand raj wrote: Hi all, In Tomcat 10 there is --add-opens added default and does this mean Tomcat required to access these. Yes. Also document information on what all are accessed which requires these will be helpful. Generally to implement the memory leak detection

Re: Tomcat Virtual Threads Performance

2025-01-21 Thread Christopher Schultz
nuary 21, 2025 11:32 AM To: Tomcat Users List Subject: Re: Tomcat Virtual Threads Performance Hi Maxim, https://postimg.cc/N9n8CQW7 there you go! Do let me know if it's not up :) Regards Andy On Tue, Jan 21, 2025 at 6:30 PM Maxim Solodovnik wrote: your image was dropped :(( please use

Re: Tomcat Virtual Threads Performance

2025-01-21 Thread Mark Thomas
uesday, January 21, 2025 11:32 AM To: Tomcat Users List Subject: Re: Tomcat Virtual Threads Performance Hi Maxim, https://postimg.cc/N9n8CQW7 there you go! Do let me know if it's not up :) Regards Andy On Tue, Jan 21, 2025 at 6:30 PM Maxim Solodovnik wrote: your image was dropped :(( p

RE: Tomcat Virtual Threads Performance

2025-01-21 Thread joan.balaguero
List Subject: Re: Tomcat Virtual Threads Performance Hi Maxim, https://postimg.cc/N9n8CQW7 there you go! Do let me know if it's not up :) Regards Andy On Tue, Jan 21, 2025 at 6:30 PM Maxim Solodovnik wrote: > your image was dropped :(( > please use some image image service and prov

Re: Tomcat Virtual Threads Performance

2025-01-21 Thread Owner
Hi Maxim, https://postimg.cc/N9n8CQW7 there you go! Do let me know if it's not up :) Regards Andy On Tue, Jan 21, 2025 at 6:30 PM Maxim Solodovnik wrote: > your image was dropped :(( > please use some image image service and provide the URL here :)) > > On Tue, 21 Jan 2025 at 16:40, Owner wr

Re: Tomcat Virtual Threads Performance

2025-01-21 Thread Maxim Solodovnik
your image was dropped :(( please use some image image service and provide the URL here :)) On Tue, 21 Jan 2025 at 16:40, Owner wrote: > Hey Tomcat, > > Andy here. I'm not sure if this is the place to ask this question, but I > wanted to check regarding performances of virtual threads vs using a

Re: Tomcat 9 to Tomcat 10 SSLHostConfig issue in Embedded Tomcat

2025-01-10 Thread Christopher Schultz
ill be used. " So I think you will get "changeit" as your default password if you don't call setCertificateKeystorePassword. -chris -Original Message- From: Christopher Schultz Sent: Thursday, January 9, 2025 11:40 PM To: users@tomcat.apache.org Subject: Re: Tomcat 9 to T

Re: Tomcat 9 to Tomcat 10 SSLHostConfig issue in Embedded Tomcat

2025-01-09 Thread Maxim Solodovnik
d verification > failed > at > sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:792) > ... 28 more > > Regards, > Abirami.S > -Original Message- > From: Christopher Schultz > Sent: Thursday, January 9, 2025 11:40 PM > To: users@to

RE: Tomcat 9 to Tomcat 10 SSLHostConfig issue in Embedded Tomcat

2025-01-09 Thread S Abirami
sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:792) ... 28 more Regards, Abirami.S -Original Message- From: Christopher Schultz Sent: Thursday, January 9, 2025 11:40 PM To: users@tomcat.apache.org Subject: Re: Tomcat 9 to Tomcat 10 SSLHostConfig issue in Embedded Tomcat Abirami

Re: Tomcat 9 to Tomcat 10 SSLHostConfig issue in Embedded Tomcat

2025-01-09 Thread Christopher Schultz
Abirami, On 1/9/25 6:57 AM, S Abirami wrote: After migrating from Tomcat 9 to Tomcat 10, there is an error to introduce SSLHostConfig. Introduced SSLHostConfig with Keystorefile and KeystorePassword as mentioned below is not working and throwing error with file is tampered. SSLHostConfig sslH

RE: Tomcat 10.1.34 log messages

2024-12-19 Thread joan.balaguero
Perfect Mark, thanks. -Original Message- From: Mark Thomas Sent: Thursday, December 19, 2024 5:12 PM To: users@tomcat.apache.org Subject: Re: Tomcat 10.1.34 log messages Hi Joan, Thanks for the extra information. I can see several legitimate ways the NPE might happen. I've ad

Re: Tomcat 10.1.34 log messages

2024-12-19 Thread Mark Thomas
y, December 15, 2024 3:15 PM To: users@tomcat.apache.org Subject: Re: Tomcat 10.1.34 log messages On 13/12/2024 11:00, joan.balagu...@ventusproxy.com wrote: Hi Mark, Which version did you migrate from? 10.1.30 How often do you see these messages? Hardly ever, maybe a dozen of times ... we ha

Re: Tomcat 11 mutlipart strict configuration problem

2024-12-17 Thread anand raj
Thanks for replies yes we do have mismatch using jaxrs-Jersey Api and Tomcat Filter causes issues so when choose to use Jersey filters it works fine and makes sense after seeing the responses. On Tue, 17 Dec, 2024, 12:51 am Christopher Schultz, < ch...@christopherschultz.net> wrote: > Mark, > > O

Re: Tomcat 11 mutlipart strict configuration problem

2024-12-16 Thread Christopher Schultz
Mark, On 12/16/24 5:52 AM, Mark Thomas wrote: On 16/12/2024 10:10, anand raj wrote: Hi all, In Tomcat 11 a jersey Api multipart-formdata is registered with Multipart feature.Also an inbound filter in front reading request.getparamater fails with "unable to process parts as no multi-part conf

Re: Tomcat 11 mutlipart strict configuration problem

2024-12-16 Thread Mark Thomas
On 16/12/2024 10:10, anand raj wrote: Hi all, In Tomcat 11 a jersey Api multipart-formdata is registered with Multipart feature.Also an inbound filter in front reading request.getparamater fails with "unable to process parts as no multi-part configuration has been provided." In Tomcat 11 it fail

RE: Tomcat 10.1.34 log messages

2024-12-15 Thread joan.balaguero
Hi Mark, No, I'm not using TLS but yes, I'm using async servlet with non-blocking io (read and write listeners). Thanks, Joan. -Original Message- From: Mark Thomas Sent: Sunday, December 15, 2024 3:15 PM To: users@tomcat.apache.org Subject: Re: Tomcat 10.1.34 log messages

Re: Tomcat 10.1.34 log messages

2024-12-15 Thread Mark Thomas
On 13/12/2024 11:00, joan.balagu...@ventusproxy.com wrote: Hi Mark, Which version did you migrate from? 10.1.30 How often do you see these messages? Hardly ever, maybe a dozen of times ... we have millions of daily requests Do they correlate with any particular (failed?) request. No I don't h

RE: Tomcat 10.1.34 log messages

2024-12-13 Thread joan.balaguero
trace (NullPointerException) is new, the second one (Warning) was also occurring in 10.1.30 Best, Joan. -Original Message- From: Mark Thomas Sent: Wednesday, December 11, 2024 9:57 AM To: users@tomcat.apache.org Subject: Re: Tomcat 10.1.34 log messages On 11/12/2024 08:36, joan.b

Re: Tomcat 10.1.34 log messages

2024-12-11 Thread Christopher Schultz
Mark, On 12/11/24 3:57 AM, Mark Thomas wrote: On 11/12/2024 08:36, joan.balagu...@ventusproxy.com wrote: Hello, After migrating to Tomcat 10.1.34, I see these messages on the tomcat log. It's not affecting our application at all, I paste them below just for your information. Which versio

Re: Tomcat 10.1.34 log messages

2024-12-11 Thread Mark Thomas
On 11/12/2024 08:36, joan.balagu...@ventusproxy.com wrote: Hello, After migrating to Tomcat 10.1.34, I see these messages on the tomcat log. It's not affecting our application at all, I paste them below just for your information. Which version did you migrate from? How often do you see t

Re: [Tomcat] nashorn on jdk17 in tomcat 11

2024-11-24 Thread Alex O'Ree
So i got nashorn to fire up with the simplest possible configuration possible on jdk17 with tomcat11. I then compared the working environment to to environment that i have the issue on. I basically rigged up tomcat to use log4j2 for logging across the board. That required a smallish change to the s

Re: [Tomcat] nashorn on jdk17 in tomcat 11

2024-11-22 Thread Leroy Mims
Did you try this? https://stackoverflow.com/questions/74025622/how-to-add-the-nashorn-module-to-tomcat-10 On Fri, Nov 22, 2024 at 12:37 PM Alex O'Ree wrote: > I do not, checked that already. I'm in the process of bisecting the > dependency chain to see what's causing the issue. > > On Fri, Nov

Re: [Tomcat] nashorn on jdk17 in tomcat 11

2024-11-22 Thread Alex O'Ree
I do not, checked that already. I'm in the process of bisecting the dependency chain to see what's causing the issue. On Fri, Nov 22, 2024 at 7:46 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > Alex, > > On 11/21/24 12:14 PM, Alex O'Ree wrote: > > could not initialize class > > o

Re: [Tomcat] nashorn on jdk17 in tomcat 11

2024-11-22 Thread Christopher Schultz
Alex, On 11/21/24 12:14 PM, Alex O'Ree wrote: could not initialize class org.openjdk.nashborn.internal.runtime.linker.Bootstrap due to classdef not found. However the jar is in place (loaded via the webapp's WEB-INF/lib... so it should be on the classpath. Interestingly, i did attempt to make a

Re: [Tomcat] nashorn on jdk17 in tomcat 11

2024-11-21 Thread Alex O'Ree
could not initialize class org.openjdk.nashborn.internal.runtime.linker.Bootstrap due to classdef not found. However the jar is in place (loaded via the webapp's WEB-INF/lib... so it should be on the classpath. Interestingly, i did attempt to make a simple reproducible example that can be shared a

Re: [Tomcat] nashorn on jdk17 in tomcat 11

2024-11-21 Thread Christopher Schultz
Alex, On 11/21/24 7:14 AM, Alex O'Ree wrote: I'm running into a bit of a strange problem with attempting to get a nashorn script working on jdk17 in tomcat 11. it works fine outside of tomcat but always fails to start inside tomcat. Wow, I haven't heard the name Nashorn in forever. I suspect

RE: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Mcalexander, Jon J.
Thanks, we aren’t allowed to until you guys fully release. 😊 From: Christopher Schultz Sent: Thursday, November 7, 2024 4:54 PM To: users@tomcat.apache.org Subject: Re: Tomcat Service(s) on Windows, Procmon question Jon, On 11/7/24 17: 37, Mcalexander, Jon J. wrote: > Thank you. ☹ You co

Re: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Christopher Schultz
Rob, On 11/7/24 17:54, Rob Sargent wrote: Thanks for this information Chris. I can probably create this dependency, but then I wouldn’t want it to be running all the time, will having it as a dependency start said service? I could use Procrun to probably do this service, but then how do I te

Re: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Rob Sargent
Thanks for this information Chris. I can probably create this dependency, but then I wouldn’t want it to be running all the time, will having it as a dependency start said service? I could use Procrun to probably do this service, but then how do I tell it to run and then stop? I honestly ha

Re: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Christopher Schultz
Jon, On 11/7/24 17:37, Mcalexander, Jon J. wrote: Thank you. ☹ You could grab the just-rolled 9.0.97. It's already got 2 +1 votes. -chris From: Christopher Schultz Sent: Thursday, November 7, 2024 4:16 PM To: users@tomcat.apache.org Subject: Re: Tomcat Service(s) on Windows, Pr

RE: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Mcalexander, Jon J.
Thank you. ☹ From: Christopher Schultz Sent: Thursday, November 7, 2024 4:16 PM To: users@tomcat.apache.org Subject: Re: Tomcat Service(s) on Windows, Procmon question Jon, On 11/7/24 14: 53, Mcalexander, Jon J. wrote: > Sorry to top-reply, but does this regression exist in 10. 1. 31 as w

Re: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Christopher Schultz
Jon, On 11/7/24 14:29, Mcalexander, Jon J. wrote: From: Christopher Schultz Sent: Thursday, November 7, 2024 1:16 PM To: users@tomcat.apache.org Subject: Re: Tomcat Service(s) on Windows, Procmon question Jon, On 11/7/24 13: 08, Mcalexander, Jon J. wrote: > Happy Thursday everybody, >

Re: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Christopher Schultz
Jon, On 11/7/24 14:53, Mcalexander, Jon J. wrote: Sorry to top-reply, but does this regression exist in 10.1.31 as well, or only 9.0.96? It's all of the October releases :/ -chris From: Christopher Schultz Sent: Thursday, November 7, 2024 1:16 PM To: users@tomcat.apache.org Subjec

RE: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Mcalexander, Jon J.
From: david w Sent: Thursday, November 7, 2024 2:09 PM To: Tomcat Users List Subject: Re: Tomcat Service(s) on Windows, Procmon question Sent: Thursday, November 7, 2024 8: 53 PM To: Tomcat Users List Subject: RE: Tomcat Service(s) on Windows, Procmon

Re: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread david w
Sent: Thursday, November 7, 2024 8:53 PM To: Tomcat Users List Subject: RE: Tomcat Service(s) on Windows, Procmon question Sorry to top-reply, but does this regression exist in 10.1.31 as well, or only 9.0.96? From: Christopher Schultz Sent: Thursday

RE: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Mcalexander, Jon J.
Sorry to top-reply, but does this regression exist in 10.1.31 as well, or only 9.0.96? From: Christopher Schultz Sent: Thursday, November 7, 2024 1:16 PM To: users@tomcat.apache.org Subject: Re: Tomcat Service(s) on Windows, Procmon question Jon, On 11/7/24 13: 08, Mcalexander, Jon J. wrote

RE: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Mcalexander, Jon J.
From: Christopher Schultz Sent: Thursday, November 7, 2024 1:16 PM To: users@tomcat.apache.org Subject: Re: Tomcat Service(s) on Windows, Procmon question Jon, On 11/7/24 13: 08, Mcalexander, Jon J. wrote: > Happy Thursday everybody, > > I have a question around starting a Tomca

Re: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Christopher Schultz
Jon, On 11/7/24 13:08, Mcalexander, Jon J. wrote: Happy Thursday everybody, I have a question around starting a Tomcat Service Instance on Windows servers. Is there a way to have the Tomcat Startup kick off a script before starting that will clear the contents of the workDir (Clear the cache

RE: Tomcat logging.properties AsyncFileHandler

2024-11-07 Thread Mcalexander, Jon J.
Thank you Chuck! From: Chuck Caldarale Sent: Wednesday, November 6, 2024 6:22 PM To: Tomcat Users List Subject: Re: Tomcat logging.properties AsyncFileHandler > On Nov 6, 2024, at 17: 12, Mcalexander, Jon J. com. invalid> wrote: > > Question kind people, > > Is there ANY

Re: Tomcat logging.properties AsyncFileHandler

2024-11-06 Thread Chuck Caldarale
> On Nov 6, 2024, at 17:12, Mcalexander, Jon J. > wrote: > > Question kind people, > > Is there ANY AsyncFileHandler property that can handle a MaxSize directive to > specify the size of the Catalina.out file for log rotation purposes? I see > that there appears to be a MaxDays, but we woul

Re: Tomcat 10.1 STIGing

2024-10-29 Thread Christopher Schultz
Mark, On 10/29/24 04:03, Mark Thomas wrote: On 28/10/2024 21:44, Leroy Mims wrote: My place of work prefers DISA STIGed software. I contacted DISA about STIGs for Tomcat 10.1 and they said that the organization that produces the software has to request that it be STIGed. The idea of applyingTo

Re: Tomcat 10.1 STIGing

2024-10-29 Thread Mark Thomas
On 28/10/2024 21:44, Leroy Mims wrote: My place of work prefers DISA STIGed software. I contacted DISA about STIGs for Tomcat 10.1 and they said that the organization that produces the software has to request that it be STIGed. The idea of applyingTomcat 9 STIGs to Tomcat 10.1 was rejected and DI

Re: Tomcat 9.0.96 first start throws java.lang.NullPointerException. Works in the same conditions with 9.0.91.

2024-10-28 Thread Rémy Maucherat
On Mon, Oct 28, 2024 at 11:41 AM Lucian Jurj wrote: > > > > Looking at "https-openssl-nio-9727" connector (ignoring "http-nio-9728") I > > see > > > 24-Oct-2024 12:27:14.109 INFO [main] > > org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler > > ["https-openssl-nio-9727"] > > 24-

RE: Tomcat 9.0.96 first start throws java.lang.NullPointerException. Works in the same conditions with 9.0.91.

2024-10-28 Thread Lucian Jurj
> Looking at "https-openssl-nio-9727" connector (ignoring "http-nio-9728") I see > 24-Oct-2024 12:27:14.109 INFO [main] > org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler > ["https-openssl-nio-9727"] > 24-Oct-2024 12:27:14.156 SEVERE [main] > org.apache.catalina.util.Lifecy

Re: Tomcat 9.0.96 first start throws java.lang.NullPointerException. Works in the same conditions with 9.0.91.

2024-10-25 Thread Konstantin Kolinko
пт, 25 окт. 2024 г. в 12:38, Lucian Jurj : > [skip] > > 24-Oct-2024 12:27:14.078 INFO [main] org.apache.coyote.AbstractProtocol.init > Initializing ProtocolHandler ["http-nio-9728"] > 24-Oct-2024 12:27:14.109 INFO [main] org.apache.coyote.AbstractProtocol.init > Initializing ProtocolHandler ["htt

Re: Tomcat 9.0.96 first start throws java.lang.NullPointerException. Works in the same conditions with 9.0.91.

2024-10-25 Thread Rémy Maucherat
On Fri, Oct 25, 2024 at 11:37 AM Lucian Jurj wrote: > > Thank you Rémy for your quick response. We still have a few questions for > better understanding. > > > >> 24-Oct-2024 11:53:15.217 INFO [main] > >> org.apache.catalina.startup.Catalina.load Server initialization in > >> [1871] milliseconds

RE: Tomcat 9.0.96 first start throws java.lang.NullPointerException. Works in the same conditions with 9.0.91.

2024-10-25 Thread Lucian Jurj
Thank you Rémy for your quick response. We still have a few questions for better understanding. >> 24-Oct-2024 11:53:15.217 INFO [main] >> org.apache.catalina.startup.Catalina.load Server initialization in >> [1871] milliseconds >> 24-Oct-2024 11:53:15.280 INFO [main] >> org.apache.catalina.c

Re: Tomcat 9.0.96 first start throws java.lang.NullPointerException. Works in the same conditions with 9.0.91.

2024-10-24 Thread Rémy Maucherat
On Thu, Oct 24, 2024 at 2:36 PM Lucian Jurj wrote: > > Hi, > > I've searched for a solution on wiki, web, apache pony mail lists. Tried > various experinetns to isolate the cause... but unsuccessful. I've seen this > 3 months ago with 9.0.93 then waited to more tomcat releases and retry > think

Re: Tomcat stderr/stdout to console

2024-10-22 Thread Chuck Caldarale
> On Oct 22, 2024, at 19:19, Amit Pande wrote: > > Hello all, > > I am looking for way to print certain logs from Tomcat to actual console > (stdout) instead of getting those redirected to Catalina.out (default). > > e.g. messages like below (and errors failed to deploy any application) if ca

Re: Tomcat 11 & Request Attributes

2024-10-21 Thread Mark Thomas
On 20/10/2024 02:49, Dan McLaughlin wrote: We use Shibboleth SP, which passes request attributes from Apache over AJP to Tomcat; after upgrading from Tomcat 10.1 to Tomcat 11, the request attributes aren't coming over. Does anyone know of anything that changed in Tomcat 11 that might affect requ

  1   2   3   4   5   6   7   8   9   10   >