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

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

From: Tarang Kumar Patel <mombasa@ptolemy.arc.nasa.gov>
Date: Thu, 16 Jul 1998 20:02:56 -0400 (EDT)
Message-Id: <199807170001.RAA18191@kilimanjaro.arc.nasa.gov>
To: Benoit.Mahe@sophia.inria.fr
CC: www-jigsaw@w3.org, mombasa@ptolemy.arc.nasa.gov
>>>>> On Thu, 16 Jul 1998 09:07:57 -0700 (PDT), Tarang Kumar Patel <mombasa@ptolemy.arc.nasa.gov> said:

>>>>> On Thu, 16 Jul 1998 10:36:55 +0200, Benoit Mahe <Benoit.Mahe@sophia.inria.fr> said:
Benoit,

    >>> java.lang.ClassFormatError: Duplicate name at
    >>> java.lang.ClassLoader.defineClass(ClassLoader.java:228) at
    >>> java.lang.ClassLoader.defineClass(ClassLoader.java:206) 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.
 

    Tarang
Received on Friday, 17 July 1998 03:37:48 GMT

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