ARD Hub setup Issue

book

Article ID: 199543

calendar_today

Updated On:

Products

CA Agile Requirements Designer

Issue/Introduction

We are unable to configure ARD hub.
below is the error displayed when trying to access ARD hub using "http://localhost:8080/ard/ui"

HTTP Status 404 – Not Found

Type Status Report

Message The requested resource [/ard/api/iam/auth/realms/ARD/protocol/openid-connect/auth] is not available

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

Apache Tomcat/9.0.37

Environment

Release : 3.0

Component : CA Agile Requirements Designer

Resolution

ARD wars deployed in Tomcat is using the setting.properties to fetch the database details and communicate with database. It looks like you have not updated the database details in setting.properties file. Due to this you are getting an error in tomcat catalina logs which you have shared.

 

ERROR:

**********

  [C:\apache-tomcat-9.0.37\webapps\ard#ims\WEB-INF\classes\com\ca\ard\ims\DataConfiguration.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'settingsConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'ims.database.type' in value "${ims.database.type}"

 

     To resolve this, follow below steps given in documentation

*)  Create a directory ~/.ard/conf/ in the home directory of the user who runs Tomcat. Example: If Tomcat is the local system user, then the path will be C:\Windows\System32\config\systemprofile\.ard.

*)   Copy hub_install_dir/tomcat/settings.properties and hub_install_dir/tomcat/pla.properties to the ~/.ard/conf/ directory.

*)   Edit the copied file ~/.ard/conf/settings.properties. Replace the "???" placeholders with the connection details of your database and Tomcat servers. For database.type, enter either mysql or mssql. Save the file.

      After you follow these steps, restart the Tomcat service and verify.