[jboss-jira] [JBoss JIRA] (AS7-3975) EJB client invocations sometimes hang indefinitely

jaikiran pai (JIRA) jira-events at lists.jboss.org
Wed Feb 29 21:54:36 EST 2012


    [ https://issues.jboss.org/browse/AS7-3975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672373#comment-12672373 ] 

jaikiran pai commented on AS7-3975:
-----------------------------------

Although not in the invocation thread, but on the server side (perf21) I see lots of:

{code}
[JBossINF] 21:49:53,341 ERROR [org.infinispan.loaders.AbstractCacheStore] (Scheduled-eviction-thread-1) ISPN000045: Problems encountered while purging expired: org.infinispan.loaders.CacheLoaderException: Root not directory or IO error occurred
[JBossINF] 	at org.infinispan.loaders.file.FileCacheStore.purgeInternal(FileCacheStore.java:205) [infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
[JBossINF] 	at org.infinispan.loaders.AbstractCacheStore$2.run(AbstractCacheStore.java:106) [infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
[JBossINF] 	at org.infinispan.util.concurrent.WithinThreadExecutor.execute(WithinThreadExecutor.java:41) [infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
[JBossINF] 	at org.infinispan.loaders.AbstractCacheStore.purgeExpired(AbstractCacheStore.java:103) [infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
[JBossINF] 	at org.infinispan.eviction.EvictionManagerImpl.processEviction(EvictionManagerImpl.java:118) [infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
[JBossINF] 	at org.infinispan.eviction.EvictionManagerImpl$ScheduledTask.run(EvictionManagerImpl.java:144) [infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
[JBossINF] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [rt.jar:1.6.0_30]
[JBossINF] 	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [rt.jar:1.6.0_30]
[JBossINF] 	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [rt.jar:1.6.0_30]
[JBossINF] 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [rt.jar:1.6.0_30]
[JBossINF] 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) [rt.jar:1.6.0_30]
[JBossINF] 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) [rt.jar:1.6.0_30]
[JBossINF] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_30]
[JBossINF] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_30]
[JBossINF] 	at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]
{code}

By the way, when was the client thread dump taken? When the run was in progress or when the run had completed? Just trying to understand if it's really a hang or a genuine wait.


                
> EJB client invocations sometimes hang indefinitely
> --------------------------------------------------
>
>                 Key: AS7-3975
>                 URL: https://issues.jboss.org/browse/AS7-3975
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Clustering, EJB
>    Affects Versions: 7.1.0.Final
>            Reporter: Radoslav Husar
>            Assignee: jaikiran pai
>            Priority: Critical
>             Fix For: 7.1.1.Final
>
>         Attachments: client1.log, client2.log, server1.log, server2.log
>
>
> When running a EJB stress test when the test is over some clients hang indefinitely.
> This is a positive test, there are no failures being injected in the test.
> {noformat}
> "Runner - 16" daemon prio=10 tid=0x00007fb7a0025000 nid=0x4d7a in Object.wait() [0x00007fb78b3f2000]
>    java.lang.Thread.State: WAITING (on object monitor)
>         at java.lang.Object.wait(Native Method)
>         at java.lang.Object.wait(Object.java:485)
>         at org.jboss.ejb.client.EJBClientInvocationContext.awaitResponse(EJBClientInvocationContext.java:330)
>         - locked <0x00000006c013ae50> (a java.lang.Object)
>         at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:140)
>         at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121)
>         at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104)
>         at $Proxy0.getSerialAndIncrement(Unknown Source)
>         at org.jboss.smartfrog.clustering.ejb3.StatefulSBProcessorFactoryImpl$EJB3RequestProcessor.processRequest(StatefulSBProcessorFactoryImpl.java:68)
>         at org.jboss.smartfrog.loaddriver.CompoundRequestProcessorFactoryImpl$CompoundRequestProcessor.processRequest(CompoundRequestProcessorFactoryImpl.java:51)
>         at org.jboss.smartfrog.loaddriver.Runner.run(Runner.java:87)
>         at java.lang.Thread.run(Thread.java:662)
> {noformat}
> I originally filed a feature request to implement a timeout AS7-3811, needless to say this needs to get fixed first.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list