rt Turner
Sent: Tuesday, August 19, 2025 8:27 PM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
Daniel,
If you would like to validate your theory, simply remove the try-with-resources
and revert to your previous logic. However, I strongly believe your theory is
Dan
-Original Message-
From: Robert Turner
Sent: Tuesday, August 19, 2025 8:27 PM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
Daniel,
If you would like to validate your theory, simply remove the try-with-resources
and revert to your previous logic. Howev
] How to access a REST service
> On 2025 Aug 18, at 21:22, Daniel Schwartz
> mailto:d...@danielgschwartz.com>> wrote: > > I
> wasn't resisting using the try-with-resources construct, only when I tried to
> do this, I was getting compiler errors. But I evidently w
ssing?
Have you tested these situations?
On Mon, Aug 18, 2025 at 10:52 AM Robert Turner wrote:
> Daniel,
>
> You have a leak - this we are certain of. You just don't yet know what
> causes it (it's clearly not a "standard use case" and the robots ar
29 AM
To: users@tomcat.apache.org
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
Daniel,
On 8/16/25 10:57 PM, Daniel Schwartz wrote:
> There was a Chris too, but I think he made his recommendation and
> left.
I'm still here, but I do have a job and a family. Rob, Robert and Ch
to another.
Robert
On Sun, Aug 17, 2025, 20:44 Daniel Schwartz wrote:
> Okay, I have changed it to "1". Does this seem reasonable? I don't
> know what would be a good setting.
>
> I have found some documentation on the Eclipse website, but it's a bit
> confus
Thanks. I have changed it to 10. I’ll watch and see if anything happens.
From: Chuck Caldarale
Sent: Sunday, August 17, 2025 8:55 PM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
> On 2025 Aug 17, at 19:43, Daniel Schwartz
> mailto:d...@danielgschwar
eping
in mind that you may need to adapt and update configuration between versions.
Robert
On Sun, Aug 17, 2025, 20:04 Daniel Schwartz wrote:
> Hi Robert,
>
> I just checked. The Connection Leak timeout is set to 0. This
> evidently is the default.
>
> I have been trying to upg
s and logs again...
Robert
On Sun, Aug 17, 2025, 12:08 Daniel Schwartz wrote:
> Rob,
>
> A few years ago, I tried to upgrade to the then current version of
> Glassfish and couldn’t get it to work. I’m considering trying again
> with the current version.
>
> Dan
>
&
: [EXTERNAL EMAIL] How to access a REST service
> On Aug 17, 2025, at 9:45 AM, Daniel Schwartz
> mailto:d...@danielgschwartz.com>> wrote: > > In my
> previous posting, at the very end, I mentioned that I’m using jdk1.8.0_144
> with Glassfish 4.1. That version of Glass
In my previous posting, at the very end, I mentioned that I’m using
jdk1.8.0_144 with Glassfish 4.1. That version of Glassfish won’t with anything
later than 1.8.
Dan
From: Chuck Caldarale
Sent: Saturday, August 16, 2025 3:58 PM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] How to acce
Chuck, Robert, Rob,
There was a Chris too, but I think he made his recommendation and left. I'm
coming to think that his advice was the best, namely, to just live with the
current situation as long as it is working.
Anyway, today I reviewed my code and ran a few more tests. Here is what I
f
From: Chuck Caldarale
Sent: Saturday, August 16, 2025 1:33 PM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
> On 2025 Aug 16, at 12:21, Daniel Schwartz
> mailto:d...@danielgschwartz.com>> wrote: > > I just
> sent a code fragment where
ntln(e.getStackTrace());
}
}
return countryList;
}
}
From: Chuck Caldarale
Sent: Saturday, August 16, 2025 1:19 PM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
> On 2025 Aug 16, at 11:35, Daniel Schwartz
> mailto:d...@danielgschwartz.com>&g
tackTraceElement;@2545fa37]]
--
From: Chuck Caldarale
Sent: Saturday, August 16, 2025 1:11 PM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
> On 2025 Aug 16, at 11:20, Daniel Schw
From: Chuck Caldarale
Sent: Saturday, August 16, 2025 1:11 PM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
> On 2025 Aug 16, at 11:20, Daniel Schwartz
> mailto:d...@danielgschwartz.com>> wrote: > > You
> might be using a different ve
e ds =
> (DataSource) ic.lookup("test1"); try (Connection conn =
> ds.getConnection()) { } catch (SQLException e) {
> throw new Runtime exception(e);
> }
>
> So, I don't agree with your "conclusion" about 8 connections per.
>
> Robert
>
1"); try (Connection conn = ds.getConnection()) { }
catch (SQLException e) {
throw new Runtime exception(e);
}
So, I don't agree with your "conclusion" about 8 connections per.
Robert
On Sat, Aug 16, 2025, 00:02 Daniel Schwartz wrote:
> Chuck,
>
> Okay, here is t
Aug 15, at 22:03, Daniel Schwartz
> mailto:d...@danielgschwartz.com>> wrote: > > I
> think I found the answer. > > A few days ago, someone suggested that I try
> setting the Glassfish maximum pool size to 1 and see what happens.
NkdkJdXPPEBannerStart
Be Careful
Hello Felix,
See my reply below marked DGS.
Dan
From: Felix Schumacher
Sent: Friday, August 15, 2025 1:09 PM
To: users@tomcat.apache.org
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
Am 14.08.25 um 23:26 schrieb Daniel Schwartz:
Chris,
See below.
Dan
-Original
that switching to Tomcat (or TomEE) is going to make any
difference.
-chris
On 8/15/25 12:33 PM, Daniel Schwartz wrote:
>
>
> -Original Message-
> From: Christopher Schultz
> Sent: Friday, August 15, 2025 12:18 PM
> To: users@tomcat.apache.org
> Subject: Re: [
leaks (technically not memory
leaks, but leaks nonetheless) is because it's the best explanation for why your
connection pool seems to be running dry.
I don't think that switching to Tomcat (or TomEE) is going to make any
difference.
-chris
On 8/15/25 12:33 PM, Daniel
-Original Message-
From: Christopher Schultz
Sent: Friday, August 15, 2025 12:18 PM
To: users@tomcat.apache.org
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
Daniel,
On 8/15/25 12:49 AM, Daniel Schwartz wrote:
> Robert (and all),
>
> I will work on answers you
if there are "idle periods" (like after release) or "connection
test" operations that might be causing some of your issues.
Q8: Can you reproduce your pool overflow condition on your development computer
with a low pool count and share the Glassfish logs leading up to and
uding
the exception?
Q9: Can you share your WEB.INF file that's packaged in your WAR file?
Robert
On Thu, Aug 14, 2025 at 5:42 PM Daniel Schwartz
wrote:
> Robert,
>
> Please see the reply is just sent to Chris. I think that this answers
> your questions.
>
> I don'
August 14, 2025 1:27 AM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
Oh
On Thu, Aug 14, 2025, 00:57 Daniel Schwartz wrote:
>
>
>
> DGS: You are talking above my head on this, but I’m not using any
> servlets, and the entire JVM process is the
On 2025 Aug 13, at 23:55, Daniel Schwartz
> mailto:d...@danielgschwartz.com>> wrote: > > See my
> reply below. > > Dan > > From: Chuck Caldarale <mailto:n82...@gmail.com<mailto:n82...@gmail.com%20%3cmailto:n82...@gmail.com>>>
> > Sent: Wednesd
, Daniel Schwartz wrote:
> From: Chuck Caldarale
> Sent: Wednesday, August 13, 2025 10:29 PM
> To: Tomcat Users List
> Subject: Re: [EXTERNAL EMAIL] How to access a REST service
>
>> -Original Message-
>
>> From: Christopher Schultz
>> mailto:ch...
, 2025 9:21 AM
To: users@tomcat.apache.org
Subject: Re: How to access a REST service
Dan,
On 8/12/25 10:52 PM, Daniel Schwartz wrote:
> If you go to my website,
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.worldholidaysa
> ndevents.com&d=DwIDaQ&c=euGZstcaTD
apache.org
Subject: Re: [EXTERNAL EMAIL] RE: How to access a REST service
Daniel,
On 8/13/25 8:59 PM, Daniel Schwartz wrote:
> Chris,
>
> You have given me a lot to think about.
>
> Re your comment: "Getting ApacheBench is different depending upon your
> development enviro
Hi Chuck,
See my reply below.
Dan
From: Chuck Caldarale
Sent: Wednesday, August 13, 2025 10:29 PM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
> On 2025 Aug 13, at 20:27, Daniel Schwartz
> mailto:d...@danielgschwartz.com>> wrote: > > Ch
...
On 8/12/25 1:31 PM, Daniel Schwartz wrote:
> -Original Message-
> From: Christopher Schultz
> Sent: Tuesday, August 12, 2025 11:19 AM
> To: users@tomcat.apache.org
> Subject: Re: [EXTERNAL EMAIL] RE: How to access a REST service
>
> Daniel,
>
> On 8/11/25 9:3
Sent: Wednesday, August 13, 2025 2:49 PM
To: users@tomcat.apache.org
Subject: Re: [EXTERNAL EMAIL] RE: How to access a REST service
Dan,
On 8/12/25 11:33 PM, Daniel Schwartz wrote:
> -Original Message-
> From: Robert Turner
> Sent: Tuesday, August 12, 2025 11:09 PM
> To: Tomca
ccess a REST service
Dan,
On 8/12/25 11:33 PM, Daniel Schwartz wrote:
> -Original Message-
> From: Robert Turner
> Sent: Tuesday, August 12, 2025 11:09 PM
> To: Tomcat Users List
> Subject: Re: [EXTERNAL EMAIL] RE: How to access a REST service
>
> [snip]>
> Fo
Chris,
Thanks again.
Dan
-Original Message-
From: Christopher Schultz
Sent: Wednesday, August 13, 2025 2:56 PM
To: users@tomcat.apache.org
Subject: Re: How to access a REST service
Dan,
On 8/13/25 12:38 AM, Daniel Schwartz wrote:
> -Original Message-
> From: Robert
-Original Message-
From: Robert Turner
Sent: Monday, August 11, 2025 10:12 PM
To: Tomcat Users List
Subject: Re: How to access a REST service
One additional set of suggestions for this project or for the future
(inline):
On Mon, Aug 11, 2025, 21:53 Daniel Schwartz wrote:
>
&g
I just saw this.
From: Rob Sargent
Sent: Monday, August 11, 2025 10:17 PM
To: Tomcat Users List
Cc: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] RE: How to access a REST service
> On Aug 11, 2025, at 7:54 PM, Daniel Schwartz
> mailto:d...@danielgschwartz.com>> wrote: > >
Robert,
See my replies.
Dan
-Original Message-
From: Robert Turner
Sent: Tuesday, August 12, 2025 11:09 PM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] RE: How to access a REST service
Dan,
On Tue, Aug 12, 2025 at 10:38 PM Daniel Schwartz
wrote:
>
> DGS: For "I
Hello Rob,
More remarks marked with DGS.
Dan
From: Rob Sargent
Sent: Tuesday, August 12, 2025 4:47 PM
To: Tomcat Users List
Cc: Tomcat Users List
Subject: Re: How to access a REST service
> On Aug 12, 2025, at 2:29 PM, Daniel Schwartz
> mailto:d...@danielgschwartz.com>> wrote
Robert,
See my replies.
Dan
-Original Message-
From: Robert Turner
Sent: Tuesday, August 12, 2025 5:06 PM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] RE: How to access a REST service
Dan,
On Tue, Aug 12, 2025 at 4:43 PM Daniel Schwartz
wrote:
> Hello again, Rob
nline...
On Tue, Aug 12, 2025 at 1:46 PM Daniel Schwartz
wrote:
>
> DGS: I was going by what the person at Omnifish had told me. I just
> checked, and you can't set the maximum pool size to 1. The minimum is 8.
> So I did this and within seconds the system stopped working and I g
Hello Felix,
See my replies marked with DGS.
Dan
From: Felix Schumacher
Sent: Tuesday, August 12, 2025 2:47 PM
To: users@tomcat.apache.org
Subject: Re: How to access a REST service
Am 08.08.25 um 18:21 schrieb Daniel Schwartz:
Hello Robert,
From your and other people's replies
Chris,
More replied labeled DGS below.
-Original Message-
From: Christopher Schultz
Sent: Tuesday, August 12, 2025 11:19 AM
To: users@tomcat.apache.org
Subject: Re: [EXTERNAL EMAIL] RE: How to access a REST service
Daniel,
On 8/11/25 9:38 PM, Daniel Schwartz wrote:
> Ch
Rob,
The system has never crashed, so I've seen a stack trace.
Dan
From: Rob Sargent
Sent: Monday, August 11, 2025 9:51 PM
To: Tomcat Users List
Cc: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] RE: How to access a REST service
I'm interested in what you mean by "crashes". To me, that usua
te everyone's taking the time to respond.
Best of luck,
Robert
On Mon, Aug 11, 2025, 21:23 Daniel Schwartz wrote:
> Hi Chris,
>
> Please see my replies after each of your comments. I have attached a
> copy of the Glassfish page that shows the Connection Pool monitoring
>
Chris,
Again, see my replies marked DSG.
Dan
-Original Message-
From: Christopher Schultz
Sent: Monday, August 11, 2025 3:21 PM
To: users@tomcat.apache.org
Subject: Re: [EXTERNAL EMAIL] RE: How to access a REST service
Daniel,
On 8/5/25 3:05 PM, Daniel Schwartz wrote:
> I j
Chris,
Please see my reply marked DSG below.
Dan
-Original Message-
From: Christopher Schultz
Sent: Monday, August 11, 2025 3:25 PM
To: users@tomcat.apache.org
Subject: Re: How to access a REST service
Daniel,
On 8/7/25 4:59 PM, Daniel Schwartz wrote:
> Thank you for your reply,
Chris,
See my reply marked DGS below.
Dan
-Original Message-
From: Christopher Schultz
Sent: Monday, August 11, 2025 3:32 PM
To: users@tomcat.apache.org
Subject: Re: How to access a REST service
Dan,
On 8/7/25 10:29 PM, Daniel Schwartz wrote:
> Robert, Chris, and others who h
ean.
Dan
-Original Message-
From: Christopher Schultz
Sent: Monday, August 11, 2025 3:41 PM
To: users@tomcat.apache.org
Subject: Re: How to access a REST service
Dan,
On 8/8/25 12:21 PM, Daniel Schwartz wrote:
> From your and other people's replies, I'm learning that
From: Rob Sargent
Sent: Friday, August 8, 2025 2:38 PM
To: Tomcat Users List
Cc: Tomcat Users List
Subject: Re: How to access a REST service
> On Aug 8, 2025, at 10:23 AM, Daniel Schwartz
> mailto:d...@danielgschwartz.com>> wrote: > > Hello
> Robert, > > F
Hello Thorsten,
-Original Message-
From: Thorsten Heit
Sent: Friday, August 8, 2025 2:55 PM
To: users@tomcat.apache.org
Subject: Re: How to access a REST service
Hi Daniel,
> You are correct, I only catch SQL exceptions. I have modified my code so
> that the Connection objec
their replies.
Dan
-Original Message-
From: Robert Turner
Sent: Friday, August 8, 2025 1:32 AM
To: Tomcat Users List
Subject: Re: How to access a REST service
(sorry for any errors, I'm bashing this out quickly on my phone before going to
bed)
On Fri, Aug 8, 2025, 00:59 Daniel Sc
, and the Connection object continues to be marked as being in use.
This would be a leak. But I don’t know if this is happening.
Dan
From: Chuck Caldarale
Sent: Thursday, August 7, 2025 11:52 PM
To: Tomcat Users List
Subject: Re: How to access a REST service
> On 2025 Aug 7, at 21:43, Dan
From: Chuck Caldarale
Sent: Thursday, August 7, 2025 11:52 PM
To: Tomcat Users List
Subject: Re: How to access a REST service
> On 2025 Aug 7, at 21:43, Daniel Schwartz
> mailto:d...@danielgschwartz.com>> wrote: > > I have
> just posted everything again, this time wit
ner
Sent: Thursday, August 7, 2025 5:07 PM
To: Tomcat Users List
Subject: Re: How to access a REST service
Dan,
On Thu, Aug 7, 2025 at 5:01 PM Daniel Schwartz
wrote:
> Hello Chris,
>
> Thank you for your reply, but I'm still unsure. You seem to be
> implying that I hav
INFO] [] [] [tid: _ThreadID=36
_ThreadName=Thread-8] [timeMillis: 1754616019704] [levelValue: 800] [[
holidays connection has been closed]]
-Original Message-
From: Robert Turner
Sent: Thursday, August 7, 2025 5:07 PM
To: Tomcat Users List
Subject: Re: How to access a REST service
Dan,
On T
sfish, and one can have connections that exist outside the pool. This
would resolve the issue I'm currently having with Glassfish.
Best regards,
Dan Schwartz
---Original Message-
From: Christopher Schultz
Sent: Thursday, August 7, 2025 2:58 PM
To: users@tomcat.apache.org
Subject:
you or anyone can give will be appreciated.
Dan Schwartz
From: Rob Sargent
Sent: Tuesday, August 5, 2025 11:40 PM
To: Tomcat Users List
Cc: Tomcat Users List
Subject: Re: How to access a REST service
> On Aug 5, 2025, at 11:54 AM, Daniel Schwartz
> mailto:d...@danielgschwartz.com>> wrote
. That’s why I have set a
large maximum pool size.
Dan Schwartz
From: Niranjan Rao
Sent: Tuesday, August 5, 2025 12:54 PM
To: users@tomcat.apache.org
Subject: Re: [EXTERNAL EMAIL] RE: How to access a REST service
On 8/5/25 09:43, Daniel Schwartz wrote: > Well, I guess that this is a top
p
7jXrwqOf-v5A_CdpgnVfiiMM&r=AbCalLxzopgQUG9LLcXdB80OM-GtDfItX76RMxNYqz4&m=e7w4teh9aIQALHe76U1py0iyqtcjXfx02vzzglOFkc9dh0BgfasDq2oRvIzwK7x-&s=_UWjBLunOHYm7UwZkR5lAR4MUYt2NLMH0w-75mkZZrc&e=
> On Aug 4, 2025, at 10:31 AM, Daniel Schwartz
> mailto:d...@danielgschwartz.com>>
025, at 8:11 PM, Daniel Schwartz
> mailto:d...@danielgschwartz.com>> wrote: > > Hello
> Rob, > > I don’t know what a “top post” is or why it should warrant an
> apology, but I appreciate your taking the time to reply. This
NkdkJdXPPEBannerStart
Be Careful With This Mess
mEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AbCalLxzopgQUG9LLcXdB80OM-GtDfItX76RMxNYqz4&m=e7w4teh9aIQALHe76U1py0iyqtcjXfx02vzzglOFkc9dh0BgfasDq2oRvIzwK7x-&s=_UWjBLunOHYm7UwZkR5lAR4MUYt2NLMH0w-75mkZZrc&e=
> On Aug 4, 2025, at 10:31 AM, Daniel Schwartz
> mailto:d...@danielgschwart
Hello Chris,
Thanks. This looks helpful.
Dan Schwartz
-Original Message-
From: Christopher Schultz
Sent: Monday, August 4, 2025 10:15 AM
To: users@tomcat.apache.org
Subject: Re: How to access a REST service
Daniel,
Apologies for top-posting, but I would highly recommend reading
s are identified, using cookies or some
such technique. I will look into this.
Dan
-Original Message-
From: Thorsten Heit
Sent: Friday, August 1, 2025 5:32 AM
To: users@tomcat.apache.org
Subject: Re: How to access a REST service
Hi,
> Daniel,
> You might take a look at java’s
Hello Thorsten,
Please see my replies below, marked DGS.
-Original Message-
From: Thorsten Heit
Sent: Friday, August 1, 2025 5:32 AM
To: users@tomcat.apache.org
Subject: Re: How to access a REST service
Hi,
> Daniel,
> You might take a look at java’s “ try with” construc
Users List
Cc: Tomcat Users List
Subject: Re: How to access a REST service
Daniel, You might take a look at java’s “ try with” construct The
try-with-resources Statement (The Java™ Tutorials > Essential Java Classes >
Exceptions) docs.orac
Hello Mark,
Thanks for taking the time to reply. Please see my notes below, marked "DGS".
-Original Message-
From: Mark Thomas
Sent: Thursday, July 31, 2025 4:32 AM
To: users@tomcat.apache.org
Subject: Re: How to access a REST service
On 31/07/2025 05:10, Daniel Schwartz
I have a REST webservice written in Java that runs on the Glassfish server, but
I started having problems with the JDBC pooling system. It kept crashing,
saying that it was unable to allocate any more connection objects. This made
no sense to me, as I had set the maximum pool size to 1000, and
>On 23/07/2025 15:36, Daniel Sheridan wrote:
>
>
>
>> Hi Rainer,
>>
>>> it might be a search for non-existing classes or resources
>> The JARs are being scanned for specific classes during the delay, but they
>> are classes that should alr
>Am 22.07.25 um 17:59 schrieb Daniel Sheridan:
>>> On 7/21/25 20:18 PM, Christopher Schultz wrote:
>>> Daniel and Mark,
>>>
>>> On 7/21/25 12:48 PM, Daniel Sheridan wrote:
>>>>> On 18/07/2025 16:04, Daniel Sheridan wrote:
>>>>>
>On 7/21/25 20:18 PM, Christopher Schultz wrote:
>Daniel and Mark,
>
>On 7/21/25 12:48 PM, Daniel Sheridan wrote:
>>> On 18/07/2025 16:04, Daniel Sheridan wrote:
>>>
>>>> I definitely think there is something happening on the Tomcat side here
>>&
>On 22/07/2025 07:53, Mark Thomas wrote:
>>On 21/07/2025 17:48, Daniel Sheridan wrote:
>>> On 18/07/2025 16:04, Daniel Sheridan wrote:
>>>
>>>> I definitely think there is something happening on the Tomcat side here
>>>> around caching, I
>On 18/07/2025 16:04, Daniel Sheridan wrote:
>
>> I definitely think there is something happening on the Tomcat side here
>> around caching, I've played with some resource caching settings but it
>> didn't make any difference unfortunately.
>
>The flame g
>On 7/14/25 15:26, Gregg, John E wrote:
>Daniel,
>
>I cannot access your flame graph on imgur, but what is happening in your code
>that leads to the jar scanning? All of my apps have run on Linux since
>forever, so I don’t know what might be different with Windows, but I’ve fou
>On 7/11/25 17:42, Christopher Schultz wrote:
>Daniel,
>
>On 7/11/25 11:57 AM, Daniel Sheridan wrote:
> >
> > [snip]
> >
>> Correct, almost the entire delay is during the JAR scanning when the
>> files are being accessed.
>>
>> We are using
>On 7/8/25 16:32, Christopher Schultz wrote:
>Daniel,
>
>On 7/8/25 11:15 AM, Daniel Sheridan wrote:
>> On 7/2/25 10:22 AM, Daniel Sheridan wrote:
>>> Hi folks,
>>>
>>> We're using Tomcat 10.1.40, but also seeing this issue with multiple Tomcat
On 7/2/25 10:22 AM, Daniel Sheridan wrote:
> Hi folks,
>
> We're using Tomcat 10.1.40, but also seeing this issue with multiple Tomcat 9
> versions, running on Windows Server 2019 and Server 2022 machines. We're
> hosting a web app with a REST API, and encounter del
Hi folks,
We're using Tomcat 10.1.40, but also seeing this issue with multiple Tomcat 9
versions, running on Windows Server 2019 and Server 2022 machines. We're
hosting a web app with a REST API, and encounter delays on requests when they
hit our REST API of 9-12 seconds. Easiest way to reprodu
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 T
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();
> >
g wrong with these
files?
Dan
-Original Message-
From: Christopher Schultz
Sent: Wednesday, June 19, 2024 5:10 PM
To: users@tomcat.apache.org
Subject: Re: Tomcat MySQL Connection Pooling JNDI lookup
Daniel,
On 6/19/24 16:37, Daniel Schwartz wrote:
> I followed you instruction to mo
To: users@tomcat.apache.org
Subject: Re: Tomcat MySQL Connection Pooling JNDI lookup
Daniel,
On 6/19/24 11:40, Daniel Schwartz wrote:
> Dear Felix,
>
> Thank you for your reply. The connector jar file is at
>
> C:\Program
> Files\apache-tomcat-10.1.24\lib\mysql-connector-j-8.4.0.
her
Sent: Wednesday, June 19, 2024 1:41 AM
To: Tomcat Users List
Subject: Re: Tomcat MySQL Connection Pooling JNDI lookup
Am 17. Juni 2024 22:18:53 MESZ schrieb Daniel Schwartz
:
>Hello,
>
>
>
>I'm trying to set up MySQL 8.0.11 database connection pooling in Tomcat
Dear Thomas,
Your email came with no content. Please try again.
Dan Schwartz
From: Thomas Hoffmann (Speed4Trade GmbH)
Sent: Wednesday, June 19, 2024 2:05 AM
To: Tomcat Users List
Subject: AW: Tomcat MySQL Connection Pooling JNDI lookup
Hello again
I sent the following message yesterday. Is anyone going to reply? I'm
totally stuck. If no one can help, then I will have no alternative but to
abandon Tomcat and try some alternative.
Dan Schwartz
From: Daniel Schwartz
Sent: Monday, June 17, 2024 4:19 PM
To:
Hello,
I'm trying to set up MySQL 8.0.11 database connection pooling in Tomcat
10.1.24 on Windows 10. The MySQL database is "holidays" with user name
"root" and password "rootpwd". I've tried to follow the examples at
https://tomcat.apache.org/tomcat-9.0-doc/jndi-datasource-examples-howto.html
:)
On Thu, Mar 14, 2024 at 7:53 PM Mark Thomas wrote:
>
> On 14/03/2024 11:51, Vincent Daniel wrote:
> > Thank you so much.
> > I am ashamed that I did not read the documentation carefully.
>
> No problem. It is only a single line in the docs and it helps a lot if
> yo
Thank you so much.
I am ashamed that I did not read the documentation carefully.
On Thu, Mar 14, 2024 at 7:46 PM Mark Thomas wrote:
>
> On 14/03/2024 11:36, Vincent Daniel wrote:
> > Hi, community
> >
> > When I configured Tomcat logs, I found the fo
Hi, community
When I configured Tomcat logs, I found the following configuration in
logging.properties
1catalina.org.apache.juli.AsyncFileHandler
2localhost.org.apache.juli.AsyncFileHandler
3manager.org.apache.juli.AsyncFileHandler
4host-manager.org.apache.juli.AsyncFileHandler
I am not sure wha
Christ,
Thanks for the explanation.
The XML-based registration - is that something I would do as a user, or
something that would be changed on the Tomcat side as part of its release
bundle?
On Thu, Dec 14, 2023 at 10:17 AM Christopher Schultz <
ch...@christopherschultz.net> wrote:
&g
ethod. I'm not familiar with the code, but it appears that there might be
an issue with how that map is constructed.
On Thu, Dec 14, 2023 at 4:25 AM Rémy Maucherat wrote:
> On Wed, Dec 13, 2023 at 9:43 PM Daniel Skiles
> wrote:
> >
> > The object and opera
0.83 might have to do
with the fact that the catalina java code now has a one argument and two
argument variant of the same method.
On Wed, Dec 13, 2023 at 10:27 AM Christopher Schultz <
ch...@christopherschultz.net> wrote:
> Daniel,
>
> On 12/12/23 19:45, Daniel Skiles wrote:
>
tion e) {
throw new RuntimeException("Error invoking " + method + " with params " +
Arrays.toString(params) + " and signature " + Arrays.toString(signature),
e);
}
}
}
On Fri, Dec 8, 2023 at 4:55 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:
> Dan
All,
I've been doing some testing, and I'm pretty sure the addSslHostConfig
operation on ProtocolHandler is busted in 9.0.83.
In versions prior to 9.0.82, you can call the operation with a single
argument of type SSLHostConfig.
In 9.0.82, that contract seems to have been broken, and you had to ca
(DefaultMBeanServerInterceptor.java:814)
~[?:?]
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802)
~[?:?]
Any ideas here?
On Wed, Dec 6, 2023 at 4:45 PM Daniel Skiles wrote:
> I found the source of the problem
>
> 9.0.82 accepts the simple class name as a type paramete
I found the source of the problem
9.0.82 accepts the simple class name as a type parameter for the operation.
9.0.83 requires the canonical class name.
On Wed, Dec 6, 2023 at 3:06 PM Daniel Skiles wrote:
> I've had no success digging into this.
>
> Is this a regression,
I've had no success digging into this.
Is this a regression, or was this an intentional change?
On Mon, Nov 27, 2023 at 8:56 AM Daniel Skiles wrote:
> Thanks for taking a look. My lightly scrubbed connector example is
> attached.
>
> On Tue, Nov 21, 2023 at 6:45 AM Michae
Christopher,
So... when a connection is established, save the current timestamp on
> the connection. When it closes, take the delta of the
> start-of-connection and end-of-connection, and add it to a bounded queue
> (say, 100? 1000?) of most-recent-connection-lifetimes. Any time you
> request the
tion time is 1 hour for 50 connections,
with a keep alive timeout of 5 minutes, it means the connection was
receiving requests the whole hour.
--
Daniel Andrés Pelaez López
-
To unsubscribe, e-mail: users-unsubscr...@t
losed or similar? maybe by knowing the
closed ones vs open ones, we can figure out the keep-alive ones.
Any insight will be appreciated.
--
Daniel Andrés Pelaez López
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache
1 - 100 of 1182 matches
Mail list logo