You can use the command line interface to do the following:
Change the SAP password in the UpdateSAPConfiguration.json file.
Change the credentials in the UpdateARISConfiguration.json file.
Test the configuration.
Activate configurations (Update).
Start the command line interface using the configureConnector.bat or configureConnector.sh script. The scripts are located in the <ARIS Connector for SAP Solutions installation>\bin\ directory.
The UpdateSAPConfiguration.json and UpdateARISConfiguration.json files are located in the <ARIS Connector for SAP Solutions installation>\conf\ directory. The parameters are described in the corresponding .md files.
Warning
Do not edit the SAPConfiguration.json and ARISConfiguration.json files located in the <ARIS Connector for SAP Solutions installation>\conf\ directory. You can check and update these files only using the command line interface.
The ConnectorConfiguration.json file contains start parameters for ARIS Connector for SAP Solutions. You can change settings manually, such as the port number. Changes made in this file require an ARIS Connector for SAP Solutions restart.
Command line help
-h,--help Print usage instructions and exit.
-? Print usage instructions and exit.
-v Print version number and exit.
-pwd,--password <arg> Change password for SAP system alias and SAP system user.
Password is needed twice (password and confirmation).
-crd, --credentials <credentials> Change credentials.
-chk,--check-configurations Check configurations.
-upd,--update-configurations Update configurations.
-sys,--system <arg> Specify SAP system alias.
-usr,--user <arg> Specify SAP system user.
User actions
Print help: configureConnector -h
Print version number: configureConnector -v
Change SAP system password: configureConnector -sys <sap_system> -usr <name> -pwd [<password> <password_conformation>]
Change ARIS credentials: configureConnector -crd <credentials copied from ARIS Architect>
Check current configurations: configureConnector -chk
Update current configuration(s), that is, reload current configuration file(s): configureConnector -upd
If any issues occurred, the command line interface shows error messages. The links lead you to the
.If any issues occurred, the command line interface shows error messages. The messages are logged in the ConnectorCLI.log file.
The links lead you to the problem solution.
You tried to encrypt and enter the SAP password into the UpdateSAPConfiguration.json file, but the user specified in the command is not specified in the file. Make sure to use the value of the related user parameter specified in the UpdateSAPConfiguration.json file for encryption.
The required configuration file is missing in the <ARIS Connector for SAP Solutions installation directory>/conf folder.
A file operation related to the corresponding configuration file failed. The exception was added to the log file.
You specified a configuration parameter using a wrong minimum or maximum value. The error message contains the valid range. To get detailed information about the use of all parameters, open the related *.md file.
A mandatory configuration parameter is missing. The error message contains the missing parameter.
You configured multiple SAP systems using identical alias values. For each SAP system, you must specify a unique alias value.
A save file operation related to the corresponding configuration file failed. The exception was added to the log file.
You must specify a valid SAP server URL as a value for the serverUrl parameter and a capital letter as a value for the language parameter. The values are used to connect to the SAP system that is specified as an alias using the ARIS Connector for SAP Solutions. To get detailed information about the use of all parameters, open the UpdateSAPConfiguration.md file.
You specified SAP connection parameters that are not valid.
You specified the value of the language parameter incorrectly. Make sure to use one capital letter. To get detailed information about the use of all parameters, open the UpdateSAPConfiguration.md file.
You specified the value of the arisCloudUrl parameter incorrectly. The URL has wrong syntax. To get detailed information about the use of all parameters, open the UpdateARISConfiguration.md file.
The value of the clientCredentials parameter is not valid. Copy the credentials of the related ARIS Connector for SAP Solutions from ARIS Architect. The value must have the syntax <client ID>/<client secret>. The value consists of the Client ID and the Client secret, separated by a forward slash (/).
The stored encrypted password could no longer be decrypted using the key.secret file that is located in the <ARIS Connector for SAP Solutions installation directory>/conf folder. Most likely, the secret key was changed. This happens if you deleted the key.secret file and restarted ARIS Connector for SAP Solutions. In this case, a new key.secret file is created using a new key and you must encrypt all credentials again. To do so, use these commands: ConfigureConnector.bat -crd <Copied credential from ARIS Architect>, ConfigureConnector.bat -sys <alias> -usr <user> -pwd <password> <repeated password>, ConfigureConnector.bat -upd.
The connection to the SAP system failed due to a problem other than an authentication issue.
The connection to ARIS failed. Possible causes can be a wrong arisCloudUrl, wrong clientCredentials, wrong certificate (cacerts, located in the <ARIS Connector for SAP Solutions installation>/jre/lib/security folder), network issues.
The log files are located in <ARIS Connector for SAP Solutions installation directory>\logs folder.
Connector.log contains information logged during the startup of ARIS Connector for SAP Solutions and about the connected SAP system.
ConnectorCLI.log contains messages logged by the command line interface.
ConnectorCommunication.log contains messages related to the communication between ARIS Connector for SAP Solutions and ARIS.
SCCService.log contains messages logged by the startup process.