Have a rhq server (in dev mode) and a as7 in standalone mode. Restart the rhq server You will find that in the standalone as7 config the ports for the web are now changed to the ones of the rhq server <socket-binding name="ajp" port="${rhq.server.socket.binding.port.ajp:7009}"/> <socket-binding name="http" port="${rhq.server.socket.binding.port.http:7080}"/> <socket-binding name="https" port="${rhq.server.socket.binding.port.https:7443}"/>
Short term solution is in the install docs, we need to tell people to shutdown any standalone AS7 instances they have running before they run rhq-installer.sh/bat. I'd have to look into this some more to find out why this is happening. I think it has to do with the installer first looking to see if the standard admin port is listening for commands (9999) and if it is, it uses it (rather than the RHQ port of 6999).
there is a big problem that heiko just brought up. Because we try to be nice and do a "rhq-installer.sh --reconfig" everytime you start the server, I think its possible we might be connecting to anything on port 9999 first and that's a standard AS7 port. We'll then just try to reconfigure that standalone AS7 and not the RHQ AS7. If that's what is happening, then this is a blocker and needs to be fixed for 4.6.
to replicate the problem, install a standalone AS7 and just run it with "standalone.sh" - just run a clean out-of-box version, nothing special. Now, in rhq-server.properties, set these values to a non-localhost hostname (say, 192.168.1.100 or whatever your host is) jboss.bind.address=192.168.1.100 jboss.bind.address.management=192.168.1.100 rhq.autoinstall.public-endpoint-address=192.168.1.100
git commit to master: a5fbc0fad49bcabf3b5b880e12f452ff79394aee to test, just follow comment #3
Bulk closing of issues in old RHQ releases that are in production for a while now. Please open a new issue when running into an issue.