This content has been marked as final.
Show 4 replies
-
1. Re: Can't resolve Oracle driver from servlet
duraace Nov 27, 2004 2:44 PM (in response to duraace)forgot to check "Notify me". Please respond to this one.
-
2. Re: Can't resolve Oracle driver from servlet
luc.texier Nov 29, 2004 7:46 AM (in response to duraace)Have you tried to drop the lib into /server/xxx/lib?
-
3. Re: Can't resolve Oracle driver from servlet
darranl Nov 29, 2004 8:32 AM (in response to duraace)Do you have a line in your code anywhere to initialise the driver such as a Class.forName("driver class")?
Alternatively have you considered setting it up as a datasource and allowing JBoss to manage your connections? -
4. Re: Can't resolve Oracle driver from servlet
duraace Nov 29, 2004 11:14 AM (in response to duraace)BINGO! Your suggestion made me think I'd forgotten to do something prior to the connection attempt. Namely:
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
I did a copy/paste from another project without thinking it through. Thanks again!