You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by dunnlow <du...@yahoo.com> on 2011/04/20 01:03:01 UTC

Where is org.apache.tomcat.jdbc.pool.DataSourceFactory?

So, I'm investigating moving away from an oracleconnectionpool and using the
tomcat connection pool.  I followed the myriad of example for configuring
the Resource in the server.xml.  Found great info here
(http://people.apache.org/~fhanik/tomcat/jdbc-pool.html) However, when I
start tomcat, I get the following error:

javax.naming.NamingException: Could not load resource factory class [Root
exception is java.lang.ClassNotFoundException: org.apache.tomcat.jdbc.pool
DataSourceFactory]

I'm using Tomcat 6.0

My config in server.xml is
<Resource auth="Container" driverClassName="oracle.jdbc.OracleDriver"
factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" name="jdbc/myds"
password="mypasswd" type="javax.sql.DataSource"
url="jdbc:oracle:thin:@10.10.10.33:1234:myds" user="myuname" />

I get it, tomcat can't find the class.  But WHY?  I don't see anything in
the documentation about adding extra .jar files.  I've looked in the distrib
and can find the golden .jar anyway.

Can anyone tell me what I am doing wrong?

Thanks!
-- 
View this message in context: http://old.nabble.com/Where-is-org.apache.tomcat.jdbc.pool.DataSourceFactory--tp31436975p31436975.html
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: Where is org.apache.tomcat.jdbc.pool.DataSourceFactory?

Posted by Mark Thomas <ma...@apache.org>.
On 20/04/2011 00:03, dunnlow wrote:

> Can anyone tell me what I am doing wrong?

Posting to the wrong list for a start. You want the users list, not the
developers list.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org