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

Could not create the Java Virtual Machine using Open JDK11

    Description

    Steps to Reproduce:

    1. Start portal using open jdk 11.

    Expected result:
    Portal is started.

    Actual result:
    Portal cannot be started, error message shows in console:

    start-app-server-preserve-liferay-home:
    [beanshell] Waiting for server startup message
         [exec] Unrecognized option: -Xlog:gc:/tmp/tomcat-gc.log
         [exec] Error: Could not create the Java Virtual Machine.
         [exec] Error: A fatal exception has occurred. Program will exit.
       [delete] Deleting: /opt/dev/projects/github/liferay-portal-7.1.x-private/jps_output
    [stopwatch] [run.batch.test.action: 31:07.375 sec]
         [echo] The following error occurred while executing this line:
         [echo] /opt/dev/projects/github/liferay-portal-7.1.x-private/build-test-batch.xml:361: The following error occurred while executing this line:
         [echo] /opt/dev/projects/github/liferay-portal-7.1.x-private/build-test-batch.xml:1421: /opt/dev/projects/github/liferay-portal-7.1.x-private/build-test-batch.xml:1425: The following error occurred while executing this line:
         [echo] /opt/dev/projects/github/liferay-portal-7.1.x-private/build-test-tomcat.xml:50: The following error occurred while executing this line:
         [echo] /opt/dev/projects/github/liferay-portal-7.1.x-private/build-test-tomcat.xml:62: The following error occurred while executing this line:
         [echo] /opt/dev/projects/github/liferay-portal-7.1.x-private/build-test.xml:11615: The following error occurred while executing this line:
         [echo] /opt/dev/projects/github/liferay-portal-7.1.x-private/build-test.xml:11875: The following error occurred while executing this line:
         [echo] /opt/dev/projects/github/liferay-portal-7.1.x-private/build-test.xml:3829: The following error occurred while executing this line:
         [echo] /opt/dev/projects/github/liferay-portal-7.1.x-private/build-test.xml:3983: 
         [echo] exec returned: 1
         [echo] The following error occurred while executing this line:
         [echo] /opt/dev/projects/github/liferay-portal-7.1.x-private/build-test.xml:4649: The following error occurred while executing this line:
         [echo] /opt/dev/projects/github/liferay-portal-7.1.x-private/build-test.xml:4790: Unable to find startup message after 30 minutes.
         [echo] ${jstack.output}
          [get] Getting: http://test-1-23/job/test-portal-fixpack-release-batch/AXIS_VARIABLE=0,label_exp=!master/10262//consoleText
          [get] To: /opt/dev/projects/github/liferay-portal-7.1.x-private/20191112025818841.txt
       [delete] Deleting: /opt/dev/projects/github/liferay-portal-7.1.x-private/20191112025818841.txt
       [delete] Deleting: /opt/dev/projects/github/liferay-portal-7.1.x-private/null650648985.properties
    

      Attachments

        Activity

          People

          Assignee:
          koor.gai Koor Gai
          Reporter:
          harry.chai Harry Chai
          Participants of an Issue:
          Recent user:
          Brian Wulbern
          Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

            Dates

            Created:
            Updated:
            Resolved:
            Days since last comment:
            49 weeks, 6 days ago

              Packages

              Version Package