在ubuntu linux上安装WSF问题

发布于 2025-01-01 22:22:47 字数 1330 浏览 0 评论 0原文

我正在尝试请求使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

简单 2025-01-08 22:22:47

我认为您的库位于错误的位置(但它们对于您的系统可能是完全正确的)
其他示例对您有用吗?

我正在使用 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 文件)

; 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"

希望这有帮助

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)

; 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文