Women in Technology

Hear us Roar

  Creating a Web Application with Ant and Tomcat 4
Subject:   could not create resource factory
Date:   2003-03-17 07:09:56
From:   anonymous2

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?


Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • could not create resource factory
    2003-04-03 15:21:29  anonymous2 [View]

    I have not seen this error before.

    I trust that everything is installed in the correct place.

    Can you tell me what versions of MySQL and JDBC Driver you are using.