You are looking at documentation for an older release. Not what you want? See the current release documentation.
There are different distributions for Tomcat and JBoss.
For Tomcat, use the command: addon install exo-crash-tomcat.
For JBoss, use the command: addon install exo-crash-jboss.
After Platform started, you can connect to the Crash shell via Telnet or SSH.
To connect via Telnet: telnet localhost 5000
To connect via SSH: ssh -p 2000 -l root localhost
The password is gtn.
To get a manual: % help
To quit the shell: % bye or % exit.
To change default ports (Telnet 5000, SSH 2000), customize those variables:
In Tomcat:
CATALINA_OPTS="${CATALINA_OPTS} -Dcrash.telnet.port=12345" CATALINA_OPTS="${CATALINA_OPTS} -Dcrash.ssh.port=54321"
In JBoss:
JAVA_OPTS="${JAVA_OPTS} -Dcrash.telnet.port=12345" JAVA_OPTS="${JAVA_OPTS} -Dcrash.ssh.port=54321"
This sample is for Linux. For Windows and details how to customize variables, see Administrator guide.
Configuring the session maxage
By default, when you are connecting to a workspace, your session will automatically log out after 300 seconds of being idle.
If this session maxage is quite short for you, in a development/test environment
you can increase the exo.jcr.sessionregistry.sessionmaxage
property.
In exo.properties
, (see Configuration overview
if you have not created this file yet), add this line:
exo.jcr.sessionregistry.sessionmaxage=600
The unit is second.
Beware that this is a JCR configuration and in production, you change it only when you are fully acknowledged of performance impact.