It's all about the answers!

Ask a question

Graceful shutdown for cancelled JBE build?


Bill Higgins (4562523) | asked Oct 26 '11, 4:25 p.m.
JAZZ DEVELOPER
Scenario: I have a JBE build that runs a command-line script. When I cancel a build via the RTC Eclipse UI, I need to perform a graceful shutdown in my script. I.e. get notified that the JBE process wants to terminate the build so I can gracefully and explicitly release scarce resources like a DB handle.

Is there any way to achieve this with JBE today? If not I will create an enhancement request.

2 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Oct 26 '11, 6:12 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Try setting the following build property:

disableDestroyParticipant=true

This should then send a normal friendly shutdown signal to the build
processes, instead of a "destroy" (kill -9) signal.

We asked for that functionality for the CC synchronizer.
As I recall, the build team said that this is available for anyone to
use (and if they didn't, well, it's too late now :-).

Cheers,
Geoff

On 10/26/2011 4:38 PM, bill wrote:
Scenario: I have a JBE build that runs a command-line script. When I
cancel a build via the RTC Eclipse UI, I need to perform a graceful
shutdown in my script. I.e. get notified that the JBE process wants
to terminate the build so I can gracefully and explicitly release
scarce resources like a DB handle.

Is there any way to achieve this with JBE today? If not I will create
an enhancement request.

permanent link
Brent Ulbricht (2.5k11) | answered Oct 27 '11, 8:30 a.m.
JAZZ DEVELOPER
The property Geoff mentioned was added with this work item, if you want to see more context.

Brent Ulbricht
RTC Build Lead

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.