Re: global web.xml question

2025-04-30 Thread A Name
On Tue, Apr 29, 2025 at 1:07 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > > ABT, > > > > On 4/29/25 11:25 AM, A Name wrote: > > > On Tue, Apr 29, 2025 at 10:54 AM Christopher Schultz < > > > ch...@christopherschultz.net> wrote: > > >>> Are you able to view the sources of the app

Re: global web.xml question

2025-04-29 Thread Christopher Schultz
ABT, On 4/29/25 11:25 AM, A Name wrote: On Tue, Apr 29, 2025 at 10:54 AM Christopher Schultz < ch...@christopherschultz.net> wrote: Are you able to view the sources of the application? Are you (or your team) knowledgeable enough about the code to make such changes? IMHO, I would take the time t

Re: global web.xml question

2025-04-29 Thread A Name
On Tue, Apr 29, 2025 at 10:54 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > > ABT, > > > On 4/29/25 8:23 AM, A Name wrote: > > > On Mon, Apr 28, 2025 at 1:07 PM Mark Thomas wrote: > > > > > >>> On 28/04/2025 16:35, Christopher Schultz wrote: > > ABT, > > > > On 4/

Re: global web.xml question

2025-04-29 Thread Christopher Schultz
ABT, On 4/29/25 8:23 AM, A Name wrote: On Mon, Apr 28, 2025 at 1:07 PM Mark Thomas wrote: On 28/04/2025 16:35, Christopher Schultz wrote: ABT, On 4/28/25 9:05 AM, A Name wrote: We are looking at adding a second instance of our app (named differently -- myappA and myappB) to our Tomcat 9.

Re: global web.xml question

2025-04-29 Thread A Name
On Mon, Apr 28, 2025 at 1:07 PM Mark Thomas wrote: > > On 28/04/2025 16:35, Christopher Schultz wrote: > > > ABT, > > > > > > On 4/28/25 9:05 AM, A Name wrote: > > >> We are looking at adding a second instance of our app (named > > >> differently -- > > >> myappA and myappB) to our Tomcat 9. We

Re: global web.xml question

2025-04-28 Thread Mark Thomas
On 28/04/2025 16:35, Christopher Schultz wrote: ABT, On 4/28/25 9:05 AM, A Name wrote: We are looking at adding a second instance of our app (named differently -- myappA and myappB) to our Tomcat 9.  We currently have the app installed at a number of customer locations, we are looking at drop

Re: global web.xml question

2025-04-28 Thread Christopher Schultz
ABT, On 4/28/25 9:05 AM, A Name wrote: We are looking at adding a second instance of our app (named differently -- myappA and myappB) to our Tomcat 9. We currently have the app installed at a number of customer locations, we are looking at dropping 1 app Currently, our database connections are

Re: global web.xml question

2025-04-28 Thread A Name
On Mon, Apr 28, 2025 at 9:32 AM Mark Thomas wrote: > > On 28/04/2025 14:05, A Name wrote: > > > We are looking at adding a second instance of our app (named > differently -- > > > myappA and myappB) to our Tomcat 9. We currently have the app > installed at > > > a number of customer locations, w

Re: global web.xml question

2025-04-28 Thread Mark Thomas
On 28/04/2025 14:05, A Name wrote: We are looking at adding a second instance of our app (named differently -- myappA and myappB) to our Tomcat 9. We currently have the app installed at a number of customer locations, we are looking at dropping 1 app Currently, our database connections are esta

global web.xml question

2025-04-28 Thread A Name
We are looking at adding a second instance of our app (named differently -- myappA and myappB) to our Tomcat 9. We currently have the app installed at a number of customer locations, we are looking at dropping 1 app Currently, our database connections are established inside the GLOBAL web.xml in

Re: Question About Tomcat 11.0.5

2025-04-08 Thread Christopher Schultz
Juan, On 4/6/25 9:36 AM, juan wrote: I read it But couldn't make it work After hours i got it : This configuration looks acceptable at first glance. When you use this configuration, you said you "couldn't make it work". Can you be more spec

