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

Portal creates osgi/state directory outside of the bundle when non-alphanumeric characters are in liferay.home path

Details

    Description

      Steps to Reproduce:

      1. Extract liferay bundle > liferay-dxp-digital-enterprise-7.0-sp2
      2. Rename directory with non-alphanumeric character > liferay-dxp-#digital-enterprise-7.0-sp2
      3. Set liferay.home in portal-ext.properties
      4. Delete osgi/state directory
      5. Start portal

      Expected Result:
      osgi/state directory created during portal start up as home for org.eclipse.osgi

      Actual Result:
      New directory created outside of the bundle (liferay-dxp-) with osgi/state data (org.eclipse.osgi).
      No state directory is present in liferay-dxp-digital-enterprise-7.0-sp2/osgi.

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.7.17. DXP SP2
      Tomcat 8.0.32 + MySQL 5.7.17. Portal master GIT ID: 6b3d8281bdd1d87406320339b8ce82d875dcaf47.
      Tomcat 8.0.32 + MySQL 5.7.17. Portal ee-7.0.x GIT ID: a476dc1c45cadd453ea26be13906cdf6fcb49686.

      Attachments

        Issue Links

          Activity

            People

              victor.ware Victor Ware
              victor.ware Victor Ware
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 29 weeks, 1 day ago

                Packages

                  Version Package
                  7.0.0 DXP FP31
                  7.0.5 CE GA6
                  7.0.X
                  7.1.X
                  Master