Home

Support:

Setting Up the CSE-Access / CSE-Edit Server as an NT Service

This section describes:

1. How to set up the CSE-Access / CSE-Edit server as an NT Service.

2. How to set up the Computer Associates CSE Start Database Instance procedure as a service (see note 1) and sequence the CSE-Access / CSE-Edit Server to start after it.

Both options make use of the COOLSRV.EXE utility provided by Computer Associates.

1. Setting Up CSE-Access / CSE-Edit as an NT Service

A. From the installed CSE ACCESS / CSE-Edit Server directory run:

COOLSRV -install Csesrv (Csesrv is the service name).

B. Using REGEDIT (or REGEDT32) select the registry entry:

hKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Csesrv

Add a new Key 'PARAMETERS' and add the following values to this new key:

Application - type = String Value (REG_SZ)
AppDirectory - type = String Value (REG_SZ)
OutputRedirection - type = String Value (REG_SZ)
HandlesToRedirect - type = DWORD Value (REG_DWORD)

Set the value data for Application to: yourdrive: \your cseaccess server directory\ceaserv.exe (see note 2)
e.g. c:\program files\cse-access\ceaserv.exe

Set the value data for AppDirectory to: yourdrive:\your cseaccess server directory
e.g. c:\program files\cse-accessset

Set the value data for OutputRedirection to: yourdrive:\your cseaccess server directory\serv.out
e.g. c:\program files\cse-access\serv.out

Set the value data (Decimal) for HandlesToRedirect to: 3

C.Use Control Panel Services to select the Csesrv service and specify:
Startup - Automatic and check the 'Interact With Desktop Box' option

NOTE 1 : The CSE-Access / CSE-Edit Server must be started after the Database Instances. If you are using another service to start these instances you can use the DependOnService key to sequence the start-up. However as the timing of the database initialisation routines is important it is recommended that you add the CSE-Access / CSE-Edit Server start up statements to the start Database Instances procedure or follow the instructions below for Setting Up Start Database Instances as an NT Service.

NOTE 2 : Either DMON.EXE or CEASERV.EXE can be used here. DMON.EXE will start the server and also create a flash screen on the Desktop. CEASERV.EXE will not create a flash screen on the desktop.

2. Setting Up Start Database Instances as an NT Service In the AllFusion® Gen CSE install directory Computer Associates provides an NT command file used to start the Oracle Database Instances DBIE and DIR. These can be set up to run as NT Services as follows.

A. From the installed CSE-Access / CSE-Edit Server directory run:
COOLSRV -install StrtDbs (Note StrtDbs is the service name).

B. Using REGEDIT (or REGEDT32) select the registry entry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\StrtDbs
Add a new DWORD value (REG_DWORD) 'DependOnService' and set the value data (Hexadecimal) to 'OracleServiceDBIE'
Add a new Key 'PARAMETERS' and add the following values to this new key:
Application - type = String Value (REG_SZ)
AppDirectory - type = String Value (REG_SZ)
AppParameters - type = String Value (REG_SZ)
OutputRedirection - type = String Value (REG_SZ)
HandlesToRedirect - type = DWORD Value (REG_DWORD)

Set the value data for Application to: yourdrive:\your cse directory\cseora.cmd
e.g. c:\cool\cse\cseora.cmd

Set the value data for AppDirectory to: yourdrive:\your cse directory
e.g. c:\cool\cse

Set the value data for AppParameters to: START

Set the value data for OutputRedirection to: yourdrive:\your cse directory\temp.out
e.g. c:\cool\cse\temp.out Set the value data (Decimal) for HandlesToRedirect to: 3

C.Use Control Panel Services to select the StrdDbs service and specify Startup - Automatic and check the 'Interact With Desktop Box' option

D. Edit the CSEORA.CMD add the following lines after the start up of the DBIE and DIR instances (making sure to substitute the correct drive and CSE-Access / CSE-Edit Server directory in the appropriate places).
ECHO Starting CSE-Access
yourdrive:
CD \
CD \
your CSE-Access server directory
Ceaserv.exe (see NOTE 2 above)

