DeltaManager implementation

2017-07-26 Thread christopher
Hi, I'm running on the following platform: Tomcat 8.5.12 Java 1.8.0_121 Windows 2012R2 I'm working on a multi-node configuration. I have some questions about how the DeltaManager works. Does using the DeltaManager require sticky sessions using jvmRoute? Or does the DeltaManager replicate to all

Re: DeltaManager implementation

2017-07-27 Thread christopher
>> Or does the DeltaManager replicate to all nodes? > > It does, but the issue is one of timing. The main problematic area is > the user agent being directed to another node before the session data > has replicated. This can be avoided by configuring sync replication > (which slows things down sin

Re: DeltaManager implementation

2017-08-04 Thread christopher
We are still having an issue with some users losing session information. I want to use synchronous updates for the DeltaManager. To enable this should the channelSendOptions be set to 6? That isn't clear to me from reading the documentation. Thanks, -Chris On Thu, Jul 27, 2017, at 12:37 PM, chri

Re: Per EndPoint Threads???

2017-08-11 Thread christopher
> Hi All, > > I'm looking for a way (or a tool) in Tomcat to associate threads with > endpoints. It isn't clear to me why this would be necessary. Threads should be allocated on demand to individual requests. If one route sees more traffic, then it should automatically be allocated more threads.

Re: Supportability of Tomcat 9.0.90 and above with JDK 8

2024-10-18 Thread Christopher Schultz
Joseph, On 10/17/24 4:13 AM, Xavier, Joseph wrote: I wanted to understand whether Tomcat 9.0.90 and above minor versions are supported with JDK 8? We have see compile issues when our JDK 8 environment tried to work with Tomcat 9.0.90. If the supportability is deprecated, is there any doc or publ

Re: Can't access servlet 404 advise requested

2024-10-18 Thread Christopher Schultz
Frank, On 10/17/24 10:09 AM, Frank Myers wrote: I see in the catalina log: 17-Oct-2024 13:57:11.194 INFO [http-nio-8080-exec-30] org.apache.catalina.core.StandardContext.reload Reloading Context with name [/WHMerge] has started 17-Oct-2024 13:57:11.196 WARNING [http-nio-8080-exec-30] org.apac

Re: Using HTTP 1.1 over a configured HTTP2 Connector

2024-10-05 Thread Christopher Schultz
Anurag, On 10/4/24 15:32, Anurag Sharma wrote: Tomcat act as a reverse proxy to 3rd party legacy system. We have recently upgraded Tomcat to use HTTP/2 protocol; this causes the legacy system not to render and get an error message when rendering. Tomcat application war acts as a reverse proxy

Re: Occasional 400 errors for static resources in Tomcat 9.0.40

2024-10-22 Thread Christopher Schultz
responding request in the application log (where the dumper will dump) and look at: 1. The inbound headers 2. The HTTP response line which may have more detail than just "400" -chris On Tue, Oct 22, 2024 at 11:04 AM Christopher Schultz mailto:ch...@christopherschultz.net>> wro

Re: Help with tomcat 11 failure

2024-10-22 Thread Christopher Schultz
Chuck, On 10/21/24 14:06, Chuck Caldarale wrote: On Oct 21, 2024, at 12:19, wrote: Fellow user here. I am guessing that you need to migrate your application to Java 17+ and make all the necessary changes to move from the javax.* to the Jakarta EE jakarta.* packages. This includes all s

Re: Can't access servlet 404 advise requested

2024-10-22 Thread Christopher Schultz
" version="5.0"> WHMerge WHMerge com.ibm.wca4z.webhooks.WHMerge With kindest regards, Frank Myers From: Christopher Schultz Sent: Friday, October 18, 2024 11:53 AM To: users@tomcat.apache.org Subject: [EXTERNAL] Re: Can't access servlet 404 ad

Re: Occasional 400 errors for static resources in Tomcat 9.0.40

2024-10-22 Thread Christopher Schultz
Izek, On 10/16/24 18:07, Izek Hornbeck wrote: I have confirmed that our development team has seen these same loading issues with Tomcat 9.0.55 and 9.0.86. Are you using HTTP/2 or AJP at all? Or only HTTP/1.1? Is it at all reprodicible or are you just looking at log files? It's definitely pos

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: pluggabilitySkip JarScanFilter and JMX calls

2024-11-04 Thread Christopher Schultz
affected by this pluggabilitySkip setting? I believe if you disable jar scanning, then Tomcat will ignore all annotations for things like Listeners that should be running on startup. -chris -Original Message- From: Christopher Schultz Sent: Sunday, November 3, 2024 3:39 PM To: Tomcat

Re: pluggabilitySkip JarScanFilter and JMX calls

2024-11-03 Thread Christopher Schultz
Amit, On 11/3/24 11:56 AM, Amit Pande wrote: Hello, I have been experimenting with the JarScanFilter setting to boost the application deployment time. When I add this: JarScanFilter pluggabilitySkip="*.jar" The JMX calls stopped working. E.g. I am seeing: javax.managem

Re: Fwd: NoClassDefFoundError: javax/mail/Authenticator

2024-10-25 Thread Christopher Schultz
Mark, On 10/24/24 13:10, Mark Thomas wrote: On 24/10/2024 17:07, Alan Masters wrote: I am attempting to send e-mail from Tomcat using an external mail host -    mail.btinternet.com. I have included javax.mail jar in my build path and can see javax.mail.Authenticator in this library. When t

Re: [OT] javax.naming.NameNotFoundException

2024-10-25 Thread Christopher Schultz
Mark F, On 10/23/24 18:13, Mark Foley wrote: On Wed, 23 Oct 2024 19:13:44 Mark Thomas wrote: On 23/10/2024 18:57, Mark Foley wrote: I'm running Tomcat 8.5.11. I have a hopefully small problem. Tomcat 8.5.x is EOL and no longer supported. 8.5.11 is also rather old with quite a long list of

Re: javax.naming.NameNotFoundException

2024-10-25 Thread Christopher Schultz
Mark F, On 10/23/24 18:13, Mark Foley wrote: On Wed, 23 Oct 2024 19:13:44 Mark Thomas wrote: On 23/10/2024 18:57, Mark Foley wrote: I'm running Tomcat 8.5.11. I have a hopefully small problem. Tomcat 8.5.x is EOL and no longer supported. 8.5.11 is also rather old with quite a long list of

[ANN] Apache Tomcat 10.1.33 Available

2024-11-11 Thread Christopher Schultz
The Apache Tomcat team announces the immediate availability of Apache Tomcat 10.1.33. Apache Tomcat 10 is an open source software implementation of the Jakarta Servlet, Jakarta Pages, Jakarta Expression Language, Jakarta WebSocket, Jakarta Authentication and Jakarta Annotations specifications. A

Re: IndexOutOfBoundsException at getHeader with tomcat9.0.87

2024-10-25 Thread Christopher Schultz
Shanghe, On 10/22/24 22:59, shanghe chen wrote: Sorry the link is https://github.com/apache/tomcat/pull/551 it seems malformed in last post 发件人: shanghe chen 发送时间: Wednesday, October 23, 2024 10:50:48 AM 收件人: users

Re: deploying on 9.0.96 is painful

2024-10-25 Thread Christopher Schultz
Ronald, On 10/24/24 10:31, Ronald Klop wrote: Van: "Rémy Maucherat" Datum: woensdag, 23 oktober 2024 17:48 Aan: users@tomcat.apache.org Onderwerp: Re: deploying on 9.0.96 is painful On Wed, Oct 23, 2024 at 5:37PM Ronald Klop wrote: > > Hi, > > We pre-compile our JSPs. Team Dev uses Tomcat ja

Re: Tomcat doesn't allow me to login

2024-09-23 Thread Christopher Schultz
Please don't hikack threads. Also, don't run as root. On 9/20/24 16:54, Shekhar Dhotre wrote: [root@mtthdoped51 ~]# $CATALINA_HOME/bin/startup.sh Using CATALINA_BASE:   /opt/tomcat/latest Using CATALINA_HOME:   /opt/tomcat/latest Using CATALINA_TMPDIR: /opt/tomcat/latest/temp Using JRE_HOME

Re: tomcat query

2024-09-23 Thread Christopher Schultz
Mark, On 9/23/24 08:58, Mark Thomas wrote: On 23/09/2024 13:50, Rachana Kharchane wrote: Hi Team, I Have few queries How can we ensure the old  config is kept in place post installing a new tomcat version? Do we have options to backup the configuration and reapply after new version instal

Re: tomcat startup error, IBM DB2 related (database) [SPAM]

2024-09-27 Thread Christopher Schultz
Shekhar, On 9/24/24 04:51, Shekhar Dhotre wrote: Contact Neel at neel.dho...@contractor.tatacommunications.com , He recently restored our important financial app which is running same setup. Tomcat, Db2 , IBM ldap, Redhat, oracle, etc. There is a endorsement on the same at LinkedIn. Please do

Re: Website inconsistency

2024-09-27 Thread Christopher Schultz
Mark, On 9/26/24 11:18, Mark Thomas wrote: On 26/09/2024 16:05, Doug Whitfield wrote: Hi Folks, On the left sidebar of the website the download is for “Tomcat 10” while the Documentation is for “Tomcat 10.1”. Now, between Download and Documentation things are consistent. I don’t think this

Re: Mitigate CVE-2024-34750 by removing UpgradeProtocol...Http2Protocol ?

2024-09-27 Thread Christopher Schultz
Tom, On 9/27/24 10:49, Tom Colley wrote: In releases prior to 10.1.25, Can CVS-2024-34750 (https://nvd.nist.gov/ vuln/detail/CVE-2024-34750 ) be mitigated by removing className="org.apache.coyote.http2.Http2Protocol" /> (which I'm thinking woul

Re: accessing manager app

2024-09-27 Thread Christopher Schultz
Sebastian, On 9/27/24 11:04, Sebastian Trost wrote: Francesco, On 26.09.2024 16:12, Francesco Viscomi wrote: Hi all, I'm not able to understand why I cannot access to   http://localhost:8080/manager/html I've configured the user in tomcat.users.xml: I'm using tomcat 9; and jdk17; I've al

Re: Error migrating to Tomcat 10.1

2024-09-20 Thread Christopher Schultz
Lance, On 9/20/24 09:23, Campbell, Lance wrote: I was wrong. I did confirm what code was causing the issue. In my servlet at the top I did this: cookie[index].setMaxAge(0); resp.addCookie(cookie[index]); Then at the bottom of the code I did: resp.sendRedirect("."); When I commented out

Re: Tomcat 10.1.30 and Many Timed Waiting threads

2024-09-30 Thread Christopher Schultz
IIRC this behavior has been consistent as long as and have been separate configuration elements. -chris -Original Message----- From: Christopher Schultz Sent: Monday, September 30, 2024 10:38 AM To: users@tomcat.apache.org Subject: Re: Tomcat 10.1.30 and Many Timed Waiting threads [You don&#

Re: [OT] accessing manager app

2024-09-30 Thread Christopher Schultz
Michael, On 9/30/24 11:41, Michael Osipov wrote: Chris, On 2024/09/30 14:33:53 Christopher Schultz wrote: Michael, On 9/28/24 13:34, Michael Osipov wrote: On 2024/09/27 15:14:15 Christopher Schultz wrote: Sebastian, On 9/27/24 11:04, Sebastian Trost wrote: Francesco, On 26.09.2024 16:12

Re: accessing manager app

2024-09-30 Thread Christopher Schultz
Michael, On 9/28/24 13:34, Michael Osipov wrote: On 2024/09/27 15:14:15 Christopher Schultz wrote: Sebastian, On 9/27/24 11:04, Sebastian Trost wrote: Francesco, On 26.09.2024 16:12, Francesco Viscomi wrote: Hi all, I'm not able to understand why I cannot access to   http://localhost

Re: Tomcat 10.1.30 and Many Timed Waiting threads

2024-09-30 Thread Christopher Schultz
, -chris -Original Message- From: Christopher Schultz Sent: Monday, September 30, 2024 10:20 AM To: users@tomcat.apache.org Subject: Re: Tomcat 10.1.30 and Many Timed Waiting threads [You don't often get email from ch...@christopherschultz.net <mailto:ch...@christopherschultz.net

Re: Tomcat 10.1.30 and Many Timed Waiting threads

2024-09-30 Thread Christopher Schultz
John, On 9/28/24 05:38, John Williams wrote: Hi Everyone, I am running Apache Tomcat 10.1.30 for a web application and notice ~950 timed_waiting threads. The stack trace for these threads is below: java.base@17.0.12/jdk.internal.misc.Unsafe.park(Native

Re: Tomcat 10.1.30 and Many Timed Waiting threads

2024-09-30 Thread Christopher Schultz
John, On 9/30/24 13:34, John Williams wrote: No - I cannot see any other thread stuck on DB/external resources. The application functions as expected, just that I see these threads increasing over time. The problem was 1st noticed in Tomcat 10.1.26/OpenJRE 17.0.5 and I've tried moving to Tomc

Re: [OT] accessing manager app

2024-10-01 Thread Christopher Schultz
Michael, On 10/1/24 12:13, Michael Osipov wrote: On 2024/10/01 13:56:22 Christopher Schultz wrote: Michael, On 10/1/24 05:21, Michael Osipov wrote: On 2024/09/30 17:21:30 Christopher Schultz wrote: Michael, On 9/30/24 11:41, Michael Osipov wrote: Chris, On 2024/09/30 14:33:53 Christopher

Re: Using HTTP 1.1 over a configured HTTP2 Connector

2024-10-01 Thread Christopher Schultz
Mark and Anurag, On 10/1/24 08:38, Mark Thomas wrote: On 01/10/2024 06:15, Anurag Sharma wrote: Dear Tomcat Team, I hope this message finds you well. I am currently facing a challenge regarding the use of HTTP/1.1 for specific API endpoints within a servlet configured for HTTP/2. My browser

Re: [OT] accessing manager app

2024-10-01 Thread Christopher Schultz
Michael, On 10/1/24 05:21, Michael Osipov wrote: On 2024/09/30 17:21:30 Christopher Schultz wrote: Michael, On 9/30/24 11:41, Michael Osipov wrote: Chris, On 2024/09/30 14:33:53 Christopher Schultz wrote: Michael, On 9/28/24 13:34, Michael Osipov wrote: On 2024/09/27 15:14:15 Christopher

Re: Considerations for the WebDAV servlet

2024-10-02 Thread Christopher Schultz
Michael, On 10/1/24 12:14, Michael Osipov wrote: On 2024/10/01 15:20:53 Rémy Maucherat wrote: On Tue, Oct 1, 2024 at 4:53 PM Michael Osipov wrote: Folks, I'd like to put some effort into the DefaultServlet and the WebDAV servlet to align them more with mod_autoindex and add some minor impro

Re: [OT] accessing manager app

2024-10-02 Thread Christopher Schultz
Michael, On 10/1/24 15:27, Michael Osipov wrote: On 2024/10/01 17:12:55 Christopher Schultz wrote: Michael, On 10/1/24 12:13, Michael Osipov wrote: On 2024/10/01 13:56:22 Christopher Schultz wrote: Michael, On 10/1/24 05:21, Michael Osipov wrote: On 2024/09/30 17:21:30 Christopher

Re: remote address is localhost after upgrading tomcat instance behind reverse proxy from tomcat8.5 to tomcat9

2024-11-07 Thread Christopher Schultz
Ivano, On 11/7/24 05:38, Ivano Luberti wrote: Hi Thomas, Il 07-Nov-24 11:07, Mark Thomas ha scritto: On 06/11/2024 21:17, Ivano Luberti wrote: Hi, as stated in the subject, we had a correctly behaving tomcat 8.5 behind a reverse proxy implemented with Apache. After upgrading to Tomcat 9  ev

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 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 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 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 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: Enable two way SSL in Apache Tomcat 10 Version 10.0.27

2023-08-09 Thread Christopher Schultz
Kaushal, On 8/7/23 22:23, Kaushal Shriyan wrote: Hi, I have gone through https://tomcat.apache.org/tomcat-10.0-doc/ssl-howto.html. Is there a way to enable two way SSL (mutual) in Apache Tomcat 10 Version 10.0.27? Please guide me. Thanks in Advance. I see you have "gone through" the SSL How

Re: Tomcat 10.1 -- Precedence of catalina.sh jvm Options vs server.xml options

2023-08-09 Thread Christopher Schultz
Chuck, On 8/9/23 13:58, SCHWING, CHUCK wrote: I've looked for the answer to this online and maybe I didn't read closely enough. I'm running tomcat 10.1 with JDK17.0.6 and have defined a jvm startup option of "-Djdk.tls.client.protocols=TLSv1.2" in my copy of catalina.sh and the same TLS versi

Re: Tomcat 8.5.64 maxHttpHeaderSize="6553600"

2023-08-14 Thread Christopher Schultz
Joel, On 8/11/23 11:16, Joel Werginz wrote: Version: 8.5.64 maxHttpHeaderSize=³6553600² Are you able to try with 8.5.91? Your version is more than 2 years old and many fixes have been made to h2 stream handling in that time. -chris 10-Aug-2023 16:36:21.530 FINE [https-openssl-apr-443-ex

Re: [External] Re: listening all local addresses by default is not security best practice

2023-08-14 Thread Christopher Schultz
ses? That *would* be handy if ::1 would bind to "all local [IPv4 and IPv6, as appropriate] addresses" just like APR does. Can you please file a BZ ticket for that? I'm surprised it doesn't already work like that, honestly, because it seems completely obvious to me that's h

Re: Forwarding request to a different servlet

2023-08-14 Thread Christopher Schultz
Andy, On 8/13/23 04:24, Andy Pont wrote: I wrote... Progress of sorts!  The request is now returning 302 instead of 404! Looking in the log files for the backend, it has a message that says “Robot requests must be rejected” and the 302 response is due to a redirect to a permission denied pa

Re: Forwarding request to a different servlet

2023-08-15 Thread Christopher Schultz
Andy, On 8/15/23 03:32, Andy Pont wrote: Chris wrote… The .forward() should keep all request headers (and many other things) in-tact. You might want to log some things in plugins/whatever to see what is being done. You should be using the *same objects* your servlet got for the request and

Re: tomcat timeouts on startup and on context deployment

2023-08-18 Thread Christopher Schultz
Ivano, On 8/18/23 10:18, Ivano Luberti wrote: Hello eveybody, in one of my use case, when upgrading a web application it coult happen that on startup the application has to perform some database operation that could require some time, even some minutes. This happens typically when deploying t

Re: tomcat timeouts on startup and on context deployment

2023-08-18 Thread Christopher Schultz
end. I'm just guessing at what timeout you are talking about, here. I may be totally off. You said that Eclipse had a configurable timeout. What is that for / what is it called / what does it do? -chris Il 18/08/2023 22:57, Christopher Schultz ha scritto: Ivano, On 8/18/23 10:18

Re: Tomcat 9.0.x on Windows crashing

2023-08-24 Thread Christopher Schultz
Daniel, On 8/23/23 13:03, Daniel Savard wrote: I didn't specify the actual Tomcat version because the problem occurs under all versions. We are running a commercial web application and all of sudden after a while Tomcat is crashing without issuing any message. It is very likely due to the applic

Re: [EXTERNAL] RE: DataSource Connection pool leak

2023-08-25 Thread Christopher Schultz
Tim, On 8/25/23 10:48, Scott,Tim wrote: Hi John, Why does your app need 20 connections just to start up? That's a bit of a rhetorical question, but needing so many connections to start up seems odd to me. It doesn't. It only needs 1-2 at a time, but it makes 100s of queries in loops, each ti

Re: OT: where does JSTL set thsi cookie? javax.servlet.jsp.jstl.fmt.request.charset

2023-08-25 Thread Christopher Schultz
Ivano, On 8/25/23 10:50, Ivano Luberti wrote: Hi, I understand that this question can be OT but I don't know where to search for. Looking into tomcat manager sessions I see this cookie set in each session     javax.servlet.jsp.jstl.fmt.request.charset     ISO-8859-1 The value ISO-8859-1 i s

Re: Tomcat 9.0.x on Windows crashing

2023-08-30 Thread Christopher Schultz
Daniel, On 8/28/23 14:37, Daniel Savard wrote: Le jeu. 24 août 2023 à 13:06, Christopher Schultz < ch...@christopherschultz.net> a écrit : Daniel, On 8/23/23 13:03, Daniel Savard wrote: I didn't specify the actual Tomcat version because the problem occurs under all versi

Re: [EXTERNAL] RE: DataSource Connection pool leak

2023-08-30 Thread Christopher Schultz
Tim, On 8/29/23 10:33, Scott,Tim wrote: Hi all, Thanks for your responses. I think I've found the problem. My wrapping class which detects the invocation of the close() method to decrement its count is no longer decrementing its count because method.getDeclaringClass() has changed from java.

Re: Solved: DataSource Connection pool [non] leak

2023-08-31 Thread Christopher Schultz
Tim, On 8/31/23 04:03, Scott,Tim wrote: Hi Chris, Hi all, Thanks for your responses. I think I've found the problem. My wrapping class which detects the invocation of the close() method to decrement its count is no longer decrementing its count because method.getDeclaringClass() has change

Re: [External] Re: Supporting Proxy Protocol in Tomcat

2023-09-05 Thread Christopher Schultz
patch to discuss... Keep in mind that any committer can veto a change. My sense is that it should be possible to implement this feature while addressing any concerns that may be raised but it is not guaranteed. Mark Thanks, Amit -Original Message- From: Christopher Schultz Sent: Thursday

Virtual Threads

2023-09-05 Thread Christopher Schultz
All, I have some questions about Virtual Threads and their use within Tomcat. Note that only Tomcat 11 currently has support for Virtual Threads when running on a version 19 or later JVM. My (admittedly limited) understanding is that the use of Virtual Threads, specifically within Tomcat, wi

Re: CIS Tomcat 8 Benchmark (v1.1.0) -- Questions

2023-09-05 Thread Christopher Schultz
Mark, Robert, et al, On 9/5/23 11:26, Mark Thomas wrote: I spoke to some CIS representatives at a recent conference given that I have concerns about the quality of some of the recommendations. It appears that these benchmarks are effectively crowdsourced. My primary concern is that there is n

Re: Virtual Threads

2023-09-05 Thread Christopher Schultz
Mark, On 9/5/23 15:55, Mark Thomas wrote: On 05/09/2023 20:38, Christopher Schultz wrote: All, I have some questions about Virtual Threads and their use within Tomcat. Note that only Tomcat 11 currently has support for Virtual Threads when running on a version 19 or later JVM. Not quite

Re: Virtual Thread Configuration In Tomcat 11

2023-09-05 Thread Christopher Schultz
William, On 8/24/23 09:50, William Crowell wrote: I did some performance testing with virtual threads on Apache Tomcat 11.0.0-M10 and JDK 21 (21+35-2513). I have a simple REST service using Spring 6.0.11 that does an insert into MySQL 8.0.32. I have 3 separate boxes all running Rocky Linux 9.2

Re: Virtual Thread Configuration In Tomcat 11

2023-09-06 Thread Christopher Schultz
William, On 9/5/23 17:41, William Crowell wrote: Great post earlier today! This is a super interesting topic to me. You can find the performance testing results located here: http://ec2-18-188-185-212.us-east-2.compute.amazonaws.com:8080/web-report/ I did 10 runs with 1000 threads with a ram

Re: Virtual Threads

2023-09-06 Thread Christopher Schultz
Mark, On 9/6/23 03:29, Mark Thomas wrote: On 05/09/2023 22:02, Christopher Schultz wrote: Mark, On 9/5/23 15:55, Mark Thomas wrote: On 05/09/2023 20:38, Christopher Schultz wrote: All, I have some questions about Virtual Threads and their use within Tomcat. Note that only Tomcat 11

Re: Virtual Threads

2023-09-07 Thread Christopher Schultz
Mark, On 9/6/23 16:29, Mark Thomas wrote: On 06/09/2023 21:24, Christopher Schultz wrote: On 9/6/23 03:29, Mark Thomas wrote: On 05/09/2023 22:02, Christopher Schultz wrote: Thanks for the correction. I just did a quick docs[1] search for "virtual" in Tomcat 10.x for example an

Re: Virtual Thread Configuration In Tomcat 11

2023-09-07 Thread Christopher Schultz
William, On 9/7/23 08:04, William Crowell wrote: When I set -Djdk.tracePinnedThreads=short, then I see this: … Thread[#41,ForkJoinPool-1-worker-4,5,CarrierThreads] com.mysql.cj.jdbc.ConnectionImpl.isValid(ConnectionImpl.java:2516) <== monitors:1 Thread[#39,ForkJoinPool-1-worker-2,5,Carrie

Re: question about tomcat manager Server Status page

2023-09-08 Thread Christopher Schultz
Ivano, On 9/8/23 11:17, Ivano Luberti wrote: 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

Re: Enhancement request?

2023-09-08 Thread Christopher Schultz
Jon, On 9/8/23 14:21, Mcalexander, Jon J. wrote: In seeing the latest messages about the manager application, something that I and my team would LOVE to have is just a Status app that provides all the items status wise that the Manager app does, without any of the "Application Management" like

Re: Enhancement request?

2023-09-11 Thread Christopher Schultz
g to be available that reports healthiness of your own service and application, you should probably build-to-suit. -chris -----Original Message- From: Christopher Schultz Sent: Friday, September 8, 2023 3:46 PM To: users@tomcat.apache.org Subject: Re: Enhancement request? Jon, On 9/8/23 14:21,

Re: page extends not working???

2023-09-11 Thread Christopher Schultz
Aryeh, On 9/9/23 19:36, Aryeh Friedman wrote: On Sat, Sep 9, 2023 at 1:23 PM Mark Thomas wrote: On 09/09/2023 11:52, Aryeh Friedman wrote: Every other jsp in my webapp (and other webapps on the same tomcat instance [9.0.75]) works and I am using a the default container but as curl/catalina.o

Re: page extends not working???

2023-09-12 Thread Christopher Schultz
Aryeh, On 9/11/23 10:05, Aryeh Friedman wrote: On Mon, Sep 11, 2023 at 9:47 AM Christopher Schultz wrote: Aryeh, On 9/9/23 19:36, Aryeh Friedman wrote: On Sat, Sep 9, 2023 at 1:23 PM Mark Thomas wrote: On 09/09/2023 11:52, Aryeh Friedman wrote: Every other jsp in my webapp (and other

Re: page extends not working???

2023-09-12 Thread Christopher Schultz
Aryeh, On 9/12/23 12:42, Aryeh Friedman wrote: On Tue, Sep 12, 2023 at 11:42 AM Christopher Schultz wrote: Aryeh, On 9/11/23 10:05, Aryeh Friedman wrote: On Mon, Sep 11, 2023 at 9:47 AM Christopher Schultz wrote: Aryeh, On 9/9/23 19:36, Aryeh Friedman wrote: On Sat, Sep 9, 2023 at 1

Re: page extends not working???

2023-09-13 Thread Christopher Schultz
Aryeh, On 9/12/23 17:50, Aryeh Friedman wrote: On Tue, Sep 12, 2023 at 1:51 PM Christopher Schultz wrote: Aryeh, On 9/12/23 12:42, Aryeh Friedman wrote: On Tue, Sep 12, 2023 at 11:42 AM Christopher Schultz wrote: Aryeh, On 9/11/23 10:05, Aryeh Friedman wrote: On Mon, Sep 11, 2023 at 9

Re: AW: Solution to "Invalid keystore format" (cross-posted to Tomcat Users List at Apache, and Java 400 List at Midrange)

2023-09-13 Thread Christopher Schultz
Shawn and Mark, On 9/13/23 09:30, Mark Thomas wrote: On 13/09/2023 14:00, Shawn Heisey wrote: On 9/12/23 01:06, Thomas Hoffmann (Speed4Trade GmbH) wrote: I moved away from using the proprietary java keystore format. I switched to using Base64 PEM format. This is usually also the format you ge

Re: AW: Solution to "Invalid keystore format" (cross-posted to Tomcat Users List at Apache, and Java 400 List at Midrange)

2023-09-14 Thread Christopher Schultz
Brian, On 9/13/23 23:25, Brian Wolfe wrote: The PKCS12 is the industry standard keystore format. Your mac should be creating it in that version. You should get familiar using the pkcs12. Its not difficult to set it up. keytool and openssl support pkcs12 and have for some time now. Its possible y

Re: HSTS on 401 / error pages

2023-09-14 Thread Christopher Schultz
Thomas, Please start a new thread next time. On 9/14/23 02:20, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello everyone, I would like to get your opinion about the HttpHeaderSecurityFilter in Tomcat. I configured HSTS in Tomcat and it works well. When I do a pen-test with burpsuite it complain

Re: AW: HSTS on 401 / error pages

2023-09-15 Thread Christopher Schultz
Thomas, On 9/14/23 10:03, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello Chris, -Ursprüngliche Nachricht- Von: Christopher Schultz Gesendet: Donnerstag, 14. September 2023 15:26 An: users@tomcat.apache.org Betreff: Re: HSTS on 401 / error pages Thomas, Please start a new thread

Re: How to setup Apache web server for a Tomcat deployed Spring application

2023-09-15 Thread Christopher Schultz
Martin, On 9/15/23 14:48, Martin Moore wrote: I have a situation where I want to call an Tomcat deployed Spring application remotely without adding the port number (8080), I had tried to use 80 in Connector but wasn't able to connect to it when outside the LAN. What's the motivation, here? It

[ANN] Community Over Code Conference NA 2023 in Halifax, Canada, 7-10 Oct 2023

2023-09-20 Thread Christopher Schultz
All, Please join us in Halifax in 2½ weeks for Community Over Code, the ASF Conference. The Tomcat and httpd tracks are combined for this conference, being held on the second of the four-day conference featuring a wide variety of presentations and panel-led discussions about wide-ranging top

Re: SSL Cert install help.

2023-09-22 Thread Christopher Schultz
Bill, On 9/22/23 13:25, Bill wrote: Hello All, I may have started my SSL Cert install & config at step 2 instead of step 1... :-( Most mistakes are recoverable :) Basically I have created my key store, my p12 file and have my cert all in a sub directory of the conf directory. All of

Re: I forget: does Tomcat have any problems with *not* having a ROOT context?

2023-09-26 Thread Christopher Schultz
James, On 9/25/23 12:17, James H. H. Lampert wrote: I probably asked the question before, but does Tomcat have any problems with not having a ROOT context? I always run with a ROOT context just to be able to do things like provide custom responses with clients request /no-such-app/applicatio

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 pfx file" type="

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 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

Tomcat 10 on RHEL 8 with Java 17

2023-09-27 Thread Christopher Bland
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_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/

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

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

2023-09-27 Thread Christopher Bland
Floor 2020 Ridge Avenue Evanston, IL 60208-0801 darryl.ba...@northwestern.edu <mailto:darryl.ba...@northwestern.edu> (847) 467-6674 On 9/27/23, 9:31 AM, "Christopher Bland" mailto:ch...@fdu.edu>> wrote: Hi All, I just deployed Tomcat v10.1.13 on a new machine. When I s

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 >

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

[SECURITY] [CORRECTION] CVE-2023-41081 Apache Tomcat Connectors (mod_jk) Authentication Bypass

2023-09-28 Thread Christopher Schultz
CVE-2023-41081 Apache Tomcat Connectors (mod_jk) Authentication Bypass Severity: Important Vendor: The Apache Software Foundation Versions Affected: - Apache Tomcat Connectors mod_jk Connector 1.2.0 to 1.2.48 Description: In some circumstances, such as when a configuration included "JkOptions

[SECURITY] [CORRECTION] CVE-2023-41081 Apache Tomcat Connectors (mod_jk) Authentication Bypass

2023-09-28 Thread Christopher Schultz
CVE-2023-41081 Apache Tomcat Connectors (mod_jk) Authentication Bypass Severity: Important Vendor: The Apache Software Foundation Versions Affected: - Apache Tomcat Connectors mod_jk Connector 1.2.0 to 1.2.48 Description: In some circumstances, such as when a configuration included "JkOptions

Re: Migrating Tomcat 8/9 and a single webapp to Java 17 disconfigures Tomcat logs

2023-09-29 Thread Christopher Schultz
Alcides, On 9/28/23 14:55, Alcides Moraes wrote: Hello everyone, I’m new to the list even though I’ve been a Java web developer for many years, I’ve never had the need to post here, but this time I think I may have stumbled upon a bug, and nothing turns up online on this issue. We’re migrati

Re: stack traces from Tomcat 10.1.12

2023-09-29 Thread Christopher Schultz
Thomás, On 9/29/23 03:03, Tomás García wrote: I've noticed these stack traces happening in the same row with Tomcat 10.1.12, Java 17 and Spring Boot 3.1.3. I don't have a way to reproduce them unfortunately. I thought that it could be related to https://bz.apache.org/bugzilla/show_bug.cgi?id=672

Re: Migrating Tomcat 8/9 and a single webapp to Java 17 disconfigures Tomcat logs

2023-10-02 Thread Christopher Schultz
:18, Alcides Moraes escreveu: Hi Christopher, Thanks for the suggestion, we do add some jars to Tomcat lib (mainly Prometheus, Hazelcast) I expanded every jar inside tomcat/lib and ran a find command. root@05ae85e03d7d:/# find ./ -type f -name logging.properties ./usr/local/tomcat/conf/logging

Re: Strange catalina.out not created issue

2023-10-02 Thread Christopher Schultz
Jon, On 10/2/23 13:16, Mcalexander, Jon J. wrote: A little more info on this. The server rebooted last night and the auto-startup started the instance correctly, but the Catalina.out file was not created. It only appears to work properly if you log onto the server and su to the owner user, then

[OT] Migrating Subversion to a new hostname

2023-10-03 Thread Christopher Schultz
All, Does anyone have any experience re-locating a Subversion repo? We are looking at breaking-up some currently co-hosted services, and we'd like to *move* our existing Subversion repo to a new hostname. No other changes, but that means anywhere we have code checked-out will have to be dealt

Re: Fwd: SSL Configuration Help :

2023-10-06 Thread Christopher Schultz
Elavarasan, On 10/6/23 06:32, Elavarasan Pugazhendi wrote: Hi, I have a pfx certificate and am trying to import it into a keystore before configuring it within the tomcat but not able to add the pfx certificate. I followed the below steps but wasn't able to add the certificate Tomcat: 9.0.62 O

Re: deploying war with tomcat manage fails with no significative errors in logs

2023-10-09 Thread Christopher Schultz
Ivano, On 10/9/23 16:05, Ivano Luberti wrote: I solved my own issue: In my web.xml I had two times the same mapping for a servlet       reportservlet /repinvenduti/reportservlet   But there was no error message in tomcat logs with this regard. Maybe tomcat logging is not tuned correctl

Re: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-10 Thread Christopher Schultz
Mark, On 10/10/23 06:38, Mark Thomas wrote: Running multiple instances of Tomcat from the same CATALINA_BASE is totally unsupported. This isn't one of those "We don't technically support that but you should be OK situations". This is one of the rare "You do that and it *will* break and you wil

  1   2   3   4   5   6   7   8   9   10   >