I  tried this in batch file
%JAVA_HOME%\bin\java -ms10m -mx200m -classpath %CLASSPATH%
"-Djava.security.policy=./conf/cache.policy"
org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory
remote.cache1.ccf.

still  i am getting the same exception.

Probably   Do I need to  compile the remote Interface  to get the Stub
Classes ?

Exception in thread "main" java.rmi.StubNotFoundException: Stub class not
found
 org.apache.jcs.auxiliary.remote.server.RemoteCacheServer_Stub; nested
exceptio
 is:..

..

..

Caused by: java.lang.ClassNotFoundException:
org.apache.jcs.auxiliary.remote.se
ver.RemoteCacheServer_Stub
        at java.net.URLClassLoader$1.run(URLClassLoader.java:198)



regds

nageshr

----- Original Message -----

From: "Mar�y �kos" <[EMAIL PROTECTED]>
To: "Turbine JCS Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, August 28, 2002 6:14 PM
Subject: Re: How to use Remote Cache Server


> James Taylor wrote:
> > Try: org.apache.jcs.auxiliary.remote.server.RemoveCacheServerFactory
>
> So this would be the way to start a remote cache server?
>
> e.g. provide a config file remote.cache.ccf like:
>
>
> # 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
> # tomcat config
> remote.tomcat.on=false
> # cluster setting
> remote.cluster.LocalClusterConsistency=true
>
>
> and then:
>
> java
> org.apache.jcs.auxiliary.remote.server.RemoteGroupCacheServerFactory
> remote.cache.ccf
>
>
> ?
>
>
> Akos
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to