title: Connection attempt failed in postgreSQL server
body: <p>In our project we are using postgresSql(8.3) as the database server, but we are rarely facing
     problem (once a while) . in the log file i am seeing error Like</p>
  
  <pre><code>   ****Connection attempt failed**** 
  </code></pre>
  
  <p>it means for me that , application is attempting to get connection object from the DB server
  but it was unsuccessfull.</p>
  
  <p>Strange thing is when i restart database server or Webserver(Tomcat ) it will work normally.
  I will get this error rarely.</p>