Setting up the Server as a Windows Service
Support Database - CSE-ACCESS / CSE-EDIT
 

Setting Up the CSE-Access / CSE-Edit Server as an NT Service

This section describes:
1. How to set up the CSE-Access / CSE-Edit server as an NT Service.
2. How to set up the Computer Associates CSE Start Database Instance procedure as a service (see note 1) and sequence the CSE-Access / CSE-Edit Server to start after it.

Both options make use of the COOLSRV.EXE utility provided by Computer Associates.

1. Setting Up CSE-Access / CSE-Edit as an NT Service

A. From the installed CSE ACCESS / CSE-Edit Server directory run:
COOLSRV -install Csesrv (Csesrv is the service name).

B. Using REGEDIT (or REGEDT32) select the registry entry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Csesrv
Add a new Key 'PARAMETERS' and add the following values to this new key:

Application - type = String Value (REG_SZ)
AppDirectory - type = String Value (REG_SZ)
OutputRedirection - type = String Value (REG_SZ)
HandlesToRedirect - type = DWORD Value (REG_DWORD)

Set the value data for Application to: yourdrive: \your cseaccess server directory\ceaserv.exe (see note 2)
e.g. c:\program files\cse-access\ceaserv.exe

Set the value data for AppDirectory to: yourdrive:\your cseaccess server directory
e.g. c:\program files\cse-accessset

Set the value data for OutputRedirection to: yourdrive:\your cseaccess server directory\serv.out
e.g. c:\program files\cse-access\serv.out

Set the value data (Decimal) for HandlesToRedirect to: 3

C.Use Control Panel Services to select the Csesrv service and specify:
Startup - Automatic and check the 'Interact With Desktop Box' option

NOTE 1 : The CSE-Access / CSE-Edit Server must be started after the Database Instances. If you are using another service to start these instances you can use the DependOnService key to sequence the start-up. However as the timing of the database initialisation routines is important it is recommended that you add the CSE-Access / CSE-Edit Server start up statements to the start Database Instances procedure or follow the instructions below for Setting Up Start Database Instances as an NT Service.

NOTE 2 : Either DMON.EXE or CEASERV.EXE can be used here. DMON.EXE will start the server and also create a flash screen on the Desktop. CEASERV.EXE will not create a flash screen on the desktop.

2. Setting Up Start Database Instances as an NT Service In the AllFusion® Gen CSE install directory Computer Associates provides an NT command file used to start the Oracle Database Instances DBIE and DIR. These can be set up to run as NT Services as follows.

A. From the installed CSE-Access / CSE-Edit Server directory run:
COOLSRV -install StrtDbs (Note StrtDbs is the service name).

B. Using REGEDIT (or REGEDT32) select the registry entry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\StrtDbs
Add a new DWORD value (REG_DWORD) 'DependOnService' and set the value data (Hexadecimal) to 'OracleServiceDBIE'
Add a new Key 'PARAMETERS' and add the following values to this new key:
Application - type = String Value (REG_SZ)
AppDirectory - type = String Value (REG_SZ)
AppParameters - type = String Value (REG_SZ)
OutputRedirection - type = String Value (REG_SZ)
HandlesToRedirect - type = DWORD Value (REG_DWORD)

Set the value data for Application to: yourdrive:\your cse directory\cseora.cmd
e.g. c:\cool\cse\cseora.cmd

Set the value data for AppDirectory to: yourdrive:\your cse directory
e.g. c:\cool\cse

Set the value data for AppParameters to: START

Set the value data for OutputRedirection to: yourdrive:\your cse directory\temp.out
e.g. c:\cool\cse\temp.out Set the value data (Decimal) for HandlesToRedirect to: 3

C.Use Control Panel Services to select the StrdDbs service and specify Startup - Automatic and check the 'Interact With Desktop Box' option

D. Edit the CSEORA.CMD add the following lines after the start up of the DBIE and DIR instances (making sure to substitute the correct drive and CSE-Access / CSE-Edit Server directory in the appropriate places).
ECHO Starting CSE-Access
yourdrive:
CD \
CD \
your CSE-Access server directory
Ceaserv.exe (see NOTE 2 above)