jodetek wrote: > Tomcat 6 changed (no more common/lib) :-( This is explained in http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html
> I've put the Oracle driver in WEB-INF/lib That won't be helping. Remove the driver from there. > I also put it in $catalina_home/lib (tomcat 6 new common/lib ?) Correct. Again, this is explained in http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html > <Resource name="jdbc/dbxe" auth="Container" > type="javax.sql.DataSource" > driverClassname="oracle.jdbc.OracleDriver" > username="jde" > password="jde" > url="jdbc:oracle:thin:@localhost:1521:XE" > /> The attribute is driverClassName, not driverClassname. Case matters. > I'm confused, it seems tomcat does not find the driver, but it found it when > I did the direct connection in a JSP page, like this, Tomcat can't find the driver because you didn't configure the resource correctly. > Any idea where the driver should be ? In $CATALINA_HOME/lib, as per the docs. > What's going on....? Your driver is in multiple places in the class loader hierarchy (something that is pretty much guaranteed to cause problems) and your resource isn't configured correctly. > My application worked before..... Fix the above and it should work with TC6 as well. Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]