[IBM i]

Preparing a server to use ARM

This topic describes how to prepare your server to use an Application Response Management (ARM) agent.

About this task

WebSphere® Application Server does not ship an ARM agent. However, it supports the use of agents adhering to ARM 4.0 and ARM 2.0 standards.

To use an ARM agent, you must import specific JAR files into the appropriate directory on your server.

Procedure

  1. Add the ARM library to the application server configuration.
    1. Start the administrative console.
    2. Click Servers > Application Servers > server > Java™ and Process Management > Process Definition > Java Virtual Machine > Custom Properties > New.
    3. For the Name field, enter java.library.path.
    4. For the Value field, enter /QSYS.LIB/QSHELL.LIB:/QSYS.LIB/QGPL.LIB:/QSYS.LIB/QTEMP.LIB:/QSYS.LIB/QWLM.LIB.
    5. Click OK.
    6. Save the changes.
  2. Grant access to the native code. From the command line, run these commands:
    The default profile under which the HTTP server and the WebSphere HTTP plugin run:
    GRTOBJAUT OBJ(QSYS2/LIBARM4) OBJTYPE(*SRVPGM) USER(QTMHHTTP) AUT(*EXECUTE)QTMHHTTP
    The default profile under which WebSphere Application Server runs:
    GRTOBJAUT OBJ(QSYS2/LIBARM4) OBJTYPE(*SRVPGM) USER(QEJBSVR) AUT(*EXECUTE)QEJBSVR