From the screen shot it looks like you point to the build directory.
Did you have the correct permissions?
I have changed owner ship of jboss-as and jboss-as-standalone.sh file.
Both are having root:root and permission is 755.
So I would like to know any other changes it need. So I can able to resolve this.
Thanks in an advanced
Did you start the server as root? I recommend to not use the root user.
Install/copy the jboss files and directories and chown it for the appropriate user
Make your log directory writeable to the user from which you are running Jboss.
And second thing use bash instead of sh shell(sh is not recognizing let command).
Change your shebang to #!/bin/bash (or whatever your bash location).
Thank you kuldeep. it is working fine.
Thanks a lot for this help.