0 Replies Latest reply on Apr 14, 2018 3:50 AM by anirban.gupta4

    Avoiding "Closing a statement you left open" in server.log

    anirban.gupta4

      I am using Wildfly 8 for deploying our project. In our project we are not closing database objects properly, like when a connection is closed, its associated statements were open and forcibly closed. So an warning like the above is thrown from the server in the server.log which states "Closing a statement you left open, please do your own housekeeping". I want to avoid such WARN messages in server.log. I will not be able to change anything in code since this is legacy code in a jar file and source code is not available, so the only way is to prevent such WARN messages from getting logged in server.log. Please suggest what I need to do.