The pain factor of moving the app would be too great at this point.
What doesn't make sense is that I have a servlet that runs and uses the jdbc driver in shared/libs the servlet code is in /opt/application/appname/WEB-INF/lib. The jsp page is located in /opt/application/appname. My application is deployed under /opt/application/appname.
It is strange.
Nathan
[EMAIL PROTECTED] wrote:
Not sure if you can have your JSPs/servlets outside of the Tomcat contexts structure. I think Tomcat, actually I think Servlet spec 2.3, expects a certain directory tree to be in place. So, it will look in the application context WEB-INF/lib directory, then up the tree to the shared/lib directory and then up the tree to the common/lib directory for jar files.
Someone, please correct me if I'm wrong here.
Why don't you just replicate your application structure within Tomcat's context structure (i.e., tomcat/webapps/appname. That's basically the standard.
----- Original Message ----- From: Nathan Aaron <[EMAIL PROTECTED]> Date: Thursday, January 27, 2005 12:58 pm Subject: Re: Oracle JDBC
Already tried it. Still doesn't work. Thanks for the interest though!
Nathan
Dustin wrote:
---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]
------------------------------------------------------------------- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
