Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-830

failure to shutdown JVM when join called on AsyncAppender thread

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.2
    • 2.1
    • Appenders
    • None
    • Windows 7
      Java 8 update 20 64 & 32 bit

    Description

      I've configured my maven project to run my small java program as part of the build process like so:

      ...
        <build>
          <defaultGoal>clean install</defaultGoal>
          <plugins>
            <plugin>
              <artifactId>maven-compiler-plugin</artifactId>
              <version>2.3.2</version>
              <configuration>
                <source>1.8</source>
                <target>1.8</target>
              </configuration>
            </plugin>
            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>exec-maven-plugin</artifactId>
              <version>1.3.2</version>
              <executions>
                <execution>
                  <phase>install</phase>
                  <goals>
                    <goal>java</goal>
                  </goals>
                </execution>
              </executions>
      ...
      

      After adding log4j 2.0.2 maven started experiencing issues completing the build process. Luckily it has a timeout, so the only effect is a slow down of the build process, while everything else still works.
      Also the program itself, when run outside maven, finishes without issues.

      Attachments

        1. output.txt
          10 kB
          Adam Honen

        Activity

          People

            rpopma Remko Popma
            adamhonen Adam Honen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: