You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Rasoul Hajikhani <ra...@rhythm.com> on 2001/10/11 21:11:58 UTC

JDBC Question

Folks,
I am not sure whether this is a correct thread to ask a JDBC question,
so my apologies in advance. However, here it is:
I use Velocity to generate dynamic content. I have placed the informix
driver in /tomcat/home/lib/iformixdriver.jar. I have also placed the
driver under /tomcat/home/webapps/projectVel/WEB-INF/lib/informixdriver.
I have also updated my CLASSPATH to reflect the path to the informix
driver. However, I get the following message:
Error Connecting: java.sql.SQLException: No suitable driver

Any one can tell me what is happening? I appreciate all
comments/suggestions...
-r

Re: JDBC Question

Posted by Jon Stevens <jo...@latchkey.com>.
on 10/11/01 12:11 PM, "Rasoul Hajikhani" <ra...@rhythm.com> wrote:

> Folks,
> I am not sure whether this is a correct thread to ask a JDBC question,
> so my apologies in advance. However, here it is:
> I use Velocity to generate dynamic content. I have placed the informix
> driver in /tomcat/home/lib/iformixdriver.jar. I have also placed the
> driver under /tomcat/home/webapps/projectVel/WEB-INF/lib/informixdriver.
> I have also updated my CLASSPATH to reflect the path to the informix
> driver. However, I get the following message:
> Error Connecting: java.sql.SQLException: No suitable driver
> 
> Any one can tell me what is happening? I appreciate all
> comments/suggestions...
> -r

This is not the right place to ask that question. Try the tomcat-user list.

-jon


Re: JDBC Question

Posted by Barbara Baughman <ba...@utdallas.edu>.
I had this same problem with tomcat.  It goes away if you put the JDBC
driver under tomcat/lib.  For some reason it never finds it under
WEB-INF/lib.

Barbara Baughman
X2157

On Thu, 11 Oct 2001, Rasoul Hajikhani wrote:

> Folks,
> I am not sure whether this is a correct thread to ask a JDBC question,
> so my apologies in advance. However, here it is:
> I use Velocity to generate dynamic content. I have placed the informix
> driver in /tomcat/home/lib/iformixdriver.jar. I have also placed the
> driver under /tomcat/home/webapps/projectVel/WEB-INF/lib/informixdriver.
> I have also updated my CLASSPATH to reflect the path to the informix
> driver. However, I get the following message:
> Error Connecting: java.sql.SQLException: No suitable driver
> 
> Any one can tell me what is happening? I appreciate all
> comments/suggestions...
> -r
>