- I/O exception (org.apache.axis2.AxisFault) caught when processing request: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
After migrating from jdk 1.5 to jdk 1.7 i am getting sun.security.validator.ValidatorException.
Steps : Replaced jdk 1.5 with 1.7(includes jre). Compile the code with jdk1.7. Compilation was success. while accessing the url with the certificate provided by the server i am getting sun.security.validator.ValidatorException in jdk1.7. But the exception is not thrown in jdk1.5. In cacerts file i have imported the specific certificate with alias name xxxx. If i access the url with the domain name as alias name in jdk1.7 name in certificate the exception is not thrown and works fine...
Do i need to do anything for migrating jdk1.5 to jdk1.7? Do i really missing some thing in the above process?
Any help will be appreciated...