This post is older than a year. Consider some information might not be accurate anymore.
The patch command is a feature that was added in JBoss EAP 6.2. Following post demonstrates the patching process.
The underlying JBoss has a port offset of 1. The JBoss instance should be running. Patch JBoss EAP 6.4.0 installation with the CLI
tan@debian:/opt/jboss-patched/bin$ ./jboss-cli.sh --connect controller=localhost:10000
[standalone@localhost:10000 /] patch apply /opt/jboss-eap-6.4.2-patch.zip
{
"outcome" : "success",
"response-headers" : {
"operation-requires-restart" : true,
"process-state" : "restart-required"
}
}
[standalone@localhost:10000 /] shutdown --restart=true
[standalone@localhost:10000 /] quit