Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1364

When using the tomee-maven-plugins stop goal tomee seems to hang forever

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.0, 1.7.1, 7.0.0
    • 1.7.2, 7.0.0-M1, 7.0.0
    • TomEE Maven Plugin
    • None

    Description

      When running Tomee in a setup for UI tests (separate start and stop executions) the stop seems to hang forever.

      When looking through the code, it seems Tomee is correctly shut down (At least the ports it opened closed and the processes are killed), but the maven plugin seems to try to get a connection to the shutdown port for MAXINT times, waiting a second between each try. As far as I understood the code, there is no way not to wait for 78 years in order to gracefully shut down Tomee.

      As I already investigated the problem in detail, I'll whip up a patch and attach that to this issue later this day (Will create one for 1.7.x and one for HEAD)

      Attachments

        1. TOMEE-1364-2.0.0-SNAPSHOT.diff
          2 kB
          Christofer Dutz

        Activity

          People

            andyg Andy Gumbrecht
            cdutz Christofer Dutz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: