Re: [Help] Jigsaw 2.0beta2 and servlets & cgi-bin connfig

>>>>> On Thu, 16 Jul 1998 09:07:57 -0700 (PDT), Tarang Kumar Patel <> said:

>>>>> On Thu, 16 Jul 1998 10:36:55 +0200, Benoit Mahe <> said:

    >>> java.lang.ClassFormatError: Duplicate name at
    >>> java.lang.ClassLoader.defineClass( at
    >>> java.lang.ClassLoader.defineClass( at
    >>> org.w3c.jigsaw.servlet.LocalServletLoader.loadClassFile(LocalServl

    Benoit> Very strange error, never seen that before (in Jigsaw servlets).
    Benoit> does it happens with every servlet? Did you test these servlets
    Benoit> with the servletrunner? Which jdk are you using? Can you give me
    Benoit> more details?

    Tarang>     I am using JDK 1.1.3, however this is on an IRIX os. So it
    Tarang> arrives from SGI seeing that Sun don't supply an IRIX
    Tarang> installation.

   Well, I have now installed Jigsaw on a Sun Solaris host, and everything
   works wonderfully. Both Servlets and cgi-bin work as I expected them to.

   The error I see above is specific to SGI host, and I was running IRIX 6.2.
   Of course I'd like to have it resolved for this host as that is my eventual
   target host on which I am to run the server.

   So I'd appreciate any feed back you are able to provide.

   Oh, FYI the JDK on my Sun Solaris is 1.1.6

    Tarang>     Yes this happens with every servlet, well I tried just the 3
    Tarang> example servlets which arrive with JSDK2.0. The three servlet
    Tarang> classes I attempted were :

    Tarang>     SnoopServlet.class SessionServlet.class SimpleServlet.class

    Tarang>     If the trace back is reoporting the correct line numbers,
    Tarang> which I assume it is as haven't seen a problem with that
    Tarang> before. Then, the interesting thing is that all servlet failures
    Tarang> are with the same java error, as above. In each case this happens
    Tarang> to be in "doGet" method and all at the very first
    Tarang> out.println(...); statement. So the context it would be in is:

    Tarang>     response.setContentType("text/html"); // then write the data
    Tarang> of the response out = response.getWriter();
    Tarang>     out.println(".....");

    Tarang>     Note ...... is what ever the Tag text string happens to be.

    Tarang>     I know whats this to do with ClassLoader ?, well I couldn't
    Tarang> see it from the source code either.


Received on Friday, 17 July 1998 03:37:48 UTC