CRaSH demos can be obtained by cloning the Git repository [email protected]:crashub/demo-kit.git
git clone [email protected]:crashub/demo-kit.git
CRaSH demos are built with Maven.
mvn package
it will produce:
packaging/target/demo-kit-demos
: the exploded directorypackaging/target/demo-kit-demos.zip
: the demos as zip
The default output directory is packaging/target
, but you can override it using demo.output.directory
property as following:
mvn package -Ddemo.output.directory="/home/foo/demos"
You can install some sublime text snippets to help you during the demo:
cd sublime-text
mvn install -Ddemo.sublimetext.directory="/path/to/sublime text"
Default OSX path is /Users/foo/Library/Application Support/Sublime Text 2/Packages/User
Provided snippets are :
jmx find
jmx get
jmx sort
jmx dashboard
jmx full
twitter service
twitter parse
twitter print
twitter command
twitter argument
twitter try
- Run crash
./demo1-standalone/bin/crash.sh
- Run jboss
./demo2-jpa/jboss-as-7.1.1.Final/bin/standalone.sh
- Attach crash using visualvm plugin
- Data source is available for demo using
jdbc open java:global/jdbc/crashJpaDemoDS
- Entity manager factory is available for demo using
jpa open crashJpaDemoEMF
- Run tomcat
./demo3-jmx/apache-tomcat-7.0.35/bin/catalina.sh run
- Attach crash
./demo1-standalone/bin/crash.sh <Bootstrap pid>
- Base your demo on the monitor dashboard :
./demo1-standalone/cmd/monitor.groovy
- Run jmeter:
jmeter -n -t ./demo3-jmx/crashDemo.jmx
- Run tomcat
./demo4-spring/apache-tomcat-7.0.35/bin/catalina.sh run
- Connect to crash using telnet:
telnet localhost 5000
- Base your demo on the twitter command :
./demo1-standalone/cmd/monitor.groovy