Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

SOAP::Lite produces weird errors

by dshultz (Initiate)
on Jan 09, 2013 at 20:44 UTC ( #1012570=perlquestion: print w/ replies, xml ) Need Help??
dshultz has asked for the wisdom of the Perl Monks concerning the following question:

Clean install on Centos 6.2, any attempt to use is produces either a

Can't call new on 'SOAP::Packager::MIME'

or

Can't locate SOAP/Serializer.pm

error. I'm using an apache setup as:
<Location /soap> SetHandler perl-script PerlHandler Apache::SOAP PerlSetVar dispatch_to "/usr/local/lib/perl5/5.12.4, /usr/local/lib/ +perl5/site_perl/5.12.4, /usr/local/***company_name****/current/perl_l +ib" PerlSetVar options "compress_threshold=10000" </Location>
This error seems to crop up whenever I look at apache sideways, breath in the same room as the server or otherwise "think" about SOAP services. Can anyone point me in the direction of how to debug this? Trace this? Kill this with fire?

Comment on SOAP::Lite produces weird errors
Select or Download Code
Re: SOAP::Lite produces weird errors
by blue_cowdawg (Monsignor) on Jan 09, 2013 at 20:52 UTC
        Can anyone point me in the direction of how to debug this? Trace this? Kill this with fire?

    Caveat: I have no experience with Apache::Soap but a quick observation I can give.

    This:

    PerlSetVar dispatch_to "/usr/local/lib/perl5/5.12.4, /usr/local/lib/ +perl5/site_perl/5.12.4, /usr/local/***company_name****/current/perl_l +ib"
    doesn't seem to fit this pattern:
    PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, +Module::method"

    I'd also be looking at what the PATH variable is set to and make sure it includes the path to where the modules it is complaining about live and there is more than one place to look.


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
Re: SOAP::Lite produces weird errors
by sundialsvc4 (Abbot) on Jan 09, 2013 at 22:43 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1012570]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2014-09-21 23:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (176 votes), past polls