[BZ-1036556][BZ-1035780][BZ-1035775] fix spring applicationContext URL retrival for EAP 6.1.1