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:   DBCP borrowObject failed: null
Date:   2003-04-18 09:38:47
From:   anonymous2
- Using Oracle 9i database, Tomcat 4.0 with jdbc:oracle:thin:@<url> connect string


Getting error in subject line when trying to get Datasource. In error console I see:
java.lang.NullPointerException
at org.apache.commons.dbcp.DelegatingConnection.setAutoCommit(DelegatingConnection.java:237)
at org.apache.commons.dbcp.PoolableConnectionFactory.activateObject(PoolableConnectionFactory.java:273)
....


Any clue is appreciated.
- Paras.
pmukadam@avivausa.com



1 to 2 of 2
1 to 2 of 2