W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 1999

Re: Cannot start a servlet

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Fri, 26 Mar 1999 10:08:48 +0100
Message-ID: <36FB4EA0.BBF709BE@sophia.inria.fr>
To: Klaus_Preschern@genesis.at
CC: www-jigsaw@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT