Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7321

JcrConsumer freezes in some environments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.13.0
    • 2.13.1, 2.14.0
    • camel-jcr
    • None
    • Unknown

    Description

      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:

      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>
      [...]
      

      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.

      Attachments

        1. hang.txt
          33 kB
          Claus Ibsen

        Activity

          People

            gzurowski Gregor Zurowski
            gzurowski Gregor Zurowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: