Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Closing the platform while running jobs
Closing the platform while running jobs [message #710618] Fri, 05 August 2011 04:12
Jan Krakora is currently offline Jan Krakora
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
Hi guys,

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.

Thanks

[Updated on: Fri, 05 August 2011 04:25]

Report message to a moderator

Previous Topic:Can't uninstall from Eclipse Installation Details
Next Topic:Using custom perspectives (e.g. Java debug)
Goto Forum:
  


Current Time: Tue Jul 22 17:44:33 EDT 2014

Powered by FUDForum. Page generated in 0.02018 seconds