[JBoss JIRA] Created: (JBCACHE-740) Optimistic Locking Scheme: Occasional IllegalStateExceptions on commit
by Carsten Krebs (JIRA)
Optimistic Locking Scheme: Occasional IllegalStateExceptions on commit
----------------------------------------------------------------------
Key: JBCACHE-740
URL: http://jira.jboss.com/jira/browse/JBCACHE-740
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 1.4.0
Environment: Linux 2.6.15-26-686 #1 SMP PREEMPT Thu Aug 3 03:13:28 UTC 2006 i686 GNU/Linux
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
JOTM 2.0.10
JUnit 3.8.1
Reporter: Carsten Krebs
Assigned To: Manik Surtani
Fix For: 2.0.0
The unit test below reproduces "occasional" IllegalStateExceptions (s.b.) on commiting a transaction. This test tries to modify the same node at the same time by different threads in different transactions using the optimistic locking scheme.
java.lang.IllegalStateException: there is already a writer holding the lock: GlobalTransaction:<null>:43
at org.jboss.cache.lock.LockMap.setWriterIfNotNull(LockMap.java:96)
at org.jboss.cache.lock.IdentityLock.acquireWriteLock(IdentityLock.java:204)
at org.jboss.cache.Node.acquireWriteLock(Node.java:431)
at org.jboss.cache.Node.acquire(Node.java:386)
at org.jboss.cache.interceptors.OptimisticLockingInterceptor.lockNodes(OptimisticLockingInterceptor.java:149)
at org.jboss.cache.interceptors.OptimisticLockingInterceptor.invoke(OptimisticLockingInterceptor.java:76)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
at org.jboss.cache.interceptors.TxInterceptor.runPreparePhase(TxInterceptor.java:804)
at org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1069)
at org.jboss.cache.interceptors.OrderedSynchronizationHandler.beforeCompletion(OrderedSynchronizationHandler.java:75)
at org.objectweb.jotm.SubCoordinator.doBeforeCompletion(SubCoordinator.java:1487)
at org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:416)
at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:239)
at OptimisticLockingTest$Worker.run(OptimisticLockingTest.java:135)
The Cache Config:
-------------------------
<?xml version="1.0" encoding="UTF-8"?>
<server>
<mbean code="org.jboss.cache.TreeCache" name="jboss.cache:service=TreeCache">
<attribute name="NodeLockingScheme">OPTIMISTIC</attribute>
<attribute name="CacheMode">LOCAL</attribute>
</mbean>
</server>
The Unit Test:
-------------------
import javax.transaction.Transaction;
import javax.transaction.TransactionManager;
import junit.framework.TestCase;
import org.jboss.cache.CacheException;
import org.jboss.cache.PropertyConfigurator;
import org.jboss.cache.TransactionManagerLookup;
import org.jboss.cache.TreeCache;
import org.objectweb.jotm.Current;
import EDU.oswego.cs.dl.util.concurrent.CyclicBarrier;
/**
* OptimisticLockingTest
*/
public class OptimisticLockingTest extends TestCase {
private static final String NODE_PATH = "/path/node";
private static final String KEY = "key";
private static final Current jotm = new Current();
private TreeCache cache;
protected void setUp() throws Exception {
super.setUp();
cache = new TreeCache();
final PropertyConfigurator config = new PropertyConfigurator();
cache.setTransactionManagerLookup(new TransactionManagerLookup() {
public TransactionManager getTransactionManager() throws Exception {
return Current.getTransactionManager();
}
});
config.configure(cache, this.getClass().getResourceAsStream(
"/cache-config.xml"));
cache.startService();
}
public void testSimultanWrite() throws Exception {
for (int i = 2; i < 20; i++) {
System.out.println(">> testing simultaneous writes with " + i
+ " threads...");
testSimultanWrite(i);
}
}
public void testSimultanWrite(final int _numThreads) throws Exception {
final CyclicBarrier barrier = new CyclicBarrier(_numThreads);
Worker[] workers = new Worker[_numThreads];
for (int i = 0; i < workers.length; i++) {
workers[i] = new Worker();
workers[i].barrier = barrier;
workers[i].value = "worker" + i;
if (i == 0) {
workers[i].isMaster = true;
}
workers[i].start();
}
for (int i = 0; i < workers.length; i++) {
workers[i].join();
}
assertNull(workers[0].exception);
for (int i = 0; i < workers.length; i++) {
assertNull("rollback failed", workers[i].rollbackException);
}
for (int i = 1; i < workers.length; i++) {
assertNotNull("missing exception", workers[i].exception);
assertTrue("exception is not of type CacheException",
workers[i].exception.getCause() instanceof CacheException);
}
assertEquals("worker0", cache.get(NODE_PATH, KEY));
cache.getTransactionManager().begin();
cache.remove(NODE_PATH);
cache.getTransactionManager().commit();
}
private class Worker extends Thread {
private CyclicBarrier barrier;
private Exception exception;
private Exception rollbackException;
private String value;
private boolean isMaster;
/**
* @see java.lang.Thread#run()
*/
public void run() {
final TransactionManager txManager = cache.getTransactionManager();
Transaction tx = null;
try {
// wait for all threads started
barrier.barrier();
if (isMaster) {
txManager.begin();
cache.put(NODE_PATH, KEY, value);
// lets the other threads start writing
barrier.barrier();
// wait for other threads to their modification
barrier.barrier();
// commit first
tx = txManager.getTransaction();
tx.commit();
// lets the other threads commit
barrier.barrier();
} else {
// wait for master to start transaction
barrier.barrier();
txManager.begin();
cache.put(NODE_PATH, KEY, value);
// signal modification
barrier.barrier();
// wait for master to commit transaction
barrier.barrier();
tx = txManager.getTransaction();
tx.commit();
}
} catch (Exception e) {
exception = e;
try {
tx.rollback();
} catch (Exception e1) {
rollbackException = e1;
}
}
}
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 2 months
[JBoss JIRA] Created: (JBCACHE-739) Exception in a CacheLoader throws ChainingCacheLoader calling method and prevent the call to the next CacheLoaders
by shimi k (JIRA)
Exception in a CacheLoader throws ChainingCacheLoader calling method and prevent the call to the next CacheLoaders
-------------------------------------------------------------------------------------------------------------------
Key: JBCACHE-739
URL: http://jira.jboss.com/jira/browse/JBCACHE-739
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Cache loaders
Affects Versions: 1.4.0
Reporter: shimi k
Assigned To: Manik Surtani
Fix For: 2.0.0
All the delegate methods in ChainingCacheLoader throws Exceptions. Each one of the methods iterates on all the configured Cacheloader.
public void put(Fqn name, Map attributes) throws Exception
{
Iterator i = writeCacheLoaders.iterator();
while (i.hasNext())
{
CacheLoader l = (CacheLoader) i.next();
l.put(name, attributes);
}
}
Since the methods throws an Exception, Exception in one of the CacheLoaders will throw the thread out of the method. If the Exception will happen before the last CacheLoader, the ChainingCacheLoader will not call the other CachLoaders.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 2 months
[JBoss JIRA] Created: (JBAS-3385) cmp2.x jdbc2 pm Failed to Deploy 2 Identical EARs with Different Datasource Configuration
by Richard C. L. Li (JIRA)
cmp2.x jdbc2 pm Failed to Deploy 2 Identical EARs with Different Datasource Configuration
-----------------------------------------------------------------------------------------
Key: JBAS-3385
URL: http://jira.jboss.com/jira/browse/JBAS-3385
Project: JBoss Application Server
Issue Type: Patch
Security Level: Public (Everyone can see)
Components: CMP service
Affects Versions: JBossAS-4.0.4.GA
Reporter: Richard C. L. Li
Assigned To: Alexey Loubyansky
Deploying 2 Identical EARs with different datasource configuration will generate the following exception:
2006-07-11 12:54:36,458 INFO [org.jboss.ejb.plugins.cmp.jdbc2.schema.PartitionedTableCache] Registration is not done -> stop
2006-07-11 12:54:36,458 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:module=retailsales.jar,uid=12606869,service=EjbModule
org.jboss.deployment.DeploymentException: Failed to register table cache for memo; - nested throwable: (javax.management.InstanceAlreadyExistsException: jboss.cmp:service=tablecache,ejbname=Memo,table=memo already registered.)
at org.jboss.ejb.plugins.cmp.jdbc2.schema.EntityTable.<init>(EntityTable.java:216)
at org.jboss.ejb.plugins.cmp.jdbc2.schema.Schema.createEntityTable(Schema.java:93)
at org.jboss.ejb.plugins.cmp.jdbc2.bridge.JDBCEntityBridge2.<init>(JDBCEntityBridge2.java:80)
at org.jboss.ejb.plugins.cmp.jdbc2.JDBCStoreManager2.initStoreManager(JDBCStoreManager2.java:437)
at org.jboss.ejb.plugins.cmp.jdbc2.JDBCStoreManager2.start(JDBCStoreManager2.java:175)
at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:172)
at org.jboss.ejb.EntityContainer.startPmAndInterceptors(EntityContainer.java:1063)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:422)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy16.start(Unknown Source)
at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:662)
at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy17.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
Caused by: javax.management.InstanceAlreadyExistsException: jboss.cmp:service=tablecache,ejbname=Memo,table=memo already registered.
at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:761)
at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:225)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
at org.jboss.ejb.plugins.cmp.jdbc2.schema.EntityTable.<init>(EntityTable.java:211)
... 67 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 2 months
[JBoss JIRA] Created: (JBCACHE-725) Reduce the amount of INFO logging
by Dimitris Andreadis (JIRA)
Reduce the amount of INFO logging
---------------------------------
Key: JBCACHE-725
URL: http://jira.jboss.com/jira/browse/JBCACHE-725
Project: JBoss Cache
Issue Type: Task
Security Level: Public (Everyone can see)
Affects Versions: 1.4.0
Reporter: Dimitris Andreadis
Assigned To: Manik Surtani
I've posted this to jboss-dev, and didn't get a reply, so:
No big deal, but you guys really need to reduce the amount of INFO logging that goes to the console.
This is from HEAD but Branch_4_x is not any better. Those should really be DEBUG level:
http://docs.jboss.org/process-guide/en/html/logging.html
(and why JGroups need to do that STDOUT printout anyway?)
14:40:24,374 INFO [TreeCache] setting cluster properties from xml to:
UDP(down_
thread=false;enable_bundling=true;ip_ttl=2;loopback=false;max_bundle_siz
e=64000;
max_bundle_timeout=30;mcast_addr=230.1.2.7;mcast_port=45577;mcast_recv_b
uf_size=
25000000;mcast_send_buf_size=640000;ucast_recv_buf_size=20000000;ucast_s
end_buf_
size=640000;up_thread=false;use_incoming_packet_handler=true;use_outgoin
g_packet
_handler=false):PING(down_thread=false;num_initial_members=3;timeout=200
0;up_thr
ead=false):MERGE2(down_thread=false;max_interval=100000;min_interval=200
00;up_th
read=false):FD(down_thread=false;max_tries=5;shun=true;timeout=2500;up_t
hread=fa
lse):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbca
st.NAKAC
K(discard_delivered_msgs=true;down_thread=false;gc_lag=50;max_xmit_size=
60000;re
transmit_timeout=100,200,300,600,1200,2400,4800;up_thread=false;use_mcas
t_xmit=f
alse):UNICAST(down_thread=false;timeout=300,600,1200,2400,3600;up_thread
=false):
pbcast.STABLE(desired_avg_gossip=50000;down_thread=false;max_bytes=21000
00;stabi
lity_delay=1000;up_thread=false):pbcast.GMS(down_thread=false;join_retry
_timeout
=2000;join_timeout=3000;print_local_addr=true;shun=true;up_thread=false)
:FC(down
_thread=false;max_credits=10000000;min_threshold=0.20;up_thread=false):F
RAG2(dow
n_thread=false;frag_size=60000;up_thread=false):pbcast.STATE_TRANSFER(do
wn_threa
d=false;up_thread=false)
14:40:24,434 INFO [BuddyManager] Using buddy communication timeout of 2000 mill is
14:40:24,454 INFO [TreeCache] Not using an EvictionPolicy
14:40:24,504 INFO [InterceptorChainFactory] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.PessimisticLockInterceptor
class org.jboss.cache.interceptors.DataGravitatorInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
class org.jboss.cache.interceptors.TxInterceptor
class org.jboss.cache.interceptors.CacheMgmtInterceptor
14:40:24,524 INFO [TreeCache] cache mode is REPL_ASYNC
14:40:24,815 WARN [JChannel] option GET_STATE_EVENTS has been deprecated (it is always true now); this option is ignored
14:40:25,035 INFO [STDOUT]
-------------------------------------------------------
GMS: address is 192.168.0.20:3384
-------------------------------------------------------
14:40:27,088 INFO [TreeCache] viewAccepted() for Tomcat-Cluster:
[192.168.0.20:
3384|0] [192.168.0.20:3384]
14:40:27,088 INFO [TreeCache] processNewView(): [192.168.0.20:3384|0] [192.168.
0.20:3384]
14:40:27,138 INFO [TreeCache] processNewView(): [192.168.0.20:3384|0] [192.168.
0.20:3384]
14:40:27,138 INFO [TreeCache] TreeCache local address is
192.168.0.20:3384
14:40:27,138 INFO [BuddyManager] Instance 192.168.0.20:3384 broadcasting member ship in buddy pool default to recipients null
14:40:27,138 WARN [NextMemberBuddyLocator] Expected to look for 1 buddies but c ould only find 0 suitable candidates - trying with colocated buddies as well.
14:40:27,138 WARN [NextMemberBuddyLocator] Expected to look for 1 buddies but c ould only find 0 suitable candidates - trying again, ignoring buddy pool hints.
14:40:27,138 WARN [NextMemberBuddyLocator] Expected to look for 1 buddies but c ould only find 0 suitable candidates - trying with colocated buddies as well.
14:40:27,138 WARN [NextMemberBuddyLocator] Expected to look for 1 buddies but c ould only find 0 suitable candidates!
14:40:27,168 INFO [TreeCache] parseConfig(): PojoCacheConfig is empty ...
14:40:34,609 INFO [TreeCache] setting cluster properties from xml to:
UDP(ip_mc
ast=true;ip_ttl=64;loopback=false;mcast_addr=228.1.2.3;mcast_port=45551;
mcast_re
cv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;u
cast_sen
d_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=
2000;up_
thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thre
ad=false
;shun=true;up_thread=false):VERIFY_SUSPECT(down_thread=false;timeout=150
0;up_thr
ead=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;
retransm
it_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false
;timeout
=600,1200,2400):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false
;up_thre
ad=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.
GMS(join
_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):p
bcast.ST
ATE_TRANSFER(down_thread=false;up_thread=false)
14:40:34,639 INFO [TreeCache] setEvictionPolicyConfig(): [config: null]
14:40:34,639 WARN [TreeCache] No transaction manager lookup class has been defi ned. Transactions cannot be used
14:40:34,669 WARN [TreeCache] Using deprecated configuration element 'EvictionP olicyProvider'. This is only provided for 1.2.x backward compatibility and may disappear in future releases.
14:40:34,709 INFO [InterceptorChainFactory] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.EvictionInterceptor
class org.jboss.cache.interceptors.PessimisticLockInterceptor
class org.jboss.cache.interceptors.ActivationInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
class org.jboss.cache.interceptors.PassivationInterceptor
class org.jboss.cache.interceptors.TxInterceptor
class org.jboss.cache.interceptors.CacheMgmtInterceptor
14:40:34,759 INFO [TreeCache] cache mode is REPL_ASYNC
14:40:34,779 WARN [JChannel] option GET_STATE_EVENTS has been deprecated (it is always true now); this option is ignored
14:40:34,799 INFO [STDOUT]
-------------------------------------------------------
GMS: address is 192.168.0.20:3391
-------------------------------------------------------
14:40:36,822 INFO [TreeCache] viewAccepted() for SFSB-Cache:
[192.168.0.20:3391
|0] [192.168.0.20:3391]
14:40:36,822 INFO [TreeCache] processNewView(): [192.168.0.20:3391|0] [192.168.
0.20:3391]
14:40:36,842 INFO [TreeCache] processNewView(): [192.168.0.20:3391|0] [192.168.
0.20:3391]
14:40:36,852 INFO [TreeCache] TreeCache local address is
192.168.0.20:3391
14:40:36,852 INFO [TreeCache] transferred state is null (may be first member in
cluster)
14:40:36,852 INFO [TreeCache] State could not be retrieved (we are the first me mber in group)
14:40:36,862 INFO [CacheLoaderManager] preloading transient state from cache lo ader org.jboss.cache.loader.FileCacheLoader@17d8769
14:40:36,872 INFO [CacheLoaderManager] preloading transient state from cache lo ader was successful (in 10 milliseconds)
14:40:36,872 INFO [RegionManager] Starting eviction timer
14:40:37,002 INFO [TreeCache] setting cluster properties from xml to:
UDP(ip_mc
ast=true;ip_ttl=2;loopback=false;mcast_addr=228.1.2.3;mcast_port=43333;m
cast_rec
v_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;uc
ast_send
_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2
000;up_t
hread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_threa
d=true;s
hun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;u
p_thread
=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;ret
ransmit_
timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;mi
n_thresh
old=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_
gossip=2
0000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size
=8192;up
_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;prin
t_local_
addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=false;up_thread=f
alse)
14:40:37,022 INFO [TreeCache] setEvictionPolicyConfig(): [config: null]
14:40:37,032 WARN [TreeCache] Using deprecated configuration element 'EvictionP olicyProvider'. This is only provided for 1.2.x backward compatibility and may disappear in future releases.
14:40:37,032 INFO [InterceptorChainFactory] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.EvictionInterceptor
class org.jboss.cache.interceptors.PessimisticLockInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
class org.jboss.cache.interceptors.TxInterceptor
class org.jboss.cache.interceptors.CacheMgmtInterceptor
14:40:37,102 INFO [TreeCache] cache mode is REPL_SYNC
14:40:37,122 ERROR [UNICAST] window_size is deprecated and will be ignored
14:40:37,122 ERROR [UNICAST] min_threshold is deprecated and will be ignored
14:40:37,122 WARN [JChannel] option GET_STATE_EVENTS has been deprecated (it is always true now); this option is ignored
14:40:37,142 INFO [STDOUT]
-------------------------------------------------------
GMS: address is 192.168.0.20:3394
-------------------------------------------------------
14:40:39,185 INFO [TreeCache] viewAccepted() for EJB3-entity-cache:
[192.168.0.
20:3394|0] [192.168.0.20:3394]
14:40:39,185 INFO [TreeCache] processNewView(): [192.168.0.20:3394|0] [192.168.
0.20:3394]
14:40:39,185 INFO [TreeCache] processNewView(): [192.168.0.20:3394|0] [192.168.
0.20:3394]
14:40:39,185 INFO [TreeCache] TreeCache local address is
192.168.0.20:3394
14:40:39,185 INFO [TreeCache] transferred state is null (may be first member in
cluster)
14:40:39,185 INFO [TreeCache] State could not be retrieved (we are the first me mber in group)
14:40:39,185 INFO [RegionManager] Starting eviction timer
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 2 months