The passwords are non-recoverable - depending on the version you are running you will either need to remove the user manually and then run add-user to add it again or run add-user and update the password of the existing user.
I started jboss in standalone mode and I added a user and a password. after I tried to connect to jconsole in Remote process:
but it shows me access denied
How are you starting jconsole? Are you using the jconsole script we supply in the installation?
Also can you try using the CLI remotely - that also uses the same authentication.
yes I used the script supply in the application.
what is CLI remotely?