[jboss-user] [JBoss Cache: Core Edition] - weird problem SocketException

2009-01-09 Thread jreeman
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 |

[jboss-user] [JBoss Cache: Core Edition] - Re: weird problem SocketException

2009-01-09 Thread jreeman
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

[jboss-user] [JBoss Cache: Core Edition] - Problem of

2008-10-31 Thread jreeman
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

[jboss-user] [JBoss Cache: Core Edition] - Re: Problem of node invalidation

2008-10-31 Thread jreeman
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

[jboss-user] [JBoss Cache: Core Edition] - Re: Problem of

2008-10-31 Thread jreeman
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

[jboss-user] [JBoss Cache: Core Edition] - Re: Clean shutdown/redeploy in Tomcat

2008-10-16 Thread jreeman
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

[jboss-user] [JBoss Cache: Core Edition] - Re: Clean shutdown/redeploy in Tomcat

2008-09-26 Thread jreeman
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 :

[jboss-user] [JBoss Cache: Core Edition] - Re: Clean shutdown/redeploy in Tomcat

2008-09-26 Thread jreeman
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 :

[jboss-user] [JBoss Cache: Core Edition] - Re: Clean shutdown/redeploy in Tomcat

2008-09-25 Thread jreeman
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

[jboss-user] [JBoss Cache: Core Edition] - Re: Clean shutdown/redeploy in Tomcat

2008-09-25 Thread jreeman
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

[jboss-user] [JBoss Cache: Core Edition] - Discovery time of a clustered cache ?

2008-09-20 Thread jreeman
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

[jboss-user] [JBoss Cache: Core Edition] - Re: Problem with expiration eviction

2008-09-02 Thread jreeman
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 :

[jboss-user] [JBoss Cache: Core Edition] - Re: Problem with expiration eviction

2008-09-02 Thread jreeman
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

[jboss-user] [JBoss Cache: Core Edition] - Re: Problem with expiration eviction

2008-09-02 Thread jreeman
-- attribute name=EvictionPolicyConfig | config | attribute name=policyClassorg.jboss.cache.eviction.ExpirationPolicy/attribute | /config |/attribute View the original post :

[jboss-user] [JBoss Cache: Core Edition] - Problem with expiration eviction

2008-08-08 Thread jreeman
Hello, I wrote the following code to use expiration eviction policy : Region region = admDataCache.getRegion(fqn, true); | | ExpirationConfiguration expirationConfiguration = new ExpirationConfiguration(); |

[jboss-user] [JBoss Cache: Core Edition] - MPING : limiting clustering to the local application

2008-07-17 Thread jreeman
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 :

[jboss-user] [JBoss Cache: Core Edition] - Re: MPING : limiting clustering to the local application

2008-07-17 Thread jreeman
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

[jboss-user] [JBoss Cache: Core Edition] - Re: MPING : limiting clustering to the local application

2008-07-17 Thread jreeman
[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

[jboss-user] [JBoss Cache: Core Edition] - Re: Problem with transaction (jbossts) configuration in Tomc

2008-07-14 Thread jreeman
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 :

[jboss-user] [JBoss Cache: Core Edition] - Re: Problem with transaction (jbossta/jbossts) configuration

2008-07-11 Thread jreeman
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. |

[jboss-user] [JBoss Cache: Core Edition] - Re: Problem with transaction (jbossts) configuration in Tomc

2008-07-11 Thread jreeman
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

[jboss-user] [JBoss Cache: Core Edition] - Re: What isolation mode do you use and why?

2008-07-11 Thread jreeman
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 :

[jboss-user] [JBoss Cache: Core Edition] - Problem with transaction (jbossts) configuration in Tomcat

2008-07-10 Thread jreeman
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 =

[jboss-user] [JBoss Cache: Core Edition] - Re: Problem with transaction (jbossts) configuration in Tomc

2008-07-10 Thread jreeman
Maybe I have a problem with maven repository I used these dependencies : dependency | groupIdjboss/groupId | artifactIdjboss-common/artifactId | version4.2.2.GA/version | /dependency |

[jboss-user] [JBoss Cache: Core Edition] - Re: Problem with transaction (jbossts) configuration in Tomc

2008-07-10 Thread jreeman
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 :

[jboss-user] [JBoss Cache: Core Edition] - Re: Problem with transaction (jbossts) configuration in Tomc

2008-07-10 Thread jreeman
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,