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 10.x over 9.x

2024-07-12 Thread Rémy Maucherat
On Fri, Jul 12, 2024 at 1:04 PM Dimitris Soumis wrote: > > Hello, > > Regarding the end-of-life date for Tomcat 9.0.x, you can find the relevant > information in this link, which contains an email from the mailing list: End > of Lifecycle for Tomcat 9.0.x >

Re: Tomcat 10.x over 9.x

2024-07-12 Thread Dimitris Soumis
Hello, Regarding the end-of-life date for Tomcat 9.0.x, you can find the relevant information in this link, which contains an email from the mailing list: End of Lifecycle for Tomcat 9.0.x . As for the necessity of upgrading to Tom

Re: Tomcat 10.x over 9.x

2024-07-12 Thread i...@flyingfischer.ch
Hi https://googlethatforyou.com?q=tomcat%20lifecycle Result: https://endoflife.date/tomcat Regarding "necessity of upgrading tomcat to 10.1.x from 9.x": https://tomcat.apache.org/whichversion.html Specifically: * Apache Tomcat 9.x builds on Tomcat 8.0.x and 8.5.x and implements the Servl

RE: [EXT]Re: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-23 Thread Rick Noel
Users List Cc: Voodoo nmulcahy gmail ; Rob Kowald Subject: RE: [EXT]Re: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group Your suggestion worked Chuck, Thank you! I now see this in cat log.. 23-Apr-2024 08:30:10.969 INFO [Catalina-util

RE: [EXT]Re: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-23 Thread Rick Noel
s List Subject: [EXT]Re: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group > On Apr 22, 2024, at 18:48, Rick Noel wrote: > > So you mean we use the VM's IP as the address value below > Instead or using the value of auto

Re: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-22 Thread Chuck Caldarale
> On Apr 22, 2024, at 18:48, Rick Noel wrote: > > So you mean we use the VM's IP as the address value below > Instead or using the value of auto ? > > address="auto" >port="4001" > autoBind="100" >

RE: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-22 Thread Rick Noel
List Subject: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group > On Apr 22, 2024, at 16:33, Rick Noel wrote: > > Tomcats are two different VMs Which explains why they can’t talk to each other over 127.0.0.1. > What do you mean each contai

Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-22 Thread Chuck Caldarale
> On Apr 22, 2024, at 16:33, Rick Noel wrote: > > Tomcats are two different VMs Which explains why they can’t talk to each other over 127.0.0.1. > What do you mean each containers published IP Each VM or container will have an assigned, individual IP address so it can communicate with net

RE: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-22 Thread Rick Noel
Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Chuck Caldarale Sent: Monday, April 22, 2024 4:41 PM To: Tomcat Users List Subject: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group > On Apr 22, 2024, at 09

Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-22 Thread Chuck Caldarale
> On Apr 22, 2024, at 09:54, Rick Noel wrote: > > Could someone please explain why I am getting the error > > skipping state transfer. No members active in cluster group Need a bit more information. > On one sever the reciever is bound to > 127.0.0.1

Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-22 Thread Steve Carlsen
Would you please take me off of this list On Mon, Apr 22, 2024 at 9:01 AM Rick Noel wrote: > Hello, > > Could someone please explain why I am getting the error > > skipping state transfer. No members active in cluster group > > On one sever the reciever is bound to > 127.0.0.1:4002

Re: [EXT]Re: [EXT]Re: Tomcat 10 session replication fails

2024-04-15 Thread Christopher Schultz
om: Chuck Caldarale Sent: Saturday, April 13, 2024 4:00 PM To: Tomcat Users List Subject: [EXT]Re: [EXT]Re: Tomcat 10 session replication fails On Apr 11, 2024, at 09:07, Rick Noel wrote: We are getting closer Changing ports from the 5000 range to the 4000 range stopped two errors But now

RE: [EXT]Re: [EXT]Re: Tomcat 10 session replication fails

2024-04-15 Thread Rick Noel
er | Westwood One rn...@westwoodone.com -Original Message- From: Chuck Caldarale Sent: Saturday, April 13, 2024 4:00 PM To: Tomcat Users List Subject: [EXT]Re: [EXT]Re: Tomcat 10 session replication fails > On Apr 11, 2024, at 09:07, Rick Noel wrote: > > We are getting closer > Changing

Re: [EXT]Re: Tomcat 10 session replication fails

2024-04-13 Thread Jonathan S. Fisher
Sort of off topic, but sort of related. If you're having tremendous trouble using the built in replication methods, we built a redis based session manager: https://github.com/exabrial/redex-sm Currently redex-sm only works with Tomcat 8.5, but it wouldn't be a big leap to make it work with Tomcat

Re: [EXT]Re: Tomcat 10 session replication fails

2024-04-13 Thread Chuck Caldarale
> On Apr 11, 2024, at 09:07, Rick Noel wrote: > > We are getting closer > Changing ports from the 5000 range to the 4000 range stopped two errors > But now I get this.. > > INFO: Manager [##0001]: skipping state transfer. No members active in cluster > group > > How to I make the me

RE: [EXT]Re: Tomcat 10 session replication fails

2024-04-11 Thread Rick Noel
Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Chuck Caldarale Sent: Thursday, April 11, 2024 9:14 AM To: Tomcat Users List Subject: [EXT]Re: Tomcat 10 session replication fails [You don't often get email from n82...@gmail.com. Learn why this is impo

Re: Tomcat 10 session replication fails

2024-04-11 Thread Chuck Caldarale
> On Apr 11, 2024, at 07:56, Rick Noel wrote: > > We have our app running on Tomcat10 and doing clustering,but are getting the > following errors seen int the Catalina log... > > Apr 11, 2024 8:14:43 AM org.apache.catalina.ha.session.DeltaManager > waitForSendAllSessions > SEVERE: Manager

RE: [EXT]Re: [EXT]Re: Tomcat 10 waning that expireSessionsOnShutdown is not set

2024-03-22 Thread Rick Noel
Thanks Chuck great link to lots of good stuff Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Chuck Caldarale Sent: Thursday, March 21, 2024 4:00 PM To: Tomcat Users List Subject: [EXT]Re: [EXT]Re: Tomcat 10 waning that

Re: [EXT]Re: Tomcat 10 waning that expireSessionsOnShutdown is not set

2024-03-21 Thread Chuck Caldarale
> On Mar 21, 2024, at 14:50, Rick Noel wrote: > > Do you have a feel if DeltaManager is better than BackupManager? Depends on what your needs are. There are some presentations on the subject that you might want to look at: https://tomcat.apache.org/presentations.html ApacheCon 2018 NA: Deep

RE: [EXT]Re: Tomcat 10 waning that expireSessionsOnShutdown is not set

2024-03-21 Thread Rick Noel
Thank you Chuck Do you have a feel if DeltaManager is better than BackupManager? Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Chuck Caldarale Sent: Thursday, March 21, 2024 3:37 PM To: Tomcat Users List Subject: [EXT]Re: Tomcat 10

Re: Tomcat 10 waning that expireSessionsOnShutdown is not set

2024-03-21 Thread Chuck Caldarale
> On Mar 21, 2024, at 14:23, Rick Noel wrote: > > Could someone tell me why I would get the below waning about > expireSessionsOnShutdown not being set > > WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match > [Server/Service/Engine/Host/Cluster/Manager] failed to set

Re: tomcat 10

2023-11-08 Thread Christopher Schultz
直以来, On 11/6/23 06:25, 一直以来 wrote: What can I do to see that the request is reused, using what settings? What problem are you trying to solve? -chris -- Original -- From: Mark Thomas - To u

Re: tomcat 10

2023-11-06 Thread Mark Thomas
On 06/11/2023 06:46, 一直以来 wrote: Why do I print System. out. println (request) as different objects in the servlet for the request in tomcat10? Is the request object not reused in tomcat10? There is a pool of cached request objects. Each request is also accessed via a facade (which is probab

Re: [External]Re: Tomcat 10 on RHEL 8 with Java 17

2023-09-28 Thread Mark Thomas
Please advise, -Chris From: Christopher Bland Date: Wednesday, September 27, 2023 at 3:19 PM To: Tomcat Users List Subject: Re: [External]Re: Tomcat 10 on RHEL 8 with Java 17 Hi Thomas, I didn’t post those checks. I ran ps -ef | egrep -I ‘tomc|java’ as well as netstat -tlpn I did not see

Re: [External]Re: Tomcat 10 on RHEL 8 with Java 17

2023-09-27 Thread Christopher Bland
b:/usr/lib] Please advise, -Chris From: Christopher Bland Date: Wednesday, September 27, 2023 at 3:19 PM To: Tomcat Users List Subject: Re: [External]Re: Tomcat 10 on RHEL 8 with Java 17 Hi Thomas, I didn’t post those checks. I ran ps -ef | egrep -I ‘tomc|java’ as well as netstat -tlpn I d

Re: [External]Re: Tomcat 10 on RHEL 8 with Java 17

2023-09-27 Thread Christopher Bland
: Thomas Hoffmann (Speed4Trade GmbH) Date: Wednesday, September 27, 2023 at 2:25 PM To: Tomcat Users List Subject: AW: [External]Re: Tomcat 10 on RHEL 8 with Java 17 Hi Chris, > -Ursprüngliche Nachricht- > Von: Christopher Bland > Gesendet: Mittwoch, 27. September 2023 19:19 >

AW: [External]Re: Tomcat 10 on RHEL 8 with Java 17

2023-09-27 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hi Chris, > -Ursprüngliche Nachricht- > Von: Christopher Bland > Gesendet: Mittwoch, 27. September 2023 19:19 > An: Tomcat Users List > Betreff: Re: [External]Re: Tomcat 10 on RHEL 8 with Java 17 > > Hi Chris, > > I didn’t get the error message.

Re: [External]Re: Tomcat 10 on RHEL 8 with Java 17

2023-09-27 Thread Stephanie Panah
s look correct > > # ls -ld /var/log/tomcat/ /usr/local/tomcat/logs/ > drwxr-x---. 2 tomcat tomcat 26 Sep 26 20:14 /usr/local/tomcat/logs/ > drwxr-xr-x. 2 tomcat tomcat 6 Sep 26 19:48 /var/log/tomcat/ > > > -Chris > > > From: Darryl Baker > Date: Wednesday, Sept

Re: [External]Re: Tomcat 10 on RHEL 8 with Java 17

2023-09-27 Thread Christopher Bland
List Subject: [External]Re: Tomcat 10 on RHEL 8 with Java 17 [You don't often get email from darryl.ba...@northwestern.edu. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Chris, With no logs at all check the permissions on the log directories and

Re: Tomcat 10 on RHEL 8 with Java 17

2023-09-27 Thread Darryl Baker
Chris, With no logs at all check the permissions on the log directories and make sure that the user Tomcat is running as has write permissions there. This sounds very much like what I ran into my first time setting up Tomcat from scratch. Darryl Baker, GSEC, GCLD (he/him/his) Sr. Syst

Re: Tomcat 10 on RHEL 8 with Java 17

2023-09-27 Thread Christopher Schultz
Chris, On 9/27/23 10:30, Christopher Bland wrote: Hi All, I just deployed Tomcat v10.1.13 on a new machine. When I start Tomcat it says it has started but I don’t see the daemon running and I don’t have any logs. I tried running Catalina.sh directly. # ./catalina.sh start Using CATALINA_B

Re: Tomcat 10 and Java versions

2023-01-06 Thread Christopher Schultz
Evan, On 1/6/23 15:08, Evan Rempel wrote: This must have been covered in a previous discussion but I could not find it. Everything I read about Tomcat 10.1 say it has moved to Jakarta EE, but I also read that Tomcat 10.1 runs on/requires "Java 11+". This does not make sense to me so I have

Re: Tomcat 10 on Windows 11 error

2022-12-31 Thread Carles Franquesa
I do not dare to uninstall Java 17 and 11 to reproduce the former error. Anyway, I'll try to explain what has happened when migrating the development of a Netbeans java servlet app project using Tomcat 10 from Windows 10 to Windows 11: Initially, a *java.lang.NoSuchMethodError: java.net.URLEncode

Re: Tomcat 10 on Windows 11 error

2022-12-30 Thread Rob Sargent
On 12/30/22 17:59, Shawn Heisey wrote: On 12/30/22 17:03, Carles Franquesa wrote: Once downloaded, installed, and configured in the settings of the netbeans project, the error has changed, what always is very hopeful. Now, the thing is that the compiler gives this new output: image.png Tr

Re: Tomcat 10 on Windows 11 error

2022-12-30 Thread Shawn Heisey
On 12/30/22 17:03, Carles Franquesa wrote: Once downloaded, installed, and configured in the settings of the netbeans project, the error has changed, what always is very hopeful. Now, the thing is that the compiler gives this new output: image.png Tried to modify the compiler options in the p

Re: Tomcat 10 on Windows 11 error

2022-12-30 Thread Carles Franquesa
Solved, thank you very much for your help! I don't really understand the way it has been solved, but not it works. What I did after the new build error, and not knowing how to fix it, was to try java 17, which kept giving the same error. Then I went back to java 8 in the project settings, into t

Re: Tomcat 10 on Windows 11 error

2022-12-30 Thread Carles Franquesa
Thanks for your answer, Shawn, deeply. Once downloaded, installed, and configured in the settings of the netbeans project, the error has changed, what always is very hopeful. Now, the thing is that the compiler gives this new output: [image: image.png] Tried to modify the compiler options in th

Re: Tomcat 10 on Windows 11 error

2022-12-30 Thread Shawn Heisey
On 12/30/22 09:07, Carles Franquesa wrote: I am trying to run a web app made with Netbeans 16 using Apache-Tomcat 10.0.27 on Windows 11. It worked fine on Windows 10 with the same tomcat. Everything goes fine when starting the server (it takes just 625ms!) but after that, when I try to debug the

Re: Tomcat 10 with Http2 and compression sometimes causes pages to load partly in FF

2022-11-07 Thread Mark Thomas
On 06/11/2022 19:35, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello Mark, I found some time for digging into this older topic with the combination http2, Firefox, Compression and only partly loaded pages. I hope I or the topic doesn’t bother you. Not at all. If there is a Tomcat bug here, I

Re: Tomcat 10 with Http2 and compression sometimes closes connection with Firefox

2022-06-27 Thread Mark Thomas
On 26/06/2022 15:59, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello Mark, few months ago we already discussed an issue with http2 and compression. The old title was "Many IllegalStateException when using http2 protocol". I start from scratch so nobody needs to lookup old stuff and first I want

Re: Tomcat 10 and Java 17

2022-04-25 Thread Mark Thomas
On 25/04/2022 08:18, Navin Chandra Mohan wrote: Hi Mark Thanks for the input, based on the comments, we tried to update the Java version to 17, but we are facing conflict during compilation, error shown below . We have multiple modules using Tomcat in the existing Java 8 setup. * "The package o

Re: Tomcat 10 and Java 17

2022-04-25 Thread Navin Chandra Mohan
Hi Mark Thanks for the input, based on the comments, we tried to update the Java version to 17, but we are facing conflict during compilation, error shown below . We have multiple modules using Tomcat in the existing Java 8 setup. * "The package org.apache.catalina.startup is accessible from more

Re: Tomcat 10 and Java 17

2022-04-04 Thread Mark Thomas
4 Apr 2022 16:09:21 Navin Chandra Mohan : 1. Is there a recommended version of Tomcat for Java 17. Tomcat 10 or the 10.1 (once it is released) or I can continue with the 9.0.60 release itself? Latest stable release of any currently supported Tomcat branch. 2. Once 10.1 is formally relea

Re: Tomcat 10 and import org.apache.commons.fileupload.FileItem problem

2021-05-15 Thread Mark Thomas
On 14/05/2021 23:17, Orendt, John wrote: Hi I found sample code for an UploadServlet with these imports import org.apache.commons.fileupload.FileItem; import org.apache.commons.fileupload.disk.DiskFileItemFactory; import org.apache.commons.fileupload.servlet.ServletFileUpload; This worked well

Re: TOMCAT 10

2021-02-12 Thread Martin Nybo Andersen
On fredag den 12. februar 2021 11.41.26 CET KARTHIK SHIVAKUMAR wrote: > Spec : > Oracle Jdk15.1 > Tomcat : 10.0.2 > Eclipse IDE :20201210-1552 > > Question : *A simple JSP with implicit Servlet API Object as follows > is not Working* > > ServletContext sessnCntxt = getServletConfig().getSer