jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Ly" <dmly....@gmail.com>
Subject Error Staring up the Remote Cache Server
Date Sun, 21 Jan 2007 18:00:07 GMT
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)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message