ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Creating a Web Application with Ant and Tomcat 4
Subject:   no connection to the database: DBCP borrowObject failed
Date:   2003-03-01 11:13:17
From:   anonymous2
greetings


it took some time to configure all the stuff but finally compiling/installing/removing works!


but the ContextListener does not succeed to connect to the mysql database:


--
DBCP borrowObject failed: java.sql.SQLException: Server connection failure during transaction.
Attemtped reconnect 3 times. Giving up.
--


its the line in AdressDB where the application gets stuck:
this._conn = dataSrc.getConnection();


mysql is up and running. also the JConnector jar file is installed.


i dont get what's causing the error or what its about.


thanks for any ideas :-)



1 to 5 of 5
  1. no connection to the database: DBCP borrowObject failed
    2003-03-05 06:09:46  wenbo_luo [View]

  2. no connection to the database: DBCP borrowObject failed
    2003-03-02 00:53:18  ossipetz [View]

  3. no connection to the database: DBCP borrowObject failed
    2003-03-01 16:50:14  ossipetz [View]

  4. no connection to the database: DBCP borrowObject failed
    2003-03-01 16:35:23  ossipetz [View]

  5. no connection to the database: DBCP borrowObject failed
    2003-03-01 16:32:07  ossipetz [View]

1 to 5 of 5