[jboss-dev-forums] [JBoss AS7 Development] - stopping jboss7
ian diddams
do-not-reply at jboss.com
Wed Sep 7 04:57:15 EDT 2011
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&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110907/afd9ea6d/attachment.html
More information about the jboss-dev-forums
mailing list