]
Brian Stansberry resolved WFLY-4270.
------------------------------------
Assignee: Brian Stansberry (was: Jason Greene)
Resolution: Migrated to another ITS
IllegalStateException: Shutdown in progress
-------------------------------------------
Key: WFLY-4270
URL:
https://issues.jboss.org/browse/WFLY-4270
Project: WildFly
Issue Type: Bug
Affects Versions: 8.2.0.Final
Reporter:
bene.net
Assignee: Brian Stansberry
Priority: Major
When starting Wildfly on Windows (JDK 1.7) and triggering a shutdown by pressing CTRL+C,
I get the following exception.
I think the exception only occurs if there was no service request between startup and
shutdown.
{noformat}
ERROR; 2015-01-20 13:29:56,601; [AWT-Windows ]; Exception in
thread "AWT-Windows" java.lang.IllegalStateException: Shutdown in progress
; [org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)]; ;
ERROR; 2015-01-20 13:29:56,603; [AWT-Windows ]; at
java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
; [org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)]; ;
ERROR; 2015-01-20 13:29:56,604; [AWT-Windows ]; at
java.lang.Runtime.addShutdownHook(Runtime.java:211)
; [org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)]; ;
ERROR; 2015-01-20 13:29:56,605; [AWT-Windows ]; at
sun.awt.windows.WToolkit$3.run(WToolkit.java:281)
; [org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)]; ;
ERROR; 2015-01-20 13:29:56,606; [AWT-Windows ]; at
java.security.AccessController.doPrivileged(Native Method)
; [org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)]; ;
ERROR; 2015-01-20 13:29:56,607; [AWT-Windows ]; at
sun.awt.windows.WToolkit.registerShutdownHook(WToolkit.java:273)
; [org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)]; ;
ERROR; 2015-01-20 13:29:56,609; [AWT-Windows ]; at
sun.awt.windows.WToolkit.run(WToolkit.java:299)
; [org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)]; ;
ERROR; 2015-01-20 13:29:56,610; [AWT-Windows ]; at
java.lang.Thread.run(Thread.java:745)
; [org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)]; ;
{noformat}