You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Andreas Kuhtz (JIRA)" <ji...@apache.org> on 2015/05/25 09:41:17 UTC

[jira] [Created] (KARAF-3743) Build fails under Win7

Andreas Kuhtz created KARAF-3743:
------------------------------------

             Summary: Build fails under Win7
                 Key: KARAF-3743
                 URL: https://issues.apache.org/jira/browse/KARAF-3743
             Project: Karaf
          Issue Type: Bug
          Components: decanter
         Environment: java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)
Java version: 1.7.0_25, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_25\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
            Reporter: Andreas Kuhtz
            Priority: Minor


The decanter build fails under Win7 because the the jmx bean name {{"java.lang:type=OperatingSystem"}} only returns 15 entries in the map instead of the asserted 17 or more.

{code}
{FreePhysicalMemorySize=4748345344, FreeSwapSpaceSize=11558137856, AvailableProcessors=2, ProcessCpuLoad=-1.0, TotalSwap
SpaceSize=17109192704, type=jmx, ProcessCpuTime=904805800, Arch=amd64, Name=Windows 7, SystemLoadAverage=-1.0, TotalPhys
icalMemorySize=8555536384, CommittedVirtualMemorySize=268853248, ObjectName=java.lang:type=OperatingSystem, Version=6.1,
 SystemCpuLoad=1.0}
{code}

See https://github.com/apache/karaf-decanter/pull/6



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)