You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2014/03/25 08:44:51 UTC

[jira] [Resolved] (CAMEL-7321) JcrConsumer freezes in some environments

     [ https://issues.apache.org/jira/browse/CAMEL-7321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-7321.
--------------------------------

    Resolution: Fixed

Thanks for the PR

> JcrConsumer freezes in some environments
> ----------------------------------------
>
>                 Key: CAMEL-7321
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7321
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jcr
>    Affects Versions: 2.13.0
>            Reporter: Gregor Zurowski
>            Assignee: Gregor Zurowski
>             Fix For: 2.13.1, 2.14.0
>
>         Attachments: hang.txt
>
>
> In January [~njiang] reported that the JUnit test JcrConsumerTest fails in his environment. This could not be reproduced in other environments at that time. [~njiang] applied the following fix to the pom.xml in order make the test pass:
> {code:title=camel-jcr/pom.xml}
> [...]
>   <build>
>     <plugins>
>      <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-surefire-plugin</artifactId>
>         <configuration>
>           <forkMode>pertest</forkMode>
>         </configuration>
>      </plugin>
>     </plugins>
>   </build>
> [...]
> {code}
> This made all tests run in separate processes, but was also an indicator for potential multi-threading issues in JcrConsumer. I was recently able to reproduce the problem by running Maven within Eclipse. The problem is indeed a synchronization issue and should be addressed with this ticket.



--
This message was sent by Atlassian JIRA
(v6.2#6252)