[
https://issues.apache.org/jira/browse/DAEMON-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128706#comment-14128706
]
Sebb commented on DAEMON-322:
-----------------------------
Thanks very much.
Seems a very fragile way of obtaining such basic information about the OS.
Looks like every binary that uses GetVersion will have to be updated for every
new release.
So much for upwards compatibility.
Unless DAEMON actually needs to display the version, it could just use the
feature support API instead.
And/or maybe it can use the Java binary implementation somehow.
> Missing Windows 2012 R2 support
> -------------------------------
>
> Key: DAEMON-322
> URL: https://issues.apache.org/jira/browse/DAEMON-322
> Project: Commons Daemon
> Issue Type: Bug
> Components: Procrun
> Affects Versions: 1.0.15
> Environment: Windows 2012 R2
> Tomcat 7.0.55
> Java 7u67
> Reporter: Bernd Ernesti
>
> Tomcat uses Procrun to install a Windows service.
> I opened a bug at the tomcat tracker
> (https://issues.apache.org/bugzilla/show_bug.cgi?id=56929) and was pointed
> out to open it here. Windows 8.1 is probably also affected too.
> Here is the Tomcat bug:
> The server information while running as a Windows service on 2012 R2 is wrong.
> The system is identified as:
> OS Name: Windows Server 2012
> OS Version: 6.2
> It is correct when starting tomcat with startup.bat:
> OS Name: Windows Server 2012 R2
> OS Version: 6.3
> How to reproduce:
> 1. Install the Windows service from apache-tomcat-7.0.55\bin
> service.bat install Test
> 2. Activate the configuration for the /manager/ access in
> conf\tomcat-users.xml
> 3. Start the service
> 4. Navigate to the /manager/status page
> 5. The "Server Information" contains the wrong OS Version
> 6. Stop the Windows service
> 7. Start the tomcat with the startup.bat script
> 8. Check the /manager/status page again which now contains the correct version
> The issue could be related due too the service binary which needs to be
> recompiled for:
> http://msdn.microsoft.com/en-us/library/windows/desktop/ms724832%28v=vs.85%29.aspx
> and the link inside it for:
> http://msdn.microsoft.com/en-us/library/windows/desktop/dn481241%28v=vs.85%29.aspx
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)