Nolio KB: Agent v3.3/4.0 on AIX system with NON-Default Java location

Document created by MaryGreening on Jul 8, 2014
Version 1Show Document
  • View in full screen mode

Nolio Official KB: I am trying to do a Nolio Agent v3.3 -v4.0 Install on an AIX sytem with a NON-Default Java location, and it keeps failing, What should I do?

Problem:  While doing a local Install for Nolio Agents V3.3 and V4.0 on AIX the install fails
Analysis: Check if Java is installed in a NON- Default Location
Logs evidence:
nolio-log: DATE [pool-5-thread-1] ERROR (UnixExecutionInstallServiceImpl.java:209) - Could not install agent on server [server] error is [mkdir: cannot create /tmp/nolioTempFiles. /tmp/nolioTempFiles: File exists ] out is [No suitable Java Virtual Machine could be found on your system. The version of the JVM must be at least 1.6. Please define INSTALL4J_JAVA_HOME to point to a suitable JVM. You can also try to delete the JVM cache file /home/admin/.install4j ]
Solution: To enable Nolio Agent on AIX box to work properly with JAVA that is not installed in the default location, you need to update a two link locations under the (Nolio Agent Root)  folder
                (Nolio Agent Root)/jre/lib
   Update the link from /usr/java6_64/jre/lib/ext to the location of your JAVA install
                 (Nolio Agent Root)/jre/bin
  Update the link from /usr/java6_64/bin/java to the location of your JAVA install

 

Once the installation finished you need to update wrapper.conf (Locate in [agent installation dir]/conf) and modify the following line to point to java6 location
# Java Application
Wrapper.java.command={WRITE THE LOCATION OF THE NEW JRE}
It should be something like /app/tools/java6/jre

 

This document was generated from the following discussion: Nolio KB: Agent v3.3/4.0 on AIX system with NON-Default Java location

Attachments

    Outcomes