Running GridServer as Windows Service using custom Service Name, Display Name and Description

Running GridServer as Windows Service using custom Service Name, Display Name and Description

book

Article ID: KB0071178

calendar_today

Updated On:

Products Versions
TIBCO DataSynapse GridServer 6.3.1 HF06

Description

When trying to set custom Service Name, Display Name and Description in DS_MANAGER\service.bat with '!' mark , for example as follows:
set SERVICE_NAME=GridServerManager
set DISPLAYNAME=DataSynapse GridServer Manager
set DESCRIPTION=DataSynapse GridServer Manager!

service is installed but not with proper Display Name and Description.

Issue/Introduction

Running GridServer as Windows Service using custom Service Name, Display Name and Description

Environment

Windows

Resolution

The issue is because of '!' mark used. The issue is due to usage of ENABLEDELAYEDEXPANSION in DS_MANAGER\bin\service.bat file. Below are the workarounds to resolve the issue:

1.Do not make use of ! mark, for example:
set SERVICE_NAME=GridServerManager
set DISPLAYNAME=DataSynapse GridServer Manager
set DESCRIPTION=DataSynapse GridServer Manager

2. use ^^ before !
set SERVICE_NAME=GridServerManager
set DISPLAYNAME=DataSynapse GridServer Manager
set DESCRIPTION=DataSynapse GridServer Manager^^!


3. Use the updated service.bat file (No additional changes required, once new service.bat is placed, can use ! mark directly):
Replace the service.bat file present in DS_MANAGER\bin