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

From the datastage we have called a script which invokes a jar file, this jar files helps to connect to

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?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744737433a4590832.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信