PacketFence - BTS - PacketFence
View Issue Details
0001010PacketFenceradiuspublic2010-06-09 03:332012-08-14 09:15
obilodeau 
obilodeau 
normalminorrandom
closedfixed 
devel 
2.0.02.0.0 
423f1d6d53baaece19da7c6dc3a19794c8eaed3e
0001010: several SOAP issues
I experienced weird SOAP problems the other day. I was in a rush so I tried several things to fix it.

Original error:
Application failed during request deserialization: no element found at line 1, column 0, byte -1.


I pulled in: perl-LWP-UserAgent-Determined
I got rid of perl-SOAP-Lite-0.711 and installed perl-SOAP-Lite-0.710.08-1 instead.

At this point, no more deserialization problems but still 500 Internal Server Error issues.

Then I think the problem was the print statement in node_modify (performed by auto-registration).

I also got rid of the eval block around the radius call in pdp.cgi. Thats where things started to work again.

Not sure what mix of these fixed it but it was done in that order so I should try to reproduce first then go with various iteration of the topic.

One bad thing about all this is that error reporting was ridiculously missing. I had to sniff traffic to get a clue of what was going on.
No tags attached.
parent of 0001068closed obilodeau print statement in pf::node::node_modify cause all sorts of problems 
related to 0000882resolved obilodeau perl-SOAP-Lite needs LWP::UserAgent but it isn't declared in package 
Issue History
2010-06-09 03:33obilodeauNew Issue
2010-06-09 03:33obilodeauStatusnew => assigned
2010-06-09 03:33obilodeauAssigned To => obilodeau
2010-06-09 03:45obilodeauSummarySOAP problems => several SOAP issues
2010-06-09 03:45obilodeauDescription Updated
2010-06-09 03:46obilodeauCategorypackaging => 1.10.x
2010-06-21 13:16obilodeauNote Added: 0001583
2010-06-21 13:17obilodeauNote Edited: 0001583
2010-06-23 11:41obilodeauNote Added: 0001584
2010-06-23 11:42obilodeauReproducibilityhave not tried => random
2010-06-23 11:42obilodeauStatusassigned => confirmed
2010-08-10 14:18obilodeauNote Added: 0001629
2010-08-25 17:41obilodeauNote Added: 0001634
2010-09-14 15:12obilodeauRelationship addedparent of 0001068
2010-09-14 15:13obilodeauNote Added: 0001658
2010-09-15 11:18obilodeauRelationship addedrelated to 0000882
2010-09-23 12:38obilodeauNote Added: 0001689
2010-09-23 16:33obilodeauNote Added: 0001690
2010-09-23 16:34obilodeauNote Edited: 0001690
2010-09-24 14:41obilodeaumtn revision => 423f1d6d53baaece19da7c6dc3a19794c8eaed3e
2010-09-24 14:41obilodeauNote Added: 0001692
2010-09-24 14:41obilodeauStatusconfirmed => resolved
2010-09-24 14:41obilodeauFixed in Version => trunk
2010-09-24 14:41obilodeauResolutionopen => fixed
2010-11-19 14:25obilodeauTarget Version1.10.0 => 2.0.0
2010-11-19 14:28obilodeauCategory1.10.x => 2.x
2010-11-19 14:48obilodeauCategory2.x => radius module
2010-12-15 11:37obilodeauFixed in Versiontrunk => 2.0.0
2011-01-26 15:42obilodeauStatusresolved => closed
2012-08-14 09:15obilodeauCategoryradius module => radius

Notes
(0001583)
obilodeau   
2010-06-21 13:16   
(edited on: 2010-06-21 13:17)
Spent some time in the lab today trying to reproduce and I was unable to.

Here are some of the important packages in the lab setup:
Installed Packages
mod_perl.i386                                                           2.0.4-6.el5
perl-SOAP-Lite.noarch                                                   0.711-1.el5.rf
Available Packages
perl-LWP-UserAgent-Determined.noarch                                    1.04-1.el5.rf


