You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Babak Vahdat (JIRA)" <ji...@apache.org> on 2014/11/07 11:07:34 UTC

[jira] [Commented] (CAMEL-8004) camel-quartz2 - A test may hang

    [ https://issues.apache.org/jira/browse/CAMEL-8004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14201870#comment-14201870 ] 

Babak Vahdat commented on CAMEL-8004:
-------------------------------------

This happens as we try to stop the Camel contexts inside the {{cleanUp()}} method. The Java main thread owns a lock which the quartz worker-thread is trying to own, so that shutting down the quartz thread-pool simply *hangs*:

{code}
Name: DefaultQuartzScheduler-camel-1_Worker-1
State: BLOCKED on org.apache.camel.impl.DefaultCamelContext@d95f1b9 owned by: main
Total blocked: 2  Total waited: 1
{code}

See also the attached two screenshots about the stacktrace of the two threads from jconsole.


> camel-quartz2 - A test may hang
> -------------------------------
>
>                 Key: CAMEL-8004
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8004
>             Project: Camel
>          Issue Type: Test
>          Components: tests
>            Reporter: Claus Ibsen
>            Priority: Minor
>         Attachments: Screen Shot 2014-11-07 at 10.31.58.png, Screen Shot 2014-11-07 at 10.32.27.png
>
>
> This test seems to hang. I killed the job 
> Running org.apache.camel.component.quartz2.QuartzNameCollisionTest



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)