Re: Cannot start a servlet

This kind of bug come from the JDK. Servlets under Jigsaw works
fine with the last version of JDK1.2. So update your JDK if you can.

Regards, Benoit.

Klaus_Preschern@genesis.at wrote:

> Folks,
>
> If I try to start a servlet (http://my-host:8001/servlets/SimpleServlet) I get
> an error (see stack trace below). What's wrong? I am using JDK 1.2 and have
> copied SimpleServlet.class to \Jigsaw\Jigsaw\WWW\servlets. Please reply to my
> e-mail address because (up to now) I am not a member of the mailing list. Thanks
> much!
>
>      Klaus
>
> 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)

--
- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium (W3C)
                    Architecture domain - Jigsaw Team

  http://www.w3.org/People/Mahe - bmahe@w3.org - +33.4.92.38.79.89
---------------------------------------------------------------------

Received on Friday, 26 March 1999 04:08:54 UTC