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

Re: Re: Digest Auth ; https and http on same server

From: brax <JBrax@compuserve.com>
Date: Tue, 27 Jul 1999 13:29:24 -0400 (EDT)
To: JigSaw Mail <www-jigsaw@w3.org>
Message-ID: <199907271329_MC2-7E79-D1B9@compuserve.com>
This time, I downloaded version 2.0.3 - great !

Configured everything and tested again.

Digest Auth : 
---------------
Same problem as the one described before.
Setting Security level to 0 works fine ( should be Basic Auth ) but
SnoopServlet crash : 

Snoop Servlet 
Init Parameters 
Context attributes: 
jsdk version : 2 . 1 
javax.servlet.Servlet methods 
Attribute names in this request: 
brax1 = null 
Digest = null HTTP/1.1 500 
Internal Server Error Date: Tue, 27 Jul 1999 16:35:05 GMT 
Content-Length: 57 
Content-Type: text/html 
Server: Jigsaw/2.0.3 Servlet has thrown
exception:java.lang.ClassCastException

and the part of code doing it is : 
        out.println("<BR>javax.servlet.Servlet methods");
        out.println();
        out.println("<BR>Attribute names in this request:");
        e = request.getAttributeNames();
        while (e.hasMoreElements()) {
            String key = (String)e.nextElement();
            Object value = request.getAttribute(key);
            out.println("<BR>   " + key + " = " + value);
        }
        out.println();
        out.println("<BR>Protocol: " + request.getProtocol());
        out.println("<BR>Scheme: " + request.getScheme());

https and http on same server : 
-------------------------------------
same problem than before;
In the httpsd.java I need to change https into http; example :
 
 request.setURL(new URL("http", url.getHost(), url.getPort(),
url.getFile()));
// jb request.setURL(new URL("https", url.getHost(),
url.getPort(),url.getFile()));

otherwise I get a runtime error : 
 java.lang.NoClassDefFoundError:
org/w3c/www/protocol/http/HttpURLConnection
 
But I also have some strange behaviour; from time to time, it doesn't want
to 
recognize classic classes ( Logger, ... ).
My disk is badly fragmented. I tried to put all the jigsaw-ssl sources into
a jar file.
Question : why jigsaw.zip is not provided as a jar file - is there a reason
?

Meanwhile, Thanks for all, it's great.

Salutations - Jacques Brax
Received on Tuesday, 27 July 1999 15:07:38 GMT

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