It's all about the answers!

Ask a question

Run JBE as service on Windows


Michele Pegoraro (1.8k14119103) | asked Oct 05 '09, 8:50 a.m.
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.

7 answers



permanent link
Nick Fryer (6) | answered Oct 05 '09, 9:43 a.m.
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

permanent link
Michele Pegoraro (1.8k14119103) | answered Oct 07 '09, 3:08 a.m.
How can I have not found it?

Thanks very much.

permanent link
Narayanan Potti (27037679) | answered Jan 21 '10, 3:55 p.m.
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

permanent link
Nick Edgar (6.5k711) | answered Jan 22 '10, 9:54 a.m.
JAZZ DEVELOPER
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?

permanent link
Tom Frauenhofer (1.3k58435) | answered Jan 22 '10, 10:53 a.m.
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?

permanent link
Steve Willems (8811311) | answered May 10 '10, 11:15 a.m.
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

permanent link
Nick Edgar (6.5k711) | answered May 11 '10, 4:25 p.m.
JAZZ DEVELOPER
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}

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.