[fedora-java] Exception processing Global JNDI Resources - on FC6&Tomcat5.5.17

Aaron Luchko aaron at luchko.ca
Thu May 10 23:36:54 UTC 2007


On Thu, 2007-05-10 at 16:23 -0700, Tim Alberts wrote:
> I'm running FC6 with Tomcat 5.5.17 (standard rpm packages from the FC6 
> distribution).
> 
> The main problem I'm having is getting my database connection pool 
> setup.I'm getting a severe error that seems to be the source, but not 
> sure what the easy fix is.  Obviously the
> 
> java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
> 
> means Tomcat can't find a class it needs, but as I'm running all rpms 
> from FC6 I assumed everything would be 'plug and play'.  Does anyone 
> have some suggestions for fixing this quick?

This is because there were some jars missing from the corresponding
version of the jpackage rpm

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238192

Until the package is updated the workaround I'm using is to manually add
naming-factory-dbcp.jar to /var/lib/tomcat5/common/lib/

-Aaron




More information about the java-devel mailing list