Open josegar74 opened 1 year ago
Hi @josegar74 Any insight about this ? I'm working on a 3.12.7 instance, that shows the same behaviour.
The above looks like a connection pool setting "dbcp2" - and is actually a little alarming.
The connection pool is trying to set a connection to readonly mode.
However the pool is there to recycle connections, so it has acquired a connection with a transaction already started. I sure hope previous code did not start a transaction, and then return the connection to the pool with a transaction already in progress.
Does geonetwork manage its own connection pool, or is it obtaining this from Tomcat or Jetty? How was your postgres connection configured?
Describe the bug
Tested with a Postgres database with
main
branch.Enabling the
DEBUG
log mode for development and accessing the search application at least, the log file is flooded with this type of exceptions, making it really unusable.To Reproduce Steps to reproduce the behavior:
Administrator
userDEBUG
Unclear which code is trying to "change transaction read-only property in the middle of a transaction".