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

Run JBE as service on Windows

Hi,
I would like to know if is there a way to run a JBE session as a service, or if is it another way to stop it which is not Crtl+C. This because I would like to schedule start and stop of the build engine with a system user.

Has anyone resolved this problem before?
Thanks,

Michele.

0 votes



7 answers

Permanent link
Hi,
I would like to know if is there a way to run a JBE session as a service, or if is it another way to stop it which is not Crtl+C. This because I would like to schedule start and stop of the build engine with a system user.

Has anyone resolved this problem before?
Thanks,

Michele.


Hi Michele, i found this very useful: https://jazz.net/wiki/bin/view/Main/JbeAsAWindowsService

Good luck, Nick

0 votes


Permanent link
How can I have not found it?

Thanks very much.

0 votes


Permanent link
Hi

I am trying to configure Jazz Build engine to run as Windows service on Windows service 2003 SP2 machine. I have JDK 160_056 on the server. When trying to complete the steps given in the note https://jazz.net/wiki/bin/view/Main/JbeAsAWindowsService I am getting errors.

1. When I run command D:\JSL\bin>jsl.exe
Result is - The system cannot execute the specified program.

I couldn't run jsl_static.exe either.

2. When I run the command for java: java -jar Path of \TeamConcertBuild\buildsystem\buildengine\eclipse\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar" -repository https://oshacmrtc01.oissystem.com:8443/jazz/ -userid ADMIN
ld -pass ADMINPASSWD -engineid ENGINEID -sleeptime 10

it gives error: Failed to load Main-Class manifest attribute from jaxb-api-1.5.jar.

It appears the command jsl_VC6.exe doesn't run becasue msvcrt80.dll is missing in this machine.

Thanks
NP

Hi,
I would like to know if is there a way to run a JBE session as a service, or if is it another way to stop it which is not Crtl+C. This because I would like to schedule start and stop of the build engine with a system user.

Has anyone resolved this problem before?
Thanks,

Michele.


Hi Michele, i found this very useful: https://jazz.net/wiki/bin/view/Main/JbeAsAWindowsService

Good luck, Nick

0 votes


Permanent link
Does it behave any differently if you use the JDK included in RTC? See https://jazz.net/wiki/bin/view/Main/BuildFAQ#WhichJDK

The JAXB error is surprising, since JBE does not use JAXB.

Are you able to run JBE directly (not as a service) using jbe.exe on that machine?

0 votes


Permanent link
On Windows Server 2008/Windows 7 platforms, the "Task Scheduler"
facility is a far simpler way to run a persistent JBE. On those
platforms, you simply define the task to start "At Startup".

We run our production JBE's this way

(I'm not sure whether Server 2003 does this as smoothly so perhaps JSL
is a better solution on older Windows)


On 1/22/2010 10:08 AM, nedgar wrote:
Does it behave any differently if you use the JDK included in RTC?
See https://jazz.net/wiki/bin/view/Main/BuildFAQ#WhichJDK

The JAXB error is surprising, since JBE does not use JAXB.

Are you able to run JBE directly (not as a service) using jbe.exe on
that machine?

0 votes


Permanent link
Hi Narayanan,

I'm facing the same problem on a WindowsXP box runningn in a VM.

Did you find a solution in the end?

Thanks,
Steve

0 votes


Permanent link
I suggest a few things to try:
1. run using the JDK included in the RTC Client (see https://jazz.net/wiki/bin/view/Main/BuildFAQ#WhichJDK )
2. ensure any arguments with spaces (e.g. is "Program Files" in the path?) are properly quoted
3. try adding to the command line: -product com.ibm.team.build.engine.product
after -jar {equinox jar}

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 05 '09, 8:50 a.m.

Question was seen: 13,845 times

Last updated: Oct 05 '09, 8:50 a.m.

Confirmation Cancel Confirm