在ubuntu linux上安装WSF问题
我正在尝试请求使用 WS Security 并基于签名方法(私有公钥)的 Web 服务,因为我已经成功安装了 wsf 库,但当我点击 url 时,它仍然会生成这些错误日志。
请求网址 http://localhost/wsf/samples/security/signing/client.php
回复 消息 = ws 客户端创建失败
wsf_c/logs 中生成错误日志
[2012 年 2 月 3 日星期五 15:00:23] [错误] class_loader.c(152) 正在加载共享库 /opt/lampp/htdocs/wsf/wsf_c/lib/libaxis2_http_receiver .所以失败了。 DLERROR 是 /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
有人请告诉我如何修复它谢谢
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.
REQUEST URL
http://localhost/wsf/samples/security/signing/client.php
RESPONSE
Message = ws client create failed
Error Log GENERATED in 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. DLERROR IS /opt/lampp/htdocs/wsf/wsf_c/lib/libaxis2_http_receiver.so: cannot open shared object file: No such file or directory
[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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您的库位于错误的位置(但它们对于您的系统可能是完全正确的)
其他示例对您有用吗?
我正在使用 Ubuntu 12.04 并将它们放入
'/usr/lib/php5/20090626+lfs/wfc/lib'
您可能需要在 php.ini 中设置 wfc.home 指令
我在
/etc/php5/conf.d/wsf.ini
中有以下内容(我的 Apache/php 在启动时加载 conf.d 下的所有 ini 文件)
希望这有帮助
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'
you might need to set your wfc.home Directive in your php.ini
I have the following in
/etc/php5/conf.d/wsf.ini
(my Apache/php loads all the ini files under conf.d on startup)
Hope This Helps