jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Hawlitzek <Florian.Hawlit...@br-online.de>
Subject Re: TCP server config in lateral cache
Date Tue, 10 May 2005 13:00:11 GMT
Hi Araon,

I did it this way:
                CompositeCacheManager cacheMgr = 
                Properties props = new Properties();
                InputStream is = 
                props.load( is );
                String lateralServers = 
                [...] // fix and save attribute
                cache = JCS.getInstance("myCache");

and it works!


Aaron Smuts wrote:

>One way is to load up the JCS props file, modify the
>values and then initialize JCS.
>--- Florian Hawlitzek <Florian.Hawlitzek@br-online.de>
>>I've the same problem with the identical
>>configuration file in the war 
>>file throughout several servers
>>as some of the other folks here.
>>I would like to write the suggested servlet to set
>>    jcs.auxiliary.LTCP.attributes.TcpServers
>>individually at each server.
>>But how can I access this attribute from within my
>>Florian Hawlitzek.

To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org

View raw message