+++ This bug was initially created as a clone of Bug #823558 +++ This check is important, because the basedir is the resource key, and so if that changes, it's no longer the same server Resource, and start() should throw a InvalidPluginConfigurationException, which will result in a yellow triangle in the GUI. We have such a check in the as4 and as5 plugins. We should also move the launch-type and product-name checks that are currently in getAvailablity() to start().
I'd like to get this in since it helps prevent user confusion when starting up different servers on the same port. Assuming this has good automated test coverage we should push this to the release/jon3.1.x branch
The fixes have been cherry-picked from master to the release/jon3.1.x branch: http://git.fedorahosted.org/git?p=rhq/rhq.git;a=commitdiff;h=9559747 http://git.fedorahosted.org/git?p=rhq/rhq.git;a=commitdiff;h=2bc78a7 http://git.fedorahosted.org/git?p=rhq/rhq.git;a=commitdiff;h=1a11892 http://git.fedorahosted.org/git?p=rhq/rhq.git;a=commitdiff;h=db2731c
Closing for the old release as Bug 823558 has been fixed/implemented and the fixes were cp'd over.