Configuring Theorem Worker to Run as a Service
As an option, you can configure the Theorem Worker to run automatically as a service. If you choose to configure this option, be aware that when errors occur, the error messages are recorded in a log. To view these messages, you must check the log file located in the Theorem Worker installation directory.
* 
Before beginning the following configuration procedure, Theorem Worker and your server must already be configured as described in Configuring the Windchill Server-side Worker Agent for Theorem Worker
To configure the worker to run as a service:
1. On the client machine where Theorem Worker is installed, open a command prompt window as administrator.
2. Change the directory to <Theorem installation location>\x86e_win64\obj, and then enter the following:
WorkerDaemon.exe -install
3. Access the Windows Services window (services.msc) and confirm that PTC Worker Daemon is listed with a startup type of Automatic.
If it is not listed, confirm that Theorem Worker has been configured.
4. View the properties of the PTC Worker Daemon service.
On the Log On tab, select This account. Enter the user name and password for the Windows user account that installed the Windchill Workgroup Manager and Theorem Worker software.
5. From a command line, enter set.
This command shows all environment variables. Make a note of the HOMEDRIVE and HOMEPATH settings.
6. From the catia6_setup directory in the Theorem installation location, open the catia6worker.bat file.
7. Set the HOMEDRIVE and HOMEPATH environment variables to match the settings that you noted in the previous step.
For example:
if "%HOMEDRIVE%"=="" goto set_user_home
if "%HOMEPATH%"=="" goto set_user_home
goto user_home_set
:set_user_home
set HOMEDRIVE=C:
set HOMEPATH=\Documents and Settings\worker_user
:user_home_set
8. Reboot the client machine, but do not log in.
Theorem Worker now runs automatically as a service.
* 
You can log on to the worker if necessary. However, do not attempt to run WorkerDaemon.exe manually while the service is running.
Isto foi útil?