Workaround:
If you do not intend to configure the service layer for your environment and would like to disable the 'Unable to connect service layer' message during startup, perform the following steps. You will need to have Administrator privileges in Datamaker to do this.
- Follow the error recreation steps above and click 'OK' when the 'Unable to connect service layer' message is displayed.
- From the toolbar on the Datamaker homepage, click on the 'Security' tab.
- Choose 'Users and Groups' from the drop-down menu.
- Enter your Datamaker Administrator credentials on the login screen that appears in red and click the green checkmark in the bottom, right-hand corner.
- On the 'Maintain Security' window, click the 'Service Layer' tab.
- Uncheck the box next to the 'Enable Service Layer Integration' option.
- Click the blue save icon that appears to the right of the option to save your setting changes.
Resolution #1:
The most common way to resolve this issue is to start your CA Test Data Manager, TDoD, and Remote Publish Services.
- From your Windows services menu, click on the 'Control Panel' option.
- Click on 'System and Security' from the list.
- Click on 'Administrative Tools' from the list.
- Double-click on the 'Services' option. (Control Panel\System and Security\Administrative Tools\Services)
- Locate the 'CA Remote Publish' service. This is for the Datamaker Remote Publish Engine feature.
- Right-click on the service, and choose 'Start' from the drop-down menu.
- Locate the 'CA TDoD' service. This provides SOAP-based access to the Datamaker repository.
- Right-click on the service, and choose 'Start' from the drop-down menu.
- Locate the 'CA Test Data Manager Portal' service. This is for the TDM Portal that is available in release 3.5 and above versions.
- Right-click on the service, and choose 'Start' from the drop-down menu.
- Once all the services are running, restart Datamaker and verify that you are no longer seeing the error message.
If you are seeing any error messages after trying to start the services, a best practice is to check your log files. This might give you insight as to why your services are not starting.
- Go to C:\Grid-Tools\TDoD\TDoD_Service\logs
- Take note of any error messages in the logs.
- Go to C:\Grid-Tools\RemotePublish\logs
- Take note of any error messages in the logs.
- If you are unable to resolve the issue based on the message in the log file, please open a support case.
Note: If you still see the error message after following these steps and relaunching Datamaker, you can change the CA TDoD Service to 'Automatic (Delayed Start). This will give the repository time to start fully before TDoD tries to connect.
- From the Windows Services window, right-click on the 'CA TDoD' Service.
- Choose 'Properties' from the drop-down list.
- From within the 'General' tab, under 'Startup type', choose 'Automatic (Delayed Start) from the drop-down list.
- Click the 'Apply' button.
- Click the 'OK' button.
- Restart Datamaker and verify that you are no longer seeing the error message.
Note: If you launch Datamaker immediately after a reboot, then you still might get the message as the service is still waiting to start.
Resolution #2:
If your services are already running, and you are still seeing the error message, then you should check to see if your Service Layer Integration is enabled and the Primary Service URL is correct.
- Launch Datamaker and click 'OK' when the 'Unable to connect service layer' message is displayed.
- From the toolbar on the Datamaker homepage, click on the 'Security' tab.
- Choose 'Users and Groups' from the drop-down menu.
- Enter your Datamaker Administrator credentials on the login screen that appears in red, and click the green checkmark in the bottom, right-hand corner.
- On the 'Maintain Security' window, click the 'Service Layer' tab.
- Check the box next to the 'Enable Service Layer Integration' option.
- Within the 'Primary Service URL' text box, edit it to point to your hostname. For example, http://localhost:8090/GTService.
- Click the blue save icon that appears to the right of the option to save your setting changes.
- Restart Datamaker and verify that you are no longer seeing the error message.
Resolution #3:
If your services are running, the Service Layer Integration is enabled, the Primary Service URL in Datamaker is correct, and you are still seeing the error message, you need to make sure your TDoD and Remote Publish configurations are set up correctly.
Configure your TDoD Services:
- Go to your TDoD Configuration Editor folder. The default location for that is C:\Grid-Tools\TDoD\TDoD_ConfigEditor
- Double-click on the TDoDConfigEditor.exe to launch it.
- Under the 'Configure Service' tab's 'Connection String' tab, verify that your repository details are correct.
- Click the 'Save' button if you made any changes.
- Click the 'Verify' button to make sure those connection details are correct.
- Under the 'Configure Portal' tab's 'Settings' tab, verify that the 'Service URL' is correct. The default is http://<<machinename>>:8090/GTService, and it needs to be configured to what your Primary Service URL is in Datamaker. (Reference Resolution 2's steps)
- You will also need to configure the correct 'ALM Service URL' or erase the default URL that is there or that could cause some other issues. Consult the documentation if you have any further ALM configuration questions: Refer to section "Configure ALM Integration" in the documentation of the Test Data Manager release you are running.
- Click the 'Save' button if you made any changes.
- Click the 'Verify' button to make sure those connection details are correct.
- Go back to the Configure Service -> Connection String tab.
- Click the 'Start Service' button.
- Consult the documentation if you have any further TDoD configuration questions (under 'Configure TDoD Service' section): Refer to section "Configure ALM Integration" in the documentation of the Test Data Manager release you are running.
Configure your Remote Publish Services:
- Go to your Remote Publish Configuration Editor folder.
- Double-click on the RemotePublishConfiguration.exe to launch it.
- Under the 'Configure' tab, verify that your 'Connection String' details are correct.
- Click the 'Save' button if you made any changes.
- Click the 'Verify' button to make sure those connection details are correct.
- Under the 'Status' tab, click the 'Start Service' button.
- Consult the documentation if you have any further Remote Publish configuration questions: Refer to section "Configure the Remote Publish Engine" in the documentation of the Test Data Manager release you are running.
- Restart Datamaker and verify that you are no longer seeing the error message.
If you are seeing any error messages after trying to start the services, a best practice is to check your log files. This might give you insight as to why your services are not starting.
- Go to C:\Grid-Tools\TDoD\TDoD_Service\logs
- Take note of any error messages in the logs.
- Go to C:\Grid-Tools\RemotePublish\logs
- Take note of any error messages in the logs.
- If you are unable to resolve the issue based on the message in the log file, please open a support case.