Added brutal ulimit which helps sometimes for scalability setting.
Also added some settings for maven and java.