Try the following:
sh shutdown.sh -s localhost:1099
This assumes the default JNDI port of 1099 and that the server is running on your local machine.
Looking at your error message again, it appears that you do not have the JMX service deployed. Are you running the 'minimal' configuration? That configuration doesn't have JMX, and without JMX you will not be able to remotely stop the server. (When I ran 'minimal' I got the exact same error message you got when running shutdown.)
I have got a single tar for jboss, which i have installed on my linux server. Can u pease guide me what do i need to check for JMX service availability. Also let me know what is the quick solution for this.
Even after firing sh shutdown.sh -s localhost:1099 also it dosent works. It gives same error. Please guide me what to i need to do to install JMX service.
You will need to copy the jmx-invoker-adaptor-server.sar directory to your deploy directory. You can find a copy in the 'all' and 'default' configurations.
Which server configuration are you running? In other words, when you start JBoss as sh run.sh -c XXX, when do you use in place of XXX?
What are the contents of that configurations lib and deploy directories?
The jmx-invoker-adaptor-server.sar relies on certain jar's being available.
Is ther any reason why you cannot deploy your application the the 'default' configuration?