Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1657

EHCache implementation outdated and unable to use Magnolia based configuration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.5 RC1
    • None
    • None
    • None
    • 3.1-SNAPSHOT
      JBoss 4.0.5

    Description

      When trying to switch cache implementation on public instance to

      info.magnolia.cms.cache.ehcache.CacheImpl

      following warnings show up in the log (there seems to be several issues outlined):

      INFO info.magnolia.cms.util.FactoryUtil$ObservedObjectFactory 05.08.2007 14:08:48 – info.magnolia.cms.exchange.ActivationManager reloaded [ /server/activation ]
      INFO info.magnolia.cms.cache.BaseCacheManager 05.08.2007 14:09:53 – Stopping CacheManager...
      INFO info.magnolia.cms.cache.BaseCacheManager 05.08.2007 14:09:53 – CacheManager is now stopped.
      INFO info.magnolia.cms.cache.BaseCacheManager 05.08.2007 14:09:53 – Starting CacheManager...
      WARN net.sf.ehcache.Cache 05.08.2007 14:09:53 – An API change between ehcache-1.1 and ehcache-1.2 results in the persistence path being set to java.io.tmp when the ehcache-1.1 constructor is used. Please change to the 1.2 constructor
      DEBUG net.sf.ehcache.CacheManager 05.08.2007 14:09:53 – Creating new CacheManager with default config
      DEBUG net.sf.ehcache.CacheManager 05.08.2007 14:09:53 – Configuring ehcache from classpath.
      WARN net.sf.ehcache.config.ConfigurationFactory 05.08.2007 14:09:53 – No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/MYCOMPANY/webapp/deploy/magnoliaPublic.war/WEB-INF/lib/ehcache-1.2.4.jar!/ehcache-failsafe.xml
      DEBUG net.sf.ehcache.config.ConfigurationFactory 05.08.2007 14:09:53 – Configuring ehcache from URL: jar:file:/C:/MYCOMPANY/webapp/deploy/magnoliaPublic.war/WEB-INF/lib/ehcache-1.2.4.jar!/ehcache-failsafe.xml
      DEBUG net.sf.ehcache.config.ConfigurationFactory 05.08.2007 14:09:53 – Configuring ehcache from InputStream
      DEBUG net.sf.ehcache.config.DiskStoreConfiguration 05.08.2007 14:09:53 – Disk Store Path: C:\DOCUME~1\MYUSERNAME\LOCALS~1\Temp\
      DEBUG net.sf.ehcache.config.ConfigurationHelper 05.08.2007 14:09:53 – No CacheManagerEventListenerFactory class specified. Skipping...
      DEBUG net.sf.ehcache.config.ConfigurationHelper 05.08.2007 14:09:53 – No CachePeerListenerFactoryConfiguration specified. Not configuring a CacheManagerPeerListener.
      DEBUG net.sf.ehcache.config.ConfigurationHelper 05.08.2007 14:09:53 – No CachePeerProviderFactoryConfiguration specified. Not configuring a CacheManagerPeerProvider.
      DEBUG net.sf.ehcache.config.ConfigurationHelper 05.08.2007 14:09:53 – No BootstrapCacheLoaderFactory class specified. Skipping...
      DEBUG net.sf.ehcache.store.DiskStore 05.08.2007 14:09:53 – Index file C:\DOCUME~1\MYUSERNAME\LOCALS~1\Temp\.index created successfully
      DEBUG net.sf.ehcache.store.DiskStore 05.08.2007 14:09:53 – Index file dirty or empty. Deleting data file .data
      DEBUG net.sf.ehcache.store.MemoryStore 05.08.2007 14:09:53 – Initialized net.sf.ehcache.store.LruMemoryStore for
      DEBUG net.sf.ehcache.store.LruMemoryStore 05.08.2007 14:09:53 – Cache: Using SpoolingLinkedHashMap implementation
      DEBUG net.sf.ehcache.Cache 05.08.2007 14:09:53 – Initialised cache:
      INFO info.magnolia.cms.cache.BaseCacheManager 05.08.2007 14:09:53 – CacheManager is now running.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              fgiust Fabrizio Giustina
              zambak zam6ak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD