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:   could not create resource factory
Date:   2003-03-17 07:09:56
From:   anonymous2
Hello,


I've tried out your instructions at this tutorial and everythig works quiet properly.
The only problem is that i'm using the jConnector driver from the mysql site and the tomcat cant establish a connection to the database because the class org.apache.commons.dbcp.BasicDataSourceFactory which is specified in the factory-tag in content.xml can't be found!
This is what the tomcat writes in the log-file :


2003-03-17 14:40:49 Couldn't create addressesDB sttribute: Couldn't open connection to Public database: Could not create resource factory, ClassNotFoundException:org.apache.commons.dbcp.BasicDataSourceFactory



So what can i do and where can i find this class?
Is this a problem due to the other driver that i'm using?


thanks


1 to 1 of 1
  1. could not create resource factory
    2003-04-03 15:21:29  anonymous2 [View]

1 to 1 of 1