1. In 3.0.6 org.jboss.Shutdown is broken:
PasswordAuthenticator(String username, String password)
throws NPE if password is not given. See also patch #
677603. The patch prevents this.
2. It is impossible to shutdown with org.jboss.Shutdown
if HTTP is disabled.
To fix, I propose to use additional parameter:
java org.jboss.Shutdown [host [port [protocol]]] [-u
username] [-p password] [-c shutdown_command]
Protocol is located after port to prevent existing
scripts from break.
3. Masking most exceptions makes it hard to find why
the shutdown is not happening. With patch all
exceptions are being printed to System.err with
Log in to post a comment.