W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2000

[Fwd: servlet sample import section for Jigsaw web server]

From: Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>
Date: Mon, 06 Mar 2000 21:11:11 +0100
Message-Id: <38C410DF.9D195A8C@informatik.med.uni-giessen.de>
To: W3 Jigsaw Mailinglist <www-jigsaw@w3.org>
CC: Fitzgerald William <yr499040@cs.may.ie>, W3 libWWW Mailinglist <www-lib@w3.org>
Wrong mailinglist. 
You posted to the W3 WWW library mailinglist (www-lib@w3.org), but AFAIK
the correct destination would be W3 jigsaw mailing list
(www-jigsaw@w3.org).
I forwarded the mail for you...

-------- Original Message --------
Subject: servlet sample import section for Jigsaw web server
Resent-Date: Mon, 6 Mar 2000 03:27:33 -0500 (EST)
Resent-From: www-lib@w3.org
Date: Sat, 4 Mar 2000 08:35:08 -0500 (EST)
From: Fitzgerald William <yr499040@cs.may.ie>
Reply-To: Fitzgerald William <yr499040@cs.may.ie>
To: www-lib@w3.org

hi there,

my name is william fitzgerald and i'm a fourth year student at maynooth
n.u.i. 
in ireland.

i have servlets asscessing my msql database on jsdk2.1 no problem but
now i want 
them on the web.
i've installed and run the Jigsaw server, didn't touch the admin section
yet as 
i'm only running it on my machine first.

i cant seem to run my servlets that i copied from the jsdk2.1 to Jigsaw.

i get this error:
java.lang.ClassNotFoundException: com.imaginary.sql.msql.MsqlDriver

i've stored my html files in :
http://l3ult22:8001/Doc/User/Schedules.html

and it goes to my servlet folder where i just copied accross my servlet
class 
file from jsdk2.1 in:
http://l3ult22:8001/servlet/QueryTable
and throws me the error:
java.lang.ClassNotFoundException: com.imaginary.sql.msql.MsqlDriver

is it to do with my imports ?
they work fine on the jsdk2.1!!

my imports are as follows:
import java.io.*;
import java.util.*;
import java.net.*;
import java.sql.*;

import java.util.Vector;
import java.net.URL;

import javax.servlet.*;
import javax.servlet.http.*;


my classpath is set as follows:
l3ult22% echo $CLASSPATH
.:/home/yr499040/msql-jdbc-2-0b5/msql-jdbc-2-0b5.jar:/home/yr499040/ib12/infobus
.jar:/usr/java1.2/jre/lib/rt.jar:/home/yr499040/jsdk2.1/servlet.jar
 i installed in on my unix machine solaris-2.7-sparc 
scripts/install.sh etc.

addition info:
i'm using java1.2, and
msql details:Version Details :-

        msqladmin version       2.0.11
        mSQL server version     2.0.11
        mSQL protocol version   23
        mSQL connection         Localhost via UNIX socket
        Target platform         Solaris-2.7-Sparc

Configuration Details :-

        Default config file     /home/yr499040/msql-2.0.11/msql.conf
        TCP socket              1114
        UNIX socket             /home/yr499040/msql-2.0.11/msql2.sock
        mSQL user               yr499040
        Admin user              yr499040
        Install directory       /home/yr499040/msql-2.0.11
        PID file location       /home/yr499040/msql-2.0.11/msql2d.pid
        Memory Sync Timer       30
        Hostname Lookup         True


please help if you can,
thanks,
bye for now,
fitz.
Received on Monday, 6 March 2000 15:11:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:35 GMT