dlerrors when running samples

aemadrid's picture

I keep getting these errors when trying the samples:

[error] class_loader.c(161) dlerror reason: /opt/wso2/wsf_c/lib/libaxis2_receivers.so: cannot open shared object file: No such file or directory

The C and Ruby library compiled just fine. Here's some more information about my server:

# uname -a
Linux a.b.com 2.6.9-023stab046.2-smp #1 SMP Mon Dec 10 15:04:55 MSK 2007 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
CentOS release 5.2 (Final)
# ruby -v
ruby 1.8.6 (2008-03-03 patchlevel 114) [x86_64-linux]

Any ideas what is going on?

Thanks in advance,

 

Adrian Madrid

dimuthuc's picture

Hi aemadrid, This is a

Hi aemadrid, This is a misleading error message. This happens trying to load a wrong receiver, but it eventually loads the right receiver, So don't bother about this log right now, I think the library works as expected even with this error message? If not it should be an error due to some other reason. Thanks Dimuthu
nandika's picture

Re: dlerror

Hi, This error message comes due to an unwanted line in a configuration file. You can remove this error log message by removing the following line in the module.xml file located in /opt/wso2/wsf_c/modules/sandesha2 directory. <messageReceiver class="axis2_receivers"/> Regards Nandika
aemadrid's picture

Nandika, Thanks for your

Nandika, Thanks for your help. Commenting out that line fixed the problem. Thanks again, Adrian Madrid
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)