Installation
There are different distributions for Tomcat and JBoss.
To install Crash in Tomcat (check the latest version by yourself): addon install exo-crash-tomcat.
To install Crash in JBoss: addon install exo-crash-jboss.
Connecting to the shell
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.
Configuring the ports
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.