Installation of the SCM v14.5 full client completed successfully, but when I try to login to the broker with Workbench or the Administrator Tool I get an error message:
Unable to initialize CA Harvest SCM. Please ensure that all required components are installed.
com.ca.cmsdk.CmsdkException: Unable to initialize CA Harvest SCM. Please ensure that all required components are installed. Message=[Unable to initialize CA Harvest SCM. Please ensure that all required components are installed] Key=[]
CA Harvest Software Change Manager 14.5 and higher
There could be many causes for this error message.
Here are the initial things to check:
CA_SCM_HOME=C:\Program Files\CA\SCM
CA_SCM_LOCALHOME=C:\Program Files\CA\SCM
HARVESTHOME=C:\Program Files\CA\SCM
LOCALHARVESTHOME=C:\Program Files\CA\SCM
RTARCH=i86_w64
RTHOME=C:\Program Files (x86)\CA\SharedComponents\PEC
C:\Program Files (x86)\CA\SharedComponents\PEC\bin;
C:\Program Files\CA\SCM\x86;
C:\Program Files\CA\SCM;
C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0\;
cd %CA_SCM_HOME%
workbench.exe -data "@user.home/.cascm/workspaceAdmin" -perspective "com.ca.harvest.ui.harvestAdminPerspective" -vmargs -Dorg.eclipse.equinox.p2.reconciler.dropins.directory="%CA_SCM_HOME%\adminDropins"
If your environment variables look OK, the next thing you can do is try to execute the Administrator Tool from a command prompt window to see if any additional error messages are shown. To do this open a command prompt window "Running as Administrator" and execute:
cd %CA_SCM_HOME%
workbench.exe
setup.exe /qf /v"/l \"C:\Temp\client_install.log\"
Make sure the C:\Temp folder already exists before running the command. The result should be a client_install.log file containing more information about any problems encountered during installation.
It is very important that all installation activity for the Harvest product be done on the Windows operating system with a userid that is a member of the local Administrator group, and that all Harvest-related processes, including the "rtserver.exe" process be shut down before installing and uninstalling.