[Thread Prev][Thread Next][Index]

Re: [las_users] Fw: Does UI server send XML request to Data servertwice??



Yes, at the moment this is the correct behavior for the server.  This behavior was a result of some changes that I made to fix the browser caching so that the output images will accumulate in the browser history and can reviewed using the "Back" button.

Typically, this is not a big deal because the second request is satisfied from the Product Server cache.  However, I recently redesigned this code so that only one request is needed.  If you want the latest changes, we can arrange for you to get them via CVS otherwise the next bug release (coming soon) will take care of this problem and the UI server will again only make one request.

Roland

cch wrote:
Hi, all!
 
Following is LAS log (las/server/log/access).
Data server always receives two identical XML request, only time is different.
Is it right?
 
Would you have any suggestion? Thanks!
 
--
DATE: Wed Aug 31 16:03:15 2005
RQST: GET /las-bin/LASserver.pl?xml=%3C%3Fxml+version%3D%221.0%22%3F%3E%3ClasRequest+package%3D%22%22+href%3D%22file%3Alas.xml%22+%3E%3Clink+match%3D%22%2Flasdata%2Foperations%2Fshade%22+%2F%3E%3Cproperties+%3E%3Cferret+%3E%3Csize+%3E.5%3C%2Fsize%3E%3Cformat+%3Eshade%3C%2Fformat%3E%3Cbatch_id+%3E%3C%2Fbatch_id%3E%3Cbatch_mode+%3Efalse%3C%2Fbatch_mode%3E%3Cbatch_passwd+%3E%3C%2Fbatch_passwd%3E%3Cbatch_rename+%3E%3C%2Fbatch_rename%3E%3Cbatch_server_ip+%3E%3C%2Fbatch_server_ip%3E%3Cimage_format+%3Edefault%3C%2Fimage_format%3E%3Cplot_size+%3E0.5%3C%2Fplot_size%3E%3C%2Fferret%3E%3C%2Fproperties%3E%3Cargs+%3E%3Clink+match%3D%22%2Flasdata%2Fdatasets%2FNCEPRE-Daily_hgt_2004_2004_d%2Fvariables%2Fhgt%22+%2F%3E%3Cregion+%3E%3Crange+low%3D%22104.0%22+type%3D%22x%22+high%3D%22140.0%22+%2F%3E%3Crange+low%3D%22-11.0%22+type%3D%22y%22+high%3D%2222.0%22+%2F%3E%3Cpoint+v%3D%2210%22+type%3D%22z%22+%2F%3E%3Cpoint+v%3D%2201-Jan-2004%22+type%3D%22t%22+%2F%3E%3C%2Fregion%3E%3C%2Fargs%3E%3C%2FlasRequest%3E HOST: 172.16.66.74
CLNT: Java/1.5.0_02
XML: <?xml version="1.0"?><lasRequest package="" href="" class="moz-txt-link-rfc2396E" href="">"file:las.xml" ><link match="/lasdata/operations/shade" /><properties ><ferret ><size >.5</size><format >shade</format><batch_id ></batch_id><batch_mode >false</batch_mode><batch_passwd ></batch_passwd><batch_rename ></batch_rename><batch_server_ip ></batch_server_ip><image_format >default</image_format><plot_size >0.5</plot_size></ferret></properties><args ><link match="/lasdata/datasets/NCEPRE-Daily_hgt_2004_2004_d/variables/hgt" /><region ><range low="104.0" type="x" high="140.0" /><range low="-11.0" type="y" high="22.0" /><point v="10" type="z" /><point v="01-Jan-2004" type="t" /></region></args></lasRequest>
CACHE: false
 
DATE: Wed Aug 31 16:03:23 2005
RQST: GET /las-bin/LASserver.pl?xml=%3C%3Fxml+version%3D%221.0%22%3F%3E%3ClasRequest+package%3D%22%22+href%3D%22file%3Alas.xml%22+%3E%3Clink+match%3D%22%2Flasdata%2Foperations%2Fshade%22+%2F%3E%3Cproperties+%3E%3Cferret+%3E%3Csize+%3E.5%3C%2Fsize%3E%3Cformat+%3Eshade%3C%2Fformat%3E%3Cbatch_id+%3E%3C%2Fbatch_id%3E%3Cbatch_mode+%3Efalse%3C%2Fbatch_mode%3E%3Cbatch_passwd+%3E%3C%2Fbatch_passwd%3E%3Cbatch_rename+%3E%3C%2Fbatch_rename%3E%3Cbatch_server_ip+%3E%3C%2Fbatch_server_ip%3E%3Cimage_format+%3Edefault%3C%2Fimage_format%3E%3Cplot_size+%3E0.5%3C%2Fplot_size%3E%3C%2Fferret%3E%3C%2Fproperties%3E%3Cargs+%3E%3Clink+match%3D%22%2Flasdata%2Fdatasets%2FNCEPRE-Daily_hgt_2004_2004_d%2Fvariables%2Fhgt%22+%2F%3E%3Cregion+%3E%3Crange+low%3D%22104.0%22+type%3D%22x%22+high%3D%22140.0%22+%2F%3E%3Crange+low%3D%22-11.0%22+type%3D%22y%22+high%3D%2222.0%22+%2F%3E%3Cpoint+v%3D%2210%22+type%3D%22z%22+%2F%3E%3Cpoint+v%3D%2201-Jan-2004%22+type%3D%22t%22+%2F%3E%3C%2Fregion%3E%3C%2Fargs%3E%3C%2FlasRequest%3E HOST: 172.16.66.74
CLNT: Java/1.5.0_02
XML: <?xml version="1.0"?><lasRequest package="" href="" class="moz-txt-link-rfc2396E" href="">"file:las.xml" ><link match="/lasdata/operations/shade" /><properties ><ferret ><size >.5</size><format >shade</format><batch_id ></batch_id><batch_mode >false</batch_mode><batch_passwd ></batch_passwd><batch_rename ></batch_rename><batch_server_ip ></batch_server_ip><image_format >default</image_format><plot_size >0.5</plot_size></ferret></properties><args ><link match="/lasdata/datasets/NCEPRE-Daily_hgt_2004_2004_d/variables/hgt" /><region ><range low="104.0" type="x" high="140.0" /><range low="-11.0" type="y" high="22.0" /><point v="10" type="z" /><point v="01-Jan-2004" type="t" /></region></args></lasRequest>
CACHE: true
 
--
cch


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement