Uploaded image for project: 'Cache Modules'
  1. Cache Modules
  2. MGNLCACHE-129

Ehcache fails to start if the same physical webapp is reused multiple times

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 5.4.4
    • 5.4
    • ehcache
    • debian amd64
    • Yes
    • Kromeriz 34
    • 3

      Hello,

      first of all: This configuration is working on Magnolia 5.3.

      the bundle is built on top of 5.4.4 CE empty-webapp.

      I have a tomcat configured using the same application twice. First as author and second as public instance. the instances are several services as you can see in server.xml After starting the first instance, the second failes to start the ehcache module.

      — error ----
      net.sf.ehcache.CacheException: javax.management.InstanceAlreadyExistsException: net.sf.ehcache:type=CacheManager,name=/opt/data/tomcat-apps/netbank-webapp-release#info.magnolia.module.cache.ehcache.EhCacheFactory#cacheManager
      — / error ----

      the logfile entrie looks like there is an problem using the same "physical" application.

        Acceptance criteria

              rkovarik Roman Kovařík
              shelas Stephan Helas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 3h
                    3h