This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 157997 [details] Screenshot of error notification I am using NetBeans IDE 8.1 (Build 201510222201) running on Java 1.8.025 (64-Bit) and Windows 8.1 (64-Bit). I created a standard Java web application (using NetBeans' wizard) and selected a WildFly Standalone Application Server to run my web app. The app can be deployed on WildFly but when I want to stop the server, then NetBeans always shows me "Stopping of server WildFly Application Server has timed-out". The last entry that can be seen in the WildFly log is: 21:55:44,761 INFO [org.jboss.as.protocol] (Remoting "romeo:MANAGEMENT" task-7) WFLYPRT0057: cancelled task by interrupting thread Thread[management-handler-thread - 1,5,management-handler-thread] I expected this behaviour with WildFly AS "10.0.0.CR5" & "9.0.2.Final". I tried the same on my other computer (running Windows 10) without success.
I'm able to reproduce when using the "standalone" configuration (not just default "standalone-full").
It is even stranger, can reproduce until I touch the http port. 1) start standalone 2) stop -> fail but 1) start standalone 2) browse to app url or deploy app 3) stop -> ok
Now it looks the difference is only the delay between the start and stop. When one waits a little after start is finished and invoke stop later everything works.
Now I'm not able to reproduce. Seems to be random.
Has the server boot finished when you called the stop ? Does the deployment succeeded ? There might be a race on the deployment ops during the boot (from the scanner) and the shutdown https://issues.jboss.org/browse/WFCORE-1430
Should be fixed in web-main b56a3088fd41.
Integrated into 'main-silver', will be available in build *201605190002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b56a3088fd41 User: Petr Hejl <phejl@netbeans.org> Log: #257402 - Stopping of server WildFly Application Server has timed-out