Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5667

GC logging doesn't work on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.DR4
    • 7.1.0.DR3
    • Scripts
    • None
    • Regression

      GC logging doesn't work on Windows on EAP 7.1.0.DR3.

      This is regression against EAP 7.0.0.GA.


      • GC logging can't be tested on Windows in EAP 7.1.0.DR1 because of JBEAP-5374
      • GC logging can't be tested on Windows in EAP 7.1.0.DR2 because of JBEAP-5551
      • CC: psakar

      GC logs should be in EAP_HOME/standalone/log folder:

      C:\Users\Administrator\playground\7.1.0.DR3\jboss-eap-7.1\bin>standalone.bat
      Calling "C:\Users\Administrator\playground\7.1.0.DR3\jboss-eap-7.1\bin\standalone.conf.bat"
      Setting JAVA property to "C:\jdk1.8.0_45\bin\java"
      ===============================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: "C:\Users\Administrator\playground\7.1.0.DR3\jboss-eap-7.1"
      
        JAVA: "C:\jdk1.8.0_45\bin\java"
      
        JAVA_OPTS: "-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogF
      ileSize=3M -Xloggc: -XX:-TraceClassUnloading -Dprogram.name=standalone.bat -Xms1G -Xmx1G -XX:MetaspaceSize=96M -XX:MaxMetaspaceSiz
      e=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman"
      
      ===============================================================================
      
      15:59:50,677 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.2.Final-redhat-1
      15:59:54,739 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final-redhat-1
      15:59:54,880 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: JBoss EAP 7.1.0.Alpha1 (WildFly Core 3.0.0.Alpha5-redhat-2
      ) starting
      16:00:08,427 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-bindi
      ng (management-http)
      16:00:08,567 INFO  [org.xnio] (MSC service thread 1-3) XNIO version 3.4.0.Final-redhat-1
      16:00:08,599 INFO  [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.4.0.Final-redhat-1
      16:00:08,739 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 38) WFLYCLINF0001: Activating Infinispan sub
      system.
      16:00:08,739 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 54) WFLYTX0013: Node identifier property is set to the default
       value. Please make sure it is unique.
      16:00:08,755 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 53) WFLYSEC0002: Activating Security Subsystem
      16:00:08,770 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 44) WFLYJSF0007: Activated the following JSF Implementations:
      [main]
      16:00:08,770 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 37) WFLYIO001: Worker 'default' has auto-configured to
       8 core threads with 64 task threads based on your 4 available processors
      16:00:08,991 INFO  [org.jboss.as.security] (MSC service thread 1-8) WFLYSEC0001: Current PicketBox version=4.9.7.Final-redhat-1
      16:00:08,991 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 56) WFLYWS0002: Activating WebServices Extension
      16:00:09,270 INFO  [org.jboss.as.connector] (MSC service thread 1-4) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.
      4.Final-redhat-1)
      16:00:09,505 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 46) WFLYNAM0001: Activating Naming Subsystem
      16:00:10,255 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0003: Undertow 1.4.0.Final-redhat-1 starting
      16:00:10,630 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 33) WFLYJCA0004: Deploying JDBC-c
      ompliant driver class org.h2.Driver (version 1.3)
      16:00:10,630 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0018: Started Driver service with drive
      r-name = h2
      16:00:10,942 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) WFLYUT0014: Creating file handler for path '
      C:\Users\Administrator\playground\7.1.0.DR3\jboss-eap-7.1/welcome-content' with options [directory-listing: 'false', follow-symlin
      k: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
      16:00:11,177 INFO  [org.jboss.as.naming] (MSC service thread 1-7) WFLYNAM0003: Starting Naming Service
      16:00:11,177 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-2) WFLYMAIL0001: Bound mail session [java:jboss/mail/Defaul
      t]
      16:00:11,615 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 4.0.21.Final-redhat-1
      16:00:11,630 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0012: Started server default-server.
      16:00:11,645 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0018: Host default-host starting
      16:00:11,989 INFO  [org.jboss.as.ejb3] (MSC service thread 1-8) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instan
      ce size of 16 (per class), which is derived from the number of CPUs on this host.
      16:00:11,989 INFO  [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max insta
      nce size of 64 (per class), which is derived from thread worker pool sizing.
      16:00:12,114 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0006: Undertow HTTP listener default listening
      on 127.0.0.1:8080
      16:00:12,614 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0001: Bound data source [java:j
      boss/datasources/ExampleDS]
      16:00:12,802 INFO  [org.jboss.as.patching] (MSC service thread 1-1) WFLYPAT0050: JBoss EAP cumulative patch ID is: base, one-off p
      atches include: none
      16:00:12,864 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-1) WFLYDM0111: Keystore C:\Users\Administrator\
      playground\7.1.0.DR3\jboss-eap-7.1\standalone\configuration\application.keystore not found, it will be auto generated on first use
       with a self signed certificate for host localhost
      16:00:12,911 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-8) WFLYDS0013: Started FileSystemDeploymentServi
      ce for directory C:\Users\Administrator\playground\7.1.0.DR3\jboss-eap-7.1\standalone\deployments
      16:00:13,614 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-4) ISPN000128: Infinispan version: Inf
      inispan 'Chakra' 8.2.4.Final-redhat-1
      16:00:14,145 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 63) ISPN000152:
       Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
      16:00:14,145 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 63) ISPN000152:
       Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
      16:00:14,145 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 60) ISPN000152:
       Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
      16:00:14,145 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 58) ISPN000152:
       Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
      16:00:14,161 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 60) ISPN000152:
       Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
      16:00:14,161 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 58) ISPN000152:
       Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
      16:00:14,505 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0006: Undertow HTTPS listener https listening o
      n 127.0.0.1:8443
      16:00:15,958 INFO  [org.jboss.ws.common.management] (MSC service thread 1-8) JBWS022052: Starting JBossWS 5.1.5.Final-redhat-1 (Ap
      ache CXF 3.1.6.redhat-1)
      16:00:16,145 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:99
      90/management
      16:00:16,145 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
      16:00:16,145 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: JBoss EAP 7.1.0.Alpha1 (WildFly Core 3.0.0.Alpha5-redhat-2
      ) started in 28625ms - Started 331 of 577 services (393 services are lazy, passive or on-demand)
      16:00:18,770 INFO  [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested via an OS signal
      16:00:18,770 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0010: Unbound data source [java
      :jboss/datasources/ExampleDS]
      16:00:18,802 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0008: Undertow HTTPS listener https suspending
      16:00:18,802 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0019: Host default-host stopping
      16:00:18,817 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0007: Undertow HTTPS listener https stopped, wa
      s bound to 127.0.0.1:8443
      16:00:18,817 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0019: Stopped Driver service with drive
      r-name = h2
      16:00:18,817 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0008: Undertow HTTP listener default suspending
      
      16:00:18,817 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0007: Undertow HTTP listener default stopped, w
      as bound to 127.0.0.1:8080
      16:00:18,834 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0004: Undertow 1.4.0.Final-redhat-1 stopping
      16:00:18,864 INFO  [org.jboss.as] (MSC service thread 1-3) WFLYSRV0050: JBoss EAP 7.1.0.Alpha1 (WildFly Core 3.0.0.Alpha5-redhat-2
      ) stopped in 88ms
      Terminate batch job (Y/N)? y
      
      C:\Users\Administrator\playground\7.1.0.DR3\jboss-eap-7.1\bin>cd ..\standalone\log
      
      C:\Users\Administrator\playground\7.1.0.DR3\jboss-eap-7.1\standalone\log>dir
       Volume in drive C has no label.
       Volume Serial Number is 003F-C2FF
      
       Directory of C:\Users\Administrator\playground\7.1.0.DR3\jboss-eap-7.1\standalone\log
      
      08/18/2016  10:45 AM    <DIR>          .
      08/18/2016  10:45 AM    <DIR>          ..
      08/18/2016  04:00 PM            30,092 server.log
                     1 File(s)         30,092 bytes
                     2 Dir(s)   3,967,713,280 bytes free
      
      C:\Users\Administrator\playground\7.1.0.DR3\jboss-eap-7.1\standalone\log>
      

            tomazcerar Tomaž Cerar (Inactive)
            mkopecky@redhat.com Marek Kopecky
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: