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

Theme containing portlet.xml fails to deploy

    Details

      Description

      Portlet theme containing both liferay-look-and-feel.xml and portlet.xml fails to deploy with following stacktrace:

      11:15:25,801 ERROR [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:246] com.liferay.portal.kernel.deploy.auto.AutoDeployException: The auto deploy listeners com.liferay.portal.deploy.auto.PortletAutoDeployListener, com.liferay.portal.deploy.auto.ThemeAutoDeployListener all deployed C:\devenvs\mytheme.war, but only one should have.
      com.liferay.portal.kernel.deploy.auto.AutoDeployException: The auto deploy listeners com.liferay.portal.deploy.auto.PortletAutoDeployListener, com.liferay.portal.deploy.auto.ThemeAutoDeployListener all deployed C:\devenvs\mytheme.war, but only one should have.
      at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.deploy(AutoDeployDir.java:73)
      at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:230)
      at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:271)
      at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:54)

      The same theme deploys fine on LR 6.1.20

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 44 weeks, 6 days ago

                Packages

                Version Package