You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2011/01/04 20:07:47 UTC

[jira] Commented: (DAEMON-187) (0) An instance of '..' application is already running

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

Sebb commented on DAEMON-187:
-----------------------------

This appears to be a bug in apxDisplayError() - if the file and line-number is not supplied, it ought not to print either.

I suspect line 401:         f = "";
is the cause, as it is not false.


> (0) An instance of '..' application is already running
> ------------------------------------------------------
>
>                 Key: DAEMON-187
>                 URL: https://issues.apache.org/jira/browse/DAEMON-187
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.4
>         Environment: WinXP 32-bit, Oracle JRE 6u22 32-bit, Tomcat 7.0.5-dev
>            Reporter: Konstantin Kolinko
>            Priority: Minor
>         Attachments: screenshot-1.jpg
>
>
> To reproduce:
> 1. Build Tomcat7 Windows installer from the current trunk, as of rev.1035132 (7.0.5-dev)
> It includes common-daemon 1.0.4.
>   -   svn co https://svn.apache.org/repos/asf/tomcat/trunk
>   -   Create build.properties file and set "base.path" property there
>   -   Call "ant installer"
> 2. Install it.
> 3. If Tomcat Monitor is not running, go to the programs menu and call "Monitor Tomcat" shortcut there.
> 4. Now every attempt to call "Monitor Tomcat" or "Configure Tomcat" shortcuts results in an ugly message box:
> " (0)
> An instance of 'Tomcat7' application is already running"
> Note the "(0)" in the first line.
> Expected result: Display the window of that running application, or provide more pretty error message.
> Additional information:
> - The "Monitor Tomcat" shortcut calls
> "C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin\tomcat7w.exe" //MS//Tomcat7
> - The "Configure Tomcat" shortcut calls
> "C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin\tomcat7w.exe" //ES//Tomcat7
> - The service was configured to use a PidFile. I do not know whether that is relevant.

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