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

LPKG deployment fails if using Windows path without drive

    Details

      Description

      1. Drop the directory prefix from the liferay.home property. In other words turn this
        liferay.home=C:/Users/Nathan/deployment/liferay-dxp-current

        into this:

        liferay.home=/Users/Nathan/deployment/liferay-dxp-current
      1. Startup the portal.
      2. Download the latest Liferay Connected Services lpkg (4.0.0) from marketplace.
      3. Place the lpkg in the deploy directory. 

      Expected:
      LPKG deploys normally

      Actual:
      Errors such as:

      17:01:04,853 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:252] Processing Liferay Connected Services Client.lpkg
      17:01:12,693 ERROR [fileinstall-/Users/Nathan/deployment/liferay-dxp-current/osgi/marketplace][org_apache_felix_fileinstall:97] Failed to install artifact: C:\Users\Nathan\deployment\liferay-dxp-current\osgi\marketplace\Liferay Connected Services Client.lpkg
      com.liferay.portal.lpkg.deployer.LPKGVerifyException: Unable to deploy C:\Users\Nathan\deployment\liferay-dxp-current\osgi\marketplace\Liferay Connected Services Client.lpkg from outside the deployment directory \Users\Nathan\deployment\liferay-dxp-current\osgi\marketplace
      at com.liferay.portal.lpkg.deployer.internal.DefaultLPKGDeployer.deploy(DefaultLPKGDeployer.java:107)
      at com.liferay.marketplace.deployer.internal.LPKGArtifactInstaller.install(LPKGArtifactInstaller.java:70)
      at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:937)
      at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:871)
      at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:485)
      at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)
      at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                raven.song Raven Song
                Reporter:
                matthew.tambara Matthew Tambara
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 25 weeks, 3 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP20
                  7.0.3 CE GA4
                  7.0.0 DXP SP4
                  7.0.X EE
                  7.1.X
                  Master