Login failed for an unknown reason .

Hi,

Problem Summary 
————————————————— 
weblogic.socket.UnrecoverableConnectException Login failed for an unknown reason 

Problem Description 
————————————————— 
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.

Thanks,
Madhu

Agile User Asked on January 17, 2018 in Agile PLM (v9),   Product Collaboration.
Add Comment
4 Answer(s)

Hi Madhu,

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

Regards,
Arif

Agile Angel Answered on January 19, 2018.
Add Comment

Hi Arif,

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.

Thanks,
Madhu

Agile User Answered on January 19, 2018.
Add Comment

Hi Madhu,

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. 

Regards,
Arif

Agile Angel Answered on January 23, 2018.
Add Comment

Hi, 

Whether we need to import certificate to local jre?  if yes we tried but ended up getting bellow error

C:Userskkp>keytool -import -trustcacerts -file C:AgileSSLSSLKey.keystore -alias server -keystore “c:Program FilesJavajre1.8.0_131libsec
uritycacerts” -storepass changeit
keytool error: java.lang.Exception: Input not an X.509 certificate

Agile User Answered on January 24, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.