Konstantin Kolinko created DAEMON-252:
-----------------------------------------

             Summary: [procrun] Thread Dump command fails with "Unable to open 
the Event Mutex"
                 Key: DAEMON-252
                 URL: https://issues.apache.org/jira/browse/DAEMON-252
             Project: Commons Daemon
          Issue Type: Bug
          Components: Procrun
    Affects Versions: 1.0.10
         Environment: Windows 7 SP1, Windows XP SP3
            Reporter: Konstantin Kolinko
            Priority: Minor


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|http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to