Sonar issue when configuring sonar with http://localhost:9000 it was not working due to /sonar context is appended by default.