W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 2000

jdbc access works but not from servlets in Jigsaw

From: Robert Futrelle <futrelle@ccs.neu.edu>
Date: Sat, 5 Aug 2000 13:34:39 -0400 (EDT)
Message-Id: <200008051734.e75HYdD13078@alphacentauri.ccs.neu.edu>
To: www-jigsaw@w3.org
Cc: futrelle@ccs.neu.edu (Robert Futrelle), futrelle@ncsa.uiuc.edu
If I do a standalone test for JDBC access of an Oracle DB, it works
fine.  (Oracle 8.1.6, Oracle JDBC classes12.zip, java 1.2.1,
jswdk-1.0.1 on Sun Solaris).  My servlets work fine under Jigsaw
2.0.1.  I include the Oracle JDBC classes12.zip in my java classpath
when I start up Jigsaw.  But when I call my JDBC standalone test's
main() from inside the servlet, I get an exception for ClassNotFound
when it tries to find the Oracle driver, which of course it had no
trouble finding when I called the same standalone test from the
command line.

The classpath changes were made in the scripts/jigsaw.sh file by 
adding both additional path components to the path specification,
the servlet.jar and the classes12.zip.  I've proofread the paths
carefully -- they're the same in the standalone test and servlet

Is there some other aspect of the installation process that I needed
to do to configure Jigsaw properly to allow it to find the appropriate

Is it necessary to recompile Jigsaw with the jdbc classes in the path?

Does the classpath order matter? ....

  -- Bob
Robert P. Futrelle        |  Biological Knowledge Laboratory
    Associate Professor   |  College of Computer Science  161CN
Office: (617)-373-4239    |  Northeastern University
Fax:    (617)-373-5121    |  360 Huntington Ave.
futrelle@ccs.neu.edu      |  Boston, MA 02115
Received on Saturday, 5 August 2000 13:34:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:36 UTC