There is info in the load queue which I think can be followed to figure out the URL
that is being requested.

But one thing to try before that is to run Firefox with LiveHTTPHeaders extension, and see if you see any requests being made. 30 seconds is the default timeout on data loading (and maybe media loading as well), and the LoadQueue enforces the
condition that no more than two simultaneous requests can be in progress, so you
might be able to see some failing requests going out. Flash is especially stupid about reporting load progress (and it's slightly different in each browser), so sometimes the only way our runtime can detect a failure is to just time out and assume the request failed.


On 2/27/06, Denis Bohm <[EMAIL PROTECTED]> wrote:
I have been developing my application using LPS so that I can debug,
etc.  As a first step to moving toward deployment I added
proxied="false" to canvas and things seemed to continue to work fine.
When I precompile my application and run in Tomcat without LPS my
application seems to work, but with one major issue.  Some of the
requests that I initiate after startup are not sent to the server
immediately there is a delay of about 30 seconds before they are sent.
I put in the code shown at the end of this message to print out some
information about the LzLoadQueue every 2 seconds to see what was
happening.  What I see is that there are a couple of objects in
LzLoadQueue.loading that are taking about 30 seconds to go away - and my
other requests are queued up behind those.  So I'm trying to figure out
what those requests are that are holding things up.  They don't seem to
have a dataset associated with them, so I'm just printing out the
stringified object and I get names
like"_level0.$m3.$m1.$m2.$m4.$m0.$m3.$m2.$m0.$m4.$m0.$m0".  Anyone know
how to decode these names?  Or is there some other way to find out what
is getting stuck loading?

--- begin code ---

<method name="showLoadQueue"><![CDATA[
    Debug.write("maxOpen: " + LzLoadQueue.maxOpen);
    Debug.write("openConx: " + LzLoadQueue.openConx);
    var loading = LzLoadQueue.loading;
    for (var i = 0; i < loading.length; ++i) {
        var r = loading[i];
        if (r["dataset"] == undefined) {
            Debug.write("loading: " + r);
        } else {
            Debug.write("loading: " + r.dataset.src);
        }
    }
    var listofqs = LzLoadQueue.listofqs;
    Debug.write ("qs: " + listofqs.length);
    for (var i = 0; i < listofqs.length; ++i) {
        var q = listofqs[i];
        Debug.write("q: " + q.length);
        if (q != undefined) {
            for (var j = 0; j < q.length; ++j) {
                Debug.write(q[j]);
            }
        }
    }
    LzTimer.addTimer(new LzDelegate(this, "showLoadQueue"), 2000);
]]></method>
<method event="oninit">
    showLoadQueue();
</method>

_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev



--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to