Uploaded image for project: 'Commons Daemon'
  1. Commons Daemon
  2. DAEMON-252

[procrun] Thread Dump command fails with "Unable to open the Event Mutex"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.10
    • 1.0.11
    • Procrun
    • None
    • Windows 7 SP1, Windows XP SP3

    Description

      The issue was reported on users<at>tomcat.a.o. I've confirmed that it is reproducible.
      The thread:
      http://tomcat.markmail.org/thread/r74penaeymdmeeic
      http://marc.info/?t=133839294900003&r=1&w=2

      To reproduce:
      1. Install Tomcat 7.0.27. It contains Commons Daemon procrun 1.0.10.0.
      I tested with 32-bit versions on Windows 7 and Windows XP.
      2. Start the service and service monitor application. The latter has to be run as administrator under Windows 7.
      3. Right-click tray icon and select "Thread Dump" from popup menu.
      4. A message box appears:
      ---------------------------
      Application System Error
      ---------------------------
      Не удается найти указанный файл.

      Unable to open the Event Mutex
      ---------------------------
      ОК
      ---------------------------

      The first line of the message comes from OS and means "The system can not find the file specified."

      Enabling debug logging does not provide any additional information. The issue is reproducible under Windows XP, so UAC is not involved.

      According to the original reporter a workaround is use the "jstack" utility that comes with JDK. Other recipes can be found in Tomcat FAQ

      Attachments

        Activity

          People

            Unassigned Unassigned
            kkolinko Konstantin Kolinko
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: