...
- Copy the files from D2000_EXE\tcl\war\ into the directory of application in web server.
- Create a service
"tcts.exe --WS<host>:<port>"and Watchdog (WD) for this service.
<host>:<port> is name of computer (or IP address), on which WEB server runs,
<port> is number of IP port, on which tcts communicates with servlet (a default is 7120)
Create a configuration with the utility scsconfig.exe:
Start the tcts service. - Create the service for automatic synchronization of bitmaps
"tcldeployer.exe --WS<host>:<port>"and Watchdog (WD) for this service
Start the tcldeployer service. - If ESL support is required:
- Create the service
"event.exe /WTCL_LOCAL --SES_LOCAL"and Watchdog (WD) for this service,
Start evhtcllocal service. - Create the service
"event.exe /WTCL_REMOTE --SES_REMOTE"and Watchdog (WD) for this service, but only if the pictures in the application use the remote ESL scripts.
- Create the service
...
__d2tcl__AuthMethod=method
parameter allows to set authentication method. Allowed methods are:
...
The parameters in URL are entered after '?' character and are divided separated by '&' character.
Example of URL with parameters:
...
- Stop Tomcat server.
- Copy the files from D2000_EXE\tcl\war\ into the application directory on web server (the directory name must be reserved for this TCL instance, e.g. webapps\mojaNovaApp.
- Create the service
"tcts.exe --WStomcatHost:port"and Watchdog (WD) for this service.
tomcatHost is a server name, on which Tomcat instance runs,
port is an idle number of communication port between tcts and D2WTC, e.g. s7121, 7122, 7123, ..
The first TCL instance uses the port 7120, unless specified in other way. - Create the service "tcldeployer.exe --WStomcatHost:port" for the automatic synchronization of bitmaps and Watchdog (WD) for this service. The port number is the same as mentioned in the step 3.
- The configuration of port of deployed application on the application server means the servlet-init of the parameters. In this case, the number of D2000 communication port is entered as init parameter for the servlets GWTTCLServiceImpl and GWTTCLServiceImpl2 in the files WEB-INF/web*.xml.
An example of configuration:
<servlet> <servlet-name>GWTTCLServiceImpl</servlet-name> <servlet-class>sk.ipesoft.d2wtc.servlet.D2WASServiceImpl</servlet-class> <init-param> <param-name>d2000_servlet_log_dir</param-name> <param-value></param-value> </init-param> <init-param> <param-name>d2port</param-name> <param-value>7121</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet>
- Create the service event.exe as necessary.
- New TCL instance will be available on URL:
http://hostname[:port]/mojaNovaApp/[?alias]
...


