Details

      Description

      It is good for Support to have that information in the upgrade log file because some issues have the root cause in that configuration. This way we can spend less time asking to final users for all the information.

      1. Configure a run the upgrade tool, adding some additional Options like:
        ./db_upgrade.sh -j "-Xmx4048m -Dfile.encoding=UTF8 -Duser.country=US -Duser.language=en -Duser.timezone=GMT"
      2. Check the first line of the upgrade.log and you should find the JVM options and other options that the tool automatically pass to the upgrade process:
        JVM arguments: -Xmx4048m -Dfile.encoding=UTF8 -Duser.country=US -Duser.language=en -Duser.timezone=GMT -Dexternal-properties=portal-upgrade.properties -Dserver.detector.server.id=tomcat
        Loading jar:file:/Users/user1/dev/servers/master/tomcat-9.0.10/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
        Loading jar:file:/Users/user1/dev/servers/master/tomcat-9.0.10/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
        Loading jar:file:/Users/user1/dev/servers/master/tools/portal-tools-db-upgrade-client/com.liferay.portal.tools.db.upgrade.client.jar!/portal-upgrade.properties
        Loading file:/Users/user1/dev/servers/master/tools/portal-tools-db-upgrade-client/portal-upgrade-ext.properties
        Loading file:/Users/user1/dev/servers/master/tools/portal-tools-db-upgrade-client/portal-upgrade-database.properties
        2019-03-12 17:55:40.031 INFO  [main][DialectDetector:158] Using dialect org.hibernate.dialect.PostgreSQLDialect for PostgreSQL 9.4
        

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brian.chan Brian Chan
                Reporter:
                jose.jimenez Jose Jimenez
                Recent user:
                Lester Pi
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  7.0.X
                  7.1.X
                  Master