> -----Original Message-----
> From: Mark Thomas <ma...@apache.org>
> Sent: Wednesday, May 29, 2024 10:19 AM
> To: users@tomcat.apache.org
> Subject: Re: Database Connection Requests Initiated but Not Sent on the Wire
> (Some, Not All)
>
> On 29/05/2024 16:08, Eric Robinson wrote:
>
> > I believe your assessment is correct. How hard is it to enable pooling? Can 
> > it
> be bolted on, so to speak, through changes to the app context, such that the
> webapp itself does not necessarily need to implement special code?
>
> It looks like - from the database configuration you provided earlier - there 
> is an
> option to configure the database via JNDI. If you do that with Tomcat you will
> automatically get pooling. That might be something to follow up with the
> vendor. If you go that route, I'd recommend configuring the pool to remove
> abandoned connections to avoid any issues with connection leaks.
>

In reviewing live threads with Visual VM, I note that there are apparently 
threads related to cleaning up abandoned connections, and maybe even pooling?

The threads are:

mysql-cj-abandoned-connection-cleanup (2 of those)
OkHttp Connection Pool (2 of those)
OkHttp https://ps.pndsn.com (not sure what that is)


> Not sure if all the web applications support a JNDI based configuration.
>
> <snip/>
>
> > Would the problem be relieved if the vendor stuck to one driver?
>
> Yes. That would avoid the attempt to load the "other" driver which is causing
> the delay.
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org

Disclaimer : This email and any files transmitted with it are confidential and 
intended solely for intended recipients. If you are not the named addressee you 
should not disseminate, distribute, copy or alter this email. Any views or 
opinions presented in this email are solely those of the author and might not 
represent those of Physician Select Management. Warning: Although Physician 
Select Management has taken reasonable precautions to ensure no viruses are 
present in this email, the company cannot accept responsibility for any loss or 
damage arising from the use of this email or attachments.

Reply via email to