最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

json - java .jar file throwing Closing org.springframework.context.support.ClassPathXmlApplicationContext - Stack Overflow

programmeradmin0浏览0评论

From the datastage we have called a script which invokes a jar file, this jar files helps to connect to another application which has user details in it. After fetching all the user details, this jar file creates a JSON file and is placed in the landing path of datastage, here I am getting a problem that, during the rest API call and reading users jar file writes into log file, at the end of reading all users, it's not creating the JSON file. Instead it's throwing the following INFO message.

"INFO 2025-03-10 08:56:32,232 [main]
.springframework.context.support.ClassPathXmlApplicationContext - Closing
.springframework.context.support.ClassPathXmlApplicationContext@d4ba7925:
startup date [Mon Mar 10 08:45:23 GMT+08:00 2025]; root of context hierarchy"

What could have happened in this situation?

It's a daily schedule job that runs in the morning. With Control M, the job is scheduled. In the first run of the day, we are facing this issue. After receiving the above error, we rerun the job, and it's successful every time. Why is it only failing in the first time run of the day?

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论