Login failed for an unknown reason .
weblogic.socket.UnrecoverableConnectException Login failed for an unknown reason
We tried to login agile server through java code. But we were not able to connect agile server. Please find the attachement.
after ssl configuration we facing this Issue. please let me know the Solutions.
If you are running a standalone code from eclipse, add -Dweblogic.security.SSL.protocolVersion=TLS1 in Run Configurations’ Program arguments as well as VM arguments.
In case you are executing the code via shell script then add the three parameters in the line where you are executing Java-code
e.g. java -Dweblogic.security.SSL.protocolVersion=TLS1 -Dhttps.protocols=”TLSv1″ -Djdk.tls.client.protocols=”TLSv1″ FullyQualifiedNameOfYourCode.YourMainClass
After adding Dweblogic.security.SSL.protocolVersion=TLS1 in Run Configurations’ Program arguments as well as VM arguments.
We got following error.
Error: Could not find or load main class Dweblogic.security.SSL.protocolVersion=TLS1
Please let me know the solution.
I suggest you check with network team. I did a quick fact-finding and could see most of the times the issue is faced when you have installed new anti-virus software or some configuration changed w.r.t Weblogic service.
If it is not resolved then i suggest you to log a SR with Oracle support.
Whether we need to import certificate to local jre? if yes we tried but ended up getting bellow error
C:\Users\kkp>keytool -import -trustcacerts -file C:\AgileSSL\SSLKey\.keystore -alias server -keystore “c:\Program Files\Java\jre1.8.0_131\lib\sec
urity\cacerts” -storepass changeit
keytool error: java.lang.Exception: Input not an X.509 certificate