Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Received fatal alert : protocol_version error in Liferay 6.2 with Java
Hello Friends,
I need to call a service to send a json post request.
When I'm calling it through a custom portlet I'm getting SSL exception with saying fatal error.
I tried to search and did modifications as said in different forums like adding -Dhttps.protocols=TLSv1.1,TLSv1.2 to setenv.bat and adding System.setproperty method and many more but nothing works.
I knew need to upgrade the JDK to 1.8 but even that showing lot of errors and exceptions during startup of the tomcat server.
How can it be solve?
Thanks in Advance,
Mohammed Shahbaz Khan
You're on an outdated version of Liferay - and you don't mention the GA release. If I remember correctly, not all 6.2 releases were even compatible with Java8, so at a minimum you should be on the latest available GA release, with the available patch.
But, as you're there anyway: Upgrade more than just your JDK and move forward to the latest version. If only to be future proof and get more security fixes should they be required.
Other than that: Protocol support is rather dependent on Tomcat (or whatever Appserver you're running) rather than Liferay
I'm using Liferay 6.2 GA 6.
I did most of the changes or modifications suggested by different blogs and forums.
It is suppose to work with Java 8 but my getting lot of errors when using JDK 8 during startup of the portal server.
Thanks.
Powered by Liferay™