Error querying database

I’m with error below could help me:

Error querying database. Cause: java.sql.SQLException: Connection has already been closed.

The error may exist in org/camunda/bpm/engine/impl/mapping/entity/Authorization.xml

The error may involve org.camunda.bpm.engine.impl.persistence.entity.AuthorizationEntity.selectAuthorizationByParameters

The error occurred while executing a query

@Lais_Stefani which database are you using? How are you obtaining the database connection in your application?

I’m using postgresql and even trying again the process only goes when I start the server again but every time I do it it generates a new version even though I haven’t changed anything

Is this the same issue as you’ve posted here:

One is version error
every time I turn on and off the server generates one.

the other is an error at the beginning.