Re: Question About Tomcat 11.0.5

2025-04-06 Thread juan
Hi I read it But couldn't make it work After hours i got it : Thanks On Sun, 6 Apr 2025 at 00:57, Chuck Caldarale wrote: > > > On 2025 Apr 5, at 12:49, juan wrote: > > > > Yes, I read it, but can't find which attributes from sslhostconfig > shou

Re: Question About Tomcat 11.0.5

2025-04-05 Thread Chuck Caldarale
> On 2025 Apr 5, at 12:49, juan wrote: > > Yes, I read it, but can't find which attributes from sslhostconfig should I > use > And on internet couldn't find any examples, all of them use clientAuth If you read the 9.0.x documentation for clientAuth, it says this: clientAuth This is an a

Re: Question About Tomcat 11.0.5

2025-04-05 Thread juan
Yes, I read it, but can't find which attributes from sslhostconfig should I use And on internet couldn't find any examples, all of them use clientAuth Thanks On Sat, 5 Apr 2025, 19:13 Chuck Caldarale, wrote: > > > On 2025 Apr 5, at 10:55, juan wrote: > > > > Hi > > > > I'm migrating from tomcat

Re: Question About Tomcat 11.0.5

2025-04-05 Thread Chuck Caldarale
> On 2025 Apr 5, at 10:55, juan wrote: > > Hi > > I'm migrating from tomcat 9 to tomcat 11.0.5 > > I need a client cert validation. Mi server.xml in tomcat 9 : > > > *keyAlias="karun-tomcat-server-cert" > > > keystoreFile="/home/german/Developement/eclipseAngular/tomcat-server.jks" > keys

Question About Tomcat 11.0.5

2025-04-05 Thread juan
Hi I'm migrating from tomcat 9 to tomcat 11.0.5 I need a client cert validation. Mi server.xml in tomcat 9 : Adding clientAuth="true" does the trick, and my client has to have a certificate provided by me. But in tomcat 11 clientAuth doesn't exist in connector and even reading documentation

Re: Question Regarding Incorrect Cache Size Calculation Issue

