JakduK / jakduk-api

K League Community Web Application
https://jakduk.com
MIT License
23 stars 19 forks source link

JVM is not killed in Spring Batch #255

Closed Pyohwan closed 7 years ago

Pyohwan commented 7 years ago

https://jenkins.jakduk.com/job/JakduK_Batch_Staging/job/boardFreeCommentAddLastUpdatedJob/3/console

14:29:31 2017-07-22 14:29:32.301 DEBUG 29593 --- [           main] o.s.b.a.b.JobLauncherCommandLineRunner   : Skipped job: initElasticsearchIndexJob
14:29:31 2017-07-22 14:29:32.302 DEBUG 29593 --- [           main] o.s.b.a.b.JobLauncherCommandLineRunner   : Skipped job: galleryAddHashJob
14:29:31 2017-07-22 14:29:32.302 DEBUG 29593 --- [           main] o.s.b.a.b.JobLauncherCommandLineRunner   : Skipped job: appendGalleryFileExtJob
14:29:31 2017-07-22 14:29:32.302 DEBUG 29593 --- [           main] BatchConfiguration$ReferenceTargetSource : Initializing lazy target object
14:29:31 2017-07-22 14:29:32.303 DEBUG 29593 --- [           main] o.s.b.a.b.JobLauncherCommandLineRunner   : No job found in registry for job name: boardFreeCommentAddLastUpdatedJob
14:29:31 2017-07-22 14:29:32.304  INFO 29593 --- [           main] com.jakduk.batch.BatchApplication        : Started BatchApplication in 14.544 seconds (JVM running for 60.097)

after batch job run finished, must jvm to killed. But, jvm is alived.

JakduK batch code is here. https://github.com/JakduK/jakduk-api/tree/master/batch

Pyohwan commented 7 years ago

https://github.com/spring-projects/spring-boot/issues/9838