Re: CannotAcquireResourceException in Junit

2018-01-30 Thread rob stone
On Tue, 2018-01-30 at 15:41 +0530, Abhra Kar wrote: > Hi, >Sorry for late reply. Below options I tried --- > 1>pg_terminate_backend --> Successful execution. > 2> Increase max_connection to 900 in > /var/lib/pgsql/9.5/data/postgresql.conf .After modify restart psql > service--- > servic

Re: CannotAcquireResourceException in Junit

2018-01-30 Thread Abhra Kar
Hi, Sorry for late reply. Below options I tried --- 1>pg_terminate_backend --> Successful execution. 2> Increase max_connection to 900 in /var/lib/pgsql/9.5/data/postgresql.conf .After modify restart psql service--- service postgresql-9.5 start service postgresql-9.5 stop Then execute se

Re: CannotAcquireResourceException in Junit

2018-01-24 Thread Rob Sargent
> On Jan 24, 2018, at 9:32 PM, Abhra Kar wrote: > > Thanks Rob. > > OS -- RHEL 6.7(Santiago) > Postgres Version -- 9.5 > Location --/usr/pgsql-9.5/bin/psql > > Can you please guide me , how to stop all those connection manually(From psql > prompt or linux shell or any .sh file with in postgre

Re: CannotAcquireResourceException in Junit

2018-01-24 Thread Abhra Kar
Thanks Rob. OS -- RHEL 6.7(Santiago) Postgres Version -- 9.5 Location --*/usr/pgsql-9.5/bin/psql* Can you please guide me , how to stop all those connection manually(From psql prompt or linux shell or any .sh file with in postgres directory) Regards, Abhra On Thu, Jan 25, 2018 at 9:36 AM,

Re: CannotAcquireResourceException in Junit

2018-01-24 Thread Rob Sargent
> On Jan 24, 2018, at 9:57 AM, Abhra Kar wrote: > > > Hi, > I am getting the following error while running bunch of Junit test > cases through “ant test” command > Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A > ResourcePool could not acquire a resour