[ 
https://issues.apache.org/jira/browse/DAEMON-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konstantin Kolinko updated DAEMON-187:
--------------------------------------

    Description: 
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.

  was:
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
  - ant installer
)
2. Install it.
3. If Tomcat Monitor is not running, go to the programs menu and call "Monitor 
Tomcat" shortcut there
3. 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.


> (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.

Reply via email to