Environment Import Error - Bad Gateway
search cancel

Environment Import Error - Bad Gateway

book

Article ID: 143628

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Identity Suite

Issue/Introduction

When updating the roles and tasks XML file and uploading the same in to the environment a "Bad Gateway Error" is returned.

Environment

Release : 14.1

Component : CA IDENTITY SUITE (VIRTUAL APPLIANCE)

Cause

There is a limitation in the size of file that can be uploaded into an application via JBoss.

Resolution

Reference:
---------
In CA Docs, search for articles related to Identity Suite.
Article title: Can I modify Wildfly standalone XML configuration in vApp?

This article describes how to change log rotation, but the basic approach is applicable to setting other configuration parameters in vApp.

 

Instructions
-------------
1. Create a user id and password:
  sudo /opt/CA/wildfly-idm/bin/add-user.sh
  You will be asked what kind of user to create, choose (a) Management User
  In this note we use "jboss-admin" as the user id, and "Password1" as the password.
  When asked in the user will be added to the realm "ManagementRealm", answer "yes"
  When asked if the user is going to used for one process to connect to another process, answer "no"
  
2. Take a backup of the configuration:
  /opt/CA/wildfly-idm/bin/jboss-cli.sh --connect --user=jboss-admin --password=Password1 --command=:take-snapshot
  
3. The file max-post-size.cli (attached to this support ticket) contains the command to execute  
  /opt/CA/wildfly-idm/bin/jboss-cli.sh --connect --user=jboss-admin --password=Password1 --file=max-post-size.cli 
  
4. Restart the app

Note: this process will need to be performed on each vApp node.

Additional Information

"max-post-size.cli" is attached to this Knowledge Document.

Attachments

1579787119762__max-post-size.cli get_app