-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Faisal,
On 2/18/19 00:32, fai...@bestercapitalmedia.com wrote:
> Dear all,
>
>
>
> I am working on a project and I am facing following issue on almost
> every second day. I need to restart tomcat to get it running
> again.
>
> Can someone guide
get back it on.
>>> There is no need to restart the mySql in my case.
>>>
>>> Any clue please.
>>
>> Sounds like a connection leak in the web application. I expect the
>> connection pool includes tools to help you track that sort of problem
>
, February 18, 2019 5:45 PM
To: Tomcat Users List
Subject: Re: Tomcat connection error
I agree - release your connection, commit transaction (if you have auto-commit
set to false), and null-out your connection references.
The analogy in c++ is you need deallocate memory.
Java has GC in Java at a base
of problem down.
>
> Mark
>
>
>>
>> Faisal Zaidi
>>
>> -Original Message-
>> From: Ted Spradley [mailto:ted.k.sprad...@gmail.com]
>> Sent: Monday, February 18, 2019 1:52 PM
>> To: Tomcat Users List
>> Subject: Re: Tomcat connection
ication. I expect the
connection pool includes tools to help you track that sort of problem down.
Mark
>
> Faisal Zaidi
>
> -Original Message-
> From: Ted Spradley [mailto:ted.k.sprad...@gmail.com]
> Sent: Monday, February 18, 2019 1:52 PM
> To: Tomcat Users List
>
Users List
Subject: Re: Tomcat connection error
Hi Faisal,
Your application(s) run as expected for a while, then you get the SQL
Connection error? Then the only way to “fix it” is to restart Tomcat? At the
same time are you also restarting MySQL?
Thanks,
Ted
> On Feb 18, 2019, at 02:17, L
Hi Faisal,
Your application(s) run as expected for a while, then you get the SQL
Connection error? Then the only way to “fix it” is to restart Tomcat? At the
same time are you also restarting MySQL?
Thanks,
Ted
> On Feb 18, 2019, at 02:17, Luis Rodríguez Fernández wrote:
>
> Hello Faisal,
Hello Faisal,
It looks like your problem is more related with your hikari connection pool
than with tomcat itself. I would recommend you to double check your hikari
configuration properties. Pay specially attention on how you are
configuring your connection pool (minimum and maximum size, timeout,