How to Check why JVM is not able to terminateWhat is reflection and why is it useful?What is a serialVersionUID and why should I use it?How do I read / convert an InputStream into a String in Java?Why is subtracting these two times (in 1927) giving a strange result?Why don't Java's +=, -=, *=, /= compound assignment operators require casting?Why is char[] preferred over String for passwords?How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor versionWhy is processing a sorted array faster than processing an unsorted array?What are the -Xms and -Xmx parameters when starting JVM?Why is printing “B” dramatically slower than printing “#”?

antonym of "billable"

Why did MS-DOS applications built using Turbo Pascal fail to start with a division by zero error on faster systems?

Start from ones

Prove your innocence

Is using a hyperlink to close a modal a poor design decision?

Is it safe to remove the bottom chords of a series of garage roof trusses?

Efficiently pathfinding many flocking enemies around obstacles

Is there any practical application for performing a double Fourier transform? ...or an inverse Fourier transform on a time-domain input?

Why is my Earth simulation slower than the reality?

How would one country purchase another?

how do you harvest carrots in creative mode

See details of old sessions

What is the difference between true neutral and unaligned?

for loop not working in bash

Why is Boris Johnson visiting only Paris & Berlin if every member of the EU needs to agree on a withdrawal deal?

Did the British navy fail to take into account the ballistics correction due to Coriolis force during WW1 Falkland Islands battle?

How to find multiple values on the same line in any permutation using Notepad++?

Was there ever a treaty between 2 entities with significantly different translations to the detriment of one party?

What is the best option for High availability on a data warehouse?

Avoiding racist tropes in fantasy

What is this symbol: semicircles facing eachother

Fried gnocchi with spinach, bacon, cream sauce in a single pan

Does travel insurance for short flight delays exist?

Why isn't "I've" a proper response?



How to Check why JVM is not able to terminate


What is reflection and why is it useful?What is a serialVersionUID and why should I use it?How do I read / convert an InputStream into a String in Java?Why is subtracting these two times (in 1927) giving a strange result?Why don't Java's +=, -=, *=, /= compound assignment operators require casting?Why is char[] preferred over String for passwords?How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor versionWhy is processing a sorted array faster than processing an unsorted array?What are the -Xms and -Xmx parameters when starting JVM?Why is printing “B” dramatically slower than printing “#”?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I have a program which has reached the end of the spring boot run method but it still won't terminate. Here's a list of threads running when seen in Eclipse Debug:



enter image description here



Here's what I can see after pausing the Threads:



enter image description here



Here's the Thread dump



enter image description here



My program reads from a message stream which is shutdown properly and also uses H2 db which I believe shutsdown when program terminates normally. I am not able to understand what is preventing JVM to shutdown and how to go ahead in tackling this situation be seeing the list of threads running.










share|improve this question


























  • Looks like "Catalina-utility-1" and "container-0" are busy doing stuff. Can you pause those threads and see what's going on? They're possibly keeping your VM alive; the DestroyJavaVM thread will be able to forcefully kill the daemon threads without regret.

    – Not a JD
    Mar 27 at 17:01











  • @NotaJD updated question

    – KCK
    Mar 27 at 17:06












  • Womp I mis-spoke. Looks like DestroyJavaVM takes care of joining to all the non-daemon threads and the VM itself takes care of the daemons. That aside: are you doing anything funky with the container configuration or DispatcherServlet configuration?

    – Not a JD
    Mar 27 at 17:24











  • I haven't touched container configuration or Dispatcher servlet configuration. will be interested in checking though.

    – KCK
    Mar 28 at 5:43

















1















I have a program which has reached the end of the spring boot run method but it still won't terminate. Here's a list of threads running when seen in Eclipse Debug:



enter image description here



Here's what I can see after pausing the Threads:



enter image description here



Here's the Thread dump



enter image description here



My program reads from a message stream which is shutdown properly and also uses H2 db which I believe shutsdown when program terminates normally. I am not able to understand what is preventing JVM to shutdown and how to go ahead in tackling this situation be seeing the list of threads running.










share|improve this question


























  • Looks like "Catalina-utility-1" and "container-0" are busy doing stuff. Can you pause those threads and see what's going on? They're possibly keeping your VM alive; the DestroyJavaVM thread will be able to forcefully kill the daemon threads without regret.

    – Not a JD
    Mar 27 at 17:01











  • @NotaJD updated question

    – KCK
    Mar 27 at 17:06












  • Womp I mis-spoke. Looks like DestroyJavaVM takes care of joining to all the non-daemon threads and the VM itself takes care of the daemons. That aside: are you doing anything funky with the container configuration or DispatcherServlet configuration?

    – Not a JD
    Mar 27 at 17:24











  • I haven't touched container configuration or Dispatcher servlet configuration. will be interested in checking though.

    – KCK
    Mar 28 at 5:43













