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

Extension build hangs when clustered ehcache is configured

    Details

    • Branch Version/s:
      6.0.x, 5.2.x, 5.1.x
    • Backported to Branch:
      Committed

      Description

      1) In your Extension environment, enable clustered ehcache in portal-ext.properties.

      ehcache.multi.vm.config.location=/ehcache/liferay-multi-vm-clustered.xml
      net.sf.ehcache.configurationResourceName=/ehcache/hibernate-clustered.xml

      2) Deploy your ext environment to your app server.

      Results:
      The build process will hang. This is due to the prefixed forward slash "/" in the directory locations. If this is removed, the build will succeed. You will then need to add the "/" back to the directories in portal-ext.properties once the Ext has been deployed.

      Example:
      /ehcache/liferay-multi-vm-clustered.xml <--- default directory
      ehcache/liferay-multi-vm-clustered.xml <--- needed to deploy ext
      /ehcache/liferay-multi-vm-clustered.xml <--- add back once deployed

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  9 years, 5 weeks, 3 days ago

                  Packages

                  Version Package
                  --Sprint 12/11
                  6.1.0 CE RC1