Installed perl modules in the lab (a lot of them are probably useless):
perl-Apache-Htpasswd.noarch                      1.8-1.el5.rf          installed
perl-AppConfig.noarch                            1.66-1.el5.rf         installed
perl-Archive-Tar.noarch                          1.56-1.el5.rf         installed
perl-Authen-SASL.noarch                          2.13-1.el5.rf         installed
perl-B-Keywords.noarch                           1.09-1.el5.rf         installed
perl-BSD-Resource.i386                           1.2903-1.el5.rf       installed
perl-Bit-Vector.i386                             7.1-1.el5.rf          installed
perl-CGI-Session.noarch                          4.42-1.el5.rf         installed
perl-Carp-Clan.noarch                            6.04-1.el5.rf         installed
perl-Class-Accessor.noarch                       0.34-1.el5.rf         installed
perl-Class-Accessor-Fast-Contained.noarch        1.01-1.el5.rf         installed
perl-Class-Data-Inheritable.noarch               0.08-1.el5.rf         installed
perl-Class-Gomor.noarch                          1.02-1.el5.rf         installed
perl-Clone.i386                                  0.31-1.el5.rf         installed
perl-Compress-Raw-Bzip2.i386                     2.024-1.el5.rf        installed
perl-Compress-Raw-Zlib.i386                      2.024-1.el5.rf        installed
perl-Config-IniFiles.noarch                      2.56-1.el5.rf         installed
perl-Config-Tiny.noarch                          2.12-1.el5.rf         installed
perl-Convert-ASN1.noarch                         0.22-1.el5.rf         installed
perl-Crypt-DES.i386                              2.05-3.2.el5.rf       installed
perl-Crypt-PasswdMD5.noarch                      1.3-1.2.el5.rf        installed
perl-Crypt-Rijndael.i386                         1.09-1.el5.rf         installed
perl-DBD-Pg.i386                                 2.17.1-1.el5.rf       installed
perl-DBD-mysql.i386                              4.014-1.el5.rf        installed
perl-DBI.i386                                    1.611-1.el5.rf        installed
perl-Data-Phrasebook.noarch                      0.29-1.el5.rf         installed
perl-Data-Phrasebook-Loader-YAML.noarch          0.09-1.el5.rf         installed
perl-Date-Calc.i386                              5.4-1.2.2.1           installed
perl-Date-Manip.noarch                           5.54-2.el5.rf         installed
perl-Devel-Cover.i386                            0.65-1.el5.rf         installed
perl-Devel-Profiler.noarch                       0.04-1.2.el5.rf       installed
perl-Devel-SmallProf.noarch                      2.02-1.el5.rf         installed
perl-Devel-StackTrace.noarch                     1.2200-1.el5.rf       installed
perl-Devel-Symdump.noarch                        2.08-1.el5.rf         installed
perl-Digest-HMAC.noarch                          1.01-15               installed
perl-Digest-SHA1.i386                            2.12-2.el5.rf         installed
perl-Email-Date-Format.noarch                    1.002-1.el5.rf        installed
perl-Exception-Class.noarch                      1.29-1.el5.rf         installed
perl-ExtUtils-CBuilder.noarch                    0.2603.01-1.el5.rf    installed
perl-ExtUtils-ParseXS.noarch                     2.20.02-1.el5.rf      installed
perl-FCGI.i386                                   0.68-1.el5.rf         installed
perl-File-Remove.noarch                          1.42-1.el5.rf         installed
perl-File-Tail.noarch                            0.99.3-1.2.el5.rf     installed
perl-FreezeThaw.noarch                           0.45-1.el5.rf         installed
perl-GSSAPI.i386                                 0.26-1.el5.rf         installed
perl-HTML-Parser.i386                            3.64-1.el5.rf         installed
perl-HTML-Tagset.noarch                          3.20-1.el5.rf         installed
perl-IO-Compress.noarch                          2.024-1.el5.rf        installed
perl-IO-Socket-SSL.noarch                        1.31-2.el5.rf         installed
perl-IO-String.noarch                            1.08-1.2.el5.rf       installed
perl-IO-Tty.i386                                 1.08-1.el5.rf         installed
perl-IO-Zlib.noarch                              1.10-1.el5.rf         installed
perl-IPC-Cmd.noarch                              0.56-1.el5.rf         installed
perl-IPC-Shareable.noarch                        0.60-2.el5.rf         installed
perl-IPTables-ChainMgr.noarch                    0.9-1                 installed
perl-IPTables-Parse.noarch                       0.7-1                 installed
perl-JSON.noarch                                 2.17-1.el5.rf         installed
perl-LDAP.noarch                                 1:0.33-3.fc6          installed
perl-List-MoreUtils.i386                         0.25.1-1.el5.rf       installed
perl-Locale-Maketext-Simple.noarch               0.21-1.el5.rf         installed
perl-Locale-gettext.i386                         1.05-1.el5.rf         installed
perl-Log-Dispatch.noarch                         2.26-1.el5.rf         installed
perl-Log-Dispatch-FileRotate.noarch              1.19-1.el5.rf         installed
perl-Log-Log4perl.noarch                         1.26-1.el5.rf         installed
perl-MIME-Lite.noarch                            3.025-1.el5.rf        installed
perl-MIME-Lite-TT.noarch                         0.02-1.el5.rf         installed
perl-Mail-Sender.noarch                          0.8.16-1.el5.rf       installed
perl-Mail-Sendmail.noarch                        0.79-1.2.el5.rf       installed
perl-MailTools.noarch                            2.06-1.el5.rf         installed
perl-Module-Build.noarch                         1:0.3603-1.el5.rf     installed
perl-Module-CoreList.noarch                      2.25-1.el5.rf         installed
perl-Module-Install.noarch                       0.92-1.el5.rf         installed
perl-Module-Load.noarch                          0.16-1.el5.rf         installed
perl-Module-Load-Conditional.noarch              0.30-1.el5.rf         installed
perl-Module-Pluggable.noarch                     3.9-1.el5.rf          installed
perl-Module-ScanDeps.noarch                      0.95-1.el5.rf         installed
perl-Net-Appliance-Phrasebook.noarch             1.8-1.el5.rf          installed
perl-Net-Appliance-Session.noarch                1.36-1.el5.rf         installed
perl-Net-Daemon.noarch                           0.43-1.el5.rf         installed
perl-Net-Frame.noarch                            1.06-1.el5.rf         installed
perl-Net-Frame-Simple.noarch                     1.04-1                installed
perl-Net-IPv4Addr.noarch                         0.10-1.2.el5.rf       installed
perl-Net-IPv6Addr.noarch                         0.2-1.el5.rf          installed
perl-Net-Jabber.noarch                           2.0-1.2.el5.rf        installed
perl-Net-MAC.noarch                              1.5-1.el5.rf          installed
perl-Net-MAC-Vendor.noarch                       1.18-1.el5.rf         installed
perl-Net-Netmask.noarch                          1.9015-1.el5.rf       installed
perl-Net-Pcap.i386                               0.16-1.el5.rf         installed
perl-Net-SNMP.noarch                             5.2.0-1.2.el5.rf      installed
perl-Net-SSLeay.i386                             1.36-1.el5.rf         installed
perl-Net-Telnet.noarch                           3.03-5                installed
perl-Net-Write.noarch                            1.05-1.el5.rf         installed
perl-Net-XMPP.noarch                             1.02-1.el5.rf         installed
perl-PAR-Dist.noarch                             0.46-1.el5.rf         installed
perl-PPI.noarch                                  1.208-1.el5.rf        installed
perl-Package-Constants.noarch                    0.02-1.el5.rf         installed
perl-Params-Check.noarch                         0.26-1.el5.rf         installed
perl-Params-Util.i386                            1.00-1.el5.rf         installed
perl-Params-Validate.i386                        0.91-1.el5.rf         installed
perl-Parse-CPAN-Meta.noarch                      1.40-1.el5.rf         installed
perl-Parse-Nessus-NBE.noarch                     1.1-1                 installed
perl-Parse-RecDescent.noarch                     1.962.2-1.el5.rf      installed
perl-Perl-Critic.noarch                          1.105-3.el5.rf        installed
perl-PlRPC.noarch                                0.2020-1.el5.rf       installed
perl-Pod-Coverage.noarch                         0.20-1.el5.rf         installed
perl-Pod-Escapes.noarch                          1.04-1.2.el5.rf       installed
perl-Pod-POM.noarch                              0.25-1.el5.rf         installed
perl-Pod-Simple.noarch                           3.13-1.el5.rf         installed
perl-Readonly.noarch                             1.03-1.2.el5.rf       installed
perl-Readonly-XS.i386                            1.05-1.el5.rf         installed
perl-Regexp-Common.noarch                        2010010201-1.el5.rf   installed
perl-SOAP-Lite.noarch                            0.711-1.el5.rf        installed
perl-Socket6.i386                                0.23-1.el5.rf         installed
perl-Spiffy.noarch                               0.30-1.el5.rf         installed
perl-String-CRC32.i386                           1.4-2.fc6             installed
perl-String-Format.noarch                        1.16-1.el5.rf         installed
perl-Sub-Uplevel.noarch                          0.2002-1.el5.rf       installed
perl-Task-Weaken.noarch                          1.03-1.el5.rf         installed
perl-Template-Toolkit.i386                       2.22-1.el5.rf         installed
perl-Term-ReadLine-Gnu.i386                      1.19-1.el5.rf         installed
perl-TermReadKey.i386                            2.30-3.el5.rf         installed
perl-Test-Base.noarch                            0.59-1.el5.rf         installed
perl-Test-Exception.noarch                       0.29-1.el5.rf         installed
perl-Test-Manifest.noarch                        1.23-1.el5.rf         installed
perl-Test-MockDBI.noarch                         0.64-1                installed
perl-Test-MockModule.noarch                      0.05-1.el5.rf         installed
perl-Test-MockObject.noarch                      1.09-1.el5.rf         installed
perl-Test-NoWarnings.noarch                      1.01-1.el5.rf         installed
perl-Test-Perl-Critic.noarch                     1.01-1.el5.rf         installed
perl-Test-Pod.noarch                             1.42-1.el5.rf         installed
perl-Test-Pod-Coverage.noarch                    1.08-1.el5.rf         installed
perl-Test-Tester.noarch                          0.107-1.el5.rf        installed
perl-Thread-Conveyor.noarch                      0.17-1.el5.rf         installed
perl-Thread-Conveyor-Monitored.noarch            0.12-1.el5.rf         installed
perl-Thread-Pool.noarch                          0.32-1.el5.rf         installed
perl-Thread-Serialize.noarch                     0.10-1.el5.rf         installed
perl-Thread-Tie.noarch                           0.12-1.el5.rf         installed
perl-TimeDate.noarch                             1:1.16-5.el5          installed
perl-Try-Tiny.noarch                             0.04-1.el5.rf         installed
perl-UNIVERSAL-can.noarch                        1.16-1.el5.rf         installed
perl-UNIVERSAL-isa.noarch                        1.03-1.el5.rf         installed
perl-UNIVERSAL-require.noarch                    0.13-1.el5.rf         installed
perl-URI.noarch                                  1.35-3                installed
perl-XML-DOM.noarch                              1.44-2.el5.rf         installed
perl-XML-NamespaceSupport.noarch                 1.11-1.el5.rf         installed
perl-XML-Parser.i386                             2.36-1.el5.rf         installed
perl-XML-RegExp.noarch                           0.03-1.2.el5.rf       installed
perl-XML-SAX.noarch                              0.96-1.el5.rf         installed
perl-XML-Stream.noarch                           1.23-1.el5.rf         installed
perl-YAML.noarch                                 0.71-1.el5.rf         installed
perl-YAML-Tiny.noarch                            1.40-1.el5.rf         installed
perl-libwww-perl.noarch                          5.805-1.1.1           installed
perl-load.noarch                                 0.19-1.el5.rf         installed
perl-rrdtool.i386                                1.4.3-3.el5.rf        installed
perl-suidperl.i386                               4:5.8.8-32.el5_5.1    installed
perl-version.i386                                0.76-1.el5.rf         installed


