e still being
> thrown, but the program keeps running with no memory leak.
>
> Thanks again to everyone for your comments. It's been very helpful, and I
> have learned a lot in the process.
>
> Dan
>
> -Original Message-
> From: Robert Turner
> Sent: Tuesday,
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
kful
> for everyone's efforts and that the issue now seems to be resolved.
>
> Best regards,
>
> Dan
>
> From: Chuck Caldarale
> Sent: Tuesday, August 19, 2025 1:33 AM
> To: Tomcat Users List
> Subject: Re: [EXTERNAL EMAIL] How to access a REST service
>
> >
ether this had to do
with my code changes or the issue I just described, I'm thankful for everyone's
efforts and that the issue now seems to be resolved.
Best regards,
Dan
From: Chuck Caldarale
Sent: Tuesday, August 19, 2025 1:33 AM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL
en via System.out (or
System.err), unless GlassFish has an option to redirect that to its internal
logging mechanism. Tomcat has such an option, and GlassFish started as a fork
of Tomcat many years ago, so such an option may well exist.
> The current contents of the JDBC monitor page are copie
h earlier today and dropped in the new .war file. It
> > has been running for 6-8 hours now. The log files show no evidence of
> any
> > exceptions being thrown. The current contents of the JDBC monitor page
> are
> > copied below. I don't know how to interpret
ped in the new .war file. It
> has been running for 6-8 hours now. The log files show no evidence of any
> exceptions being thrown. The current contents of the JDBC monitor page are
> copied below. I don't know how to interpret most of this, but I do note
> that the number of conne
eing thrown. The current contents of the JDBC monitor page are
> copied below. I don't know how to interpret most of this, but I do note
> that the number of connections released equals the number acquired. Also,
> I have set the Connection Leak Timeout to be 10 seconds, and the
&
es show no evidence of any
exceptions being thrown. The current contents of the JDBC monitor page are
copied below. I don't know how to interpret most of this, but I do note that
the number of connections released equals the number acquired. Also, I have
set the Connection Leak Timeout to be
changed at 388.
>>
>> There has been suspicion that my system has a memory leak, but all
>> indications are that this is not happening.
>>
>> I'm currently trying to upgrade to the current version of Glassfish to
>> see if this behaves differently, but haven't gotten it
version of Glassfish to see
> if this behaves differently, but haven't gotten it working yet.
>
> Dan
>
>
> -Original Message-
> From: Christopher Schultz
> Sent: Monday, August 18, 2025 10:29 AM
> To: users@tomcat.apache.org
> Subject: Re: [EXTERNAL E
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
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 Chuck
were making plenty of noise so I decided to reduce the clutter.
I'm coming to think that his adv
ubject: Re: [EXTERNAL EMAIL] How to access a REST service
IIRC, the setting is the number of seconds before reporting a connection as
leaked. So, because most of your connections should be very short-lived, it
should probably work. I would typically suggest a larger number as applications
often
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
. Maybe he
> can help. I tried to duplicate the configuration I have for version 4.1,
> but this doesn't seem to work for version 7.0.25.
>
> -Original Message-
> From: Robert Turner
> Sent: Sunday, August 17, 2025 8:19 PM
> To: Tomcat Users List
> Subject: Re:
Sent: Sunday, August 17, 2025 8:19 PM
> To: Tomcat Users List
> Subject: Re: [EXTERNAL EMAIL] How to access a REST service
>
> Yes, 0 is the default (in both versions) which means leak detection is
> disabled. That is likely why Glassfish has never reported a leak.
>
> You shoul
ied to duplicate the configuration I have for version 4.1, but this
doesn't seem to work for version 7.0.25.
-Original Message-
From: Robert Turner
Sent: Sunday, August 17, 2025 8:19 PM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
Yes, 0 is the default
Yes, 0 is the default (in both versions) which means leak detection is
disabled. That is likely why Glassfish has never reported a leak.
You should be able to update your 4.1 config using the UI or the asadmin
tool.
I don't know how well copying the setup works between the versions. I k
instructions for setting up connection pooling are different.
Dan
-Original Message-
From: Robert Turner
Sent: Sunday, August 17, 2025 2:13 PM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
So, a quick question Dan:
Have you enabled Glassfish JDBC pool leak
rying again with
> the current version.
>
> Dan
>
> From: Rob Sargent
> Sent: Sunday, August 17, 2025 12:04 PM
> To: Tomcat Users List
> Cc: Tomcat Users List
> Subject: Re: [EXTERNAL EMAIL] How to access a REST service
>
> > On Aug 17, 2025, at 9:45 AM, Daniel S
: [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
> On Aug 17, 2025, at 9:45 AM, Daniel Schwartz 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 Glassfish won’t with
> anything later than 1.8.
>
> Dan
Are these specs for glassfish and java requirements? A
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
uired
12245 - 12235 = 10 connections released
From: Chuck Caldarale
Sent: Saturday, August 16, 2025 3:58 PM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
> On 2025 Aug 16, at 14:52, Robert Turner
> mailto:rtur...@e-djuster.ca.INVALID>> wrote: &
ard to find these days, but it can be downloaded
>> from here: https://javaee.github.io/glassfish/download
>>
>> Also, 4.1 refuses to run on a modern JVM, resulting in this message:
>>
>> GlassFish requires Java SE version 6. Your JDK is version 0
>>
>> M
ish/download
>
> Also, 4.1 refuses to run on a modern JVM, resulting in this message:
>
> GlassFish requires Java SE version 6. Your JDK is version 0
>
> Mine is currently 23.0.2; not sure how far back one will have to go…
>
> - Chuck
>
Thanks for the heads up. That might
:
GlassFish requires Java SE version 6. Your JDK is version 0
Mine is currently 23.0.2; not sure how far back one will have to go…
- Chuck
> On 2025 Aug 16, at 14:02, Robert Turner wrote:
>
> Dan,
>
> You are doing well to keep up -- we keep throwing lots at you. I think we
> a
t; 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
> >
> >> Immediately after doing this, the message copied below started
> appearing repeatedly in the
> On 2025 Aug 16, at 12:44, Daniel Schwartz wrote:
>
> 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
>
>> Immediately after doing this, the message cop
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
eans, but I think that the message copied below
> was generated each time some web crawler was submitting a query. These come
> quite frequently.
>
> By the way, I don't know how they do this, but the web crawlers somehow
> figured out that I submit queries to the web service us
Robert, Chuck, Rob,
I have received six emails from you today. Rather than replying to each one
individually, I'll try to cover most of them here. However, several of you
have asked questions that I don't know how to answer. You are all a level or
two over my head. But I'
> On 2025 Aug 16, at 11:35, Daniel Schwartz wrote:
>
> Working through the numerous replies ...
>
> -Original Message-
> From: Robert Turner
> Sent: Saturday, August 16, 2025 1:03 AM
> To: Tomcat Users List
> Subject: Re: [EXTERNAL EMAIL] How to acc
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
> On 2025 Aug 16, at 11:20, Daniel Schwartz wrote:
>
> You might be using a different version of Glassfish. I have 4.1 (which I
> realize is old). It won't let you set the minimum pool size to less than 8.
Did you actually set the minimum (steady-pool-size) or did you just try
changing ma
Working through the numerous replies ...
-Original Message-
From: Robert Turner
Sent: Saturday, August 16, 2025 1:03 AM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
Dan,
What's your thread pool size?
DGS: I don't know how to determine t
t
is that what I have now seem to be working, so I don't see any point in making
major changes.
Dan
-Original Message-
From: Robert Turner
Sent: Saturday, August 16, 2025 12:35 AM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
Dan,
FWIW
On 8/15/25 21:03, Daniel Schwartz wrote:
Today I decided to run a test where I cleared out Glassfish so I could start
from scratch. I executed one REST request using the URL I posted recently,
which returns a list of countries. Then I looked at the Glassfish JDBC pool
monitor. A PDF of th
t; connection to simulate being slow.
>
> Everything worked without issue. I can fire thousands of connections at it
> with no running out of connection problems. Requests queue up and wait for
> a connection to be released.
>
> There must be something wrong with how you are manag
5 11:39 PM
> To: Tomcat Users List
> Subject: Re: [EXTERNAL EMAIL] How to access a REST service
>
>> On 2025 Aug 15, at 22:03, Daniel Schwartz
>> mailto:d...@danielgschwartz.com>> wrote: > > I
>> think I found the answer. > > A few days ago, some
ut of connection problems. Requests queue up and wait for
a connection to be released.
There must be something wrong with how you are managing and using the
connections.
Could you provide a sample of the code that uses the connection?
Robert
On Sat, Aug 16, 2025, 00:35 Robert Turner wrote:
The total number of connections in the pool that timed out between the
> start time and the last sample time.
>
> Regarding your statement "What is more likely is that the GlassFish
> connection pool simply initializes the configured minimum number of
> connections on the firs
lizes the configured minimum number of connections on the
first attempt to acquire a connection.", I have no idea hat this means.
Dan
From: Chuck Caldarale
Sent: Friday, August 15, 2025 11:39 PM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
> On 2025
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
to its
> internal design, and there really is no problem as long as I keep the maximum
> pool size large enough.
>
> What do you think?
>
> Dan
>
> -Original Message-
> From: Christopher Schultz
> Sent: Friday, August 15, 2025 1:07 PM
> To: users@tomc
at.apache.org
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
Dan,
The only reason we are all looking for resource 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
been unable to find any such
leak. Still looking.
Dan
-Original Message-
From: Christopher Schultz
Sent: Friday, August 15, 2025 1:07 PM
To: users@tomcat.apache.org
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
Dan,
The only reason we are all looking for resource
Am 14.08.25 um 23:26 schrieb Daniel Schwartz:
Chris,
See below.
Dan
-Original Message-
From: Christopher Schultz
Sent: Thursday, August 14, 2025 2:47 PM
To:users@tomcat.apache.org
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
Dan,
Like Robert, I am confused.
Read on
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: [EXTERNAL EMAIL] How to access a REST service
Daniel,
On 8/15/25 12:49 AM, Daniel Schwartz wrote:
R
-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
Daniel,
On 8/15/25 12:49 AM, Daniel Schwartz wrote:
Robert (and all),
I will work on answers your various questions. However, I decided to first explore the
comment (by someone) that a servlet can "swallow" an exception, which I take to
mean that it can throw an exception without reporting t
> On 2025 Aug 14, at 23:49, Daniel Schwartz wrote:
>
> I will work on answers your various questions. However, I decided to first
> explore the comment (by someone) that a servlet can "swallow" an exception,
> which I take to mean that it can throw an exception without reporting the
> excep
ack traces of the exception and its root causes are available
in the GlassFish Server Open Source Edition 4.1 logs.
GlassFish Server Open Source Edition 4.1
---
-Original Message-
From: Robert Turner
Sent: Thursday, Au
x27;m the one that's confused. I guess that I misspoke
when I said that it was a "regular Java program", since it doesn't have a main
method. It simply sits in the Glassfish domain and responds to REST requests.
Does this make it a servlet? I have written servlets before, b
this (fixed width font needed):
___
DB connection count over time: __/ \__
REST request:+-+
If not, then you want to look at when the connection is released back to
the pool.
You also haven't provided any information about h
Accessing your website doesn’t tell us anything definitive about your
implementation.
The page which makes the request is waiting for the answer. No user session is
required.
Oh. At least thats the case in the servlet world. But in your java Main world
we are left at a loss as to how you
> On 2025 Aug 14, at 16:42, Daniel Schwartz wrote:
>
> Please see the reply is just sent to Chris. I think that this answers your
> questions.
>
> I don't know why people thought I was using servlets.
Likely because both Tomcat and GlassFish are servlet containers, and you were
asking q
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
Chuck,
To avoid repeating myself, please see my reply to Chris, mailed just moments
ago.
Yes, I’m considering TomEE as a future option.
Dan
From: Chuck Caldarale
Sent: Thursday, August 14, 2025 2:15 AM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
>
Chris,
See below.
Dan
-Original Message-
From: Christopher Schultz
Sent: Thursday, August 14, 2025 2:47 PM
To: users@tomcat.apache.org
Subject: Re: [EXTERNAL EMAIL] How to access a REST service
Dan,
Like Robert, I am confused.
Read on for more replies...
On 8/14/25 12:55 AM
Hello Chris,
Have you actually tried out my website: www,worldholidaysandevents,com [replace
commas with periods]. If you see how it works, this might answer many of your
questions.
More comments below.
Dan
-Original Message-
From: Christopher Schultz
Sent: Thursday, August 14
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
Dan,
Like Robert, I am confused.
Read on for more replies...
On 8/14/25 12:55 AM, 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
_connect(): Invalid argument
(22)" or something, try using "127.0.0.1" instead of "localhost".
-chris
[1] https://apachelounge.com/downloads
[2] (https://apachelounge.com/downloads)
-Original Message-
From: Christopher Schultz
Sent: Wednesday, August 13, 202
Dan,
On 8/12/25 10:52 PM, Daniel Schwartz wrote:
If you go to my website, www.worldholidaysandevents.com, and make a
request for holiday info for, say, Tallahassee, Florida, USA, 2025,
you will see the following actions:
1. The Countries list is filled with a list of countries. This is on
> On 2025 Aug 13, at 23:55, Daniel Schwartz wrote:
>
> See my reply below.
>
> Dan
>
> From: Chuck Caldarale mailto:n82...@gmail.com>>
> Sent: Wednesday, August 13, 2025 10:29 PM
> To: Tomcat Users List <mailto:users@tomcat.apache.org>>
> Subje
nd keep running. I really don’t think
> so. Maybe something like this will happen with servlets, but this is just
> an ordinary Java program, and this is how Java behaves. It has nothing to
> do with Glassfish.
>
Now I know why are all so confused ..
FWIW, this made me laugh for 3 minutes
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 2025 Aug 13, at 20:27, Daniel Schwartz wrote:
>
> Chris,
>
> See my reply to your comment.
>
> Dan
> -Original Message-
> From: Christopher Schultz
> Sent: Wednesday, August 13, 2025 2:21 PM
> To: users@tomcat.apache.org
> Subject: Re: [EXTE
Chris,
See my reply to your comment.
Dan
-Original Message-
From: Christopher Schultz
Sent: Wednesday, August 13, 2025 2:21 PM
To: users@tomcat.apache.org
Subject: Re: [EXTERNAL EMAIL] RE: How to access a REST service
Dan,
At the risk of extending an already-lengthy conversation
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
Chris,
Thanks for the detailed reply. You give numerous things to consider. I'll
look into them as my time permits.
Dan
-Original Message-
From: Christopher Schultz
Sent: Wednesday, August 13, 2025 2:49 PM
To: users@tomcat.apache.org
Subject: Re: [EXTERNAL EMAIL] RE: How to a
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
> >
> > If one is going to make multiple requests (especially without much logic
>
Dan,
On 8/13/25 12:38 AM, Daniel Schwartz wrote:
-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
If one is going to make multiple requests (especially without much logic
in-between), I
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]>
For clarity, the 13 ms is the time it takes the p
Dan,
At the risk of extending an already-lengthy conversation...
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
-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
sense to
> reduce to this timeout time. Does this make sense?
>
For clarity, the 13 ms is the time it takes the pool to return to the
caller (Java code) a connection when requested (as opposed to how long the
connection is used for). Your other comments are accurate -- you could have
many idle
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
ns are happening quickly, as
> long as some are available.
That seems reasonable as well.
Given these, what seems very odd is how many connections you still need,
and that you actually max out with a reasonable pool limit (of under 100).
Unless you have a really large number of simultaneous
> On Aug 12, 2025, at 2:29 PM, Daniel Schwartz wrote:
>
> Hello Felix,
>
> See my replies marked with DGS.
>
> Dan
>
> DGS: I explained this in a previous email. Each user interaction requires
> either 3 or 4 database queries. That’s how my system works.
request
which doesn't seem to be a lot. Connections are happening quickly, as long as
some are available.
Dan
-Original Message-
From: Robert Turner
Sent: Tuesday, August 12, 2025 1:57 PM
To: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] RE: How to access a REST service
i
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
nnections available than the anticipated future
high-water mark. But this seems to be working.
So maybe I'm just imagining problems that no longer exist. As long as the
system keeps running, I'm fine with this.
Thanks to everyone for their replies.
Dan
-Original Message-
ng threads /
requests would have to wait for more than 60 seconds?
Using a connection for around 60 seconds would be a really long DB query,
or a very slow database server / instance. You may want to validate the
Glassfish configuration option, and understand how long your requests are
holding connections for, etc. Something is still very odd with your
application's behavior.
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
Daniel,
On 8/11/25 9:38 PM, Daniel Schwartz wrote:
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
Harri
-Original Message-
From: Rob Sargent
Sent: tiistai 12. elokuuta 2025 4.51
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 usually means that
the proce
> On Aug 11, 2025, at 7:54 PM, Daniel Schwartz wrote:
>
> Rob,
>
> The system has never crashed, so I've seen a stack trace.
>
> Dan
>
(Assuming you meant “ never seen” )
Back when you were running with 32 db connections didn’t your system stop
working when it ran out of connections?
A
One additional set of suggestions for this project or for the future
(inline):
On Mon, Aug 11, 2025, 21:53 Daniel Schwartz wrote:
>
> DGS: A single simple query to my interface requires three database
> accesses, one to retrieve a list of countries, then, when the use selects a
> country, anothe
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 "crashe
Hi Robert,
Thanks for your thoughts. See my replies marked DSG.
Dan
-Original Message-
From: Robert Turner
Sent: Monday, August 11, 2025 9:37 PM
To: Tomcat Users List
Subject: Re: How to access a REST service
Dan,
According to your attached document, your high water mark was 269
I'm interested in what you mean by "crashes". To me, that usually means that
the process stops at the very least. Do you mean that the request fails, or
something much worse?
>
> DGS: By "crashes" I mean that the program terminates, usually just after
> printing out a stack trace.
>
I am s
1 - 100 of 1158 matches
Mail list logo