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. |
7 answers
Hi, Hi Michele, i found this very useful: https://jazz.net/wiki/bin/view/Main/JbeAsAWindowsService Good luck, Nick |
How can I have not found it?
Thanks very much. |
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, Hi Michele, i found this very useful: https://jazz.net/wiki/bin/view/Main/JbeAsAWindowsService Good luck, Nick |
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? |
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? |
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 |
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
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.