Hi all,Is there a way of coaxing a more detailed error message out of JCS when it starts up?
It dies when trying to run this: JCS.setConfigFilename(config); jcs = JCS.getInstance(CACHE_NAME); The config file exists and is readable, and is included below. I am stuck :(java.lang.IllegalStateException: Failed to load properties for name [/Users/minfrin/src/standard/alchemy/development/mx/trunk/alchemy-measure/cache.ccf] at org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:242)
at org.apache.jcs.JCS.ensureCacheManager(JCS.java:102) at org.apache.jcs.JCS.getInstance(JCS.java:64)at alchemy.cluster.dispatch.cache.JCSCacheDispatcher.init(JCSCacheDispatcher.java:113) at alchemy.cluster.dispatch.cache.JCSCacheDispatcher.<init>(JCSCacheDispatcher.java:89)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303)at alchemy.cluster.dispatch.DispatcherFactory.getDispatcher(DispatcherFactory.java:116) at alchemy.cluster.dispatch.DispatcherFactory.getInstance(DispatcherFactory.java:92) at alchemy.cluster.dispatch.DispatcherFactory.getInstance(DispatcherFactory.java:67) at alchemy.measure.AbstractThreadedTest.testRunning(AbstractThreadedTest.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227)at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
############################################################## ##### Default Region Configuration jcs.default=DC jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.default.cacheattributes.MaxObjects=100 jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache ############################################################## ##### CACHE REGIONS jcs.region.cluster=DC jcs.region.cluster.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.region.cluster.cacheattributes.MaxObjects=1000 jcs.region.cluster.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache ############################################################## ##### AUXILIARY CACHES # Indexed Disk Cache jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes jcs.auxiliary.DC.attributes.DiskPath=/Users/minfrin/cache/indexed-disk-cache #jcs.auxiliary.DC.attributes.DiskPath=/udd001/app/alchemy/cache/indexed-disk-cache jcs.auxiliary.DC.attributes.MaxPurgatorySize=10000 jcs.auxiliary.DC.attributes.MaxKeySize=10000 jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=300000 jcs.auxiliary.DC.attributes.OptimizeOnShutdown=true jcs.auxiliary.DC.attributes.MaxRecycleBinSize=7500 Regards, Graham --
smime.p7s
Description: S/MIME Cryptographic Signature