login button

dlerrors when running samples

Forums :

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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

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

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

Nandika, Thanks for your

Nandika,

Thanks for your help. Commenting out that line fixed the problem.

Thanks again,

Adrian Madrid

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.