Hello, I need your help to start the remote cache. When I try to load it I have the following message:
--------------------------------------------------------------------------------- Exception in thread "main" java.lang.IllegalStateException: Failed to load properties for name [/remote.cache.ccf] at org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:242) at org.apache.jcs.auxiliary.remote.server.RemoteCacheServer.createCacheManager(RemoteCacheServer.java:152) at org.apache.jcs.auxiliary.remote.server.RemoteCacheServer.init(RemoteCacheServer.java:123) at org.apache.jcs.auxiliary.remote.server.RemoteCacheServer.<init>(RemoteCacheServer.java:113) at org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory.startup(RemoteCacheServerFactory.java:17 at org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory.main(RemoteCacheServerFactory.java:342) --------------------------------------------------------------------------------- That is my directory tree: +JCS: StartRemote.bat +jars: commons-logging-1.1.jar concurent.jar jcs-1.3.jar log4j-1.2.8.jar +conf: log4j.properties concurrent.jar jcs-1.3.jar log4j-1.2.8.jar The files "commons-logging-1.1.jar", "concurrent.jar", "jcs-1.3.jar" and "log4j-1.2.8.jar" are in the directory named "jars". The files log4j.properties, cache.policy, remote.cache.ccf are in the directory named "conf" The Start Remote script (StartRemote.bat) is the following : --------------------------------------------------------------------------------- @rem echo off set CURDIR=%CD% echo %CURDIR% %JAVA_HOME%\bin\java -verbosegc -XX:+PrintTenuringDistribution -ms10m -mx200m -classpath ".\;.\jars\jcs-1.3.jar;.\jars\log4j-1.2.8.jar;.\jars\commons-logging-1.1.jar;.\jars\concurrent.jar;.\conf" org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory /remote.cache.ccf --------------------------------------------------------------------------------- The cache.policy file contain : --------------------------------------------------------------------------------- grant { permission java.security.AllPermission; }; --------------------------------------------------------------------------------- The remote.cache.ccf file contain : --------------------------------------------------------------------------------- # Registry used to register and provide the # IRemoteCacheService service. registry.host=localhost registry.port=1102 # call back port to local caches. remote.cache.service.port=1102 # cluster setting remote.cluster.LocalClusterConsistency=false remote.cluster.AllowClusterGet=false --------------------------------------------------------------------------------- Thanks for your help. Mohammed. -- View this message in context: http://www.nabble.com/Yet-an-other-problem-in-starting-Remote-JCS-%21-tf4392739.html#a12524516 Sent from the JCS - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]