Executing configITPAM.sh script to configure Remedy with Process Automation returns following error: java.lang.ArrayIndexOutOfBoundsException
search cancel

Executing configITPAM.sh script to configure Remedy with Process Automation returns following error: java.lang.ArrayIndexOutOfBoundsException

book

Article ID: 5228

calendar_today

Updated On:

Products

CA Process Automation Base

Issue/Introduction

We are trying to execute configITPAM.sh script in order to configure Remedy with Process Automation but the script fails with following error.

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0

at com.ca.itpam.config.ConfigITPAM.main(ConfigITPAM.java:116) 

<Please see attached file for image>

Remedy_Configuration_Linux.png

 

 

 

 

Environment

BMC remedy running on *nix.

Cause

The error message is very generic that can occur due to various reasons but the major reason identified as the usage of incorrect version of Java to 

invoke the script.

Resolution

Navigate to the location where ‘ConfigITPAM.sh’ file exists and run

 

‘./ConfigITPAM.sh’ which in turn invokes

 

#!/bin/sh

"$JAVA_HOME/java" -cp ConfigITPAM.jar com.ca.itpam.config.ConfigITPAM

 

So, as an alternative following command can also be executed to start the configuration.

 

java" -cp ConfigITPAM.jar com.ca.itpam.config.ConfigITPAM

 

 

Additional Information

Note: 1. ConfigITPAM.sh script requires X display variable

 

          2. JAVA_HOME variable should be set to reflect the correct version of Java

Attachments

1558704453525000005228_sktwi1f5rjvs16qj5.png get_app