You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mark Thomas (JIRA)" <ji...@apache.org> on 2016/11/04 14:55:01 UTC

[jira] [Commented] (DAEMON-332) pid file not readable on Windows 7/8/2008

    [ https://issues.apache.org/jira/browse/DAEMON-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15636568#comment-15636568 ] 

Mark Thomas commented on DAEMON-332:
------------------------------------

This is as as result of the fix for DAEMON-188, specifically the use of FILE_FLAG_DELETE_ON_CLOSE. We need to remove that flag and return to explicitly deleting the file while retaining the change and fails the start if an existing PID file cannot be deleted.

> pid file not readable on Windows 7/8/2008
> -----------------------------------------
>
>                 Key: DAEMON-332
>                 URL: https://issues.apache.org/jira/browse/DAEMON-332
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.15
>         Environment: Windows 7/8/2008
>            Reporter: Hugh Nguyen
>
> The pid file created by --PidFile option is exclusively locked and thus not readable by any other processes, making it useless as an informational file.
> http://user.commons.apache.narkive.com/XJOu6zaP/daemon-unable-to-read-tomcat-pid-file-created-by-tomcat-process



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)