-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: Master
-
Fix Version/s: 7.0.0 DXP FP20, 7.0.3 CE GA4, 7.0.0 DXP SP4, 7.0.X EE, 7.1.X, Master
-
Component/s: Core Infrastructure
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Story Points:1.25
-
Git Pull Request:
- 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
- Startup the portal.
- Download the latest Liferay Connected Services lpkg (4.0.0) from marketplace.
- 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)
- relates
-
LPS-72872 Portal starts up on windows with mis-configured liferay.home
- Closed