Hi.
I have a code need to be run from shell on prodution server.The production is (https).I tried the code on test server(http) it's working fine.
But on production, I am getting 2014-08-05 16:47:51,215 ERROR [Thread-6] com.ptc.windchill.dpimpl.services.StandardDPServices - javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
Can any one guide me on this. My class is having RMI invocation.
RemoteMethodServer rms =RemoteMethodServer.getDefault();
rms.setUserName(username);
rms.setPassword(password);
String CLASSNAME = ABC.class.getName();
Class argTypes[] = {};
Object argValues[] = {};
rms.invoke("xyz", CLASSNAME, null, argTypes,argValues);