ArrayIndexOutOfBoundsException - ABO - Reference Guides

Back Office Configuration Guide

Product
ABO
AFS_Version
7.11
Category
Reference Guides
language
English
audience
public

This error occurs when not enough memory has been allocated to the Back Office, causing the Back Office interface to freeze.

The Back Office logs found in:

/usr/local/afs7/bo-server/logs/*

might also show the following error:

java.lang.OutOfMemoryError: Java heap space

To fix this issue:

Edit the following file:

/usr/local/afs7/bo-server/conf/launcher.conf

Modify the value of the export MAXMEMORY parameter as in the following example:

# If you want to use a specific java, set this variable to its directory
# export JAVA_HOME="/usr"

# If you want to set the max memory used by the BO, set the MAXMEMORY variable. You can set it to MB directly by using 'm' (for example : 512m), or to GB by using g (for example : 2g)
# The default value is '1g'
export MAXMEMORY="3g"

# This variable enables to set some arguments to the JVM such as -Xss
# The default value is "-Djava.io.tmpdir=/usr/local/afs7/tmp"
export JVM_ARGS="-Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=4000,suspend=n"

# The LOGLEVEL variable allows you to choose the log level of the BO's output. Allowed values are TRACE, DEBUG, MESSAGE, WARNING, ERROR or NONE
# The default value is 'WARNING'
export LOGLEVEL="MESSAGE"

systemctl restart bo-ac.service

systemctl restart bo-analytics.service

As root user

systemctl restart bo-server.service