Problem Note 39113: ERROR net.sf.ehcache.store.DiskStore - com.sas.solutions.di.server.dm.api.GeographyCache: Could not create disk store
Errors similar to the following might appear in your mid-tier log when running any of the SAS® Merchandise Intelligence solutions (SAS® Markdown Optimization, SAS® Promotion Optimization, SAS® Regular Price Optimization, SAS® Pack Optimization, and SAS® Size Profiling):
INFO | jvm 1 | 2010/03/22 09:51:06 | 2010-03-22 09:51:06,558 [WrapperSimpleAppMain] ERROR net.sf.ehcache.store.DiskStore - com.sas.solutions.di.server.dm.api.GeographyCache: Could not create disk store. Initial cause was /tmp/com.sas.solutions.di.server.dm.api.Geography.data (The file access permissions do not allow the specified action.)
INFO | jvm 1 | 2010/03/22 09:51:06 | java.io.FileNotFoundException: /tmp/com.sas.solutions.di.server.dm.api.Geography.data (The file access permissions do not allow the specified action.)
INFO | jvm 1 | 2010/03/22 09:51:06 | at java.io.RandomAccessFile.open(Native Method)
INFO | jvm 1 | 2010/03/22 09:51:06 | at java.io.RandomAccessFile.(RandomAccessFile.java:230)
INFO | jvm 1 | 2010/03/22 09:51:06 | at net.sf.ehcache.store.DiskStore.initialiseFiles(DiskStore.java:189)
INFO | jvm 1 | 2010/03/22 09:51:06 | at net.sf.ehcache.store.DiskStore.(DiskStore.java:128)
INFO | jvm 1 | 2010/03/22 09:51:06 | at net.sf.ehcache.Cache.initialise(Cache.java:413)
INFO | jvm 1 | 2010/03/22 09:51:06 | at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:546)
INFO | jvm 1 | 2010/03/22 09:51:06 | at net.sf.ehcache.CacheManager.addCache(CacheManager.java:536)
INFO | jvm 1 | 2010/03/22 09:51:06 | at net.sf.ehcache.CacheManager.addCache(CacheManager.java:503)
INFO | jvm 1 | 2010/03/22 09:51:06 | at org.hibernate.cache.EhCacheProvider.buildCache(EhCacheProvider.java:87)
INFO | jvm 1 | 2010/03/22 09:51:06 | at org.hibernate.cache.CacheFactory.createCache(CacheFactory.java:61)
INFO | jvm 1 | 2010/03/22 09:51:06 | at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:214)
INFO | jvm 1 | 2010/03/22 09:51:06 | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
INFO | jvm 1 | 2010/03/22 09:51:06 | at com.sas.solutions.di.server.db.HibernateHelper.init(HibernateHelper.java:128)
INFO | jvm 1 | 2010/03/22 09:51:06 | at com.sas.solutions.di.server.db.PersistenceManager.init(PersistenceManager.java:109)
INFO | jvm 1 | 2010/03/22 09:51:06 | at com.sas.solutions.di.server.Server.(Server.java:180)
INFO | jvm 1 | 2010/03/22 09:51:06 | at com.sas.solutions.di.server.ServerBuilder.addDecorator(ServerBuilder.java:33)
INFO | jvm 1 | 2010/03/22 09:51:06 | at com.sas.solutions.di.server.ServerBuilder.newMBeanServer(ServerBuilder.java:27)
INFO | jvm 1 | 2010/03/22 09:51:06 | at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:324)
INFO | jvm 1 | 2010/03/22 09:51:06 | at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:227)
INFO | jvm 1 | 2010/03/22 09:51:06 | at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:188)
INFO | jvm 1 | 2010/03/22 09:51:06 | at com.sas.solutions.di.server.Server.getServer(Server.java:205)
INFO | jvm 1 | 2010/03/22 09:51:06 | at com.sas.solutions.di.server.Server.main(Server.java:163)
INFO | jvm 1 | 2010/03/22 09:51:06 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2010/03/22 09:51:06 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
INFO | jvm 1 | 2010/03/22 09:51:06 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
INFO | jvm 1 | 2010/03/22 09:51:06 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
INFO | jvm 1 | 2010/03/22 09:51:06 | at java.lang.reflect.Method.invoke(Method.java:391)
INFO | jvm 1 | 2010/03/22 09:51:06 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:108)
INFO | jvm 1 | 2010/03/22 09:51:06 | at java.lang.Thread.run(Thread.java:568)
INFO | jvm 1 | 2010/03/22 09:51:06 | 2010-03-22 09:51:06,758 [WrapperSimpleAppMain] WARN org.hibernate.cache.EhCacheProvider - Could not find configuration [com.sas.solutions.di.server.dm.api.ProductHierarchy]; using defaults.
INFO | jvm 1 | 2010/03/22 09:51:06 | 2010-03-22 09:51:06,758 [WrapperSimpleAppMain] ERROR net.sf.ehcache.store.DiskStore - com.sas.solutions.di.server.dm.api.ProductHierarchyCache: Could not create disk store. Initial cause was /tmp/com.sas.solutions.di.server.dm.api.ProductHierarchy.data (The file access permissions do not allow the specified action.)
INFO | jvm 1 | 2010/03/22 09:51:06 | java.io.FileNotFoundException: /tmp/com.sas.solutions.di.server.dm.api.ProductHierarchy.data (The file access permissions do not allow the specified action.)
INFO | jvm 1 | 2010/03/22 09:51:06 | at java.io.RandomAccessFile.open(Native Method)
INFO | jvm 1 | 2010/03/22 09:51:06 | at java.io.RandomAccessFile.(RandomAccessFile.java:230)
INFO | jvm 1 | 2010/03/22 09:51:06 | at net.sf.ehcache.store.DiskStore.initialiseFiles(DiskStore.java:189)
INFO | jvm 1 | 2010/03/22 09:51:06 | at net.sf.ehcache.store.DiskStore.(DiskStore.java:128)
INFO | jvm 1 | 2010/03/22 09:51:06 | at net.sf.ehcache.Cache.initialise(Cache.java:413)
INFO | jvm 1 | 2010/03/22 09:51:06 | at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:546)
INFO | jvm 1 | 2010/03/22 09:51:06 | at net.sf.ehcache.CacheManager.addCache(CacheManager.java:536)
INFO | jvm 1 | 2010/03/22 09:51:06 | at net.sf.ehcache.CacheManager.addCache(CacheManager.java:503)
INFO | jvm 1 | 2010/03/22 09:51:06 | at org.hibernate.cache.EhCacheProvider.buildCache(EhCacheProvider.java:87)
INFO | jvm 1 | 2010/03/22 09:51:06 | at org.hibernate.cache.CacheFactory.createCache(CacheFactory.java:61)
INFO | jvm 1 | 2010/03/22 09:51:06 | at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:214)
INFO | jvm 1 | 2010/03/22 09:51:06 | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
INFO | jvm 1 | 2010/03/22 09:51:06 | at com.sas.solutions.di.server.db.HibernateHelper.init(HibernateHelper.java:128)
INFO | jvm 1 | 2010/03/22 09:51:06 | at com.sas.solutions.di.server.db.PersistenceManager.init(PersistenceManager.java:109)
INFO | jvm 1 | 2010/03/22 09:51:06 | at com.sas.solutions.di.server.Server.(Server.java:180)
INFO | jvm 1 | 2010/03/22 09:51:06 | at com.sas.solutions.di.server.ServerBuilder.addDecorator(ServerBuilder.java:33)
INFO | jvm 1 | 2010/03/22 09:51:06 | at com.sas.solutions.di.server.ServerBuilder.newMBeanServer(ServerBuilder.java:27)
INFO | jvm 1 | 2010/03/22 09:51:06 | at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:324)
INFO | jvm 1 | 2010/03/22 09:51:06 | at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:227)
INFO | jvm 1 | 2010/03/22 09:51:06 | at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:188)
INFO | jvm 1 | 2010/03/22 09:51:06 | at com.sas.solutions.di.server.Server.getServer(Server.java:205)
INFO | jvm 1 | 2010/03/22 09:51:06 | at com.sas.solutions.di.server.Server.main(Server.java:163)
INFO | jvm 1 | 2010/03/22 09:51:06 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2010/03/22 09:51:06 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
INFO | jvm 1 | 2010/03/22 09:51:06 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
INFO | jvm 1 | 2010/03/22 09:51:06 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
INFO | jvm 1 | 2010/03/22 09:51:06 | at java.lang.reflect.Method.invoke(Method.java:391)
INFO | jvm 1 | 2010/03/22 09:51:06 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:108)
INFO | jvm 1 | 2010/03/22 09:51:06 | at java.lang.Thread.run(Thread.java:568)
INFO | jvm 1 | 2010/03/22 09:51:07 | 2010-03-22 09:51:06,899 [WrapperSimpleAppMain] WARN org.hibernate.cache.EhCacheProvider - Could not find configuration [com.sas.solutions.di.server.dm.api.Product]; using defaults.
INFO | jvm 1 | 2010/03/22 09:51:07 | 2010-03-22 09:51:06,900 [WrapperSimpleAppMain] ERROR net.sf.ehcache.store.DiskStore - com.sas.solutions.di.server.dm.api.ProductCache: Could not create disk store. Initial cause was /tmp/com.sas.solutions.di.server.dm.api.Product.data (The file access permissions do not allow the specified action.)
INFO | jvm 1 | 2010/03/22 09:51:07 | java.io.FileNotFoundException: /tmp/com.sas.solutions.di.server.dm.api.Product.data (The file access permissions do not allow the specified action.)
INFO | jvm 1 | 2010/03/22 09:51:07 | at java.io.RandomAccessFile.open(Native Method)
INFO | jvm 1 | 2010/03/22 09:51:07 | at java.io.RandomAccessFile.(RandomAccessFile.java:230)
INFO | jvm 1 | 2010/03/22 09:51:07 | at net.sf.ehcache.store.DiskStore.initialiseFiles(DiskStore.java:189)
INFO | jvm 1 | 2010/03/22 09:51:07 | at net.sf.ehcache.store.DiskStore.(DiskStore.java:128)
INFO | jvm 1 | 2010/03/22 09:51:07 | at net.sf.ehcache.Cache.initialise(Cache.java:413)
INFO | jvm 1 | 2010/03/22 09:51:07 | at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:546)
INFO | jvm 1 | 2010/03/22 09:51:07 | at net.sf.ehcache.CacheManager.addCache(CacheManager.java:536)
INFO | jvm 1 | 2010/03/22 09:51:07 | at net.sf.ehcache.CacheManager.addCache(CacheManager.java:503)
INFO | jvm 1 | 2010/03/22 09:51:07 | at org.hibernate.cache.EhCacheProvider.buildCache(EhCacheProvider.java:87)
INFO | jvm 1 | 2010/03/22 09:51:07 | at org.hibernate.cache.CacheFactory.createCache(CacheFactory.java:61)
INFO | jvm 1 | 2010/03/22 09:51:07 | at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:214)
INFO | jvm 1 | 2010/03/22 09:51:07 | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
INFO | jvm 1 | 2010/03/22 09:51:07 | at com.sas.solutions.di.server.db.HibernateHelper.init(HibernateHelper.java:128)
INFO | jvm 1 | 2010/03/22 09:51:07 | at com.sas.solutions.di.server.db.PersistenceManager.init(PersistenceManager.java:109)
INFO | jvm 1 | 2010/03/22 09:51:07 | at com.sas.solutions.di.server.Server.(Server.java:180)
INFO | jvm 1 | 2010/03/22 09:51:07 | at com.sas.solutions.di.server.ServerBuilder.addDecorator(ServerBuilder.java:33)
INFO | jvm 1 | 2010/03/22 09:51:07 | at com.sas.solutions.di.server.ServerBuilder.newMBeanServer(ServerBuilder.java:27)
INFO | jvm 1 | 2010/03/22 09:51:07 | at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:324)
INFO | jvm 1 | 2010/03/22 09:51:07 | at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:227)
INFO | jvm 1 | 2010/03/22 09:51:07 | at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:188)
INFO | jvm 1 | 2010/03/22 09:51:07 | at com.sas.solutions.di.server.Server.getServer(Server.java:205)
INFO | jvm 1 | 2010/03/22 09:51:07 | at com.sas.solutions.di.server.Server.main(Server.java:163)
INFO | jvm 1 | 2010/03/22 09:51:07 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2010/03/22 09:51:07 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
INFO | jvm 1 | 2010/03/22 09:51:07 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
INFO | jvm 1 | 2010/03/22 09:51:07 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
INFO | jvm 1 | 2010/03/22 09:51:07 | at java.lang.reflect.Method.invoke(Method.java:391)
INFO | jvm 1 | 2010/03/22 09:51:07 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:108)
INFO | jvm 1 | 2010/03/22 09:51:07 | at java.lang.Thread.run(Thread.java:568)
INFO | jvm 1 | 2010/03/22 09:51:08 | 2010-03-22 09:51:07,867 [WrapperSimpleAppMain] WARN org.hibernate.cache.EhCacheProvider - Could not find configuration [com.sas.solutions.di.server.dm.api.GeographyHierarchy]; using defaults.
INFO | jvm 1 | 2010/03/22 09:51:08 | 2010-03-22 09:51:07,868 [WrapperSimpleAppMain] ERROR net.sf.ehcache.store.DiskStore - com.sas.solutions.di.server.dm.api.GeographyHierarchyCache: Could not create disk store. Initial cause was /tmp/com.sas.solutions.di.server.dm.api.GeographyHierarchy.data (The file access permissions do not allow the specified action.)
INFO | jvm 1 | 2010/03/22 09:51:08 | java.io.FileNotFoundException: /tmp/com.sas.solutions.di.server.dm.api.GeographyHierarchy.data (The file access permissions do not allow the specified action.)
INFO | jvm 1 | 2010/03/22 09:51:08 | at java.io.RandomAccessFile.open(Native Method)
INFO | jvm 1 | 2010/03/22 09:51:08 | at java.io.RandomAccessFile.(RandomAccessFile.java:230)
INFO | jvm 1 | 2010/03/22 09:51:08 | at net.sf.ehcache.store.DiskStore.initialiseFiles(DiskStore.java:189)
INFO | jvm 1 | 2010/03/22 09:51:08 | at net.sf.ehcache.store.DiskStore.(DiskStore.java:128)
INFO | jvm 1 | 2010/03/22 09:51:08 | at net.sf.ehcache.Cache.initialise(Cache.java:413)
INFO | jvm 1 | 2010/03/22 09:51:08 | at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:546)
INFO | jvm 1 | 2010/03/22 09:51:08 | at net.sf.ehcache.CacheManager.addCache(CacheManager.java:536)
INFO | jvm 1 | 2010/03/22 09:51:08 | at net.sf.ehcache.CacheManager.addCache(CacheManager.java:503)
INFO | jvm 1 | 2010/03/22 09:51:08 | at org.hibernate.cache.EhCacheProvider.buildCache(EhCacheProvider.java:87)
INFO | jvm 1 | 2010/03/22 09:51:08 | at org.hibernate.cache.CacheFactory.createCache(CacheFactory.java:61)
INFO | jvm 1 | 2010/03/22 09:51:08 | at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:214)
INFO | jvm 1 | 2010/03/22 09:51:08 | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
INFO | jvm 1 | 2010/03/22 09:51:08 | at com.sas.solutions.di.server.db.HibernateHelper.init(HibernateHelper.java:128)
INFO | jvm 1 | 2010/03/22 09:51:08 | at com.sas.solutions.di.server.db.PersistenceManager.init(PersistenceManager.java:109)
INFO | jvm 1 | 2010/03/22 09:51:08 | at com.sas.solutions.di.server.Server.(Server.java:180)
INFO | jvm 1 | 2010/03/22 09:51:08 | at com.sas.solutions.di.server.ServerBuilder.addDecorator(ServerBuilder.java:33)
INFO | jvm 1 | 2010/03/22 09:51:08 | at com.sas.solutions.di.server.ServerBuilder.newMBeanServer(ServerBuilder.java:27)
INFO | jvm 1 | 2010/03/22 09:51:08 | at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:324)
INFO | jvm 1 | 2010/03/22 09:51:08 | at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:227)
INFO | jvm 1 | 2010/03/22 09:51:08 | at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:188)
INFO | jvm 1 | 2010/03/22 09:51:08 | at com.sas.solutions.di.server.Server.getServer(Server.java:205)
INFO | jvm 1 | 2010/03/22 09:51:08 | at com.sas.solutions.di.server.Server.main(Server.java:163)
INFO | jvm 1 | 2010/03/22 09:51:08 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2010/03/22 09:51:08 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
INFO | jvm 1 | 2010/03/22 09:51:08 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
INFO | jvm 1 | 2010/03/22 09:51:08 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
INFO | jvm 1 | 2010/03/22 09:51:08 | at java.lang.reflect.Method.invoke(Method.java:391)
INFO | jvm 1 | 2010/03/22 09:51:08 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:108)
INFO | jvm 1 | 2010/03/22 09:51:08 | at java.lang.Thread.run(Thread.java:568)
These errors indicate that the user who started the mid-tier does not have access to the /tmp directory and/or to one or more of the following files:
/tmp/com.sas.solutions.di.server.dm.api.Geography.data
/tmp/com.sas.solutions.di.server.dm.api.ProductHierarchy.data
/tmp/com.sas.solutions.di.server.dm.api.Product.data
/tmp/com.sas.solutions.di.server.dm.api.GeographyHierarchy.data
In order to resolve this issue, identify and fix the access permission issue and restart the mid-tier (along with object spawner).
Operating System and Release Information
| SAS System | SAS Size Profiling | 64-bit Enabled AIX | 1.2 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Standard Edition | 1.2 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Enterprise Edition | 1.2 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Datacenter Edition | 1.2 | | 9.1 TS1M3 SP4 | |
| SAS System | SAS Promotion Optimization | 64-bit Enabled AIX | 3.2 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Standard Edition | 3.2 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Enterprise Edition | 3.2 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Datacenter Edition | 3.2 | | 9.1 TS1M3 SP4 | |
| SAS System | SAS Regular Price Optimization | 64-bit Enabled AIX | 3.2 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Standard Edition | 3.2 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Enterprise Edition | 3.2 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Datacenter Edition | 3.2 | | 9.1 TS1M3 SP4 | |
| SAS System | SAS Markdown Optimization | 64-bit Enabled AIX | 3.2 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Standard Edition | 3.2 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Enterprise Edition | 3.2 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Datacenter Edition | 3.2 | | 9.1 TS1M3 SP4 | |
| SAS System | SAS Pack Optimization | Microsoft Windows Server 2003 Datacenter Edition | 1.2 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Enterprise Edition | 1.2 | | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Standard Edition | 1.2 | | 9.1 TS1M3 SP4 | |
| 64-bit Enabled AIX | 1.2 | | 9.1 TS1M3 SP4 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | high |
| Date Modified: | 2010-03-23 17:04:22 |
| Date Created: | 2010-03-22 14:20:09 |