Hello,
I use jboss cache in a clustered environement, here is my config file :
?xml version=1.0 encoding=UTF-8?
| !-- This cluster cache contains the last id of archives for the
different mgmt data
| When a data is modified, the new id of the data is updated on all
controllers
|
I solved the problem it was a problem of local dns (/etc/hosts file).
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4200717#4200717
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4200717
I have a problem when updating a cache node with a data.
I do something like this :
node = cachegetRoot().addChild(fqn);
| node.put(key, value);
|
That throws a NodeNotValidException (at the node.put(key, value); line) :
anonymous
When disabling the eviction policy :
anonymous wrote : !-- Policy configurations : FIFO Policy --
|
|
| org.jboss.cache.eviction.FIFOPolicy
| 1000
|
|
There is no more exception, but I'm afraid that the cache
I added regions and _default_ in the xml configuration file and it seems now
better.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4186078#4186078
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186078
I tried to upgrade the jboss cache to 3.0.0.CR1 version to see if there are
always the class loader problems but when starting by cache I have a lot of
exception :
anonymous wrote : org.jboss.cache.CacheException: Unable to invoke method
public void org.jboss.cache.RegionManagerImpl.start() on
hello,
it sounds like a log4j bug. I'm using 1.2.14 version and you ?
Perhaps it will be fixed in the very last version 1.2.15 ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4179010#4179010
Reply to the post :
yes, a request feature has been added, see the detail here
https://jira.jboss.org/jira/browse/JBCACHE-1416.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4179127#4179127
Reply to the post :
Hi,
I have exactly the same error. Did you find a solution ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4178897#4178897
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178897
I added this issue here : https://jira.jboss.org/jira/browse/JGRP-826
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4178902#4178902
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178902
Hi all,
in development I have tested the clustered cache with two servers and it's
doesn't take a long time for instances to discover each other to form the
cluster.
But I'm afraid that this time will grow up significantly when there will be 30
servers.
So is the discovery time proportional
Ok thx to all. In fact I removed the expiration configuration in the config
file and the code. I just added the line suggested by lovelyliatroim and it
sounds to work fine I just have warnings in the log file about the different
nodes of the FQN where I add my object :
anonymous wrote :
Oups here is my eviction configuration (I choose the most simple thing ;) ) :
anonymous wrote :
|
| !-- Name of the DEFAULT eviction policy class. --
| org.jboss.cache.eviction.ExpirationPolicy
|
|
View the original
--
attribute name=EvictionPolicyConfig
| config
| attribute
name=policyClassorg.jboss.cache.eviction.ExpirationPolicy/attribute
| /config
|/attribute
View the original post :
Hello,
I wrote the following code to use expiration eviction policy :
Region region = admDataCache.getRegion(fqn, true);
|
| ExpirationConfiguration expirationConfiguration = new
ExpirationConfiguration();
|
Hello,
do you know how I can configure the MPING protocol for a clustered cache in the
way that the nodes will only try to join nodes listening on the local machine ?
thx
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4165002#4165002
Reply to the post :
Ok I have reslved my problem I use the local multicast address that is
224.0.0.1 and not 224.0.0.0 as I think before posting.
A last, my mping configuration that works so that limits the clustering only to
local machine applications is :
MPING timeout=3000
[EMAIL PROTECTED] wrote : An alternative is to set ip_ttl=0
Thx, your solution works fine, the ttl is the number of switches or routers the
udp message can pass.
actually After a try with other developper, my previous solution doesn't sound
to work, I see ips of other guys in logs (for
First, thx for your response.
I planned to use it only to manage in-memory locks but I realized after that I
don't need a transaction manager to do that.
As a confirmation, I have read here
http://www.jboss.com/index.html?module=bbop=viewtopict=138918 your message :
anonymous wrote :
I have a cluster with two servers where the following code is executed (I tried
with a final rollback and commit).
It's a very simple test, and I have to make more tests to know if the lock for
cached data works fine but it's a good point that this snippet works fine as
expected.
|
Could you let me know where you find this sentence in the jboss ta
documentation ?
Thx
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4163827#4163827
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163827
SERIALIZABLE because, I have few data in cache and so no performance issue, so
I use the higher transaction isolation level.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4163836#4163836
Reply to the post :
Hello all,
I have a problem of configuration with jboss cache :
My code is just that :
String value = String.valueOf(random.nextInt());
| FqnString testFqn = Fqn.fromString(/my/tests);
| NodeString, String rootNode = cache.getRoot();
|
| NodeString, String testNode =
Maybe I have a problem with maven repository I used these dependencies :
dependency
| groupIdjboss/groupId
| artifactIdjboss-common/artifactId
| version4.2.2.GA/version
| /dependency
|
And create the cache instance like this :
CacheFactoryString, String factory = new
DefaultCacheFactoryString, String();
|
| techDataCache = factory.createCache(cache-configuration.xml,
true);
| techDataCache.create();
View the original post :
Thank you, I will try tomorrow to put all all this together.
anonymous wrote : From the 4.3.0.GA docs:
could you give me an url for this doc, and where it is explain how configure
jbossjta-properties.xml and so on ?
anonymous wrote : Note that JBossTS 4.3 provides a JTA 1.1 implementation,
26 matches
Mail list logo