Details

      Description

      Steps to reproduce:

      1. Go to the plugins directory
      2. Run ant clean deploy/war in the "test-runtime-action-portlet" directory to build and deploy the plugin

      Expected result:

      Plugins are/is successfully deployed.

      Actual result:

      "test-runtime-action-portlet.war does not support this version of Liferay".

      See an error below:

      9.0.10/temp/20190102050903463GZJKMFTT/test-runtime-action-portlet.war
           [exec] 05:09:03,496 INFO  [fileinstall-/opt/dev/projects/github/liferay-portal/bundles/osgi/war][BaseDeployer:877] Deploying test-runtime-action-portlet.war
           [exec] 05:09:03,506 ERROR [fileinstall-/opt/dev/projects/github/liferay-portal/bundles/osgi/war][org_apache_felix_fileinstall:97] Failed to install artifact: /opt/dev/projects/github/liferay-portal/bundles/osgi/war/test-runtime-action-portlet.war 
           [exec] java.lang.RuntimeException: com.liferay.portal.kernel.deploy.auto.AutoDeployException: com.liferay.portal.kernel.deploy.auto.AutoDeployException: test-runtime-action-portlet.war does not support this version of Liferay
           [exec] 	at com.liferay.portal.osgi.web.wab.generator.internal.processor.WabProcessor.executeAutoDeployers(WabProcessor.java:255)
           [exec] 	at com.liferay.portal.osgi.web.wab.generator.internal.processor.WabProcessor.autoDeploy(WabProcessor.java:156)
           [exec] 	at com.liferay.portal.osgi.web.wab.generator.internal.processor.WabProcessor.getProcessedFile(WabProcessor.java:111)
           [exec] 	at com.liferay.portal.osgi.web.wab.generator.internal.WabGenerator.generate(WabGenerator.java:90)
           [exec] 	at com.liferay.portal.osgi.web.wab.generator.internal.connection.WabURLConnection.getInputStream(WabURLConnection.java:102)
           [exec] 	at java.net.URL.openStream(URL.java:1045)
           [exec] 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:949)
           [exec] 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:871)
           [exec] 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:485)
           [exec] 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)
           [exec] 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312)
           [exec] Caused by: com.liferay.portal.kernel.deploy.auto.AutoDeployException: com.liferay.portal.kernel.deploy.auto.AutoDeployException: test-runtime-action-portlet.war does not support this version of Liferay
           [exec] 	at com.liferay.portal.tools.deploy.BaseDeployer.autoDeploy(BaseDeployer.java:237)
           [exec] 	at com.liferay.portal.deploy.auto.ThreadSafeAutoDeployer.autoDeploy(ThreadSafeAutoDeployer.java:39)
           [exec] 	at com.liferay.portal.kernel.deploy.auto.BaseAutoDeployListener.deploy(BaseAutoDeployListener.java:47)
           [exec] 	at com.liferay.portal.osgi.web.wab.generator.internal.processor.WabProcessor.executeAutoDeployers(WabProcessor.java:252)
           [exec] 	... 10 more
           [exec] Caused by: com.liferay.portal.kernel.deploy.auto.AutoDeployException: test-runtime-action-portlet.war does not support this version of Liferay
           [exec] 	at com.liferay.portal.tools.deploy.BaseDeployer.deployFile(BaseDeployer.java:920)
           [exec] 	at com.liferay.portal.tools.deploy.BaseDeployer.autoDeploy(BaseDeployer.java:234)
           [exec] 	... 13 more
           [exec] 05:09:03,509 INFO  [fileinstall-/opt/dev/projects/github/liferay-portal/bundles/osgi/war][BaseAutoDeployListener:43] Copying portlets for /opt/dev/projects/github/liferay-portal/bundles/tomcat-9.0.10/temp/20190102050903509NWKHXPEH/test-runtime-parent-portlet.war
           [exec] 05:09:03,532 INFO  [fileinstall-/opt/dev/projects/github/liferay-portal/bundles/osgi/war][BaseDeployer:877] Deploying test-runtime-parent-portlet.war
           [exec] 05:09:03,541 ERROR [fileinstall-/opt/dev/projects/github/liferay-portal/bundles/osgi/war][org_apache_felix_fileinstall:97] Failed to install artifact: /opt/dev/projects/github/liferay-portal/bundles/osgi/war/test-runtime-parent-portlet.war 
           [exec] java.lang.RuntimeException: com.liferay.portal.kernel.deploy.auto.AutoDeployException: com.liferay.portal.kernel.deploy.auto.AutoDeployException: test-runtime-parent-portlet.war does not support this version of Liferay
           [exec] 	at com.liferay.portal.osgi.web.wab.generator.internal.processor.WabProcessor.executeAutoDeployers(WabProcessor.java:255)
           [exec] 	at com.liferay.portal.osgi.web.wab.generator.internal.processor.WabProcessor.autoDeploy(WabProcessor.java:156)
           [exec] 	at com.liferay.portal.osgi.web.wab.generator.internal.processor.WabProcessor.getProcessedFile(WabProcessor.java:111)
           [exec] 	at com.liferay.portal.osgi.web.wab.generator.internal.WabGenerator.generate(WabGenerator.java:90)
           [exec] 	at com.liferay.portal.osgi.web.wab.generator.internal.connection.WabURLConnection.getInputStream(WabURLConnection.java:102)
           [exec] 	at java.net.URL.openStream(URL.java:1045)
           [exec] 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:949)
           [exec] 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:871)
           [exec] 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:485)
           [exec] 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)
           [exec] 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312)
           [exec] Caused by: com.liferay.portal.kernel.deploy.auto.AutoDeployException: com.liferay.portal.kernel.deploy.auto.AutoDeployException: test-runtime-parent-portlet.war does not support this version of Liferay
           [exec] 	at com.liferay.portal.tools.deploy.BaseDeployer.autoDeploy(BaseDeployer.java:237)
           [exec] 	at com.liferay.portal.deploy.auto.ThreadSafeAutoDeployer.autoDeploy(ThreadSafeAutoDeployer.java:39)
           [exec] 	at com.liferay.portal.kernel.deploy.auto.BaseAutoDeployListener.deploy(BaseAutoDeployListener.java:47)
           [exec] 	at com.liferay.portal.osgi.web.wab.generator.internal.processor.WabProcessor.executeAutoDeployers(WabProcessor.java:252)
           [exec] 	... 10 more
           [exec] Caused by: com.liferay.portal.kernel.deploy.auto.AutoDeployException: test-runtime-parent-portlet.war does not support this version of Liferay
           [exec] 	at com.liferay.portal.tools.deploy.BaseDeployer.deployFile(BaseDeployer.java:920)
           [exec] 	at com.liferay.portal.tools.deploy.BaseDeployer.autoDeploy(BaseDeployer.java:234)
           [exec] 	... 13 more
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                17 weeks, 3 days ago

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours
                6h