Hi Praveen,
You don't need to comment those lines, as these steps were suggested to troubleshoot a different issue. In your case, may be OpenDJ was stopped/unable to service the request and a restart would have helped there.
Please uncomment, and restart Gluu container and let us know if you still face the same issue.
Thanks
Sahil