commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trev (JIRA)" <>
Subject [jira] Created: (DAEMON-122) Procrun prevents proper JVM shutdown
Date Fri, 06 Feb 2009 00:33:59 GMT
Procrun prevents proper JVM shutdown

                 Key: DAEMON-122
             Project: Commons Daemon
          Issue Type: Bug
    Affects Versions: 1.0.1
         Environment: JRE 1.6.0_11, MS Windows XP
            Reporter: Trev

When my program is stopped by procrun, its log files (created by java.util.logging.FileHandler)
are never properly closed.  I tried using Runtime.addShutdownHook, but the hook never had
a chance to run.  It's as if procrun were using Runtime.halt, rather than System.exit, to
terminate the JVM.  I could invoke System.exit myself, to do a proper shutdown, but... then
I would run into [DAEMON-103|].

I'm using Procrun version (which is included as tomcat6.exe, in tomcat 6.0.18) with
StartMode and StopMode both set to jvm.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message