0

The docs say that it's automatically enabled for newly created Java Application servers (e.g. Tomcat, Jetty) but is it also enabled for the Java Engine environment? I looked through the folder structure of my Java Engine environment but I couldn't see jelastic-gc-agent.jar anywhere.

If it isn't automatically enabled for the Java Engine environment, then how do I manually enable it?

toby-one
  • 191
  • 2
  • 11
  • 1
    Which version of Java Engine do you run? The agent should be enabled by default for all java engines with JDK version < 12. You can check if the agent is attached via `ps -ax | grep java` – Ruslan Apr 14 '19 at 07:40
  • 1
    By default, GC is saved in the "java_agent" directory in the root of the container. When you create a new container, it starts automatically with GC. – Virtuozzo Apr 15 '19 at 09:17
  • 1
    Thanks yes I can see the gc agent is active with `ps -ax | grep java` and also I can see the file `/java_agent/jelastic-gc-agent.jar` – toby-one Apr 17 '19 at 19:39

0 Answers0