When application is not in use for longer period in a day connections are removed from the pool. This leads to restarting server. I have used global resource. Following paramete