-
Apr 2nd, 2010, 07:29 AM
#1
Batch Job Hangs
I guess i know the reason as seen from the forum (it was suggested that the no.of db connections should be more or equal to the no.of threads).
The job hung thrice in the 6 months but every time it failed in the parallel step (split/flow). A restart worked.
My question is: I want to turn on the log.For what packages should I be enabling the log so as to prove that it is because of exhausted db connections?
Note: I turned log for DBCP but it never reached the MAX Connections.
Thanks
-
Apr 3rd, 2010, 06:09 AM
#2
It depends what you are using really. If your job hang consistently, you could try to monitor it with JConsole and check the thread dumps / occurence of deadlocks.
Try also to enable debug on org.springframework.debug so that you can check what the framework is doing around your code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules