Hi Jai/Peter,
One good news..It is working now. I have added JAVA_HOME value is service.bat file.
Thanks a lot Peter, your idea on this worked..
But my question is, if I do not want to set JAVA_HOME in service.bat it should work as it was working earlier. Any changes needs to be made to make this work without having JAVA_HOME variable in service.bat file in JBoss bin folder. Many thanks for your time.
Cheers,
Prashant.