[
https://issues.apache.org/jira/browse/DAEMON-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14127049#comment-14127049
]
Sebb commented on DAEMON-322:
-----------------------------
It looks like Tomcat Manager uses Java properties to report the OS version
information.
However DAEMON appears to use GetVersion[Ex]
These are now deprecated; there does not appear to be an official way to get
the actual OS version going forward from 8.1
[It looks like the intention is to stop applications from using the OS version
for feature detection. This breaks version display.]
I assume that Java has code that is able to set the system property correctly.
Is this documented anywhere?
> 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)