The JBoss AS7 Server can be set to change its port by going to the server configuration then under startup selecting to configure the Program Arguments and adding,
The server starts but now the war and other artifacts will not deploy during server launch. Also, the server does not shutdown, presumably for the same reason. It would seem it is still trying to deploy to the default port for deployment which has been offset. If, after the server is running happily on 8888 for example trying to deploy the war results in a message that the server is not connected. I also tried setting the offset to 10 but same result.
Can someone please guide me as to how to get the deployment working?