It seems that there is a scheduler who checks DB connection in the container therefore it shows up this message.
WARNING: RAR5035:Unexpected exception while destroying resource from pool Exception message: Error while destroying resource :IO Error: Connection reset
But why do i face this error?Yeah something is wrong. That something can be a whole list of possible sources of which if you'd sit down and try to list them all you'd probably forget at least a couple dozen. Let me quote EJP from a stack overflow reply:
"There are several possible causes.http://stackoverflow.com/questions/62929/java-net-socketexception-connection-reset
- The other end has deliberately reset the connection, in a way which I will not document here. It is rare, and generally incorrect, for application software to do this, but it is not unknown for commercial software.
- *More commonly, it is caused by writing to a connection that the other end has already closed normally. In other words an application protocol error.* "