Re: [jgroups-users] Deadlock in JGroups

Questions/problems related to using JGroups <[email protected]>
Newsgroups gmane.comp.java.javagroups.general
Message-ID <[email protected]>

On 16/03/16 19:10, Questions/problems related to using JGroups wrote:
> Hello All,
>
> I need some help here. We are using jboss-4.2.0-GA with JGroups 2.4.1
> SP-3 on jdk 1.6 in a clustered environment of 60 servers.

Ouch! I don't support such an old version of JGroups.


> It runs fine
> for days but suddenly all threads get blocked for several minutes.  I
> have captured thread dumps when this happened yesterday.  We are seeing
> below in all the thread dumps. Appreciate any help. Should i upgrade
> jgroups to solve this issue?.

Most absolutely positively definitely! :-) JBoss 4.2 is also from the 
stone age, and JDK 1.6 has been EOLed (a long time ago)...

> daemon prio=10 tid=0x00007f54d80f0000 nid=0x464 in Object.wait()
> [0x00007f548a907000]
>       java.lang.Thread.State: TIMED_WAITING (on object monitor)
>       at java.lang.Object.wait(Native Method)
>       - waiting on <0x00000007ddd76e50> (a java.util.HashMap)
>       at org.jgroups.blocks.GroupRequest.doExecute(GroupRequest.java:501)
>       - locked <0x00000007ddd76e50> (a java.util.HashMap)
>       at org.jgroups.blocks.GroupRequest.execute(GroupRequest.java:193)
>       at
> org.jgroups.blocks.MessageDispatcher.castMessage(MessageDispatcher.java:431)
>       at
> org.jgroups.blocks.RpcDispatcher.callRemoteMethods(RpcDispatcher.java:192)
>       at
> org.jgroups.blocks.RpcDispatcher.callRemoteMethods(RpcDispatcher.java:163)
>       at
> org.jboss.ha.framework.server.HAPartitionImpl.callMethodOnCluster(HAPartitionImpl.java:797)
>       at
> org.jboss.ha.framework.server.HAPartitionImpl.callMethodOnCluster(HAPartitionImpl.java:773)
>       at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:228)
>       at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155)
>       at sun.reflect.GeneratedMethodAccessor189.invoke(Unknown Source)
>       at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at
> org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:258)
>       at $Proxy332.lookup(Unknown Source)
>       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
>       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
>       at javax.naming.InitialContext.lookup(InitialContext.java:392)
>       at tlm.toc.common.utils.JNDIUtils.lookup(JNDIUtils.java:128)
>       - locked <0x0000000780d72b70> (a java.util.HashMap)
>       at
> hti.provisioning.ws.ProvisioningWS.tcuProvisioningCommand(ProvisioningWS.java:80)
>       at sun.reflect.GeneratedMethodAccessor221.invoke(Unknown Source)
>       at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
>
> Thanks,
>
> Vamshi J.
>
>
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
>
>
>
> _______________________________________________
> javagroups-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/javagroups-users
>

-- 
Bela Ban, JGroups lead (http://www.jgroups.org)


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.