Bug 54609 - Running service install on 7.0.37 on Windows 2008 adds unexpected characters to service executable path
Running service install on 7.0.37 on Windows 2008 adds unexpected characters ...
Product: Tomcat 7
Classification: Unclassified
Component: Packaging
PC All
: P2 major (vote)
: ---
Assigned To: Tomcat Developers Mailing List
Depends on:
  Show dependency tree
Reported: 2013-02-25 21:08 UTC by Clark
Modified: 2014-02-17 13:43 UTC (History)
1 user (show)

Comparing 7.0.35 to 7.0.37 (354.31 KB, image/jpeg)
2013-02-25 21:08 UTC, Clark

Note You need to log in before you can comment on or make changes to this bug.
Description Clark 2013-02-25 21:08:01 UTC
Created attachment 29991 [details]
Comparing 7.0.35 to 7.0.37

Please see the attached screenshot for a comparison of service install between versions 7.0.35 and 7.0.37.

Performed the following steps:
1. Downloaded tomcat 7.0.35 and tomcat 7.0.37 onto a Windows Server 2008 VM.
2. Extracted to different directories
3. In two different command prompt windows, ran "tomcat7.exe //IS//tomcat.<version>.test"
4. Opened service properties and checked executable path.

Tomcat 7.0.35 path:
"C:\Tomcat Test\apache-tomcat-7.0.35-windows-x64\apache-tomcat-7.0.35\bin\tomcat7.exe" //RS//tomcat7.0.35.test

Tomcat 7.0.37 path:
"C:\Tomcat Test\apache-tomcat-7.0.37-windows-x64\apache-tomcat-7.0.37\bin\tomcat7.exe" 02-25.lot//RS//tomcat7.0.37.test

Please notice the "02-25.lot" in the 7.0.37 path, also visible in the screenshot.
Comment 1 Mark Thomas 2013-03-06 17:05:51 UTC
This looks like an issue in Commons Daemon.

Tomcat 7.0.37 was the first version to use 1.0.13.

I'll leave this issue open until there is a Daemon release with a fix.
Comment 2 Mark Thomas 2013-03-06 17:06:11 UTC
See https://issues.apache.org/jira/browse/DAEMON-284
Comment 3 Mark Thomas 2013-03-19 09:02:38 UTC
This has been fixed by an update to Commons Daemon 1.1.14. This has been applied to trunk and 7.0.x and will be included in 7.0.39 onwards.