Problem running the Jazz Build Engine as a service in Linux
I am trying to use the instructions at the link below to run the RTC build system toolkit as a service under Red Hat Enterprise Server 5.6 and I am unable to start builds when the toolkit is run this fashion.
https://jazz.net/wiki/bin/view/Main/JbeAsALinuxService
It appears that the RTC build system toolkit is running normally as evidenced by the following in the log file:
2011-07-20 13:11:42 Running build loop...
2011-07-20 13:11:46 Searching for build request...
2011-07-20 13:11:46 No requests found.
2011-07-20 13:11:46
2011-07-20 13:11:46 Sleeping for 30 seconds...
However, when a build request comes in, the following is displayed in the log file:
2011-07-20 13:12:48 Build "null" complete.
Inside RTC, the build request shows up as failed.
If I run the toolkit as a regular user, build requests are processed correctly as evidenced by the following in the log file and evidenced by the fact that the build shows up as successful inside RTC.
2011-07-20 13:25:43 Sleeping for 30 seconds...
2011-07-20 13:26:13 Searching for build request...
2011-07-20 13:26:14 Found a user request for build definition "RTCMavenBuildTesting".
2011-07-20 13:26:14 Should build occur?
2011-07-20 13:26:14 Yes: Always build a user initiated request.
How do I run the RTC build system toolkit as a service so that it will accept incoming build requests?
https://jazz.net/wiki/bin/view/Main/JbeAsALinuxService
It appears that the RTC build system toolkit is running normally as evidenced by the following in the log file:
2011-07-20 13:11:42 Running build loop...
2011-07-20 13:11:46 Searching for build request...
2011-07-20 13:11:46 No requests found.
2011-07-20 13:11:46
2011-07-20 13:11:46 Sleeping for 30 seconds...
However, when a build request comes in, the following is displayed in the log file:
2011-07-20 13:12:48 Build "null" complete.
Inside RTC, the build request shows up as failed.
If I run the toolkit as a regular user, build requests are processed correctly as evidenced by the following in the log file and evidenced by the fact that the build shows up as successful inside RTC.
2011-07-20 13:25:43 Sleeping for 30 seconds...
2011-07-20 13:26:13 Searching for build request...
2011-07-20 13:26:14 Found a user request for build definition "RTCMavenBuildTesting".
2011-07-20 13:26:14 Should build occur?
2011-07-20 13:26:14 Yes: Always build a user initiated request.
How do I run the RTC build system toolkit as a service so that it will accept incoming build requests?