Weblogic manages it's pool of database connections. If a member in the pool or the entire pool losses connectivity with the back end database, weblogic will close that connection upon the next connection test, then will try to re-establish the connection periodically until either the connection has been established, or a maximum number of tries is reached. This is the default behaviour. Of course, this can be changed by tinkering with the connection properties via admin console.