Skip to Content
0
Oct 10, 2011 at 03:10 PM

Incorrent %VT_HOME% path

32 Views

Hi guys,

I am facing a little strange problem with our BO Mobile SP4 deployment.

I have made a fresh installation of a BO Mobile SP4 in our BO server. I have setup all the configuration details according the manual. When I tried to configure VAS as a Windows service (by running

vtauthd.bat service_inst

from VAS\bin), it reported

"The system cannot find the path specified"

After some investigation by checking the .bat file syntax I have discovered that the VT_HOME parameter is set incorrectly by system. In my case the vtauthd.bat script location directory is "D:\APPS\Business Objects\Mobile 12\server\VAS\bin\vtauthd.bat". The VT_HOME directory should be the parent directory of directory script is in - D:\APPS\Business Objects\Mobile 12\server\VAS. See the following script from the .bat file:

:: Home directory containing server
:: (is parent directory of directory script is in)
call :dirname VT_HOME %~sf0
set VT_HOME=%VT_HOME%\..

For some reason, my path assigned to VT_HOME variable is only D:\APPS (it shows you all variables when you run the vtauthd.bat). I have no idea, how this is possible. When I manually assign in the .bat file the correct path, I am able to register the windows service via the authservice.exe file (JavaService):

set VT_HOME="D:\APPS\Business Objects\Mobile 12\server\VAS"

Any ides why the system is shortening the VT_HOME path??? Thanks!

Erik.

Edited by: Erik Sabol on Oct 10, 2011 5:11 PM

Edited by: Erik Sabol on Oct 10, 2011 5:12 PM

Edited by: Erik Sabol on Oct 10, 2011 5:19 PM

Edited by: Erik Sabol on Oct 10, 2011 5:19 PM