(0001584)
obilodeau   
2010-06-23 11:41   
Problem experienced on another server. Maybe I didn't experience it in the lab because the mod_perl config was not correct (IOW not running under mod_perl)?

Here are perl modules installed:
perl.i386                                        4:5.8.8-32.el5_5.1    installed
perl-Apache-Htpasswd.noarch                      1.8-2.el5             installed
perl-AppConfig.noarch                            1.66-1.el5.rf         installed
perl-Authen-SASL.noarch                          2.13-1.el5.rf         installed
perl-B-Keywords.noarch                           1.09-1.el5.rf         installed
perl-BSD-Resource.i386                           1.2903-1.el5.rf       installed
perl-Bit-Vector.i386                             7.1-1.el5.rf          installed
perl-CGI-Session.noarch                          4.42-1.el5.rf         installed
perl-Carp-Clan.noarch                            6.04-1.el5.rf         installed
perl-Class-Accessor.noarch                       0.34-1.el5.rf         installed
perl-Class-Accessor-Fast-Contained.noarch        1.01-1.el5.rf         installed
perl-Class-Data-Inheritable.noarch               0.08-1.el5.rf         installed
perl-Class-Gomor.noarch                          1.02-1.el5.rf         installed
perl-Clone.i386                                  0.31-1.el5.rf         installed
perl-Compress-Raw-Bzip2.i386                     2.024-1.el5.rf        installed
perl-Compress-Raw-Zlib.i386                      2.024-1.el5.rf        installed
perl-Config-IniFiles.noarch                      2.56-1.el5.rf         installed
perl-Config-Tiny.noarch                          2.12-1.el5.rf         installed
perl-Convert-ASN1.noarch                         0.22-1.el5.rf         installed
perl-Crypt-DES.i386                              2.05-3.2.el5.rf       installed
perl-Crypt-PasswdMD5.noarch                      1.3-2.el5             installed
perl-Crypt-Rijndael.i386                         1.09-1.el5.rf         installed
perl-DBD-mysql.i386                              4.014-1.el5.rf        installed
perl-DBI.i386                                    1.611-1.el5.rf        installed
perl-Data-Phrasebook.noarch                      0.29-1.el5.rf         installed
perl-Data-Phrasebook-Loader-YAML.noarch          0.09-1.el5.rf         installed
perl-Devel-StackTrace.noarch                     1.2200-1.el5.rf       installed
perl-Devel-Symdump.noarch                        1:2.07-3.el5.1        installed
perl-Digest-HMAC.noarch                          1.01-15               installed
perl-Digest-SHA1.i386                            2.12-2.el5.rf         installed
perl-Email-Date-Format.noarch                    1.002-4.el5           installed
perl-Exception-Class.noarch                      1.29-1.el5.rf         installed
perl-FCGI.i386                                   0.68-1.el5.rf         installed
perl-File-Tail.noarch                            0.99.3-5.el5.1        installed
perl-HTML-Parser.i386                            3.64-1.el5.rf         installed
perl-HTML-Tagset.noarch                          3.20-1.el5.rf         installed
perl-IO-Compress.noarch                          2.024-1.el5.rf        installed
perl-IO-Socket-SSL.noarch                        1.31-2.el5.rf         installed
perl-IO-String.noarch                            1.08-1.2.el5.rf       installed
perl-IO-Tty.i386                                 1.08-1.el5.rf         installed
perl-IPC-Cmd.noarch                              0.56-1.el5.rf         installed
perl-IPTables-ChainMgr.noarch                    0.9-1                 installed
perl-IPTables-Parse.noarch                       0.7-1                 installed
perl-LDAP.noarch                                 1:0.33-3.fc6          installed
perl-List-MoreUtils.i386                         0.25.1-1.el5.rf       installed
perl-Locale-Maketext-Simple.noarch               0.21-1.el5.rf         installed
perl-Locale-gettext.i386                         1.05-1.el5.rf         installed
perl-Log-Log4perl.noarch                         1.26-1.el5.rf         installed
perl-MIME-Lite.noarch                            3.025-1.el5.rf        installed
perl-MailTools.noarch                            2.06-1.el5.rf         installed
perl-Math-Base85.noarch                          0.2-2.el5             installed
perl-Module-Load.noarch                          0.16-1.el5.rf         installed
perl-Module-Load-Conditional.noarch              0.30-1.el5.rf         installed
perl-Module-Pluggable.noarch                     3.60-3.el5            installed
perl-Net-Appliance-Phrasebook.noarch             1.8-1.el5.rf          installed
perl-Net-Appliance-Session.noarch                1.36-1.el5.rf         installed
perl-Net-Daemon.noarch                           0.44-7.el5            installed
perl-Net-Flow.noarch                             0.04-1                installed
perl-Net-Frame.noarch                            1.06-1.el5.rf         installed
perl-Net-Frame-Simple.noarch                     1.04-1                installed
perl-Net-IPv4Addr.noarch                         0.10-3.el5            installed
perl-Net-IPv6Addr.noarch                         0.2-3.el5             installed
perl-Net-Jabber.noarch                           2.0-10.el5            installed
perl-Net-MAC.noarch                              1.5-1.el5.rf          installed
perl-Net-MAC-Vendor.noarch                       1.18-1.el5.rf         installed
perl-Net-Netmask.noarch                          1.9015-1.el5.rf       installed
perl-Net-Pcap.i386                               0.16-1.el5.rf         installed
perl-Net-SNMP.noarch                             5.2.0-1.2.el5.rf      installed
perl-Net-SSLeay.i386                             1.36-1.el5.rf         installed
perl-Net-Telnet.noarch                           3.03-7.el5            installed
perl-Net-Write.noarch                            1.05-1.el5.rf         installed
perl-Net-XMPP.noarch                             1.02-6.el5            installed
perl-PPI.noarch                                  1.208-1.el5.rf        installed
perl-Params-Check.noarch                         0.26-2.el5            installed
perl-Params-Util.i386                            1.00-1.el5.rf         installed
perl-Parse-Nessus-NBE.noarch                     1.1-1                 installed
perl-Parse-RecDescent.noarch                     1.962.2-1.el5.rf      installed
perl-Perl-Critic.noarch                          1.105-3.el5.rf        installed
perl-PlRPC.noarch                                0.2020-1.el5.rf       installed
perl-Pod-Coverage.noarch                         0.20-1.el5.rf         installed
perl-Pod-Escapes.noarch                          1.04-5.el5            installed
perl-Pod-POM.noarch                              0.25-1.el5.rf         installed
perl-Pod-Simple.noarch                           3.13-1.el5.rf         installed
perl-Readonly.noarch                             1.03-6.el5            installed
perl-Readonly-XS.i386                            1.05-1.el5.rf         installed
perl-Regexp-Common.noarch                        2010010201-1.el5.rf   installed
perl-SOAP-Lite.noarch                            0.711-1.el5.rf        installed
perl-Socket6.i386                                0.23-1.el5.rf         installed
perl-String-CRC32.i386                           1.4-2.fc6             installed
perl-String-Format.noarch                        1.16-1.el5.rf         installed
perl-Task-Weaken.noarch                          1.03-1.el5.rf         installed
perl-Template-Toolkit.i386                       2.22-1.el5.rf         installed
perl-TermReadKey.i386                            2.30-4.el5            installed
perl-Test-Manifest.noarch                        1.23-1.el5.rf         installed
perl-Test-MockDBI.noarch                         0.64-1                installed
perl-Test-MockObject.noarch                      1.09-1.el5.rf         installed
perl-Test-Perl-Critic.noarch                     1.01-1.el5.rf         installed
perl-Test-Pod.noarch                             1.42-1.el5.rf         installed
perl-Test-Pod-Coverage.noarch                    1.08-3.1.el5          installed
perl-Thread-Conveyor.noarch                      0.17-1.el5.rf         installed
perl-Thread-Conveyor-Monitored.noarch            0.12-1.el5.rf         installed
perl-Thread-Pool.noarch                          0.32-1.el5.rf         installed
perl-Thread-Serialize.noarch                     0.10-1.el5.rf         installed
perl-Thread-Tie.noarch                           0.12-1.el5.rf         installed
perl-Time-modules.noarch                         2006.0814-1.el5.rf    installed
perl-TimeDate.noarch                             1:1.16-5.el5          installed
perl-Try-Tiny.noarch                             0.04-1.el5.rf         installed
perl-UNIVERSAL-can.noarch                        1.16-1.el5.rf         installed
perl-UNIVERSAL-isa.noarch                        1.03-1.el5.rf         installed
perl-UNIVERSAL-require.noarch                    0.13-1.el5.rf         installed
perl-URI.noarch                                  1.35-3                installed
perl-XML-NamespaceSupport.noarch                 1.11-1.el5.rf         installed
perl-XML-Parser.i386                             2.36-1.el5.rf         installed
perl-XML-SAX.noarch                              0.96-1.el5.rf         installed
perl-XML-Stream.noarch                           1.23-1.el5.rf         installed
perl-YAML.noarch                                 0.71-1.el5.rf         installed
perl-libwww-perl.noarch                          5.805-1.1.1           installed
perl-load.noarch                                 0.19-1.el5.rf         installed
perl-rrdtool.i386                                1.4.3-3.el5.rf        installed
perl-suidperl.i386                               4:5.8.8-32.el5_5.1    installed
perl-version.i386                                1:0.7203-1.el5        installed


