lscm not able to register sandbox but scm.exe can. Why?
![](http://jazz.net/_images/myphoto/188b5931fb5906783450fdf0776f5e04.jpg)
I am calling RTC SCM tools (Windows) in a Build run via Jazz build engine.
2 answers
![](http://jazz.net/_images/myphoto/188b5931fb5906783450fdf0776f5e04.jpg)
Here are my findings so far:
1. RTC 6.0.1 build tool kit + RTC 6.0.4 SCM tools and starting the build engine via command line (jbe.exe).
2. RTC 6.0.4 build tool kit + RTC 6.0.4 SCM tools and starting the build engine via command line (jbe.exe).
LSCM (via Build) FAILS on the following scenarios:
2. RTC 6.0.4 build tool kit + RTC 6.0.4 SCM tools and starting the build engine via JSL as a windows service.
3. RTC 6.0.1 build tool kit + RTC 6.0.4 SCM tools and starting the build engine via NSSM as a windows service.
4. RTC 6.0.4 build tool kit + RTC 6.0.4 SCM tools and starting the build engine via NSSM as a windows service.
SCM.exe (via Build) works on the following scenarios:
2. RTC 6.0.4 build tool kit + RTC 6.0.4 SCM tools and starting the build engine via command line (jbe.exe).
3. RTC 6.0.1 build tool kit + RTC 6.0.4 SCM tools and starting the build engine via JSL as a windows service.
4. RTC 6.0.4 build tool kit + RTC 6.0.4 SCM tools and starting the build engine via JSL as a windows service.
6. RTC 6.0.4 build tool kit + RTC 6.0.4 SCM tools and starting the build engine via NSSM as a windows service.
![](http://jazz.net/_images/myphoto/188b5931fb5906783450fdf0776f5e04.jpg)
Karthik,
>WMIC /OUTPUT:C:\ProcessList.txt path win32_process get Caption,Processid,Commandline
Since only one scm process can access a workspace at a time could it be another scm process already hijacked your workspace and the lscm started daemon fails to register it?
Comments
![](http://jazz.net/_images/myphoto/188b5931fb5906783450fdf0776f5e04.jpg)
Thanks for your answer, Arne.
![](http://jazz.net/_images/myphoto/2b0661aab67fcd4c200ea1be7c319c62.jpg)
Ok, so it is not another scm process hijacking this.
The logical conclusion is thus that the difference in behavior must be in the difference in startup. I assume scm.exe would scoop up some startup parameters from some .ini whereas lscm.bat might actually override / augment them with different parameters? What might be worth investigating is whether starting the process with lscm.bat actually attracts a different JRE // is missing certain ENV variables. If none of that leads to success this needs to be looked at and solved by IBM support, I guess.
![](http://jazz.net/_images/myphoto/188b5931fb5906783450fdf0776f5e04.jpg)
Interestingly enough the same setup using lscm.bat works fine on my local machine with RTC build setup. This doesn't work only on the build server.
![](http://jazz.net/_images/myphoto/188b5931fb5906783450fdf0776f5e04.jpg)
In addition to this, I tried to run the JBE as windows service using Apache Commons Daemon and even with this LSCM fails to run. Only SCM.exe works
![](http://jazz.net/_images/myphoto/d7dd49d22314069ce7be79a47b9b5a06.jpg)
Hi Karthik,
It is not clear what exactly error is. Can you please provide the screenshot or entire error message.