Modified postgresql and tomcat to work with rhel