[daisy] Re: Error calling heartbeat

Bruno Dumon bruno at outerthought.org
Fri Apr 6 03:33:20 CDT 2007


On Fri, 2007-04-06 at 01:10 +0200, Robert Kindl wrote:
> > > "Error calling heartbeat (to keep your editing session and document
> > > lock alive): XMLHttpTransport.watchInFlight Error:[object Error]"
> 
> > Usually heartbeat errors occur when:
> >  * the Daisy Wiki is down
> >  * the Daisy Wiki has been restarted, causing the editing session to be
> lost
> >  * (temporary) network errors
> 
> I experience same problem with Daisy 2.0 (release version running on Windows
> 2003) (fresh upgrade from 1.5 version).
> Tested with IE6 and Mozilla 1.5 on Windows 2000 and WinXPSP2.
> It seems to me that only IE6 is affected - Mozilla gets heartbeat without
> problems.
> 
> I used NTLM authentication.
> 
> I checked connection with Fiddler:
> 
> Follwing URL was requested:
> http://server:8888/SandBox/8-EX/edit/311f3169426e8068214a26571b8d446e8a585043/heartbeat
> and this was the response:
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
> <heartbeat xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"
> xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
> </heartbeat>
> 
> So connection is OK.
> There must be problem with this new DoJo heartbeat feature.

Thanks for posting this snippet, it made the problem immediately obvious
to me: the response is serialized as HTML instead of XML. I've committed
a fix.

In the meantime, one can safely ignore this message: the heartbeat is
working, it's just that IE isn't able to parse the response.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org                          bruno at apache.org



More information about the daisy mailing list