简体   繁体   English

在ubuntu Linux上安装WSF问题

[英]Installing WSF on ubuntu linux issue

I'm trying to request to a web service which is using WS Security and based on signing method(private public keys), as I've successfully installed wsf library but still when I hit the url it generate these error logs. 我正在尝试请求使用WS Security并基于签名方法(私钥)的Web服务,因为我已经成功安装了wsf库,但是当我点击url时,它仍会生成这些错误日志。

REQUEST URL http://localhost/wsf/samples/security/signing/client.php 请求URL http://localhost/wsf/samples/security/signing/client.php

RESPONSE Message = ws client create failed RESPONSE消息=客户创建失败

Error Log GENERATED in wsf_c/logs 在wsf_c / logs中生成了错误日志

[Fri Feb 3 15:00:23 2012] [error] class_loader.c(152) Loading shared library /opt/lampp/htdocs/wsf/wsf_c/lib/libaxis2_http_receiver.so Failed. [2012年2月3日星期五15:00:23] [错误] class_loader.c(152)加载共享库/opt/lampp/htdocs/wsf/wsf_c/lib/libaxis2_http_receiver.so失败。 DLERROR IS /opt/lampp/htdocs/wsf/wsf_c/lib/libaxis2_http_receiver.so: cannot open shared object file: No such file or directory DLERROR IS /opt/lampp/htdocs/wsf/wsf_c/lib/libaxis2_http_receiver.so:无法打开共享对象文件:没有这样的文件或目录

[Fri Feb  3 15:00:23 2012] [error] conf_builder.c(1156) Transport receiver loading failed for libaxis2_http_receiver.so, unable to continue

[Fri Feb  3 15:00:23 2012] [error] conf_builder.c(263) Processing transport receivers failed, unable to continue

[Fri Feb  3 15:00:23 2012] [error] dep_engine.c(928) Populating Axis2 Configuration failed

[Fri Feb  3 15:00:23 2012] [error] conf_init.c(225) Loading deployment engine failed for client repository /opt/lampp/htdocs/wsf/wsf_c

[Fri Feb  3 15:03:01 2012] [error] class_loader.c(152) Loading shared library /opt/lampp/htdocs/wsf/wsf_c/lib/libaxis2_http_receiver.so  Failed. DLERROR IS /opt/lampp/htdocs/wsf/wsf_c/lib/libaxis2_http_receiver.so: cannot open shared object file: No such file or directory

Someone kindly tell me how to fix it Thanks 有人请告诉我如何解决它,谢谢

I think you have the libraries in the wrong place, (but they could be entirely correct for your system) 我认为您将库放在错误的位置,(但是它们对于您的系统可能是完全正确的)
Do any of the other samples work for you? 还有其他样本对您有用吗?

I'm using Ubuntu 12.04 and have them in '/usr/lib/php5/20090626+lfs/wfc/lib' 我正在使用Ubuntu 12.04,并将它们放在'/usr/lib/php5/20090626+lfs/wfc/lib'

you might need to set your wfc.home Directive in your php.ini 您可能需要在php.ini中设置wfc.home指令
I have the following in /etc/php5/conf.d/wsf.ini (my Apache/php loads all the ini files under conf.d on startup) 我在/etc/php5/conf.d/wsf.ini具有以下内容(我的Apache / php在启动时会加载conf.d下的所有ini文件)

; configuration for php WSF module
extension=wsf.so
include_path=".:/usr/share/php:/home/haydn/Downloads/wso2/scripts"
[wsf]
wsf.home="/usr/lib/php5/20090626+lfs/wsf_c"

Hope This Helps 希望这可以帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM