[jboss-user] [JBoss Cache Users] - Re: Can't acquire lock in 0 ms

2009-11-18 Thread navaneethforu
We are using Tree cache 1.4.1SP11 and getting simmilar excption


  | 2009-11-16 09:33:31,435] [WARN ] [org.jboss.cache.TreeCache] replication 
failure with method_call _evict; id:8; Args: ( arg[0] = 
///masterdata/active 
  | BarcodeTypeList) exception 
  | org.jboss.cache.lock.TimeoutException: failure acquiring lock: 
fqn=///masterdata/activeBarcodeTypeList, 
caller=Thread[IncomingMessageHandler (channel= 
  | -APP-CACHE-TEST),5,JGroups threads], lock= 
(org.jboss.cache.lock.lockstrategyreadcommit...@7c72d14f) 
  | at org.jboss.cache.Node.acquire(Node.java:533) 
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.acquireNodeLock(PessimisticLockInterceptor.java:410)
 
  | 
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.lock(PessimisticLockInterceptor.java:322)
 
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:196)
 
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) 
  | at 
org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32)
 
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) 
  | at 
org.jboss.cache.interceptors.InvalidationInterceptor.invoke(InvalidationInterceptor.java:60)
 
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) 
  | at 
org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:379)
 
  | at 
org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:174) 
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) 
  | at 
org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:179)
 
  | at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5934) 
  | at org.jboss.cache.TreeCache._replicate(TreeCache.java:5211) 
  | at sun.reflect.GeneratedMethodAccessor228.invoke(Unknown Source) 
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
  | at java.lang.reflect.Method.invoke(Method.java:585) 
  | at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:330) 
  | at org.jgroups.blocks.RpcDispatcher.handle(RpcDispatcher.java:281) 
  | at 
org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:654) 
  | at 
org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:544) 
  | at 
org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:367) 
  | at 
org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:779)
 
  | at org.jgroups.JChannel.up(JChannel.java:1090) 
  | at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:382) 
  | at 
org.jgroups.stack.ProtocolStack.receiveUpEvent(ProtocolStack.java:398) 
  | at org.jgroups.stack.Protocol.passUp(Protocol.java:520) 
  | at 
org.jgroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:158) 
  | at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470) 
  | at org.jgroups.stack.Protocol.passUp(Protocol.java:520) 
  | at org.jgroups.protocols.pbcast.GMS.up(GMS.java:763) 
  | at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470) 
  | at org.jgroups.protocols.pbcast.GMS.receiveUpEvent(GMS.java:783) 
  | at org.jgroups.stack.Protocol.passUp(Protocol.java:520) 
  | at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:262) 
  | at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470) 
  | at org.jgroups.stack.Protocol.passUp(Protocol.java:520) 
  | at 
org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:685) 
  | at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:517) 
  | at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470) 
  | at org.jgroups.stack.Protocol.passUp(Protocol.java:520) 
  | at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:170) 
  | at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470) 
  | at org.jgroups.stack.Protocol.passUp(Protocol.java:520) 
  | at org.jgroups.protocols.FD.up(FD.java:300) 
  | at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470) 
  | at org.jgroups.stack.Protocol.passUp(Protocol.java:520) 
  | at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:301) 
  | at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470) 
  | at org.jgroups.stack.Protocol.passUp(Protocol.java:520) 
  | at org.jgroups.protocols.MERGE2.up(MERGE2.java:162) 
  | at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470) 
  | at org.jgroups.stack.Protocol.passUp(Protocol.java:520) 
  | 
  | at org.jgroups.protocols.TP.access$

[jboss-user] [JBoss Messaging Users] - problem using JmsXA resouce adapter

2009-10-22 Thread navaneethforu
I am using JmsXA connection factory for transacted JMS.
It is working fine for small messages, but is giving following exception when 
message size is large while putting the message in queue
javax.jms.JMSException: Failed to route 
Reference[-1363948824515837952]:RELIABLE to xyzQueue

if i use ClusteredXAConnectionFactory insted of JmsXA then the same message is 
processed successfully.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261709#4261709

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261709
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - java.lang.IllegalStateException: Cache not in STARTED state!

2009-04-02 Thread navaneethforu
I am getting this error when one of the managed server in cluster is restarted.


CODE:
java.lang.IllegalStateException: Cache not in STARTED state! 
  | at 
org.jboss.cache.invocation.CacheInvocationDelegate.cacheStatusCheck(CacheInvocationDelegate.java:584)
 
  | at 
org.jboss.cache.invocation.CacheInvocationDelegate.getNode(CacheInvocationDelegate.java:418)
 
  | at 
org.jboss.cache.invocation.NodeInvocationDelegate.getChild(NodeInvocationDelegate.java:329)
 
  | at 
com.PPP.helper.common.PPPCacheManager.getNode(PPPCacheManager.java:370) 
  | at 
com.PPP.helper.common.PPPCacheManager.putInCache(PPPCacheManager.java:490) 
  | at 
com.PPP.helper.common.PPPCacheManager.putInCache(PPPCacheManager.java:447) 
  | at 
com.PPP.helper.dataaccess.AdvSchDataAccess.getSearchFieldDetailsList(AdvSchDataAccess.java:198)
 
  | at 
com.PPP.common.session.impl.AdvSchSFBean.getSearchFieldDetailsList(AdvSchSFBean.java:282)
 
  | at sun.reflect.GeneratedMethodAccessor435.invoke(Unknown Source) 
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 

Here is my cache config file

  | 
  |
  | 
  | 
  | 
  | 
  | READ_COMMITTED
  | 
  | 
  | 
  | REPL_SYNC
  | 
  | 
  | CLUSTER_TEST
  | 
  | true
  | 
  | 15000
  | 
  | 15000
  | 
  | 1
  | 
  | true
  | 
  | true
  | 
  | true
  | 
  | PESSIMISTIC
  | 
  | false
  | 
  |   0
  |   
  |   0
  | 
  | 
  | 
  |  30
  | 20
  | org.jboss.cache.eviction.LRUPolicy
  | 
  |5000
  | 3600
  | 3600
  | 
  | 
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 


Please let me know if you need any other details.

Any help will be much appreciated.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223008#4223008

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223008
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user