You need to place the driver in common/lib.

Dustin

--- Nathan Aaron <[EMAIL PROTECTED]> wrote:

> I have the Oracle jdbc driver installed in Tomcat's
> shared/lib 
> directory.  I have a JSP file that resides in the
> webapps/jsp-examples 
> that connects to an Oracle database successfully. 
> When I move it to a 
> context (/opt/application/appname) outside one of
> the contexts that are 
> included with Tomcat 5.0.28 the jsp stops connecting
> to the database.  I 
> get "java.sql.SQLException: No suitable driver" like
> it can't load the 
> JDBC driver.  What is odd is that I have a servlet
> that connects to the 
> database fine and it is in the
> /opt/application/appname/WEB-INF/lib 
> directory.  Any help would be greatly appreciated.
> 
> Nathan
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to