Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-520

Drool Workbench possible memory leak in Tomcat corrupting future sessions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 6.1.0.CR1
    • None
    • Hide

      1. Start workbench. Some feature of our table may also be necessary to catalyze the issue, but we're not certain.
      2. Shutdown workbench.

      After this, further instances of the workbench will have the errors mentioned above.

      Show
      1. Start workbench. Some feature of our table may also be necessary to catalyze the issue, but we're not certain. 2. Shutdown workbench. After this, further instances of the workbench will have the errors mentioned above.

    Description

      We noticed this issue because we are converting a large existing spreadsheet into a Guided Decision Table, which we push directly to the workbench's repository by accessing it in the \bin\.niogit directory in the Tomcat folder. We have been continually starting and stopping Tomcat 7 on a laptop and accessing it in the browser by using localhost.

      The first time we started Workbench and did this, the table loaded just fine and everything worked. On subsequent startups, we would get this error in Workbench: http://i4.minus.com/ibnfmFrIsmzdWZ.PNG, and this error in the Tomcat window: http://i5.minus.com/iZE2caRBg44eA.PNG

      When running Tomcat's shutdown script, we get these errors: http://i7.minus.com/ikJ2oTbFcJlyI.PNG and it hangs at this point rather than eventually closing.

      We investigated with JConsole. This is just after running shutdown: http://i3.minus.com/ihxb21FORhPjh.PNG, this is after letting it sit for about 15 minutes: http://i1.minus.com/ibelS7GCS7U7ra.PNG, this is after trying the garbage collection button twice in the Memory tab of JConsole: http://i1.minus.com/iPeseFsRYTWKx.PNG, and this is the list of threads that were still running at the end: http://i2.minus.com/iiVPSNZjHftze.PNG

      We have tried completely reinstalling Tomcat and Workbench to fix this problem but it doesn't have any effect. Even after completely replacing the files for both, the newly started instances are still corrupted.

      Attachments

        Activity

          People

            mproctor@redhat.com Mark Proctor
            zwebb Zack Webb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: