Tagged: portal9 jdk ssl
July 31, 2020 at 4:16 pm #661620
A new installation of Portal 9 with update of JDK to IBM JDK 126.96.36.199 fails on start up under MyEclipse with this message in portal log:
SSLHandshakeE E CWSSL0008E: Unable to initialize SSL connection. Unauthorized access was denied or security settings have expired. Exception is javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
This occurs on versions 2019 and 2018.12.0 CI of MyEclipse.
The portal server works without issue outside of MyEclipse.
Is there a configuration issue or a JDK issue with MyEclipse?July 31, 2020 at 5:37 pm #661621
I’m sorry that you are running into this issue. This can happen due to the JDK the IDE is using. If you wish to change the JDK MyEclipse launches with, you can edit the
myeclipse.inifile located at the root of the installation directory by adding this at the top:
It might work if you point it to your IBM JDK 8, but I haven’t tried it myself.
Do you happen which version of java your MyEclipse install is currently using?
August 3, 2020 at 11:25 am #661669
- This reply was modified 1 month, 2 weeks ago by aaronlonin.
This has been attempted with similar results. Other ideas?August 10, 2020 at 9:28 am #661840
Apologies for the delayed response.
We ran a few tests here and found the connection to be working fine – we tested WPS 188.8.131.52 which started with 184.108.40.206.
1) Was the connection working fine earlier and stopped on making some changes? You mentioned this was a new install but there was a JDK update. Did you happen to test with an earlier JDK, or do you have it still working with an earlier JDK on another system?
At our end, we can look into now trying an update to JDK 220.127.116.11.
2) Can you confirm that when the server is started externally, it’s using the same JRE version that’s configured in the portal server connector’s settings within MyEclipse?
3) Can you tell me what version of WPS you’re using exactly?
4) When the portal server is started externally, MyEclipse should pick it up within the servers view and show an updated “Started” state. Does this happen when you start externally?August 10, 2020 at 10:48 am #661860
We’ve run some tests as well and found that the server IS starting under the IDE. The SSL message appears to be a red herring. It seems that the issue is the IDE believes the server to be stopped.August 10, 2020 at 2:42 pm #661870
Good, that does give us some additional information – MyEclipse is able to successfully send the start command/request, but is then unable to establish a connection with the server for updates on the server state. Consequently you won’t be able to do much with the server in MyEclipse, as you no doubt already know.
Can you please answer the other questions (#1 – #3) in my previous post? That will help us hopefully replicate locally and work towards a fix.August 11, 2020 at 3:02 pm #661942
Another factor to consider is that if the server is taking longer than usual to start, the timeout set may be too short. I believe the time out is 400 seconds by default. You could consider increasing that value to see if that makes a difference. The log files may give you a better idea of how long the server is actually taking to start as well.August 31, 2020 at 7:02 am #662522
Wanted to check in with you and your team – were you able to resolve this problem?