Bug 899711 (JBPAPP6-1240)

Summary: JDBC / datasource "installer"?
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Ondřej Žižka <ozizka>
Component: InstallerAssignee: Thomas Hauser <thauser>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: medium Docs Contact:
Priority: high    
Version: unspecifiedCC: ales.justin, ozizka, smcgowan, thauser
Target Milestone: ER3   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBPAPP6-1240
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1006532 (view as bug list) Environment:
Last Closed: 2013-12-15 16:17:13 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 900727, 1006532    
Attachments:
Description Flags
datasourceprototype.png
none
jdbcdriverno.png
none
jdbcdriveryes.png
none
jdbcinstalled.png none

Description Ondřej Žižka 2012-01-12 22:49:17 UTC
project_key: JBPAPP6

(11:44:33 PM) ozizka-ntb: Regarding the JDBC drivers and Datasources -
(11:44:58 PM) ozizka-ntb: perhaps we could have a maven-based "installer"
(11:45:16 PM) ozizka-ntb: So we wouldn't ship jdbc drivers,
(11:45:39 PM) ozizka-ntb: rather  a pom with jdbc as deps in profiles
(11:46:02 PM) ozizka-ntb: which would activate through -Dds=postgresql
(11:46:28 PM) ozizka-ntb: there would be dependency:copy-dependencies, which would copy the JDBC jar to AS
(11:46:36 PM) ozizka-ntb: and set the datasource
(11:46:59 PM) ozizka-ntb: Maven's role in this would be to get the driver 

All the remaining ways (CLI or console) need the developer/admin to manually provide the jar.

Comment 1 Ondřej Žižka 2012-01-12 22:57:56 UTC
Forgot to add - something like this is in the testsuite. Minus the copying.

Comment 2 Ondřej Žižka 2012-01-12 23:22:30 UTC
Related: https://docspace.corp.redhat.com/docs/DOC-82405  EAP Graphical Installer Requirements

Comment 3 Shelly McGowan 2012-01-18 14:42:56 UTC
to be discussed as an installer feature

Comment 4 Shelly McGowan 2012-02-02 19:21:36 UTC
[per JIRA triage] this issue should remain in the EAP6 TBD for now.  We are discussing the relevance of this and would have a higher impact if we decide to remove H2 from the distribution.  There has also been a discussion on how it can be implemented but the work is not a priority at this time based on the other Installer work in progress.

Comment 5 Dustin Kut Moy Cheung 2012-02-09 21:14:42 UTC
Link: Added: This issue is a dependency of JBPAPP-8085


Comment 6 Dustin Kut Moy Cheung 2012-07-23 14:48:45 UTC
Link: Added: This issue is a dependency of JBPAPP-9555


Comment 7 Dustin Kut Moy Cheung 2012-07-26 13:19:51 UTC
Link: Removed: This issue is a dependency of JBPAPP-8085 


Comment 8 Thomas Hauser 2012-11-08 18:58:11 UTC
This feature has been added for 6.1. Screenshots to follow. 

Comment 9 Thomas Hauser 2012-11-09 18:25:05 UTC
Attachment: Added: datasourceprototype.png
Attachment: Added: jdbcdriverno.png
Attachment: Added: jdbcdriveryes.png
Attachment: Added: jdbcinstalled.png


Comment 10 Thomas Hauser 2012-11-09 18:27:21 UTC
Attached are screenshots of the JDBC installation feature. The installer uses the CommandContext API to add the drivers to EAP. The server is started (in either standalone or domain, user chooses at an earlier step in the installation process), and the correct commands are issued. The server is then shutdown. 

A datasource using the newly installed driver is also installed during the process. 

It is also possible to select multiple jars in the file browser during JDBC driver installation, and all given jars will be copied to an appropriate location. The driver is installed as a core module.

A few things still need to be done:
a) Translation work for all strings
b) A proper description of the Datasource installation page needs to be created


Comment 11 Anne-Louise Tangring 2012-11-13 20:46:42 UTC
Docs QE Status: Removed: NEW 


Comment 13 Thomas Hauser 2013-09-30 14:52:33 UTC
This feature is available in EAP 6.2.0 ER1 and further. Found this issue while cleaning up BZs.

Comment 14 Petr Kremensky 2013-09-30 14:57:09 UTC
Verified on EAP 6.2.0.ER3.