>> J:\dev\workspace\JCS>java -ms10m -mx200m -classpath >> J:\dev\workspace\JCS\jcs-1.2.7.9.2.jar;J:\dev\workspace\JCS\commo >> e.ccf "-Djava.security.policy=cache.policy" >> org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory remote.cac
It looks like you're including the .ccf filename in the classpath. Try shortening it to just the directory containing the file; leaving the actual filename out. ex. -classpath D:\my\config\path Hope that helps, Dennis -----Original Message----- From: Doug Ly [mailto:[EMAIL PROTECTED] Sent: Sunday, January 21, 2007 10:00 AM To: jcs-users@jakarta.apache.org Subject: [bayes][heur][faked-from] Error Staring up the Remote Cache Server Hi, Could anybody please explain the steps to run the Remote Cache server with the JAR file? I downloaded the jcs-1.2.7.9.2.jar nd tried to put the remote.cache.ccf to the classpath. But all of this only gave me this error: J:\dev\workspace\JCS>java -ms10m -mx200m -classpath J:\dev\workspace\JCS\jcs-1.2.7.9.2.jar;J:\dev\workspace\JCS\commo e.ccf "-Djava.security.policy=cache.policy" org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory remote.cac Jan 21, 2007 11:57:42 AM org.apache.jcs.auxiliary.remote.RemoteUtilsloadProps SEVERE: Error loading remote properties, for file name [remote.cache.ccf] java.lang.NullPointerException at java.util.Properties$LineReader.readLine(Unknown Source) at java.util.Properties.load(Unknown Source) at org.apache.jcs.auxiliary.remote.RemoteUtils.loadProps( RemoteUtils.java:92) at org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory.main( RemoteCacheServerFactory.java:247) Jan 21, 2007 11:57:42 AM org.apache.jcs.auxiliary.remote.RemoteUtilscreateRegistry INFO: createRegistry> setting security manager Jan 21, 2007 11:57:42 AM org.apache.jcs.auxiliary.remote.RemoteUtilscreateRegistry INFO: createRegistry> creating registry on port [1099] Jan 21, 2007 11:57:42 AM org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory startup INFO: ConfigFileName = [remote.cache.ccf] Jan 21, 2007 11:57:42 AM org.apache.jcs.auxiliary.remote.RemoteUtilsloadProps SEVERE: Error loading remote properties, for file name [remote.cache.ccf] java.lang.NullPointerException at java.util.Properties$LineReader.readLine(Unknown Source) at java.util.Properties.load(Unknown Source) at org.apache.jcs.auxiliary.remote.RemoteUtils.loadProps( RemoteUtils.java:92) at org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory.startup( RemoteCacheServerFactory.java:122) at org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory.main( RemoteCacheServerFactory.java:332) Jan 21, 2007 11:57:42 AM org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory startup INFO: Creating server with these attributes remoteHost = null remotePort = 0 cacheName = null removeUponRemotePut = true getOnly = false allowClusterGet = true localClusterConsistency = true getConfigFileName = remote.cache.ccf Jan 21, 2007 11:57:42 AM org.apache.jcs.engine.control.CompositeCacheManagergetUnconfiguredInstance INFO: Instance is null, creating with provided config Jan 21, 2007 11:57:42 AM org.apache.jcs.engine.control.CompositeCacheManagerconfigure INFO: Creating cache manager from config file: remote.cache.ccf Jan 21, 2007 11:57:42 AM org.apache.jcs.engine.control.CompositeCacheManagerconfigure SEVERE: Failed to load properties for name [remote.cache.ccf] 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:239) at org.apache.jcs.auxiliary.remote.server.RemoteCacheServer.createCacheManager( RemoteCacheServer.java:149) at org.apache.jcs.auxiliary.remote.server.RemoteCacheServer.init( RemoteCacheServer.java:120) at org.apache.jcs.auxiliary.remote.server.RemoteCacheServer.<init>( RemoteCacheServer.java:110) at org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory.startup( RemoteCacheServerFactory.java:162) at org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory.main( RemoteCacheServerFactory.java:332) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]