[GeoNetwork-users] There are insufficient free connections on databasemain-db?

Hi!
On a newly launched, fresh 4.0.4-SNAPSHOT instance, I get this status error.

   -

   There are insufficient free connections on databasemain-db.
Connections free:0

I am using a PostgreSQL database, and the jndi file allows 40 connections.
There are only 80 harvested records in the database, and only one harvester.
What is databasemain-db, and does it have a particular set of settings?
I have never seen this error in previous versions of GN.
--

*GisKraft*, Geodatakonsult

Mats Elfström, Marsvinsholms stationsväg 80, 271 93 Ystad, Sweden
tel: +46 70 595 39 35 / www.giskraft.se

Hello Mats,

This is a known bug when using a JNDI connection. The healthcheck doesn't
know how many connections are available and reports it as an error. You can
ignore it.

On Thu, Apr 29, 2021 at 12:38 PM Mats Elfström <mats.elfstrom@anonymised.com..>
wrote:

Hi!
On a newly launched, fresh 4.0.4-SNAPSHOT instance, I get this status
error.

   -

   There are insufficient free connections on databasemain-db.
Connections free:0

I am using a PostgreSQL database, and the jndi file allows 40 connections.
There are only 80 harvested records in the database, and only one
harvester.
What is databasemain-db, and does it have a particular set of settings?
I have never seen this error in previous versions of GN.
--

*GisKraft*, Geodatakonsult

Mats Elfström, Marsvinsholms stationsväg 80, 271 93 Ystad, Sweden
tel: +46 70 595 39 35 / www.giskraft.se

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--

*Vriendelijke groeten / Kind regards,Juan Luis Rodríguez.
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664>Please consider the environment before printing
this email.*

Hi Juan!
Thanks for the info. The bug was not known to me. So I wasted some time trying to track the code and database settings.

Hälsning / Regards
Mats.E

Skickat från min / Sent from my iPad, Ursäkta att jag är kortfattad / Excuse my brevity.

30 apr. 2021 kl. 11:07 skrev Juan Luis Rodríguez Ponce <juanluisrp@anonymised.com..444...>:

Hello Mats,

This is a known bug when using a JNDI connection. The healthcheck doesn't know how many connections are available and reports it as an error. You can ignore it.

On Thu, Apr 29, 2021 at 12:38 PM Mats Elfström <mats.elfstrom@anonymised.com00...> wrote:
Hi!
On a newly launched, fresh 4.0.4-SNAPSHOT instance, I get this status error.

   -

   There are insufficient free connections on databasemain-db.
Connections free:0

I am using a PostgreSQL database, and the jndi file allows 40 connections.
There are only 80 harvested records in the database, and only one harvester.
What is databasemain-db, and does it have a particular set of settings?
I have never seen this error in previous versions of GN.
--

*GisKraft*, Geodatakonsult

Mats Elfström, Marsvinsholms stationsväg 80, 271 93 Ystad, Sweden
tel: +46 70 595 39 35 / www.giskraft.se

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
Vriendelijke groeten / Kind regards,

Juan Luis Rodríguez.

Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.