[Catalyst] problem with Catalyst::Plugin::XMLRPC on Solaris

David Morgan dave.morgan at s4c.co.uk
Fri Aug 18 17:49:20 CEST 2006


I'm having some problems getting a RPC XML server working under Catalyst::Plugin::XMLRPC on Solaris 10 (I have since tested the code under Ubuntu Dapper and it works- and no it has to run under Solaris! ).  I have also implemented the functions under XML::RPC::Server on Solairs and it works.  However it would be great to get it to work under Catalyst.

This error occurs then the request size is increased to more then 4096 bytes:

[info] Sched powered by Catalyst 5.7001
You can connect to your server at http://wye:3000
[info] *** Request 1 (0.125/s) [21379] [Fri Aug 18 15:55:23 2006] ***
[debug] "POST" request for "api" from "192.168.20.35"
[debug] Arguments are "api"
[debug] Invalid XMLRPC request "
not well-formed (invalid token) at line 1, column 4096, byte 4096 at /opt/csw/share/perl/site_perl/Catalyst/Plugin/XMLRPC.pm line 126

The error received by the client is:
'Transport error: Invalid request at ./client.pl line 31.'

line 126 /opt/csw/share/perl/site_perl/Catalyst/Plugin/XMLRPC.pm   is:

    $p->parse_more($content);

$content contains the correct xml request, so the data is being passed correctly.  The de-serialising seems to be failing.

Could anyone give me any tips on how to debug this further?

Judging by the comments on http://www.annocpan.org/~SRI/Catalyst-Plugin-XMLRPC-1.0/lib/Catalyst/Plugin/XMLRPC.pm someone else has come across this error as well.

XML parsing modules:
 libexpat 1.95.7
 
I've attached an autobundle so you can see which modules I am using.

Thanks for your time,

David Morgan
S4C


 <<Snapshot_2005_12_13_00.zip>> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060818/d9e0adfc/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Snapshot_2005_12_13_00.zip
Type: application/x-zip-compressed
Size: 10011 bytes
Desc: Snapshot_2005_12_13_00.zip
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060818/d9e0adfc/attachment.bin 


More information about the Catalyst mailing list