Error is occurring when running IndexRebuilder.sh
search cancel

Error is occurring when running IndexRebuilder.sh

book

Article ID: 207284

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

We are receiving an exception when we run the IndexRebuilder.sh command.

# ./IndexRebuilder.sh /opt/Introscope10.7.0.45/traces
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object

This is our JAVA_HOME
# echo $JAVA_HOME
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.272.b10-1.el7_9.x86_64/jre

Environment

Release : 10.7.0

Component : Introscope

Resolution

In the IndexRebuilder.sh script file change the statement below.

From:

"$JAVA_HOME/bin/java" -Declipse.consoleLog=false -jar "$installDir/launcher.jar" -install "$installDir/product/enterprisemanager" -application com.wily.introscope.eclipseapp.IndexRebuilder "$1"

To:

java -Declipse.consoleLog=false -jar "$installDir/launcher.jar" -install "$installDir/product/enterprisemanager" -application com.wily.introscope.eclipseapp.IndexRebuilder "$1"