I created gemfire instance and started a locator, and I was also able to access the HTTP application from browser. Another day when I logged again and start gfsh to connect gemfire install using following command, gfsh>connect
gfsh>connect
Connecting to Locator at [host=localhost, port=10334] ..
Exception caused JMX Manager startup to fail because: 'HTTP service failed to start'
Even on connecting to locator,
gfsh>connect --locator=localhost[40405]
Connecting to Locator at [host=localhost, port=40405] ..
Exception caused JMX Manager startup to fail because: 'HTTP service failed to start'