Windows Service configuration

On Windows systems, the installation for the Enterprise Console Web Services Adapter also register a Windows Service, named tecws, so that you can start the adapter without having to logon with a user and password.

The service information is stored in the file %INSTALL_DIR%\conf\jservice.ini. You usually should not have to modify the settings in this file, but if you must, modify the file according to the instructions in this page and then run the following commands:

%INSTALL_DIR%\bin\jservice -r tecws
%INSTALL_DIR%\bin\jservice -i conf\jservice.ini
net start tecws

Keywords

serviceDisplayName=service display name
The display name is the string that will be displayed within the service control panel for this service. This is a required config parameter.
serviceName=service name
This is the name of the service as it will be known by windows. This name will not be displayed to the end user. This name should be a simple name, and it is best to avoid spaces and non alphanumeric characters. This is a required config parameter.
startType=service start type
Specifies the start type of the service. The allowed values are:
SERVICE_AUTO_START
indicates that the service is to be started automatically by the service control manager during system startup.
SERVICE_DEMAND_START
indicates that the service must be started manually by either a user or a program.
SERVICE_DISABLED
indicates that this service may not be started.
serviceDependencies=dependencies
Specifies the service upon which this service is dependent. This service will not be started by the startup program until the other services have started. This value is specified as a comma separated list of service names (not display names). Make sure there are no spaces between service names and commas. By default, this entry is commented out and the service does not have dependencies on other services.
description=service description
Specifies the description of the service. In the service control panel, this will be the text that is displayed in the description column for the service. This should be a short description. This is an optional config parameter. The default value is no description
ijserviceClass=com.ibm.wtci.tec.install.TecWsntService
Do not modify this value.
jvmDLL=DLL
Specifies the the JVM dll to be used to load the JVM This is typically found in the jre/bin/classic subdirectory If a path is not given, then this is loaded according to the LoadLibrary rules.
jvmOptionn=option
Do not modify these entries.
jvmOption1=-Djava.class.path=.;C:\myJavaClasses
jvmOption2=-Djava.compiler=NONE
preinitCommand=command
Do not modify this entry.


Parent topic
Administering the Enterprise Console Web Services Adapter

Related topics
Starting and stopping the adapter
Enterprise Console Forwarding configuration
Troubleshooting common problems