开发者

Axis2 Rampart: No user value in the rampart configuratio

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 anyo开发者_StackOverflow中文版ne suggest a solution?

Thank you.


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..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