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

UndeployedExternalRepositoryException can occur on startup after upgrade

    Details

    • Fix Priority:
      2

      Description

      Steps to Reproduce:

      1. Import the attached database dump.
      2. Build portal with Jboss 7.4 or Wildfly 23.
      3. Add property "upgrade.database.auto.run=true" in portal-ext.properties files.
      4. Configure portal to connect to the imported database.
      5. Start portal.

      Expected Results:
      No error occurs.

      Actual Results:
      Below exception occurs:

        [waitfor] [0m[31m08:59:39,968 ERROR [org.jboss.as.server] (ServerService Thread Pool -- 42) WFLYSRV0022: Deploy of deployment "ROOT.war" was rolled back with no failure message
        [waitfor] [0m[0m08:59:39,978 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-2) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
        [waitfor] [0m[0m08:59:40,714 INFO  [stdout] (Portal Dependency Manager Component Executor--2) 2022-01-20 08:59:40.675 WARN  [Portal Dependency Manager Component Executor--2][PortalInstanceLifecycleListenerManagerImpl:162] Unable to register portal instance {"mvccVersion": 0, "companyId": 10155, "userId": 0, "userName": "", "createDate": "Tue Jun 12 00:00:00 GMT 2018", "modifiedDate": "Tue Jun 12 00:00:00 GMT 2018", "webId": "liferay.com", "mx": "liferay.com", "homeURL": "", "logoId": 0, "system": false, "maxUsers": 0, "active": true, "name": "Liferay", "legalName": "", "legalId": "", "legalType": "", "sicCode": "", "tickerSymbol": "", "industry": "", "type": "", "size": ""}
        [waitfor] [0m[0m08:59:40,714 INFO  [stdout] (Portal Dependency Manager Component Executor--2) com.liferay.portal.kernel.repository.UndeployedExternalRepositoryException: Unable to load external repository class com.liferay.portal.repository.liferayrepository.LiferayRepository because its plugin is not deployed
      

      Note:
      Found this issue from upgrade automation tests, example tests:
      https://testray.liferay.com/home/-/testray/case_results/1602102586
      https://testray.liferay.com/home/-/testray/case_results/1602114667

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              victor.ware Victor Ware
              Reporter:
              summer.zhang Summer Zhang
              Participants of an Issue:
              Recent user:
              Victor Ware
              Engineering Assignee:
              Alberto Chaparro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Days since last comment:
                5 days ago

                  Packages

                  Version Package
                  Master