2025-03-27 Thread Chuck Caldarale
> On 2025 Mar 27, at 16:06, Yuta Akiya > wrote: > > I am using Tomcat 9.0.78 on a machine running Windows Server 2019 Standard. > > I am experiencing an issue with an instance of > `org.apache.catalina.webresources.Cache`, where `Cache.size` is out of sync > with the actual size of `Cache.r

Question Regarding Incorrect Cache Size Calculation Issue

2025-03-27 Thread Yuta Akiya
Hello, I am using Tomcat 9.0.78 on a machine running Windows Server 2019 Standard. I am experiencing an issue with an instance of `org.apache.catalina.webresources.Cache`, where `Cache.size` is out of sync with the actual size of `Cache.resourceCache` in memory. Based on a heap dump of the ser

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
a Servlet Specification[1] section 3.11. -chris [1] https://jakarta.ee/specifications/servlet/6.0/jakarta-servlet-spec-6.0.pdf On Tue, Feb 25, 2025 at 4:45 PM Chris Evans wrote: Hello, I need assistance with accessing client certificates from a servlet. This is not a servlet code quest

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

2025-02-25 Thread Robert Turner
> > Hello, > > I need assistance with accessing client certificates from a servlet. This > is not a servlet code question but a configuration question. The call to: > request.getAttribute("javax.servlet.request.X509Certificate"); > > is not returning any certificates.

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

2025-02-25 Thread Chris Evans
Hello, I need assistance with accessing client certificates from a servlet. This is not a servlet code question but a configuration question. The call to: request.getAttribute("javax.servlet.request.X509Certificate"); is not returning any certificates. The last time that I needed

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
ocmon 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 well, or only 9. 0. 96? It's all of the October releases :/ -chris > From: Christopher Schultz Jon, On 11/7/24 14:53, Mcalexander, Jon J. wrote: So

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
t: 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 Tomcat Service Instance on Windows servers. Is there a way to have the Tomcat Startup kick off a script before

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

Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Mcalexander, Jon J.
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 so to say)? We have run into some issues after

Re: Question about upgrading tomcat-embed-core from 10.1.20 to 10.1.25

2024-09-15 Thread Chuck Caldarale
og.html The 10.1.29 HTTP/2 problem and fix are described here: https://bz.apache.org/bugzilla/show_bug.cgi?id=69320 - Chuck > From: Mark Thomas > Sent: Sunday, September 15, 2024 9:14 AM > To: users@tomcat.apache.org > Subject: Re: Question about upgrading tomcat-embed-core from 10.1.

RE: Question about upgrading tomcat-embed-core from 10.1.20 to 10.1.25

2024-09-15 Thread KARR, DAVID
Thanks for that. Could you give me more info on those problems in 10.1.24-29, like links to the issues? From: Mark Thomas Sent: Sunday, September 15, 2024 9:14 AM To: users@tomcat.apache.org Subject: Re: Question about upgrading tomcat-embed-core from 10.1.20 to 10.1.25 On 15/09/2024 00: 37

Re: Question about upgrading tomcat-embed-core from 10.1.20 to 10.1.25

2024-09-15 Thread Mark Thomas
On 15/09/2024 00:37, KARR, DAVID wrote: We build SpringBoot applications that reference "tomcat-embed-core" from "spring-boot-starter-jersey". We currently end up with version 10.1.20 of tomcat-embed-core, using spring-boot 3.2.5. There is apparently a CVE for that version of tomcat-embed-

Question about upgrading tomcat-embed-core from 10.1.20 to 10.1.25

2024-09-14 Thread KARR, DAVID
We build SpringBoot applications that reference "tomcat-embed-core" from "spring-boot-starter-jersey". We currently end up with version 10.1.20 of tomcat-embed-core, using spring-boot 3.2.5. There is apparently a CVE for that version of tomcat-embed-core (I don't have the CVE handy right now).

Re: java code cache size question

2024-07-25 Thread Ivano Luberti
From: Ivano Luberti Sent: Thursday, July 25, 2024 9:21 AM To:users@tomcat.apache.org Subject: Re: java code cache size question Thank you all. Try to answer to everyone in one mail. I forgot to check the java version in the oracle page I had found and since other blog pages were always referring to

RE: java code cache size question

2024-07-25 Thread Gregg, John E.
@tomcat.apache.org Subject: Re: java code cache size question Thank you all. Try to answer to everyone in one mail. I forgot to check the java version in the oracle page I had found and since other blog pages were always referring to 48 MB I was left thinking there were no differences among version. (I'm

Re: java code cache size question

2024-07-25 Thread Ivano Luberti
e the change came in Java 8 to accommodate the fact that the HotSpot compiler now compiles all methods when they are hit for the first time. Thanks From: Ivano Luberti Sent: Thursday, July 25, 2024 8:43 AM To:users@tomcat.apache.org Subject: java code cache size question Hi, I have a tom

Re: java code cache size question

2024-07-25 Thread Simon Matter
> Hi, I have a tomcat 9 instance  that runs without specifying options for > the code cache. > > Looking at the servet status I see > > Code CacheNon-heap memory 2.43 MiB163.93 MiB 240.00 > MiB 147.30 > MiB (61%) > > So te maximum size is 240MB > > Looking at Java doc

RE: java code cache size question

2024-07-25 Thread Gregg, John E.
@tomcat.apache.org Subject: java code cache size question Hi, I have a tomcat 9 instance that runs without specifying options for the code cache. Looking at the servet status I see Code Cache Non-heap memory 2. 43 MiB 163. 93 MiB 240. 00 MiB 147. 30 MiB (61%) So te maximum size is 240MB Looking at

Re: java code cache size question

2024-07-25 Thread Christopher Schultz
Ivano, On 7/25/24 09:43, Ivano Luberti wrote: Hi, I have a tomcat 9 instance  that runs without specifying options for the code cache. Good. If you don't know what you are doing, leaving options at their defaults is the best policy. Looking at the servet status I see Code Cache Non-he

java code cache size question

2024-07-25 Thread Ivano Luberti
Hi, I have a tomcat 9 instance  that runs without specifying options for the code cache. Looking at the servet status I see Code Cache Non-heap memory 2.43 MiB 163.93 MiB 240.00 MiB 147.30 MiB (61%) So te maximum size is 240MB Looking at Java documentation it states it should be 48MB i

Re: Persistent Manager Implementation Question

2024-07-08 Thread Christopher Schultz
Miguel, On 2/19/24 11:50, Miguel Vidal wrote: hey one question regarding this topic I'm facing an issue where my old app is doing a creation of multiple sessions but just one is the correct one or at least is who contains the data and works fine. the others sessions that are created con

RE: Write listener question

2024-05-30 Thread joan.balaguero
(t); } private void postProcess(Throwable t) { this.ac.complete(); if (t != null) { t.printStackeTrace(); } } -Original Message- From: Chuck Caldarale Sent: Thursday, May 30, 2024 8:01 PM To: Tomcat Users List Subject: Re: Write listener question > On May 30, 2024, at 12:53, >

Re: Write listener question

2024-05-30 Thread Chuck Caldarale
, 'isFirst' is set to > false, (not shown in the code, sorry) If you don’t show us all of the code, then it’s rather difficult to answer your question about the implementation being correct. > Perhaps this one client has a slow network, so isReady() returns false in > that e

RE: Write listener question

2024-05-30 Thread joan.balaguero
... The client is receiving this: ... el>. It's like a chunk is received in wrong order. Thanks! Joan. -Original Message- From: Chuck Caldarale Sent: Thursday, May 30, 2024 7:27 PM To: Tomcat Users L

Re: Write listener question

2024-05-30 Thread Chuck Caldarale
> On May 30, 2024, at 08:47, > wrote: > > I have a NIO connector with an asynchronous servlet with its write listener > (working in both tomcat 8.5 and tomcat 10.1.20). > > @Override > public void onWritePossible() throws IOException { > > if (this.isFirst) { >this.os = this.asyncCont

Write listener question

2024-05-30 Thread joan.balaguero
Hello, Sorry for the previous mail ... I have a NIO connector with an asynchronous servlet with its write listener (working in both tomcat 8.5 and tomcat 10.1.20). @Override public void onWritePossible() throws IOException { if (this.isFirst) { this.os = this.asyncContext.getResponse().

Re: Write listener question

2024-05-30 Thread Christopher Schultz
alagu...@ventusproxy.com Sent: Thursday, May 30, 2024 11:57 AM To: 'Tomcat Users List' Subject: Write listener question Hello, I have a NIO connector with an asynchronous servlet with its write listener. @Override public void onWritePossible() throws IOException { if (this.isFirst)

RE: Write listener question

2024-05-30 Thread joan.balaguero
Sorry, this issue happens with both Tomcat 8.5.x and 10.1.x. -Original Message- From: joan.balagu...@ventusproxy.com Sent: Thursday, May 30, 2024 11:57 AM To: 'Tomcat Users List' Subject: Write listener question Hello, I have a NIO connector with an asynchronous servle

Write listener question

2024-05-30 Thread joan.balaguero
Hello, I have a NIO connector with an asynchronous servlet with its write listener. @Override public void onWritePossible() throws IOException { if (this.isFirst) { this.os = this.asyncContext.getResponse().getOutputStream(); this.startIdx = 0; this.endIdx = WRITE_BUFFER_SIZE; }

Re: Question on the ErrorReportValve

2024-04-18 Thread Christopher Schultz
: Question on the ErrorReportValve пн, 15 апр. 2024 г. в 19: 37, Mcalexander, Jon J. : > > Hi all! > Quick question on the ErrorReportValve and location within the server. xml file. I know that typically this would be inside пн, 15 апр. 2024 г. в 19:37, Mcalexander, Jon J. mailto:jo

RE: Question on the ErrorReportValve

2024-04-17 Thread Mcalexander, Jon J.
ect: Re: Question on the ErrorReportValve пн, 15 апр. 2024 г. в 19: 37, Mcalexander, Jon J. : > > Hi all! > Quick question on the ErrorReportValve and location within the server. xml file. I know that typically this would be inside пн, 15 апр. 2024 г. в 19:37, Mcalexander, Jon J. mailto

Re: Question on the ErrorReportValve

2024-04-17 Thread Konstantin Kolinko
пн, 15 апр. 2024 г. в 19:37, Mcalexander, Jon J. : > > Hi all! > Quick question on the ErrorReportValve and location within the server.xml > file. I know that typically this would be inside the > element, but if you have Multiple elements, do you add the valve to > each Ho

RE: Question on the ErrorReportValve

2024-04-15 Thread Mcalexander, Jon J.
reply e-mail and delete this message. Thank you for your cooperation. From: Christopher Schultz Sent: Monday, April 15, 2024 12:26 PM To: Tomcat Users List ; Mcalexander, Jon J. Subject: Re: Question on the ErrorReportValve Jon, On 4/15/24 12: 36, Mcalexander, Jon J. wrote: > Quick questi

Re: Question on the ErrorReportValve

2024-04-15 Thread Christopher Schultz
Jon, On 4/15/24 12:36, Mcalexander, Jon J. wrote: Quick question on the ErrorReportValve and location within the server.xml file. I know that typically this would be inside the element, but if you have Multiple elements, do you add the valve to each Host section, or can it be placed at the

Question on the ErrorReportValve

2024-04-15 Thread Mcalexander, Jon J.
Hi all! Quick question on the ErrorReportValve and location within the server.xml file. I know that typically this would be inside the element, but if you have Multiple elements, do you add the valve to each Host section, or can it be placed at the Engine or even Server level? Thank you

Re: Persistent Manager Implementation Question

2024-02-19 Thread Miguel Vidal
hey one question regarding this topic I'm facing an issue where my old app is doing a creation of multiple sessions but just one is the correct one or at least is who contains the data and works fine. the others sessions that are created contains random data that im not sure yet what inform

Re: Persistent Manager Implementation Question

2024-02-12 Thread Miguel Vidal
Yes both are pointing the same configuration because i was doing some testing how it works all of this about session, i wasnt able to get it to work in a new application just using spring boot , but i just did it on friday. what i was missing it was use the session and not only a getter or endpoint

Re: Persistent Manager Implementation Question

2024-02-12 Thread Christopher Schultz
Miguel, On 2/8/24 15:49, Miguel Vidal wrote: Im trying to configure correctly in 2 different applications : Persistent Manager Implementation using a mysqldb as a datasource. Do you have both PersistentManager configurations pointing at the same database and same set of tables? I think it wil

Re: Persistent Manager Implementation Question

2024-02-08 Thread Mark Thomas
ration question . the tomcat specification that works : https://tomcat.apache.org/tomcat-8.0-doc/config/manager.html Im trying to configure correctly in 2 different applications : Persistent Manager Implementation using a mysqldb as a datasource. In one of them that is a legacy project i have some depend

Persistent Manager Implementation Question

2024-02-08 Thread Miguel Vidal
demo4.zip <https://drive.google.com/file/d/1XOUHhw59Djk2XmdFEmkBsusnHf5_yNE7/view?usp=drive_web> Hello, Specifications Windows 10 Tomcat 8.5 this is a configuration question . the tomcat specification that works : https://tomcat.apache.org/tomcat-8.0-doc/config/manager.html Im try

Re: security-constraint url-pattern question

2023-12-15 Thread Mark Thomas
On 14/12/2023 17:28, ResSoft wrote: Chris, I figured out how to make this work. It works in my dev dox but not in my prod box. Both have the same version of tomcat. Here is the web.xml entry. I any ideas would be great. Those constraints look correct to me and a quick test using

Re: security-constraint url-pattern question

2023-12-14 Thread ResSoft
Chris, I figured out how to make this work. It works in my dev dox but not in my prod box. Both have the same version of tomcat. Here is the web.xml entry. I any ideas would be great. securedapp /* CONFIDENTIAL

Re: security-constraint url-pattern question

2023-12-14 Thread ResSoft
Chris, Thanks for the response, but I think I explained myself wrong. The http redirect to https works when I use just this entry in my web.xml securedapp /* CONFIDENTIAL But if I want to force http to https and lock the second url pattern from

Re: security-constraint url-pattern question

2023-12-14 Thread Christopher Schultz
Kent, On 12/14/23 09:13, ResSoft wrote: I am currently forcing my app to use https. Here is what I have in my app web.xml file and it works as intended securedapp /* CONFIDENTIAL I also now want to restrict the browser from pulling up files in certain

security-constraint url-pattern question

2023-12-14 Thread ResSoft
I am currently forcing my app to use https. Here is what I have in my = app web.xml file and it works as intended securedapp /* CONFIDENTIAL I also now want to restrict the browser from pulling up files in certain = directories. Search the web I see to use the

Re: Thread Pool Question

2023-12-06 Thread Deepak Lalchandani
Hi Tomcat users, Can you share the jsp code of thread pool so that I can analyse it Thanks and Regards, Deepak On Wed, 6 Dec 2023, 8:46 pm Christopher Schultz, < ch...@christopherschultz.net> wrote: > William, > > On 12/5/23 14:39, William Crowell wrote: > > I shoul

Re: Thread Pool Question

2023-12-06 Thread Christopher Schultz
William, On 12/5/23 14:39, William Crowell wrote: I should clarify the ask here… I have some long running JDBC queries against Oracle, and I do not want to tie up Tomcat’s web thread pool with them. I would only have between 1-10 threads in this pool. Executors aren't directly-accessible by

RE: Thread Pool Question

2023-12-05 Thread John.E.Gregg
You have to refer to it in your connector: https://tomcat.apache.org/tomcat-10.0-doc/config/http.html > -Original Message- > From: William Crowell > Sent: Tuesday, December 5, 2023 1:39 PM > To: Tomcat Users List > Subject: Re: Thread Pool Question > > I should

Re: Thread Pool Question

2023-12-05 Thread William Crowell
I should clarify the ask here… I have some long running JDBC queries against Oracle, and I do not want to tie up Tomcat’s web thread pool with them. I would only have between 1-10 threads in this pool. Regards, William Crowell This e-mail may contain information that is privileged or conf

Thread Pool Question

2023-12-05 Thread William Crowell
If I create a separate thread pool in Tomcat’s server.xml like this: Then how do I get a thread to assign any work to it? Regards, William Crowell This e-mail may contain information that is privileged or confidential. If you are not the intended recipient, please delete the e-mail and any

Re: Web.xml file question

2023-11-21 Thread Christopher Schultz
Lance, On 11/21/23 11:33, Campbell, Lance wrote: Tomcat 10.1 Java migration from 8 to 11 Eclipse I am trying to migrate my thirteen tomcat web applications from java 8 to java 11. And from tomcat 9 to tomcat 10.1 . I have been using the web.xml file for years with Java 8 and tomcat 9. However

Web.xml file question

2023-11-21 Thread Campbell, Lance
Tomcat 10.1 Java migration from 8 to 11 Eclipse I am trying to migrate my thirteen tomcat web applications from java 8 to java 11. And from tomcat 9 to tomcat 10.1 . I have been using the web.xml file for years with Java 8 and tomcat 9. However, when I built my dynamic web application with ecli

Re: Question about releases available for download

2023-10-19 Thread Christopher Schultz
: Question about releases available for download Jon, On 10/18/23 15:39, Mcalexander, Jon J. wrote: Thanks Mark. I'm sorry if I stated it incorrectly. I meant the issue with JDBC being broken, etc. the stuff that prompted the immediate new releases. I think the word you were looking fo

RE: Question about releases available for download

2023-10-19 Thread Mcalexander, Jon J.
2023 9:42 PM > To: users@tomcat.apache.org > Subject: Re: Question about releases available for download > > Jon, > > On 10/18/23 15:39, Mcalexander, Jon J. wrote: > > Thanks Mark. I'm sorry if I stated it incorrectly. I meant the issue > > with JDBC being broken

Re: Question about releases available for download

2023-10-18 Thread Christopher Schultz
ecursion" ;) -chris -Original Message- From: Mark Thomas Sent: Wednesday, October 18, 2023 2:04 PM To: users@tomcat.apache.org Subject: Re: Question about releases available for download On 18/10/2023 18:29, Mcalexander, Jon J. wrote: Hi Mark, et-al, With the recursion error with these

RE: Question about releases available for download

2023-10-18 Thread Mcalexander, Jon J.
ation. > -Original Message- > From: Mark Thomas > Sent: Wednesday, October 18, 2023 2:04 PM > To: users@tomcat.apache.org > Subject: Re: Question about releases available for download > > On 18/10/2023 18:29, Mcalexander, Jon J. wrote: > > Hi Mark, et-al, >

Re: Question about releases available for download

2023-10-18 Thread Mark Thomas
On 18/10/2023 18:29, Mcalexander, Jon J. wrote: Hi Mark, et-al, With the recursion error with these releases in mind, should 8.5.94, 9.0.81, and 10.1.15 be available for download via the archives? Should they not be removed and a not placed in the location that they have been removed due to i

Question about releases available for download

2023-10-18 Thread Mcalexander, Jon J.
Hi Mark, et-al, With the recursion error with these releases in mind, should 8.5.94, 9.0.81, and 10.1.15 be available for download via the archives? Should they not be removed and a not placed in the location that they have been removed due to introduced issues? Just asking, Thanks. Dream *

RE: SSLHostConfig question

2023-09-27 Thread Mcalexander, Jon J.
rg > Subject: Re: SSLHostConfig question > > Jonm > > On 9/26/23 15:07, Mcalexander, Jon J. wrote: > > Thank you, but which format of the line is correct? > > > > certificateKeystoreType="pkcs12" > > > > or > > > > certificateK

Re: SSLHostConfig question

2023-09-26 Thread Christopher Schultz
ptember 26, 2023 11:54 AM To: users@tomcat.apache.org Subject: Re: SSLHostConfig question On 26/09/2023 16:50, Christopher Schultz wrote: Jon, On 9/26/23 11:32, Mcalexander, Jon J. wrote: I have a question around the SSLHostConfig SSL Connector in Tomcat. In the   section, if the SSL Certificate

Re: SSLHostConfig question

2023-09-26 Thread Christopher Schultz
Mark, On 9/26/23 12:54, Mark Thomas wrote: On 26/09/2023 16:50, Christopher Schultz wrote: Jon, On 9/26/23 11:32, Mcalexander, Jon J. wrote: I have a question around the SSLHostConfig SSL Connector in Tomcat. In the   section, if the SSL Certificate is in a Windows PFS Keystore, is it

RE: SSLHostConfig question

2023-09-26 Thread Mcalexander, Jon J.
cooperation. > -Original Message- > From: Mark Thomas > Sent: Tuesday, September 26, 2023 11:54 AM > To: users@tomcat.apache.org > Subject: Re: SSLHostConfig question > > On 26/09/2023 16:50, Christopher Schultz wrote: > > Jon, > > > > On 9/26/2

Re: SSLHostConfig question

2023-09-26 Thread Mark Thomas
On 26/09/2023 16:50, Christopher Schultz wrote: Jon, On 9/26/23 11:32, Mcalexander, Jon J. wrote: I have a question around the SSLHostConfig SSL Connector in Tomcat. In the   section, if the SSL Certificate is in a Windows PFS Keystore, is it appropriate to add certificateKeystoreType=&quo

Re: SSLHostConfig question

2023-09-26 Thread Christopher Schultz
Jon, On 9/26/23 11:32, Mcalexander, Jon J. wrote: I have a question around the SSLHostConfig SSL Connector in Tomcat. In the section, if the SSL Certificate is in a Windows PFS Keystore, is it appropriate to add certificateKeystoreType="PFX" or certificateKeystore="path to

SSLHostConfig question

2023-09-26 Thread Mcalexander, Jon J.
Good morning Gentle People, I have a question around the SSLHostConfig SSL Connector in Tomcat. In the section, if the SSL Certificate is in a Windows PFS Keystore, is it appropriate to add certificateKeystoreType="PFX" or certificateKeystore="path to pfx file" typ

Re: question about tomcat manager Server Status page

2023-09-08 Thread Ivano Luberti
sockets count: 1 But looking at the thread list under the line I can count 24 lines. So what is the number of thread currently instantiated by tomcat? 11 or 24? This is a good question. When I check my localhost Manager running 8.5.x, I see this: Max threads: -1 Current thread count: 4 Current

Re: question about tomcat manager Server Status page

2023-09-08 Thread Christopher Schultz
lines. So what is the number of thread currently instantiated by tomcat? 11 or 24? This is a good question. When I check my localhost Manager running 8.5.x, I see this: Max threads: -1 Current thread count: 4 Current threads busy: 1 Keep alive sockets count: 1 The number of threads shown

question about tomcat manager Server Status page

2023-09-08 Thread Ivano Luberti
Hi, looking at Server Status and Complete Server Status Page I can see the following line: Max threads: 200 Current thread count: 11 Current threads busy: 1 Keep alive sockets count: 1 But looking at the thread list under the line I can count 24 lines. So what is the number of thread current

Re: OT: Question regarding the listeners in the upcoming releases.

2023-07-10 Thread Christopher Schultz
Jon, On 7/7/23 15:46, jonmcalexan...@wellsfargo.com.INVALID wrote: Thank you Chris. I will look into Manager + JMXProxyServlet. Dumb question, but does this require the Manager.war to be deployed (Isn't that just to get to the UI?) Yes, the Manager application must be deployed. You do not

RE: OT: Question regarding the listeners in the upcoming releases.

2023-07-07 Thread jonmcalexander
Thank you Chris. I will look into Manager + JMXProxyServlet. Dumb question, but does this require the Manager.war to be deployed (Isn't that just to get to the UI?), or does it call the Catalina Manager servlet directly? Is there any documentation around this type of setup? Thanks agai

Re: OT: Question regarding the listeners in the upcoming releases.

2023-07-07 Thread Christopher Schultz
Elastic). -chris -Original Message- From: Christopher Schultz Sent: Friday, July 7, 2023 8:39 AM To: users@tomcat.apache.org Subject: Re: OT: Question regarding the listeners in the upcoming releases. Jon, On 7/6/23 16:22, jonmcalexan...@wellsfargo.com.INVALID wrote: I have a question w

RE: OT: Question regarding the listeners in the upcoming releases.

2023-07-07 Thread jonmcalexander
2023 8:39 AM > To: users@tomcat.apache.org > Subject: Re: OT: Question regarding the listeners in the upcoming releases. > > Jon, > > On 7/6/23 16:22, jonmcalexan...@wellsfargo.com.INVALID wrote: > > I have a question which is based around the idea of the new Listeners > > that

Re: OT: Question regarding the listeners in the upcoming releases.

2023-07-07 Thread Christopher Schultz
Jon, On 7/6/23 16:22, jonmcalexan...@wellsfargo.com.INVALID wrote: I have a question which is based around the idea of the new Listeners that are being introduced in the upcoming releases. This is based on something I’ve been thinking on for the last 6 to 9 mos. Would it be possible to have a

OT: Question regarding the listeners in the upcoming releases.

2023-07-06 Thread jonmcalexander
I have a question which is based around the idea of the new Listeners that are being introduced in the upcoming releases. This is based on something I’ve been thinking on for the last 6 to 9 mos. Would it be possible to have a Listener that could output stats for the Tomcat Instance, similar to

  1   2   3   4   5   6   7   8   9   10   >