Re: Servlets

Benoit, thanks again for looking over this so quickly for me.  I've tried to put
together a better summary of the problem that I'm experiencing.  Based on you
intuition, I examined my JDK closer.  Here is the version of the JDK that I'm running:

C:\>java -version
java version "1.2fcs"
Classic VM (build JDK-1.2fcs-O, native threads)

I don't know what fcs means (maybe first candidate series??).  Should I install a
newer version?

My classpath environment variable value is set to:
C:\JDK1.2\classes;C:\JDK1.2\lib\classes.zip;C:\JSDK2.0\lib\jsdk.jar;
C:\Jigsaw\classes\jigsaw.zip;C:\ensemble-0_50-NT\apps\ejava\ensemble\hot;
C:\orant\ows\4.0\classes\wrbjidl.jar;
C:\orant\ots\classes\jts805jdbc.jar;C:\orant\ots\classes\oraclejts.jar;.

Here is a trace produced when I browse to http://localhost:8001.  The
browser is servered the default page:

C:\>java org.w3c.jigsaw.Main -root C:\JIGSAW\JIGSAW -trace
loading properties from: C:\JIGSAW\JIGSAW\config\server.props
Jigsaw[2.0.1]: serving at http://maple:8001/
*** Warning : no logger specified, not logging.
JigAdmin[2.0.1]: serving at http://maple:8009/
GET / HTTP/1.0
Connection: Keep-Alive
Date: Tue, 23 Feb 1999 17:14:12 GMT
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png,
*/*
Accept-Charset: iso-8859-1,*,utf-8
Accept-Encoding: gzip
Accept-Language: en
Host: localhost:8001
If-Modified-Since: Tuesday, 23-Feb-99 17:10:27 GMT; length=1804
User-Agent: Mozilla/4.06 [en] (WinNT; U)

HTTP/1.1 200 OK
Connection: keep-alive
Date: Tue, 23 Feb 1999 17:14:13 GMT
Content-Length: 1804
Content-Type: text/html
Etag: "mvanct:qjn8suvg"
Last-Modified: Tue, 23 Feb 1999 17:14:13 GMT
Server: Jigsaw/2.0.1

When I tried again to access http://localhost:8001/servlets/HelloWorld,
I got this trace:

GET /servlets/HelloWorld HTTP/1.0
Connection: Keep-Alive
Date: Tue, 23 Feb 1999 17:17:37 GMT
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png,
*/*
Accept-Charset: iso-8859-1,*,utf-8
Accept-Encoding: gzip
Accept-Language: en
Host: localhost:8001
User-Agent: Mozilla/4.06 [en] (WinNT; U)

java.lang.IllegalAccessError: try to access method
org/w3c/tools/resources/event

/ResourceEventMulticaster.<init>(Ljava/util/EventListener;Ljava/util/EventListen

er;)V from class org/w3c/tools/resources/FramedResource
        at
org.w3c.tools.resources.FramedResource.addStructureChangedListener(Fr
amedResource.java)
        at
org.w3c.jigsaw.servlet.JigsawServletContext.<init>(JigsawServletConte
xt.java)
        at
org.w3c.jigsaw.servlet.ServletDirectoryFrame.updateDefaultChildAttrib
utes(ServletDirectoryFrame.java)
        at
org.w3c.tools.resources.AbstractContainer.updateDefaultChildAttribute
s(Compiled Code)
        at
org.w3c.tools.resources.ContainerResource.updateDefaultChildAttribute
s(ContainerResource.java)
        at
org.w3c.tools.resources.DirectoryResource.updateDefaultChildAttribute
s(DirectoryResource.java)
        at
org.w3c.tools.resources.ContainerResource.internalLookup(ContainerRes
ource.java)
        at org.w3c.tools.resources.ContainerResource.lookup(Compiled
Code)GET /s
ervlets/HelloWorld HTTP/1.0

Connection      at
org.w3c.tools.resources.DirectoryResource.lookup(DirectoryRes
ource.java)
        at
org.w3c.tools.resources.ContainerResource.lookup(ContainerResource.ja
va)
        at org.w3c.jigsaw.resources.DirectoryResource.lookup(Compiled
Code): Kee
p-Alive

Date: Tue, 23 Feb 1999 17:17:37 GMT
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png,
*/*
Accept-Charset: iso-8859-1,*,utf-8
Accept-Encoding: gzip
Accept-Language: en
Host: localhost:8001
User-Agent: Mozilla/4.06 [en] (WinNT; U)

        at
org.w3c.tools.resources.ContainerResource.lookup(ContainerResource.ja
va)
        at org.w3c.jigsaw.resources.DirectoryResource.lookup(Compiled
Code)
        at org.w3c.jigsaw.http.httpd.perform(Compiled Code)
        at org.w3c.jigsaw.http.Client.processRequest(Client.java)
        at org.w3c.jigsaw.http.Client.startConnection(Compiled Code)
        at
org.w3c.jigsaw.http.socket.SocketClient.run(SocketClient.java)
        at org.w3c.util.CachedThread.run(Compiled Code)
java.lang.IllegalAccessError: try to access method
org/w3c/tools/resources/event

/ResourceEventMulticaster.<init>(Ljava/util/EventListener;Ljava/util/EventListen

er;)V from class org/w3c/tools/resources/FramedResource
        at
org.w3c.tools.resources.FramedResource.addStructureChangedListener(Fr
amedResource.java)
        at
org.w3c.jigsaw.servlet.JigsawServletContext.<init>(JigsawServletConte
xt.java)
        at
org.w3c.jigsaw.servlet.ServletDirectoryFrame.updateDefaultChildAttrib
utes(ServletDirectoryFrame.java)
        at
org.w3c.tools.resources.AbstractContainer.updateDefaultChildAttribute
s(Compiled Code)
        at
org.w3c.tools.resources.ContainerResource.updateDefaultChildAttribute
s(ContainerResource.java)
        at
org.w3c.tools.resources.DirectoryResource.updateDefaultChildAttribute
s(DirectoryResource.java)
        at
org.w3c.tools.resources.ContainerResource.internalLookup(ContainerRes
ource.java)
        at org.w3c.tools.resources.ContainerResource.lookup(Compiled
Code)
        at
org.w3c.tools.resources.DirectoryResource.lookup(DirectoryResource.ja
va)
        at
org.w3c.tools.resources.ContainerResource.lookup(ContainerResource.ja
va)
        at org.w3c.jigsaw.resources.DirectoryResource.lookup(Compiled
Code)
        at
org.w3c.tools.resources.ContainerResource.lookup(ContainerResource.ja
va)
        at org.w3c.jigsaw.resources.DirectoryResource.lookup(Compiled
Code)
        at org.w3c.jigsaw.http.httpd.perform(Compiled Code)
        at org.w3c.jigsaw.http.Client.processRequest(Client.java)
        at org.w3c.jigsaw.http.Client.startConnection(Compiled Code)
        at
org.w3c.jigsaw.http.socket.SocketClient.run(SocketClient.java)
        at org.w3c.util.CachedThread.run(Compiled Code)

Thanks,
--John

Received on Monday, 1 March 1999 10:20:57 UTC