1.4.2. Advanced Customization

In this section, customization is performed by appending parameters to the CATALINA_OPTS variable, for example:




By appending -XX:+HeapDumpOnOutOfMemoryError to CATALINA_OPTS, you will have a dump file which is usable to analyze why JVM runs out of memory.

The dump file's path is given in the second line.



The first line enables the GC (JVM Garbage Collector) log. The second line indicates where you want to save the log file.






By appending those parameters to CATALINA_OPTS, you allow a JMX client (such as jconsole, visualvm) to connect to your JVM and to do operation tasks.

This tutorial describes how to connect jconsole to a Java application.

-DJDBCWorkspaceDataContainer.statistics.enabled=true -DJCRStatisticsManager.persistence.timeout=30000

This line activates the JCR Statistics tool which is used for performance analysis and tuning.



These 2 variables take effect only if you are deploying Crash into eXo Platform.

Crash is a useful tool which provides a shell to work on the JCR repository. By default, you can connect to the shell at telnet port 5000 and ssh port 2000.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus