Top "Shutdown" questions

This refers to the process where the system state is systematically (and preferably gracefully) changed to the fully inactive state.

How to get shutdown hook to execute on a process launched from Eclipse

I have a shutdown hook in my application (created using Runtime.getRuntime().addShutdownHook). However if I launch the application from …

java eclipse shutdown
Best Way to Gracefully Shutdown a Java Command Line Program

I'm interested in different approaches to gracefully shutting down a Java command line program. Sending a kill signal is not …

java command-line shutdown
recv() returns 0

I have a very annoying problem that I found several times on other forums but I can't find a proper …

sockets shutdown zero recv closesocket
App shutdown with EXC_RESOURCE, WAKEUPS exception on iOS 8 GM

Does anyone know what this kind of exception is on iOS 8? === from crash report === Exception Type: EXC_RESOURCE Exception Subtype: …

ios crash report ios8 shutdown
Close a WP7 application programmatically?

Possible Duplicate: Windows Phone 7 close application How do I programmatically close a WP7 application?

windows-phone-7 exit shutdown
In a spring bean is it possible to have a shutdown method which can use transactions?

In the destroy method of a spring bean I want to execute some queries to clean up some stuff in …

spring shutdown
Shutdown Windows with Java

Is it possible to shutdown Windows programmatically with Java? Cheers

java windows shutdown
Disable Ctrl-Alt-Del and shutdown for kiosk

I finished an app for a client. After talking for a bit he would like me to do an additional …

windows-7 shutdown kiosk
How do I shutdown JBoss Wildfly when I can't access the CLI tool?

I"m using Wildfly 10.0.0.CR2 with Java 8. I have Wildfly listening for http connections on port 8080 and in the past …

jboss wildfly shutdown
How to ask for batch file user input with a timeout

So I am trying to add a timer to one of my if statements under a set command but I'm …

if-statement batch-file timer shutdown restart