Salut Jean-Marc, Jean-Marc Orliaguet wrote: > every now and then, using CPSLuceneCatalog, there are messages like: > INFO nuxeo.lucene.xmlrpc.PersistentTransport Connection lost. Sleeping a > bit. Retry number 1
Supposed to. Either Zope cannot contact the NXLucene server either
NXLucene has been reseting the connection.
The thing is that I'm using twisted.web which doesn't support properly
HTTP/1.1. twisted.web2 is much more better in this regard but wasn't
stable enough at that time.
> appearing in the log file.
>
> I suppose that the idea of a persistent connection is that it should
> stay open until the server is shut down.
yep it is. You can check the code. It's pretty straightforward. This is
used when the xml-rpc connection is initialized.
> are these normal messages or is there any fine-tuning to be done on the
> server(s)?
Well, no if the NXLucene nor the Zope server are restarted. It's hard to
debug. Though, this is harmless since Zope will reconnect.
This code is just for optimization purpose on this wonderful HTTP
protocol :) So if you only see this every now and then that's not really
something you should be worry about.
Cheers,
J.
--
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - http://www.nuxeo.com
Nuxeo 5 : http://www.nuxeo.org
Mobile: +33 (0) 6 72 57 57 66
signature.asc
Description: OpenPGP digital signature
_______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
