2.When trying to invoke same jboss console from command line using jconsole.sh, unable to connect using credentials; Tried using default credential admin, but didnt help; Hence created new user using add user.sh and tried connecting using that user but this way also didnt help.
To connect to Jboss using jconsole.sh script, use remote connection URL "
service:jmx:remoting-jmx://10.10.10.10:9999" where 10.10.10.10 is an example for IP address. You need to change it though.
If jconsole.sh script and jboss both are running on the same machine or on localhost, you can connect directly without any URL or user password.