1












1








1








I have a program which has reached the end of the spring boot run method but it still won't terminate. Here's a list of threads running when seen in Eclipse Debug:



enter image description here



Here's what I can see after pausing the Threads:



enter image description here



Here's the Thread dump



enter image description here



My program reads from a message stream which is shutdown properly and also uses H2 db which I believe shutsdown when program terminates normally. I am not able to understand what is preventing JVM to shutdown and how to go ahead in tackling this situation be seeing the list of threads running.










share|improve this question
















I have a program which has reached the end of the spring boot run method but it still won't terminate. Here's a list of threads running when seen in Eclipse Debug:



enter image description here



Here's what I can see after pausing the Threads:



enter image description here



Here's the Thread dump



enter image description here



My program reads from a message stream which is shutdown properly and also uses H2 db which I believe shutsdown when program terminates normally. I am not able to understand what is preventing JVM to shutdown and how to go ahead in tackling this situation be seeing the list of threads running.







java jvm daemon shutdown






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 28 at 5:42







KCK

















asked Mar 27 at 16:57









KCKKCK

1,3861 gold badge6 silver badges20 bronze badges




1,3861 gold badge6 silver badges20 bronze badges















  • Looks like "Catalina-utility-1" and "container-0" are busy doing stuff. Can you pause those threads and see what's going on? They're possibly keeping your VM alive; the DestroyJavaVM thread will be able to forcefully kill the daemon threads without regret.

    – Not a JD
    Mar 27 at 17:01











  • @NotaJD updated question

    – KCK
    Mar 27 at 17:06












  • Womp I mis-spoke. Looks like DestroyJavaVM takes care of joining to all the non-daemon threads and the VM itself takes care of the daemons. That aside: are you doing anything funky with the container configuration or DispatcherServlet configuration?

    – Not a JD
    Mar 27 at 17:24











  • I haven't touched container configuration or Dispatcher servlet configuration. will be interested in checking though.

    – KCK
    Mar 28 at 5:43

















  • Looks like "Catalina-utility-1" and "container-0" are busy doing stuff. Can you pause those threads and see what's going on? They're possibly keeping your VM alive; the DestroyJavaVM thread will be able to forcefully kill the daemon threads without regret.

    – Not a JD
    Mar 27 at 17:01











  • @NotaJD updated question

    – KCK
    Mar 27 at 17:06












  • Womp I mis-spoke. Looks like DestroyJavaVM takes care of joining to all the non-daemon threads and the VM itself takes care of the daemons. That aside: are you doing anything funky with the container configuration or DispatcherServlet configuration?

    – Not a JD
    Mar 27 at 17:24











  • I haven't touched container configuration or Dispatcher servlet configuration. will be interested in checking though.

    – KCK
    Mar 28 at 5:43
















Looks like "Catalina-utility-1" and "container-0" are busy doing stuff. Can you pause those threads and see what's going on? They're possibly keeping your VM alive; the DestroyJavaVM thread will be able to forcefully kill the daemon threads without regret.

– Not a JD
Mar 27 at 17:01





Looks like "Catalina-utility-1" and "container-0" are busy doing stuff. Can you pause those threads and see what's going on? They're possibly keeping your VM alive; the DestroyJavaVM thread will be able to forcefully kill the daemon threads without regret.

– Not a JD
Mar 27 at 17:01













@NotaJD updated question

– KCK
Mar 27 at 17:06






@NotaJD updated question

– KCK
Mar 27 at 17:06














Womp I mis-spoke. Looks like DestroyJavaVM takes care of joining to all the non-daemon threads and the VM itself takes care of the daemons. That aside: are you doing anything funky with the container configuration or DispatcherServlet configuration?

– Not a JD
Mar 27 at 17:24





Womp I mis-spoke. Looks like DestroyJavaVM takes care of joining to all the non-daemon threads and the VM itself takes care of the daemons. That aside: are you doing anything funky with the container configuration or DispatcherServlet configuration?

– Not a JD
Mar 27 at 17:24













I haven't touched container configuration or Dispatcher servlet configuration. will be interested in checking though.

– KCK
Mar 28 at 5:43





I haven't touched container configuration or Dispatcher servlet configuration. will be interested in checking though.

– KCK
Mar 28 at 5:43












0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55382691%2fhow-to-check-why-jvm-is-not-able-to-terminate%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55382691%2fhow-to-check-why-jvm-is-not-able-to-terminate%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현