Changing JDBC connector jar can affect migration?

Olaf Kock, modified 3 Years ago. New Member Post: 1 Join Date: 8/9/22 Recent Posts

Hi, I have Liferay 6.0.5 version which is connected with PostgreSQL version 11.8. As per compatibility matrix of 6.0 liferay is compatible with PostgreSQL 8.4, but I changed the JDBC connector jar inside sever lib folder. I am able to populate database with liferay 6.0.5 tables without any error. Similarly I have Liferay 6.2 in which I had updated the JDBC connector jar. 

Now I am trying to Migrate from Liferay 6.0.5 to 6.2. While Migrating I am getting error as (Could not find MediaLib Accelerator Wrapper). And my liferay migration got stuck. Same Migration I carried using PostgreSQL 8.4 as a database and Liferay bundled postgres jar, I didn't face any error. 

So my question is do changing JDBC connector jars impact Liferay Migration process?

Note: I am using Liferay 6.0.5 bundled with JBoss, Liferay 6.2 bundled with JBoss, JDK 1.6.45 and PostgreSQL 11.8.

thumbnail
Olaf Kock, modified 3 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

Hard to say: Anything can happen with software that's that old. Is the JDBC driver compatible to your environment (namely the JDK)? And if the upgrade is running with the standard JDBC driver: Why bother running it with another one? I'd assume that the compatibility was tested with the stock driver available at that time, and does not necessarily hold for any third party (or newer) driver.