fix non EAR deployemnts

fix non EAR deployemnts