Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8067748

(process) Child is terminated when parent's console is closed [win]

    XMLWordPrintable

Details

    • b48
    • x86_64
    • windows_7

    Backports

      Description

        FULL PRODUCT VERSION :
        java version "1.7.0_60"
        Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
        Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)

        ADDITIONAL OS VERSION INFORMATION :
        Windows 7 Ultimate 64 Bit
        Windows Server 2008 64 Bit
        Windows XP 32 Bit

        EXTRA RELEVANT SYSTEM CONFIGURATION :
        GlassFish Server Open Source Edition 3.1.2.2 (build 5)
        GlassFish Server Open Source Edition 4.0 (build 89)

        A DESCRIPTION OF THE PROBLEM :
        A glassfish process, that is started in a command line window with the command asadmin start-domain, quits silently, if the command line window is closed.

        Problem appears with JDK 1.7.0_u60 only on windows systems, under linux this is working fine.

        That was working with every pior Java Release.


        REGRESSION. Last worked in version 7u55

        ADDITIONAL REGRESSION INFORMATION:
        java version "1.7.0_55"
        Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
        Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        1) Install JDK 1.7.0_u60
        2) unzip glassfish.3.1.2.2.zip or glassfish-4.0-b89.zip
        3) Open command line window
        4) Change to glassfish\bin directory
        5) Start glassfish with command 'asadmin start-domain'
        6) (optional) Try to close command line window with 'exit' (-> command will hang)
        7) Close command line window with click on X

        The glassfish java process will dissappear in task manager

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        Command exit closes the command line window and the glassfish java process ist still running
        ACTUAL -
        The glassfish java process quits silently and dissappears in the task manager

        ERROR MESSAGES/STACK TRACES THAT OCCUR :
        no error message, no hs_err_pid

        REPRODUCIBILITY :
        This bug can be reproduced always.

        CUSTOMER SUBMITTED WORKAROUND :
        no workaround found

        Attachments

          Issue Links

            Activity

              People

                igerasim Ivan Gerasimov
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: