Finally I was able to resolve this issue by doing below:
Set the remote connection URL as service:jmx:remoting-jmx://jbossHost:9999
with the username : admin and password : admin@123
Basically I had to use remoting url instead of trying to find the local running process. Users looking for this issue would find useful at this Jboss forum Link