I recently updated from jboss-as.7.1.0.CR1b
to jboss-as.7.1.0.Final
and want to shutdown running instance from the console. In previous versions th
I just want to contribute the answer for Jboss 5.x server, because the question is relevant to JBoss shutdown.
For Windows, proper syntax is mentioned below:
${JBOSS_HOME}/bin/shutdown.bat -s jnp://applicationHostedEnvironment:portNumber -S
For example: If the application is hosted on local machine with the port 1099 then use:
${JBOSS_HOME}/bin/shutdown.bat -s jnp://localhost:1099 -S
For Linux, Syntax:
${JBOSS_HOME}/bin/shutdown.sh -s jnp://applicationHostedEnvironment:portNumber -S
For example: If the application is hosted on local machine with the port 1099 then use:
${JBOSS_HOME}/bin/shutdown.sh -s jnp://localhost:1099 -S