Skip to main content

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 08:12
Jan Krakora is currently offline Jan KrakoraFriend
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 for Oracle's answer.


[Updated on: Fri, 05 August 2011 08: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: Fri Sep 18 14:42:11 GMT 2020

Powered by FUDForum. Page generated in 0.01606 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top