Bug 1036787

Summary: RFE - It should be possible to disable/enable datasource without requiring a reload operation.
Product: [JBoss] JBoss Operations Network Reporter: Filip Brychta <fbrychta>
Component: Plugin -- JBoss EAP 6Assignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED DUPLICATE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.2CC: ahovsepy, tsegismo
Target Milestone: ---   
Target Release: JON 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-22 15:52:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Filip Brychta 2013-12-02 15:44:50 UTC
Description of problem:
EAP6 admin console doesn't require a reload operation when disabling/enabling datasource but JON shows message 'The server needs a reload for the latest changes to come effective.'

Version-Release number of selected component (if applicable):
Version :	
3.2.0.ER7
Build Number :	
e8e6401:ff0061d

How reproducible:
Always

Steps to Reproduce:
1.  Import standalone EAP 6 server into JON inventory
2.  Navigate to the *datasources* node of the newly imported EAP 6 standalone server (i.e. *JBossAS7 Standalone Servers / EAP (127.0.0.1:9990) / datasources*)
3.  Select its *Inventory > Child Resources* tab
4.  Click *Create Child -> DataSource (Standalone)*
5.  Enter a name (i.e. TestDS) and click *Next*
6.  Set the following properties and click *Finish*

        *Connection Url*:   `jdbc:h2:mem:test;DB_CLOSE_DELAY=-1`
        *Driver Name*:      `h2`
        *Jndi Name*:        `java:jboss/datasources/TestDS`
        *User Name*:        `sa`
        *Password*:         `sa`
        *Enabled*:          *Yes*

7.  Click *Refresh* and wait for TestDS to appear in datasources *Inventory > Child Resources* tab
8.  Select newly created *TestDS* resource and invoke disable operation
9.  Navigate to Configuration tab

Actual results:
'The server needs a reload for the latest changes to come effective.' message is displayed.

Expected results:
The same behaviour like in EAP admin console. The reload operation when disabling/enabling datasource is not required.

Comment 2 Thomas Segismont 2014-08-22 15:52:33 UTC

*** This bug has been marked as a duplicate of bug 1004977 ***