Create and Start an EM4J-Enabled tc Runtime Instance

You create an EM4J-enabled tc Runtime instance with the tcruntime-instance command, specifying the elastic-memory template. This is no different than using any other tc Server template, but note these caveats:

Prerequisites

Procedure

  1. Change to the tc Server installation directory and create an EM4J-enabled tc Runtime instance.

    For example:

    prompt$ ./tcruntime-instance.sh create instanceName -t elastic-memory 

    Replace instanceName with the name of the runtime instance. You can use additional templates (-t option) or use any of the other features of the tcruntime-instance command described in "tcruntime-instance.sh Reference" in Getting Started with vFabric tc Server.

  2. Start the instance using the tcruntime-ctl.sh command.

    For example:

    prompt$ ./tcruntime-ctl.sh instanceName start
  3. To verify that EM4J started successfully, look in CATALINA_HOME/logs/catalina.out for the message EM4J 1.0.x agent initialized.

What to do next