Hook scripts updated.
Tomcat config adapted for OpenShift.