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

Re: Jigsaw 2.0 beta 2 & Servlets

From: Yves Lafon <ylafon@w3.org>
Date: Tue, 11 Aug 1998 14:10:48 +0200 (MET DST)
To: Michael Bell <michael.bell@cmgplc.com>
cc: www-jigsaw@w3.org
Message-ID: <Pine.GSO.4.02.9808111402480.17099-100000@tarantula.inria.fr>
On Tue, 11 Aug 1998, Michael Bell wrote:

> Hello,
> 
> I have installed Jigsaw 2.0 beta 2, and created a SnoopServlet entry
> which works initially.
> 
> However if Jigadmin and Jigsaw are stopped and restarted, the servlet is
> then inoperable (Invalid URL) and a new entry for SnoopServlet.class
> (org.w3c.tools.resources.FileResource) exists.
> 
> On inspection the 'servlet' folder has changed from
> <org.w3c.jigsaw.servlet.ServletDirectoryFrame> to
> <org.w3c.jigsaw.frames.HTTPFrame> (I deleted that frame as instructed
> when I created it first).

This is a typical symptom of "brutal shutdown" :)
You probably did a ctrl-c to kill the server, the right way to shut it
down is through jigadmin (control->exit). Jigadmin will ask the server to
save its internal state before exiting.

> 
> If I try to reset the frame Jigadmin throws the following exception:
> 
> java.lang.ArrayIndexOutOfBoundsException: 2 > 1
>         at java.lang.Throwable.<init>(Compiled Code)
>         at java.util.Vector.insertElementAt(Compiled Code)
>         at org.w3c.tools.widgets.TreeBrowser.insert(Compiled Code)
>         at
> org.w3c.jigadm.editors.FrameBrowser.insertNode(FrameBrowser.java)
>         at
> org.w3c.jigadm.editors.FrameBrowser.insertNode(FrameBrowser.java)
>         at
> org.w3c.jigadm.editors.FramesHelperListener.resourceChanged(Compiled
> Code)
>         at org.w3c.jigadm.editors.ResourceHelper.processEvent(Compiled
> Code)
>         at org.w3c.jigadm.editors.FramesHelper.addFrame(Compiled Code)
>         at
> org.w3c.jigadm.editors.FramesHelper$FramesActionListener$Performer.run(Compiled
> Code)
> 
> I am impressed with Jigsaw to date, and realise this is a beta release.

Well, the existing frame was no longer there as you restarted the server
the wrong way.
But there are also some bugs in the little tree browser. They seems to be
fixed now, and will be out for the next beta release.
Regards,

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    
Received on Tuesday, 11 August 1998 08:10:56 GMT

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