hi,
You need to make the driver classes available in the class path of
Tomcat server.
This can be achieved in either of the following ways

1.You may place the jar file in the web application's lib directory (
recommended).
2. Expand the jar file and palce the resulting directory structure in
the WEB-INF/classes/ directory. That should solve your problem.


- Rao


> ----------
> From:         Fabrizio Gianneschi[SMTP:[EMAIL PROTECTED]]
> Sent:         Tuesday, May 22, 2001 3:54 PM
> To:   [EMAIL PROTECTED]
> Subject:      JDataStore and Tomcat
>
> Hi,
> I'm trying to use the JDataStore dabatase (shipped with JBuilder 4
> Enterprise) in a JSP, with Tomcat as a server.
> I've created the driver and the connection normally
> (class.forname....) but
> Tomcat cannot found the JDataStore class. The first line of the error
> message is:
>
> javax.servlet.ServletException: Unable to load class
> com.borland.datastore.jdbc.DataStoreDriver
>
> The question is: have I to add the JDataStore .jar file in the
> classpath, or
> exists a simplier way (like adding a line in a .xml file?)
>
> Thanks
>
> ______________________________________________________________________
> _____
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
> http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to