From: Dave S. <dav...@ca...> - 2004-04-01 14:16:24
|
Well I can tell you there is a meta tag for refresh but it is 60 secs. It looks like this ... <meta HTTP-EQUIV="REFRESH" CONTENT="60;URL=https://192.168.1.2:8443/aci/FindShipmentAction.do"/> Looks like you are ignoring the time in seconds ... On Thu, 2004-04-01 at 09:08, Mike Bowler wrote: > Dave Smith wrote: > > >>OK. I download last nights snapshot and it test just hangs. A thread > >>dump is below. Also why is > >>[junit] at > >>com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:575) > >> [junit] at > >>com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:535) > >> [junit] at > >>com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:453) > >> [junit] at > >>com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:325) > >> [junit] at > >>com.gargoylesoftware.htmlunit.html.HtmlPage.executeRefreshIfNeeded(HtmlPage.java:954) > >> [junit] at > >>com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:141) > >> > >>Repeated at least 20 times before the top of the dump below? There are 6 > >>.js includes and one .css include but it does not match the number of > >>occurrences of the loop. > > It would appear that a page refresh is being triggered every time the > page gets loaded and that you're consequently in an infinite loop. > Refresh can be triggered by javascript (onload handler) or a <meta> tag > or a refresh header in the http response. > > I assume that this page loads fine in a browser btw. > > The first thing I'd try would be a breakpoint or print statement in > HtmlPage.executeRefreshIfNeeded() to see what specifically has triggered > the refresh each time. -- Dave Smith CANdata Systems Ltd 416-493-9020 |