Linked Questions

1 vote
0 answers
41 views

I have a simple Spring MVC project I created and I package it as a war file. I tried running it on CMD using command "javaw -jar filename.war" it run successfully and i can access the URL ...
Fancy's user avatar
  • 155
460 votes
9 answers
573k views

I have a problem with the nohup command. When I run my job, I have a lot of data. The output nohup.out becomes too large and my process slows down. How can I run this command without getting nohup....
Ofer's user avatar
  • 5,289
170 votes
5 answers
180k views

How can I programmatically shutdown a Spring Boot application without terminating the VM? In other works, what is the opposite of new SpringApplication(Main.class).run(args);
Axel Fontaine's user avatar
55 votes
22 answers
106k views

I can successfully start spring-boot with mvn spring-boot, the documentation mentions to gracefully exit the application hit ctrl-c. Terminate batch job (Y/N)? Y The maven process does terminate but ...
szxnyc's user avatar
  • 2,605
26 votes
5 answers
9k views

I'm complete able to configure spring boot in both cases, the question here is which of them are more robust and is the more recommended, because I didn't find in the spring boot documentation the ...
Alejandro Agapito Bautista's user avatar
8 votes
1 answer
12k views

I can run a Spring Boot application with a following Maven command: mvn spring-boot:run but I don't know how to do a graceful shutdown of application which was started in a such way. Please advise.
alexanoid's user avatar
  • 26.1k
4 votes
1 answer
4k views

This is a followup question to How to shutdown a Spring Boot Application in a correct way? Suppose we have a server that has 3 clients currently connected and each client is running a long job. We ...
Ole's user avatar
  • 48.2k
3 votes
4 answers
4k views

I'm trying to use the Spring endpoints to gracefully shut down my application but I'm getting an error: 2016-08-09 13:46:54.606 WARN 13315 --- [nio-8090-exec-6] .w.s.m.s....
px06's user avatar
  • 2,366
3 votes
1 answer
10k views

I need to gracefully start and shutdown the spring boot application using a script . Is there any other way to do it except using an actuator module in the application. Currently i have to stop the ...
Anu Raman's user avatar
3 votes
1 answer
6k views

I am running my Spring boot web application inside the docker container and every time we safely stop the container, it abruptly shut down the running spring-boot service(Default behavior). My ...
Prasanth Rajendran's user avatar
2 votes
3 answers
6k views

I have a spring boot application which I run using an executable jar file. Currently to stop the service we are just killing the process. I saw that we can use the following methods to shutdown the ...
SanjaySSN's user avatar
  • 259
5 votes
1 answer
3k views

I have a problem with a spring boot application that closes the EntityManager/session on shutdown before @Async tasks (that use the EntityManager) are finished. There are 2 classes relevant for this ...
Christoph Giesche's user avatar
2 votes
1 answer
2k views

I'm working on a simple webapplication with Spring Boot. I use JPA with embedded (local) H2 database. When I start the project, Hibernate makes all the tables and connection automatically. It works ...
tibotka's user avatar
  • 214
4 votes
1 answer
2k views

Looking for way how to configure shutdown port in Spring boot app.
Ryanqy's user avatar
  • 9,696
2 votes
1 answer
2k views

I am running a spring-boot application and everything is good except when i try to close it. I got error on the below code while (true) { try { if(level2List == null) ...
Shahbour's user avatar
  • 1,323

15 30 50 per page