PublishConfiguration action fails after changing the default credentials in the Config UI .tra file.

book

Article ID: KB0085023

calendar_today

Updated On:

Products Versions
TIBCO API Exchange -
Not Applicable -

Description

Description:
How to ensure that PublishConfiguration continues to work after changing the default credentials in the Config UI .tra file (tibco.env.ASG_ADMIN_USERNAME and/or tibco.env.ASG_ADMIN_PASSWORD set to non-default value).  

Symptoms:
PublishConfiguration action fails with the following error: 

37888 [http-bio-9200-exec-10] ERROR com.tibco.asg.config.server.ASGServiceImpl  - User: <user name>
publishProjectConfiguration
Error invoking: http://localhost:9222
Server returned HTTP response code: 500 for URL: http://localhost:9222/publishConfiguration/<project name>
Cause:
PublishConfiguration action fails because the Gateway is not aware of the new credentials.

Resolution

Add the non-default credentials to the file TIBCO_HOME/asg/2.x/mm/config/users.pwd. For adding the credentials, follow the instructions in TIBCO API Exchange Gateway User's Guide --> Chapter 6 Config UI --> Configuration Setup for Authentication Process --> File-Based Authentication --> User Credentials File for File-Based Authentication .

Issue/Introduction

PublishConfiguration action fails after changing the default credentials in the Config UI .tra file.