Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Current Situation
The JobSchedulerId is part of
- the installation paths SCHEDULER_HOME and SCHEDULER_DATA.
- the Windows service name.
If a user will change the JobSchedulerId then he has to
- stop the JobScheduler
- change the installation paths SCHEDULER_HOME and SCHEDULER_DATA
- remove the Windows service with
SCHEDULER_HOME\bin\jobscheduler.cmd remove
- edit the environment variables SCHEDULER_HOME,SCHEDULER_DATA and SCHEDULER_ID in SCHEDULER_HOME/bin/jobscheduler_environment_variables.(cmd|sh)
- reinstall the Windows service with
SCHEDULER_HOME\bin\jobscheduler.cmd install
- recreate symlinks
- SCHEDULER_HOME/scheduler_data
- SCHEDULER_HOME/operations_gui/scheduler_data/jobs
- SCHEDULER_HOME/operations_gui/scheduler_data/logs
If you start later an update installer then it doesn't found the changed SCHEDULER_DATA directory. It looks still at the old place and raises
/path/of/old/scheduler_data/config/scheduler.xml (No such file or directory)
The data of the previous installation are incomplete under /path/of/new/install/path.
Desired Behavior
- The update installer checks if the "old" SCHEDULER_DATA path exists.
- If not then it tries to find a modified SCHEDULER_DATA path where the last part of the installation path is used as last part for the "new" SCHEDULER_DATA.