> From: Woude, Alexander van der
> [mailto:alexander.vander.wo...@capgemini.com]
> Subject: C3p0 datasource
> 
> I have some trouble in getting c3p0 ComboPooledDataSource working in
> Tomcat 6.0.26.

What version of c3p0?

What JVM?

What platform?

Are you running with a security manager?

> the error is :
> FAIL - Encountered exception javax.naming.NamingException: Could not
> create resource factory instance
> [Root exception is java.lang.IllegalAccessException: Class
> org.apache.naming.factory.ResourceFactory
> can not access a member of class com.mchange.v2.c3p0.DataSources with
> modifiers "private"]

The above would indicate that the version of c3p0 you're using is not quite 
spec compliant.

Is there anything else in the logs, such as a stack trace?

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to