Axis2 Rampart:rampart 配置中没有用户值

发布于 2024-10-06 14:31:03 字数 228 浏览 0 评论 0原文

我有一个 Java 程序,运行 axis2 1.5.3 和 Rampart 1.5 客户端,使用 openjdk 在我的 Linux 上运行得很好。当我将其移植到 Windows 7 时,它可以在某些机器上运行,但在大多数机器上无法运行,并出现错误“城墙配置中没有用户值”!无论我是否重新编译代码,这都是一样的。我也尝试过复制java环境,例如java版本,ant版本,系统arch,但没有成功。有人能提出解决方案吗?

谢谢。

I have a Java program running an axis2 1.5.3 with rampart 1.5 client working perfectly fine on my linux using openjdk. When I ported it over to Windows 7, it works on some machines but does not on most with the error "No user value in the rampart configuration"! This is the same regardless if I recompile the code or not. I also tried duplicating the java environment such as java version, ant version, system arch to no avail. Can anyone suggest a solution?

Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

无人问我粥可暖 2024-10-13 14:31:03

我不确定这个问题的确切原因是什么。但此异常是在 rampart-core 模块package org.apache.rampart.builder 中的 BindingBuilder.java 类引发的
请尝试调试以下方法

  • addUsernameToken() 方法
  • getSignatureBuilder() 方法

当rampart 无法从policy.xml 文件中读取用户值时,会发生此异常。

希望这可能有帮助。

苏雷什..

I'm not sure what is the exact reason for this issue. but this exception is thrown at the BindingBuilder.java class which is in the rampart-core module and package org.apache.rampart.builder
please try to debug following methods

  • addUsernameToken() method
  • getSignatureBuilder() method

there this exception occurs when rampart cannot read user values from the policy.xml file.

hope this might be helpful.

suresh..

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