Re: Probs with Jigsaw 1beta2 an TCP-Sockets

On Mon, 3 Feb 1997, Stefan Speidel wrote:

> Hi,
> 
> I've got serveral Problems with Jigsaw 1alpha1 and above when I contact
> to my server and get a very large game. After about 20 requests Jigsaw
> hang and Netscape says: Document contains no Data.
> I'm using Jisaw 1.0beta2, JDK 1.1.3/Linux and kernel 2.0.33.
> Thanks for Helping.
> Here You get a Part of the tracing Output and the errlog:
> 
> Tracing:
> .
> .
> .
> +++ client-2(socket-clients:19) got exception:
> +++ client-2(socket-clients:19) got exception:
> +++ client-2(socket-clients:19) got exception:
> GET //spiel1/space/vrml/w08.wrl HTTP/1.0
> 
> Proxy-Connection: Keep-Alive
> 
> Date: Tue, 03 Feb 1998 14:10:25 GMT
> 
> Pragma: no-cache
> 
> Via: 1.0 Nobody (CERN-HTTPD/3.0A)
> 
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
> 
> Accept-Charset: iso-8859-1,*,utf-8
> 
> Accept-Language: de
> 
> Host: www.dasradioantenne.de:8001
> 
> User-Agent: Mozilla/4.03 [de] (WinNT; I) (via WBI Proxy Server 2.0)
> 
> 
> 
> +++ client-2(socket-clients:19) got exception:
> GET //spiel1/space/vrml/w01.wrl HTTP/1.0
> 
> Proxy-Connection: Keep-Alive
> 
> Date: Tue, 03 Feb 1998 14:10:25 GMT
> 
> Pragma: no-cache
> 
> Via: 1.0 Nobody (CERN-HTTPD/3.0A)
> 
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
> 
> Accept-Charset: iso-8859-1,*,utf-8
> 
> Accept-Language: de
> 
> Host: www.dasradioantenne.de:8001
> 
> User-Agent: Mozilla/4.03 [de] (WinNT; I) (via WBI Proxy Server 2.0)
> 
> 
> 
> +++ client-2(socket-clients:19) got exception:
> GET //spiel1/space/vrml/w03.wrl HTTP/1.0
> 
> Proxy-Connection: Keep-Alive
> 
> Date: Tue, 03 Feb 1998 14:10:25 GMT
> 
> Pragma: no-cache
> 
> Via: 1.0 Nobody (CERN-HTTPD/3.0A)
> 
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
> 
> Accept-Charset: iso-8859-1,*,utf-8
> 
> Accept-Language: de
> 
> Host: www.dasradioantenne.de:8001
> 
> User-Agent: Mozilla/4.03 [de] (WinNT; I) (via WBI Proxy Server 2.0)
> 
> 
> 
> +++ client-2(socket-clients:19) got exception:
> eadCache.java:86)
> w3c.jigsaw.http.ClientException: Unterbrechung w?hrend
> Betriebssystem-Aufruf
>  at w3c.jigsaw.http.Client.getNextRequest(Client.java:256)
>  at w3c.jigsaw.http.Client.startConnection(Client.java:431)
>  at w3c.jigsaw.http.socket.SocketClient.run(SocketClient.java:114)
>  at w3c.util.CachedThread.run(ThreadCache.java:86)
> w3c.jigsaw.http.ClientException: Unterbrechung w?hrend
> Betriebssystem-Aufruf
>  at w3c.jigsaw.http.Client.getNextRequest(Client.java:256)
>  at w3c.jigsaw.http.Client.startConnection(Client.java:431)
>  at w3c.jigsaw.http.socket.SocketClient.run(SocketClient.java:114)
>  at w3c.util.CachedThread.run(ThreadCache.java:86)
> java.net.SocketException: Unterbrechung w?hrend Betriebssystem-Aufruf
>  at java.net.SocketInputStream.read(SocketInputStream.java:92)
>  at java.io.BufferedInputStream.fill(BufferedInputStream.java)
>  at java.io.BufferedInputStream.read(BufferedInputStream.java)
>  at w3c.www.mime.MimeParser.parse(MimeParser.java:177)
>  at w3c.jigsaw.http.Client.getNextRequest(Client.java:247)
>  at w3c.jigsaw.http.Client.startConnection(Client.java:431)
>  at w3c.jigsaw.http.socket.SocketClient.run(SocketClient.java:114)
>  at w3c.util.CachedThread.run(ThreadCache.java:86)

Those interrupted system calls are "normal" as you are using the linux 
port of the jdk, which is quite bugged :(

> java.lang.NullPointerException:
>  at w3c.tools.store.AttributeHolder.getValue(AttributeHolder.java:230)
>  at w3c.tools.store.Resource.getResourceStore(Resource.java:152)
>  at
> w3c.jigsaw.resources.VirtualHostResource.lookupStore(VirtualHostResource.java:76)
> 
>  at
> w3c.jigsaw.resources.VirtualHostResource.lookup(VirtualHostResource.java:132)

This one is different...
How did you setup your virtualhost? it should be...
install the virtual resource,
set the followup attirbute to "root"
then.. in the properties, set the root name to be the name of your 
virtual resource
Then add your pass directories with the name (and port if not 80) of your 
virtualhost server.
If your configuration was an old one... maybe the stores were screwed, 
and you may have to redo a configuration from scratch :(
Regards,

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \                Architecture Domain - Jigsaw
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    

Received on Thursday, 5 February 1998 05:45:18 UTC