Forum Moderators: phranque
and using j2sdk1.4.1, I figured I was ready to connect using DBCP. I had previously got my Oracle Database working by hardcoding the relevant info inside the java program so I knew the basics were working just fine.
I get the following error from my java program when it comes across this line: dataSource = (DataSource) ctx.lookup("jdbc/conversion"); //I defined jdbc/conversion in my server.xml file.
javax.naming.NamingException:Could not create resource factory, ClassNotFoundException: org.apache.commons.dbcp.BasicDataSourceFactory
When I look in the common-dbcp.jar file I notice the pathnames all look something like
commons-dbcp\classes\org\apache\common\dbcp
Could this be why I'm getting this error (i.e. the pathnames are mixed up)? Or I am out in left field on this one? Thanks.