Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-1092

Shutdown log and CLI result are mixed up on stdout when stopping EAP as a windows service

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • httpd 2.4.51.SP2 GA
    • jsvc 1.0.15.2
    • jsvc
    • None
    • False
    • False
    • Undefined
    • Hide
      • Ignore the log record.
      • Or Remove CONSOLE handler from root logger.
                    <root-logger>
                        <level name="INFO"/>
                        <handlers>
                            <handler name="CONSOLE"/> <!-- remove this line -->
                            <handler name="FILE"/>
                        </handlers>
                    </root-logger>
        
      Show
      Ignore the log record. Or Remove CONSOLE handler from root logger. <root-logger> <level name= "INFO" /> <handlers> <handler name= "CONSOLE" /> <!-- remove this line --> <handler name= "FILE" /> </handlers> </root-logger>
    • Hide

      1. Install EAP as a windows service according to the following installation steps.

      4.3. Configuring JBoss EAP as a Service in Microsoft Windows Server
      https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.3/html/installation_guide/configuring_jboss_eap_to_run_as_a_service#configuring_jboss_eap_as_a_service_in_microsoft_windows_server

      2. Start the EAP service.

      net start <SERVICE_NAME>

      3. Stop the service. Then you can see the log record in stdout log file.

      net stop <SERVICE_NAME>
      Show
      1. Install EAP as a windows service according to the following installation steps. 4.3. Configuring JBoss EAP as a Service in Microsoft Windows Server https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.3/html/installation_guide/configuring_jboss_eap_to_run_as_a_service#configuring_jboss_eap_as_a_service_in_microsoft_windows_server 2. Start the EAP service. net start <SERVICE_NAME> 3. Stop the service. Then you can see the log record in stdout log file. net stop <SERVICE_NAME>

      When stopping EAP as a windows service, like the following log is recorded.
      This issue can be reproduced with Jsvc 1.1.0 / EAP 7.3.x.

      0{3
      : 5 0 : 3"7o,u7t4c6o mIeN"F O= >  ["osrugc.cjebsoss"s,.
      a s . s e"rrveesru]l t("m a=n>a guenmdeenfti-nheadn
      d}
      l
      er-thread - 1) WFLYSRV0272: Suspending server
      

      This is a log mixed up a CLI result executed for shutting down from jsvc and EAP log.

      • EAP
        03:50:37,746 INFO  [org.jboss.as.server] (Thread-2) WFLYSRV0272: Suspending server
        
      • CLI
        {
            "outcome" =>  "success",
            "result " => undefined
        }
        

            rhn-engineering-mturk Mladen Turk
            rhn-support-hdaicho Hiroki Daicho (Inactive)
            Santiago Gala Santiago Gala
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: