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

How do I find an RTC server's time from a build engine? [solved]

I'd like to make our builds more likely to survive past our daily offline backup window where the RTC server is unavailable for a couple of hours.

So is there a way for a build engine to find the server's time using the RTC java-api?
I've got an ITeamRepository and we're using the java API to do a lot of other things.

In addition is there any way to ask the RTC server what time its next scheduled shutdown (for offline backups) is?




0 votes

Comments

Hi, the CLM server does not know about when it is shut down. the shut down is something that is done from the outside - the application server level - probably using a script. So I assume you have to add some knowledge about your specific times into your solution.



One answer

Permanent link
I ended up finding the server's time by creating an HttpsURLConnection conn to the Jazz server and then calling conn.getDate() , so no need to use the API at all.

1 vote

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
× 12,014
× 411

Question asked: Feb 28 '13, 11:50 a.m.

Question was seen: 5,262 times

Last updated: Mar 14 '13, 7:37 a.m.

Confirmation Cancel Confirm