简体   繁体   中英

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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