removed commented code, added guard for catalina.properties patch with shared classloader configuration