|Closing the platform while running jobs [message #710618]
||Fri, 05 August 2011 08:12
| Jan Krakora
Registered: December 2009
I would like to ask anybody to explain me this situation. We have an RCP application that uses Spring DM to maintain beans and dependency injection and iBATIS for ORM.
In one of our many views you can select a record and generate a PDF graph from it. This is done in a Eclipse Job. The job creates
java.util.concurrent.ExecutorService (with fixed threadPool size), submit few java.util.concurrent.Callables,
wait for results and then generates the PDF.
Callables just call Oracle database using iBATIS ORM to get data. This data are often extensive, so it can take a few minutes.
My question is, how is it possible that when I close the application, it immediately shut down the JVM even when several jobs are still running? So Threads with callables are running and waiting in Inputsream.read() for Oracle's answer.
[Updated on: Fri, 05 August 2011 08:25]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02936 seconds