Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Graceful shutdown for cancelled JBE build?

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.

0 votes



2 answers

Permanent link
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.

0 votes


Permanent link
The property Geoff mentioned was added with this work item, if you want to see more context.

Brent Ulbricht
RTC Build Lead

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Oct 26 '11, 4:25 p.m.

Question was seen: 4,932 times

Last updated: Oct 26 '11, 4:25 p.m.

Confirmation Cancel Confirm