Anybody has run both ControlTier 3.6.1 and Rundeck 1.4.0 together on the same server? When I try to do this, ControlTier-3.6.1 can start successfully, yet rundeck-1.4.0 failed to start up. I look at the log file and found these messages:
2011-09-28 10:23:32,323 [main] ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is org.springframework.beans.factory. BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org. springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.CacheException: net.sf. ehcache.CacheException: org.hibernate.cache.UpdateTimestampsCacheCache: Could not create disk store. Initial cause was /tmp/org.hibernate.cache.UpdateTimestampsCache.data (Permission denied)
at com.dtolabs.rundeck.RunServer.run(Unknown Source)
at com.dtolabs.rundeck.RunServer.main(Unknown Source)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org. hibernate.cache.CacheException: net.sf.ehcache.CacheException: org.hibernate.cache.UpdateTimestampsCacheCache: Could not create disk store. Initial cause was /tmp/org.hibernate.cache. UpdateTimestampsCache.data (Permission denied)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache. CacheException: net.sf.ehcache.CacheException: org.hibernate.cache.UpdateTimestampsCacheCache: Could not create disk store. Initial cause was /tmp/org.hibernate.cache.UpdateTimestampsCache.data (Permission denied)
Caused by: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: org.hibernate.cache.UpdateTimestampsCacheCache: Could not create disk store. Initial cause was /tmp/org.hibernate.cache. UpdateTimestampsCache.data (Permission denied)
at net.sf.ehcache.hibernate.EhCacheProvider.buildCache(EhCacheProvider.java:97)
Caused by: net.sf.ehcache.CacheException: org.hibernate.cache.UpdateTimestampsCacheCache: Could not create disk store. Initial cause was /tmp/org.hibernate.cache.UpdateTimestampsCache.data (Permission denied)
at net.sf.ehcache.store.DiskStore.<init>(DiskStore.java:177)
at net.sf.ehcache.Cache.createDiskStore(Cache.java:732)
at net.sf.ehcache.Cache.initialise(Cache.java:682)
at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:811)
at net.sf.ehcache.CacheManager.addCache(CacheManager.java:801)
at net.sf.ehcache.CacheManager.addCache(CacheManager.java:759)
at net.sf.ehcache.hibernate.EhCacheProvider.buildCache(EhCacheProvider.java:91)
Caused by: java.io.FileNotFoundException: /tmp/org.hibernate.cache.UpdateTimestampsCache.data (Permission denied)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at net.sf.ehcache.store.DiskStore.initialiseFiles(DiskStore.java:228)
at net.sf.ehcache.store.DiskStore.<init>(DiskStore.java:165)