Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-86461

Warning messages appear after running upgrade:executeAll

    Details

      Description

      Steps to reproduce:

      1. Set up your environment pointing to 6.2 database.
      2. Add a file called com.liferay.portal.upgrade.internal.configuration.ReleaseManagerConfiguration.cfg to the [Liferay Home]/osgi/configs folder with the following content:
        autoUpgrade=false
      3. Run the upgrade with the DB Upgrade Client
      4. Start up the application server.
      5. Shut down the application server.
      6. Remove com.liferay.portal.upgrade.internal.configuration.ReleaseManagerConfiguration.cfg file
      7. Start up the application server.
      8. Check server logs

      Expected Result:

      • Upgrade processes finish without warning or error messages.

      Actual Result:

      • Upgrade processes finish with the following warning messages:
      INFO - Upgrading com.liferay.calendar.web.internal.upgrade.v1_0_0.UpgradePortletId
      INFO - Starting com.liferay.portal.kernel.upgrade.BaseUpgradePortletId#upgradeInstanceablePortletIds
      WARN - java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint(IX_12B5E51D) violated_ [Sanitized]
      java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint(IX_12B5E51D) violated_ [Sanitized]
          at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450)
          at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
          at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1017)
          at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:655)
          at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:249)
          at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:566)
          at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:202)
          at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:45)
          at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:933)
          at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1075)
          at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1640)
          at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1603)
          at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:308)
          at com.zaxxer.hikari.pool.ProxyStatement.executeUpdate(ProxyStatement.java:120)
          at com.zaxxer.hikari.pool.HikariProxyStatement.executeUpdate(HikariProxyStatement.java)
          at com.liferay.portal.dao.db.BaseDB.runSQL(BaseDB.java:294)
          at com.liferay.portal.dao.db.BaseDB.runSQL(BaseDB.java:264)
          at com.liferay.portal.kernel.dao.db.BaseDBProcess.runSQL(BaseDBProcess.java:66)
          at com.liferay.portal.kernel.upgrade.BaseUpgradePortletId.updatePortletId(BaseUpgradePortletId.java:402)
          at com.liferay.portal.kernel.upgrade.BaseUpgradePortletId.updatePortlet(BaseUpgradePortletId.java:378)
          at com.liferay.portal.kernel.upgrade.BaseUpgradePortletId.upgradeInstanceablePortletIds(BaseUpgradePortletId.java:564)
          at com.liferay.portal.kernel.upgrade.BaseUpgradePortletId.doUpgrade(BaseUpgradePortletId.java:47)
          at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:92)
          at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:129)
          at com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands$UpgradeInfosRunnable.run(ReleaseManagerOSGiCommands.java:539)
          at com.liferay.portal.output.stream.container.internal.OutputStreamContainerFactoryTrackerImpl.runWithSwappedLog(OutputStreamContainerFactoryTrackerImpl.java:106)
          at com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands.executeUpgradeInfos(ReleaseManagerOSGiCommands.java:337)
          at com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands.doExecute(ReleaseManagerOSGiCommands.java:280)
          at com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands.executeAll(ReleaseManagerOSGiCommands.java:300)
          at com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands.executeAll(ReleaseManagerOSGiCommands.java:163)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
          at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
          at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
          at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
          at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
          at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
          at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
          at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
          at org.apache.felix.gogo.shell.Console.run(Console.java:62)
          at org.apache.felix.gogo.shell.Shell.console(Shell.java:203)
          at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
          at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
          at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
          at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
          at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
          at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
          at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
          at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
          at org.eclipse.equinox.console.telnet.TelnetConnection.run(TelnetConnection.java:94)

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  43 weeks, 2 days ago

                  Packages

                  Version Package
                  Master