ian diddams [
http://community.jboss.org/people/didds] created the document:
"stopping jboss7"
To view the document, visit:
http://community.jboss.org/docs/DOC-17175
--------------------------------------------------------------
apolgies if this is the wrong forum for this query - if you steer me to a more apropriate
place then that's fine.
starting a jboss7 instance is easy enough - cd bin; ./standalone.sh and away you go.
Stopping the instance is somewhat less obvious though - googling elicited this -
bin/jboss-admin.sh --connect command=:shutdown
However, I then had to make alterations to JBOSS_HOME/configuration/standalone.xml so the
instance can be accessed outside the local system - and that "breaks" the
stopping command above with a compliant
Communication error: Could not connect to remote://localhost:9999 in 5000ms. Make sure the
server is running and/or consider setting a longer timeout by setting
-Dorg.jboss.as.client.connect.timeout=<timeout in ms>.
Closed connection to localhost:9999
presumably this is because of the chnages made in standalone.xml - so what else must I
change to allow this shutdown command to now work as a result?
cheers
ian
--------------------------------------------------------------
Comment by going to Community
[
http://community.jboss.org/docs/DOC-17175]
Create a new document in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=102&am...]