-
Bug
-
Resolution: Fixed
-
P3
-
7u60
-
b48
-
x86_64
-
windows_7
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084435 | emb-9 | Ivan Gerasimov | P3 | Resolved | Fixed | team |
JDK-8086805 | 8u65 | Ivan Gerasimov | P3 | Resolved | Fixed | b01 |
JDK-8071454 | 8u60 | Ivan Gerasimov | P3 | Resolved | Fixed | b06 |
JDK-8138135 | emb-8u65 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8076882 | emb-8u60 | Ivan Gerasimov | P3 | Resolved | Fixed | team |
JDK-8073397 | 7u85 | Ivan Gerasimov | P3 | Resolved | Fixed | b01 |
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
- backported by
-
JDK-8071454 (process) Child is terminated when parent's console is closed [win]
- Resolved
-
JDK-8073397 (process) Child is terminated when parent's console is closed [win]
- Resolved
-
JDK-8076882 (process) Child is terminated when parent's console is closed [win]
- Resolved
-
JDK-8084435 (process) Child is terminated when parent's console is closed [win]
- Resolved
-
JDK-8086805 (process) Child is terminated when parent's console is closed [win]
- Resolved
-
JDK-8138135 (process) Child is terminated when parent's console is closed [win]
- Resolved
- duplicates
-
JDK-8080867 Runtime.exec handle inheritance changes cause Ctrl+C regression on Windows
- Closed
-
JDK-8069333 Glassfish process running on jdk8 quits after closing command line window
- Closed
- relates to
-
JDK-8023130 (process) ProcessBuilder#inheritIO does not work on Windows
- Closed