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

 So, the bug is in the SGI jdk. I'm sorry but we can't do anything about 
 that. You can try to report this bug to SGI... and wait for a new 
 version.

 Benoit.
 

Tarang Kumar Patel writes:

> >>>>> On Thu, 16 Jul 1998 09:07:57 -0700 (PDT), Tarang Kumar Patel <mombasa@p
> tolemy.arc.nasa.gov> said:
> 
> >>>>> On Thu, 16 Jul 1998 10:36:55 +0200, Benoit Mahe <Benoit.Mahe@sophia.inr
> ia.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 eventua
> l
>    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
> 
> 
> 
> 


- 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, 17 July 1998 05:39:42 UTC