I discovered that the issue was related to the antivirus on the server and it corrupted some JRE files inside webspehere java folder.