cleans up some stuff that did not work
duplicates the pre_start_glassfish for pre_restart_glassfish