fix TESB-9055 java0.log generated by the SAM