Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-1891

don't use default java.io.tmpdir for jetty bundle (can causes issues on solaris)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2.1
    • Component/s: Jetty Bundle
    • Labels:
      None

      Description

      On solaris java.io.tmpdir is a shared directory (/var/tmp) and if different uid starts continuum. It can have some permissions issues.

      Caused by: net.sf.ehcache.CacheException: url-failures-cacheCache: Could not create disk store. Initial cause was Index file /var/tmp/url-failures-cache.index could not created.
              at net.sf.ehcache.store.DiskStore.<init>(DiskStore.java:164)
              at net.sf.ehcache.Cache.createDiskStore(Cache.java:577)
              at net.sf.ehcache.Cache.initialise(Cache.java:549)
              at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:707)
              at net.sf.ehcache.CacheManager.addCache(CacheManager.java:697)
              at net.sf.ehcache.CacheManager.addCache(CacheManager.java:654)
              at org.codehaus.plexus.cache.ehcache.EhcacheCache.initialize(EhcacheCache.java:244)
              at org.codehaus.plexus.spring.PlexusLifecycleBeanPostProcessor.postProcessAfterInitialization(PlexusLifecycleBeanPostProcessor.java:217)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:361)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.postProcessObjectFromFactoryBean(AbstractAutowireCapableBeanFactory.java:1427)
              at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:139)
              ... 56 more
      Caused by: java.io.IOException: Index file /var/tmp/url-failures-cache.index could not created.
              at net.sf.ehcache.store.DiskStore.createNewIndexFile(DiskStore.java:850)
              at net.sf.ehcache.store.DiskStore.readIndex(DiskStore.java:827)
              at net.sf.ehcache.store.DiskStore.initialiseFiles(DiskStore.java:193)
              at net.sf.ehcache.store.DiskStore.<init>(DiskStore.java:152)
              ... 66 more
      

        Attachments

          Activity

            People

            • Assignee:
              olamy Olivier Lamy (*$^¨%`£)
              Reporter:
              olamy Olivier Lamy (*$^¨%`£)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: