A graceful termination of the application, either in response to some input or by internal logic. Usually applied for applications that need to run certain code in order to terminate in consistent way.
Questions tagged [application-shutdown]
170 questions
0
votes
1 answer
Is it possible to collect information about a running .jar file when it exits?
is it possible to gather information on all the existing variables within a running .jar file when it exits? I'm running an application on the linux command line of various servers and I try to debug an issue when the jar just stops working on 10%…

Dennis Winter
- 2,027
- 4
- 32
- 45
-1
votes
1 answer
How does JVM signal a long running thread to "stop"
I learnt that JVM does not call the thread.interrupt() method to stop the thread from https://stackoverflow.com/a/28731735/3034458
Then how does it really work here? How does JVM shutdown/stop the thread?

Lubor
- 989
- 3
- 10
- 33
-1
votes
1 answer
How to shutdown a mac or linux with Java?
I will develop a small App with Java / JavaFX to shutdown my mac with one click.
Here is my setonaction, windows ist working but not linux or mac os.
Maybe someone have a idea. Thanks
button1.setOnAction(new EventHandler() {
…

code
- 33
- 5
-1
votes
1 answer
How to let JavaScript function continue even after server shuts down?
I am writing a Grails application to Restart the application server.
On clicking the link, I call a javascript function which would reload & redirect after 15 secs. And in the controller-action of the link I call a unix script in which I do tomcat…

Anushree
- 1
-2
votes
1 answer
JVM hung on exit with all threads in BLOCKED state
My application closes out just fine but the JVM never exits. I notice all threads show up as STATE = BLOCKED. ActiveMQ failover protocol potentially blocking indefinitely, but the thread dump does not seem to indicate that at all. The one other…

cwash
- 4,185
- 5
- 43
- 53