You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mladen Turk (JIRA)" <ji...@apache.org> on 2011/01/05 10:21:46 UTC

[jira] Resolved: (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:all-tabpanel ]

Mladen Turk resolved DAEMON-187.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.5

Committed a fix that will display already running manager instead showing error message box.
Also fixed the error message to not display '(0)' string. 

> (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
>             Fix For: 1.0.5
>
>         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.