[ZODB-Dev] ZODB - XMLRPC - Content is not allowed in prolog.
Hello, I would like to connect to ZODB using XmlRPC. I used a port number 9675. Is the port 9675 correct ? I run ZODB with such parameters : runzeo.py -a 9675 -f C:\tmp\Data.fs How ZODB should be configured for XMLRpc ? but I have such error : [Fatal Error] :1:1: Content is not allowed in prolog. org.apache.xmlrpc.client.XmlRpcClientException: Failed to parse servers response: Content is not allowed in prolog. at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse( XmlRpcStreamTransport.java:174) at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest( XmlRpcStreamTransport.java:149) at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest( XmlRpcHttpTransport.java:95) at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest( XmlRpcSunHttpTransport.java:39) at org.apache.xmlrpc.client.XmlRpcClientWorker.execute( XmlRpcClientWorker.java:53) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:157) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:146) at rpcapplication.RpcMain.main(RpcMain.java:64) Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse( AbstractSAXParser.java:1269) at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse( XmlRpcStreamTransport.java:172) at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest( XmlRpcStreamTransport.java:149) at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest( XmlRpcHttpTransport.java:95) at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest( XmlRpcSunHttpTransport.java:39) at org.apache.xmlrpc.client.XmlRpcClientWorker.execute( XmlRpcClientWorker.java:53) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:157) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:146) at rpcapplication.RpcMain.main(RpcMain.java:64) My xml looks like : ?xml version=1.0? methodCall methodNameroot.get/methodName params param valueconferences/value /param /params /methodCall Could you give me some suggestion how should I solve it ? And the second question : Is it some way how to see what is in ZODB - some administration tool , which shows all objects and methods ? Thanks for reply. Jola -- Pozdrawiam Jola ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] ZODB - XMLRPC - Content is not allowed in prolog.
--On 13. März 2007 11:47:50 +0100 Jola [EMAIL PROTECTED] wrote: Hello, I would like to connect to ZODB using XmlRPC. I used a port number 9675. Is the port 9675 correct ? I run ZODB with such parameters : runzeo.py -a 9675 -f C:\tmp\Data.fs How told you that nonsense to use ZEO over XMLRPC? ZEO only speaks ZEO - nothing else. -aj pgpZYWsOL5Uh8.pgp Description: PGP signature ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
[ZODB-Dev] mvcc related error?
(trying again to send to the right list) Hi All, One of the users on one of my projects saw this error under high load: Module Products.QueueCatalog.QueueCatalog, line 458, in reindexObject Module Products.QueueCatalog.QueueCatalog, line 341, in catalog_object Module Products.QueueCatalog.QueueCatalog, line 284, in _update Module ZODB.Connection, line 732, in setstate Module ZODB.Connection, line 765, in _setstate Module ZODB.Connection, line 791, in _load_before_or_conflict Module ZODB.Connection, line 814, in _setstate_noncurrent AssertionError This is on Zope 2.9.4. Any ideas? cheers, Chris ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
[ZODB-Dev] ZODB - XMLRPC - Content is not allowed in prolog.
Hi! When I connect to ZODB using XMLRPC, as a server response I got byte answer not xml how should I configured server ? Have you got some fragments of code ? How do it ? Thanks Jola ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] ZODB - XMLRPC - Content is not allowed in prolog.
--On 13. März 2007 12:53:05 +0100 Jola [EMAIL PROTECTED] wrote: Hi! When I connect to ZODB using XMLRPC, as a server response I got byte answer not xml how should I configured server ? Have you got some fragments of code ? How do it ? As I told you already (through private mail): you must use Zope as front-end for any kind of XMLRPC interaction. And take your time to provide a clear description what you are doing and trying to achieve. -aj pgpYSfqOkE4j7.pgp Description: PGP signature ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
[ZODB-Dev] xml rpc server response it is not xml
Hi! When I connect to ZODB using XMLRPC, as a server response I got byte answer is not xml . What Should I do ? Maybe should I configured server but How ? Have you gor similar problem ? Please give me some fragments of code ? Thanks Jola ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] ZODB - XMLRPC - Content is not allowed in prolog.
On Tue, Mar 13, 2007 at 12:56:06PM +0100, Andreas Jung wrote: --On 13. M??rz 2007 12:53:05 +0100 Jola [EMAIL PROTECTED] wrote: Hi! When I connect to ZODB using XMLRPC, as a server response I got byte answer not xml how should I configured server ? Have you got some fragments of code ? How do it ? As I told you already (through private mail): you must use Zope as front-end for any kind of XMLRPC interaction. Or write a ZODB application that uses xmlrpclib and your server of choice. But yes, connecting to the ZEO server with anything other than a ZEO client is insane. -- Paul Winkler http://www.slinkp.com ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] xml rpc server response it is not xml
--On 13. März 2007 13:10:04 +0100 Jola [EMAIL PROTECTED] wrote: Hi! When I connect to ZODB using XMLRPC, as a server response I got byte answer is not xml . What Should I do ? Maybe should I configured server but How ? Have you gor similar problem ? Please give me some fragments of code ? Could you please stop starting new threads for the same issue and don't behave like a numpty. If you want help, don't annoy people offering help. -aj pgpoSxZD4UNgA.pgp Description: PGP signature ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] mvcc related error?
Chris Withers wrote at 2007-3-13 11:34 +: One of the users on one of my projects saw this error under high load: Module Products.QueueCatalog.QueueCatalog, line 458, in reindexObject Module Products.QueueCatalog.QueueCatalog, line 341, in catalog_object Module Products.QueueCatalog.QueueCatalog, line 284, in _update Module ZODB.Connection, line 732, in setstate Module ZODB.Connection, line 765, in _setstate Module ZODB.Connection, line 791, in _load_before_or_conflict Module ZODB.Connection, line 814, in _setstate_noncurrent AssertionError Yes, it looks like an error: Apparently, assert end is not None failed. Apparently storage.loadBefore returned a wrong value. I have no idea how this could happen. -- Dieter ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev