Hitachi Vantara Pentaho Community Forums
Results 1 to 6 of 6

Thread: temp_user folder?

  1. #1
    Join Date
    Apr 2007
    Posts
    2,009

    Default temp_user folder?

    Hi,

    Quick question, whats the temp_user folder for? Why doesnt it just use the normal temp folder? Is this a Pentaho or a Tomcat thing?

    ( Just contains userCache.data which is zero bytes anyway.. )

    Thanks,
    Dan

  2. #2
    Join Date
    Oct 2006
    Posts
    817

    Default

    It's a temporary folder used by ehcache for caching users fetched during authentication. You can find the config file for ehcache in pentaho.war/WEB-INF/classes/ehcache_user.xml. The filename itself is configured in pentaho.war/WEB-INF/applicationContext-acegi-security.xml.

  3. #3
    Join Date
    Apr 2007
    Posts
    2,009

    Default

    ah, ok got it thanks.

  4. #4
    Join Date
    Jul 2007
    Posts
    2,498

    Unhappy /tmp_user : Could not create cache directory /tmp_user

    I'm getting this error on version 834


    Code:
    2007-09-20 16:26:46,447 ERROR [net.sf.ehcache.store.DiskStore] userCacheCache: Could not create disk store. Initial cause was Could not create cache directory "/tmp_user".
    java.lang.Exception: Could not create cache directory "/tmp_user".
            at net.sf.ehcache.store.DiskStore.initialiseFiles(DiskStore.java:159)
            at net.sf.ehcache.store.DiskStore.<init>(DiskStore.java:129)
            at net.sf.ehcache.Cache.initialise(Cache.java:414)
            at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:547)
            at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:317)
            at net.sf.ehcache.CacheManager.init(CacheManager.java:197)
            at net.sf.ehcache.CacheManager.<init>(CacheManager.java:172)
            at org.springframework.cache.ehcache.EhCacheManagerFactoryBean.afterPropertiesSet(EhCacheManagerFactoryBean.java:103)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:420)
            at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
            at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
    Pedro Alves
    Meet us on ##pentaho, a FreeNode irc channel

  5. #5
    Join Date
    Oct 2006
    Posts
    817

  6. #6
    Join Date
    Aug 2006
    Posts
    141

    Cool how -Djava options

    When i ´m trying t deploy the plataform found that problem. the first solution was create the directory with the apropiate permissions. Now i know that over tomcat and linux you can go to /etc/default/tomcat5.5 and make it

    -Djava.io.tmpdir=/tmp/

    Good luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.