Bug 824019 - [as7] check that server's basedir has not changed since discovery needs to be added to server components' start() method
Summary: [as7] check that server's basedir has not changed since discovery needs to be...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.4
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: JON 3.1.0
Assignee: Charles Crouch
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On: 823558
Blocks: as7-plugin
TreeView+ depends on / blocked
 
Reported: 2012-05-22 15:08 UTC by Ian Springer
Modified: 2015-02-01 23:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 823558
Environment:
Last Closed: 2013-09-04 09:01:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Ian Springer 2012-05-22 15:08:50 UTC
+++ 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().

Comment 1 Charles Crouch 2012-05-22 16:43:24 UTC
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

Comment 5 Heiko W. Rupp 2013-09-04 09:01:43 UTC
Closing for the old release as Bug 823558 has been fixed/implemented and the fixes were cp'd over.


Note You need to log in before you can comment on or make changes to this bug.