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

Re: Content negotiation for index page

From: Dennis Sosnoski <dms@sosnoski.com>
Date: Wed, 29 Mar 2000 11:05:02 -0800
Message-ID: <38E253DE.B6673A0D@sosnoski.com>
To: Yves Lafon <ylafon@w3.org>, www-jigsaw@w3.org
Actually, the servlet exception appears to be related to reindexing root from
JigAdmin, not to the Negotiable setting at all. I get the same results without
setting Negotiable (and have now destroyed my Jigsaw configuration and have to
start over, for about the 20th time - at least I'm starting to see a pattern
here!).

If I remove the org.w3c.jigsaw.servlet.ServletWrapper items for the servlets I
added manually, then try adding them again, the null pointer exception goes away
but I instead get empty responses and a message "client-0(socket-clients:42):
caught ClientException: [org.w3c.jigsaw.http.ClientException]" written to the
log.

This is again running Jigsaw 2.0.4 with JDK 1.2.2 on Windows 98.

  - Dennis

Dennis Sosnoski wrote:
> 
> ...
> Also, once I set Negotiable on the Root DirectoryResource all servlets not
> actually present as class files in the servlet directory to be found by the
> indexer appear to be broken. Here's what I get trying to run a JSP in the Root
> directory, using Gnujsp10:
> 
> Exception while servicing request for /snoop.jsp:
> 
> java.lang.NullPointerException
>         at
> org.w3c.jigsaw.servlet.JigsawServletContext.getRealPath(JigsawServletContext.java,
> Compiled Code)
>         at org.gjt.jsp.JspServlet$Page.getResourceImpl(JspServlet.java:689)
>         at org.gjt.jsp.JspServlet$Page.needToRecompile(JspServlet.java, Compiled
> Code)
>         at org.gjt.jsp.JspServlet$Page.process(JspServlet.java, Compiled Code)
>         at org.gjt.jsp.JspServlet.service(JspServlet.java:284)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
>         at
> org.w3c.jigsaw.servlet.ServletWrapper.service(ServletWrapper.java:278)
>         at
> org.w3c.jigsaw.servlet.ServletWrapperFrame.perform(ServletWrapperFrame.java:118)
>         at
> org.w3c.tools.resources.FramedResource.performFrames(FramedResource.java,
> Compiled Code)
>         at org.w3c.tools.resources.FramedResource.perform(FramedResource.java,
> Compiled Code)
>         at org.w3c.jigsaw.http.httpd.perform(httpd.java, Compiled Code)
>         at
> org.w3c.jigsaw.servlet.ServletMapperFrame.perform(ServletMapperFrame.java:87)
>         at
> org.w3c.tools.resources.FramedResource.performFrames(FramedResource.java,
> Compiled Code)
>         at org.w3c.tools.resources.FramedResource.perform(FramedResource.java,
> Compiled Code)
>         at org.w3c.jigsaw.http.httpd.perform(httpd.java, Compiled Code)
>         at org.w3c.jigsaw.http.Client.processRequest(Client.java, Compiled Code)
>         at org.w3c.jigsaw.http.Client.startConnection(Client.java, Compiled
> Code)
>         at org.w3c.jigsaw.http.socket.SocketClient.run(SocketClient.java:114)
>         at org.w3c.util.CachedThread.run(ThreadCache.java, Compiled Code)
>
Received on Wednesday, 29 March 2000 14:05:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:07 UTC