W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 2004

Re: Bug in SSI

From: Clóvis Wichoski <clovis_wichoski@uol.com.br>
Date: Fri, 13 Feb 2004 11:54:04 -0300
Message-ID: <402CE50C.7090509@uol.com.br>
To: Yves Lafon <ylafon@w3.org>
Cc: www-jigsaw@w3.org

Hi, Yves,

I checked the code of SSIFrame, and I suspect that the throuble is when 
segments are persisted, the unparsed segment that have the expression is 
lost on restart.

following is the ouput of SSIFrame.debug == true, when shtml is a fresh 
copy:
@@@@ handle: external
@@@ parseFirstTime
@@@@ IMS: 1076677100000 vs -1
@@@@ Analyzing segment <148,328: exec [cmd=java -jar UnzipURL.jar html 
http://mysite/update.zip C:\Jigsaw\Jigsaw\mirrorSite\ 
http://mysite/update.inf ]>
@@@@ cacheReplies : true
&&&& Adder: g=168, p=null
@@@@ Last-modified: -1

now the output on restart the server, (the ATTR_SEGMENTS isn't null 
because it saved by above action)
@@@@ handle: external
@@@@ IMS: 1076677100000 vs -1

in second case the browser waits until I shutdown the server.

then I changed the SSIFrame to output more informations about segments: 
then the outputs are

1) when shtml is a fresh copy:
@@@@ handle: external
@@@ parseFirstTime
@@@@ IMS: 1076679930000 vs 1076679654000
@@@@ Removed NOT MODIFIED
XXXX segments.length=3
XXXX segments[1].isUnparsed()=true
XXXX segment content: <0,148>
XXXX segments[2].isUnparsed()=false
XXXX segment content: <148,328: exec [cmd=java -jar UnzipURL.jar html 
http://mysite/update.zip C:\Jigsaw\Jigsaw\mirrorSite\ 
http://mysite/update.inf ]>
@@@@ Analyzing segment <148,328: exec [cmd=java -jar UnzipURL.jar html 
http://mysite/update.zip C:\Jigsaw\Jigsaw\mirrorSite\ 
http://mysite/update.inf ]>
@@@@ cacheReplies : true
&&&& Adder: g=168, p=null
XXXX segments[3].isUnparsed()=true
XXXX segment content: <328,348>
@@@@ Last-modified: -1


2) when server is restarted
@@@@ handle: external
@@@@ IMS: 1076679930000 vs -1
XXXX segments.length=3
XXXX segments[1].isUnparsed()=true
XXXX segment content: <-1,-1>
XXXX segments[2].isUnparsed()=true
XXXX segment content: <148,328>
XXXX segments[3].isUnparsed()=true
XXXX segment content: <-1,-1>

Now I will attempt to discover because what setValue is missing values 
of segments, but I can going to a misundertand of this throuble, because 
of this I'm sending this observations to you, maybe I can receive a 
light in the darkness.

Best regards

Clovis

Clóvis Wichoski wrote:

>
> Hi, Yves,
>
> I'm using SSI exec command, the pages works only when shtml is 
> created, and only on the first server startup, on a server restart 
> this page don't work and the browser says forever 'Transfering data 
> from mysite...",  I checked here that if I change anything in the 
> shtml and refresh the browser, the shtml page works until next restart.
>
> What happen? This is a bug with SSI or a misconfiguration?
>
> ps: I'm testing in a Windows 98 machine with Virtual Hosts
>
> Best regards
>
> Clovis
>
>
Received on Friday, 13 February 2004 08:51:53 GMT

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