Getting rid of latest soap: `rpm -e --nodeps perl-SOAP-Lite`
and re-installing an older version: `yum install perl-SOAP-Lite-0.710.08` fixed it.
(0001629)
obilodeau   
2010-08-10 14:18   
a new version is out but it's not packaged yet
(0001634)
obilodeau   
2010-08-25 17:41   
upgrading from SOAP 0.710.08 to 0.711 pulls in:

perl-FCGI-0.68-1.el5.rf.i386.rpm
perl-XML-Parser-2.36-1.el5.rf.i386.rpm

and I was able to reproduce the problem by changing the server-side lib only:
Client - Application failed during request deserialization:
no element found at line 1, column 0, byte -1 at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/XML/Parser.pm line 187
(0001658)
obilodeau   
2010-09-14 15:13   
The print statement in pf::node::node_modify is also responsible here.. See 0001068 for details.
(0001689)
obilodeau   
2010-09-23 12:38   
built perl-SOAP-Lite-0.712-1, installed it and it didn't resolve the issue, still failing with:
no element found at line 1, column 0, byte -1 at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/XML/Parser.pm 
line 187


built perl-XML-Parser same problem..

After a lot of trial and errors + googling, finally found an open ticket for the problem:
https://rt.cpan.org/Public/Bug/Display.html?id=58538 [^]

It is an upstream bug in the CGI handler when used by mod_perl... :(
(0001690)
obilodeau   
2010-09-23 16:33   
(edited on: 2010-09-23 16:34)
I ported cgi-bin/pdp.cgi SOAP CGI handler to use full blown mod_perl SOAP-Lite hosted code. That fixes the issue.

However, I detect performance regression since our last tests (not sure if its the fix since last tests were long time ago..).

I'll need to investigate a little bit more before commit.

(0001692)
obilodeau   
2010-09-24 14:41   
Fixed, see previous comment for details.

Performance problem turned out to be a constraint of our lab system which doesn't have enough RAM to run all the apache thread with mod_perl. Once tweaked, the performance numbers were up to our expectations.