I'm trying to use replication using PojoCache this work fine (not that fine because I get an OutOfMemory exception but that's not what I'm trying to solve now) when I use only one instance of the application I'm developing. But when I try to start more than one application in differents PC (or even in different JVM in the same PC) I got this exception | org.jboss.cache.CacheException: Initial state transfer failed: Channel.getState() returned false | at org.jboss.cache.TreeCache.fetchStateOnStartup(TreeCache.java:3190) | at org.jboss.cache.TreeCache.startService(TreeCache.java:1429) | at org.jboss.cache.aop.PojoCache.startService(PojoCache.java:94) |
And then when I increase the InitialStateRetrievalTimeout and try to start again the applications I got this different exception | org.jboss.cache.lock.TimeoutException: failure acquiring lock: fqn=/d105619f-7bdc-4061-b463-a1c9526f8644/0, caller=Thread[Thread-10,5,main], lock=write owner=GlobalTransaction:<10.6.100.35:47413>:9877 (activeReaders=0, activeWriter=Thread[Thread-10,5,main], waitingReaders=0, waitingWriters=0, waitingUpgrader=0) | at org.jboss.cache.Node.acquire(Node.java:407) | at org.jboss.cache.Node.acquireAll(Node.java:446) | at org.jboss.cache.Node.acquireAll(Node.java:453) | at org.jboss.cache.Node.acquireAll(Node.java:453) | at org.jboss.cache.TreeCache.acquireLocksForStateTransfer(TreeCache.java:2730) | at org.jboss.cache.TreeCache._setState(TreeCache.java:2627) | at org.jboss.cache.TreeCache.access$000(TreeCache.java:86) | at org.jboss.cache.TreeCache$MessageListenerAdaptor.setState(TreeCache.java:5303) | at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.passUp(MessageDispatcher.java:626) | at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:331) | at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUp(MessageDispatcher.java:734) | at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.access$300(MessageDispatcher.java:566) | at org.jgroups.blocks.MessageDispatcher$1.run(MessageDispatcher.java:703) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jboss.cache.lock.TimeoutException: read lock for /d105619f-7bdc-4061-b463-a1c9526f8644/0 could not be acquired by Thread[Thread-10,5,main] after 150000 ms. Locks: Read lock owners: [] | Write lock owner: GlobalTransaction:<10.6.100.35:47413>:9877 | , lock info: write owner=GlobalTransaction:<10.6.100.35:47413>:9877 (activeReaders=0, activeWriter=Thread[Thread-10,5,main], waitingReaders=0, waitingWriters=0, waitingUpgrader=0) | at org.jboss.cache.lock.IdentityLock.acquireReadLock(IdentityLock.java:257) | at org.jboss.cache.Node.acquireReadLock(Node.java:417) | at org.jboss.cache.Node.acquire(Node.java:384) | ... 13 more | I appreciate any suggestion on this because I'm dealing with this problem for two weeks and I don't have any other idea of what to do. Well thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969309#3969309 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969309 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
