Message Boards

Liferay-portal-6.2-ce-ga6 with tomcat 8.5

thumbnail
marwan amin sabri, modified 3 Years ago.

Liferay-portal-6.2-ce-ga6 with tomcat 8.5

Junior Member Posts: 34 Join Date: 3/18/09 Recent Posts
I have Liferay-portal-6.2-ce-ga6 running with Oracle DB on tomcat 7.0, since tomcat 7.0 out of the support we want to migrate the same portal into tomcat 8.5.what shall we do to migrate into tomcat 8.5 without impacting our DB?
thumbnail
Christoph Rabel, modified 3 Years ago.

RE: Liferay-portal-6.2-ce-ga6 with tomcat 8.5

Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent Posts
Well, you should upgrade, 6.2 is also pretty much EoL. I hope, you have at least the binary patches applied.
https://liferay.dev/blogs/-/blogs/creating-liferay-security-binary-patches
That said, you need to basically follow an article like this one. I searched a bit but couldn't find a similar article for 6.2
https://help.liferay.com/hc/en-us/articles/360018175011-Installing-Liferay-DXP-on-Tomcat-8
I would take a plain Tomcat 7 and compare it with the Liferay 6.2 bundle. Then I would apply the changes to the 8.5 instance. lib, lib/ext, some config files. And I would try that without the DB. I would test it with the HSQL database first, then use some other, new DB for testing.
Only when it looks good would I test it with a copy of your productive DB to minimize errors.
thumbnail
marwan amin sabri, modified 3 Years ago.

RE: Liferay-portal-6.2-ce-ga6 with tomcat 8.5

Junior Member Posts: 34 Join Date: 3/18/09 Recent Posts
Thank you, Christoph!
 In fact, moving from Liferay 6.2 to 7 is already considered in my road map but now I got an urgent request to move out of tomcat 7 to a supported version.
Also, Liferay 7 CE  does support Oracle DB! which might cause a problem or might takes a longer time.
thumbnail
Christoph Rabel, modified 3 Years ago.

RE: Liferay-portal-6.2-ce-ga6 with tomcat 8.5

Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent Posts
I have used this module with Liferay 7 for Oracle and it works pretty well:
https://github.com/amusarra/liferay-portal-database-all-in-one-support
thumbnail
marwan amin sabri, modified 3 Years ago.

RE: Liferay-portal-6.2-ce-ga6 with tomcat 8.5

Junior Member Posts: 34 Join Date: 3/18/09 Recent Posts
I'll give it try !

and by the way, how to upgrade the database content (from 6.2 --> 7.1), should I run certain scripts or just export-import from the console? what is the proper approach? given that I have more 16k users, 3000 orgs , etc ...
thumbnail
Olaf Kock, modified 3 Years ago.

RE: Liferay-portal-6.2-ce-ga6 with tomcat 8.5

Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent Posts
marwan amin sabri:

 In fact, moving from Liferay 6.2 to 7 is already considered in my road map but now I got an urgent request to move out of tomcat 7 to a supported version.

Notice: Almost everything trumps "urgent". Based on the requests handled and technology exposed to the internet, it seems a lot more important to upgrade Liferay than Tomcat.
And urgent, if you want it to appear on the top of your list
thumbnail
marwan amin sabri, modified 3 Years ago.

RE: Liferay-portal-6.2-ce-ga6 with tomcat 8.5

Junior Member Posts: 34 Join Date: 3/18/09 Recent Posts
i totally I agree with you emoticon, migration from 6.2 to 7.1 is a project by itself and is not on our scope for now, but moving out of unsupported version is my responsibility. and that's the reason why I'm looking for a shortcut.