Thanks. I have changed it to 10. I’ll watch and see if anything happens.
From: Chuck Caldarale <n82...@gmail.com> Sent: Sunday, August 17, 2025 8:55 PM To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: [EXTERNAL EMAIL] How to access a REST service > On 2025 Aug 17, at 19:43, Daniel Schwartz > <d...@danielgschwartz.com<mailto:d...@danielgschwartz.com>> wrote: > > Okay, > I have changed it to "1". Does this seem reasonable? I don't know what would > be a good setting. Rather depends on whether or not NkdkJdXPPEBannerStart Be Careful With This Message From (Chuck Caldarale <n82...@gmail.com>)<https://godaddy1.cloud-protect.net/email-details/?k=k1&payload=53616c7465645f5fde759ff524af3259d449ad12fa525db8d74da85857ab5b662978d0dc7116c71f1606da376a59562f02b907dc4810f21ab65fa9952ea611611939a75aff7f786b876d7158ce3bef3b8160e5c5357e26f36986f8fc98d92ca7287e722b19a1ce92b9a4ec5967fcbefdf8818fdd2473634ff82d673d692922a3fe2b6e21aa4d1efc17dc725b2c0cce5f0174dda597e01657f7af7bc5903f467c4c296a4751a2f2720fb9e88181f756c2d1420ae0c108ecaabcea17b37881fcdb6338640803bab5ba9ae2d24327f7de8291d0d72c2d6aa140a14852c61d565315f0652727c3a42f6ca0e491b1b6e899c1> Learn More<https://godaddy1.cloud-protect.net/email-details/?k=k1&payload=53616c7465645f5fde759ff524af3259d449ad12fa525db8d74da85857ab5b662978d0dc7116c71f1606da376a59562f02b907dc4810f21ab65fa9952ea611611939a75aff7f786b876d7158ce3bef3b8160e5c5357e26f36986f8fc98d92ca7287e722b19a1ce92b9a4ec5967fcbefdf8818fdd2473634ff82d673d692922a3fe2b6e21aa4d1efc17dc725b2c0cce5f0174dda597e01657f7af7bc5903f467c4c296a4751a2f2720fb9e88181f756c2d1420ae0c108ecaabcea17b37881fcdb6338640803bab5ba9ae2d24327f7de8291d0d72c2d6aa140a14852c61d565315f0652727c3a42f6ca0e491b1b6e899c1> Potential Impersonation The sender's identity could not be verified and someone may be impersonating the sender. Take caution when interacting with this message. NkdkJdXPPEBannerEnd > On 2025 Aug 17, at 19:43, Daniel Schwartz > <d...@danielgschwartz.com<mailto:d...@danielgschwartz.com>> wrote: > > Okay, I have changed it to "1". Does this seem reasonable? I don't know > what would be a good setting. Rather depends on whether or not your database server always responds promptly. Might catch a few false positives with a value of just one second; 3 - 5 would be a bit safer. Also, I would not set the related “leak reclaim” tag to true, since that might end up with a connection object being used twice. - Chuck > I have found some documentation on the Eclipse website, but it's a bit > confusing. But I am having contact with someone in that group. 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 > <rtur...@e-djuster.ca.INVALID<mailto:rtur...@e-djuster.ca.INVALID>> > Sent: Sunday, August 17, 2025 8:19 PM > To: Tomcat Users List > <users@tomcat.apache.org<mailto:users@tomcat.apache.org>> > 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 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 know I > was able to copy bits from the 7.0.25 configuration to the 4.1 configuration > because the UI was having issues for me in 4.1. > > I would treat the version 7 migration separately and often it's better to > start with the new out of box configuration and apply only your changes to > the new system as often system defaults are changed, or new features > configured by default. You risk potentially having a less modern config if > you copy the whole config over. > > One way to do this is compare your config to the baseline 4.1 config (diff is > your friend here), and then only apply the changes to the new system, keeping > in mind that you may need to adapt and update configuration between versions. > > Robert > > On Sun, Aug 17, 2025, 20:04 Daniel Schwartz > <d...@danielgschwartz.com<mailto:d...@danielgschwartz.com>> wrote: > >> Hi Robert, >> >> I just checked. The Connection Leak timeout is set to 0. This >> evidently is the default. >> >> I have been trying to upgrade to the latest version of Glassfish, 7.0.25, >> on my local PC. Am working on this. I tried to copy the setup I have for >> 4.1, but am finding that the >> the instructions for setting up connection pooling are different. >> >> Dan >> >> -----Original Message----- >> From: Robert Turner >> <rtur...@e-djuster.ca.INVALID<mailto:rtur...@e-djuster.ca.INVALID>> >> Sent: Sunday, August 17, 2025 2:13 PM >> To: Tomcat Users List >> <users@tomcat.apache.org<mailto:users@tomcat.apache.org>> >> Subject: Re: [EXTERNAL EMAIL] How to access a REST service >> >> So, a quick question Dan: >> >> Have you enabled Glassfish JDBC pool leak detection? (On the advanced >> page, under connection settings, the value for "Connection leak >> timeout") >> >> If this has not been set to a non zero value, Glassfish will not >> report connection leaks. >> >> Turn this on, reset your Glassfish server.... And then give it some >> time and check your stats and logs again... >> >> Robert >> >> On Sun, Aug 17, 2025, 12:08 Daniel Schwartz >> <d...@danielgschwartz.com<mailto:d...@danielgschwartz.com>> >> 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 >>> >>> From: Rob Sargent <rsarg...@xmission.com<mailto:rsarg...@xmission.com>> >>> Sent: Sunday, August 17, 2025 12:04 PM >>> To: Tomcat Users List >>> <users@tomcat.apache.org<mailto:users@tomcat.apache.org>> >>> Cc: Tomcat Users List >>> <users@tomcat.apache.org<mailto:users@tomcat.apache.org>> >>> Subject: Re: [EXTERNAL EMAIL] How to access a REST service >>> >>>> On Aug 17, 2025, at 9:45 AM, Daniel Schwartz >>>> <d...@danielgschwartz.com >>> <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 Glassfish won’t with anything NkdkJdXPPEBannerStart >>> Be Careful With This Message From (Rob Sargent >>> <rsarg...@xmission.com<mailto:rsarg...@xmission.com>>)< >>> https://godaddy1.cloud-protect.net/email-details/?k=k1&payload=53616 >>> c7 >>> 465645f5fb70309feed1540f62bf005f376466654632bc67d49f0bed3805175f300a >>> 50 >>> 1ae2f740bb4af833d74c3785a23f41bdf314722f11baa7ef211e0e17b2cde5c1e034 >>> c3 >>> 7a2e487e93b6e168f982896f75359bfa9bc33e0f6f0964ba443f713b7ada4fb6ad18 >>> 28 >>> 6a887356573683c9e4aef9025af8cb762ba72c9b9122add03ebdc078d6874c9afe71 >>> d0 >>> 9f54b8c08dee1776b2dc2f9ae1fe71e47d4d8c5b63ac920101f367cead12d29f0f1c >>> fd >>> a17e934d5e1c8141ebeab30754937d86c5c118a22612f7381978a5a78f914c73210b >>> 92 >>> 23f440e75ce7478819bda3bac4d72b9c5c7c950c13f1b5c8968d6 >>>> >>> Learn More< >>> https://godaddy1.cloud-protect.net/email-details/?k=k1&payload=53616 >>> c7 >>> 465645f5fb70309feed1540f62bf005f376466654632bc67d49f0bed3805175f300a >>> 50 >>> 1ae2f740bb4af833d74c3785a23f41bdf314722f11baa7ef211e0e17b2cde5c1e034 >>> c3 >>> 7a2e487e93b6e168f982896f75359bfa9bc33e0f6f0964ba443f713b7ada4fb6ad18 >>> 28 >>> 6a887356573683c9e4aef9025af8cb762ba72c9b9122add03ebdc078d6874c9afe71 >>> d0 >>> 9f54b8c08dee1776b2dc2f9ae1fe71e47d4d8c5b63ac920101f367cead12d29f0f1c >>> fd >>> a17e934d5e1c8141ebeab30754937d86c5c118a22612f7381978a5a78f914c73210b >>> 92 >>> 23f440e75ce7478819bda3bac4d72b9c5c7c950c13f1b5c8968d6 >>>> >>> Potential Impersonation >>> The sender's identity could not be verified and someone may be >>> impersonating the sender. Take caution when interacting with this >> message. >>> >>> NkdkJdXPPEBannerEnd >>> >>> >>> >>> >>> >>>> On Aug 17, 2025, at 9:45 AM, Daniel Schwartz >>>> <d...@danielgschwartz.com >>> <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 Glassfish won’t >>> with anything later than 1.8. >>> >>>> >>> >>>> Dan >>> >>> >>> >>> Are these specs for glassfish and java requirements? A new jdk is >>> an easy install and a current glassfish would be a real security >> enhancement. >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> -------------------------------------------------------------------- >>> - >>> >>> To unsubscribe, e-mail: >>> users-unsubscr...@tomcat.apache.org<mailto<mailto:users-unsubscr...@tomcat.apache.org%3cmailto>: >>> users-unsubscr...@tomcat.apache.org<mailto:users-unsubscr...@tomcat.apache.org>> >>> >>> For additional commands, e-mail: >>> users-h...@tomcat.apache.org<mailto<mailto:users-h...@tomcat.apache.org%3cmailto>: >>> users-h...@tomcat.apache.org<mailto:users-h...@tomcat.apache.org>> >>> >>> >>> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > users-unsubscr...@tomcat.apache.org<mailto:users-unsubscr...@tomcat.apache.org> > For additional commands, e-mail: > users-h...@tomcat.apache.org<mailto:users-h...@tomcat.apache.org> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org<mailto:users-unsubscr...@tomcat.apache.org> For additional commands, e-mail: users-h...@tomcat.apache.org<mailto:users-h...@tomcat.apache.org>