Bug 996175 - Database driver configured during the installation process is not used for existing datasources
Summary: Database driver configured during the installation process is not used for ex...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: Installer
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ER3
: ---
Assignee: Thomas Hauser
QA Contact: Len DiMaggio
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-12 15:00 UTC by Stefan Bunciak
Modified: 2014-02-06 15:29 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1011494 0 unspecified CLOSED jBPM datasource not updated to use new database driver URL 2021-02-22 00:41:40 UTC

Internal Links: 1011494

Description Stefan Bunciak 2013-08-12 15:00:21 UTC
Description of problem:


Version-Release number of selected component (if applicable):

SOA 6.0.0.ER1

How reproducible:


Steps to Reproduce:
1. Install SOA 6.0.0.ER1 using installer
2. In post-installation configuration of the installer create a new datasource (e.g. with connection to Mysql database) with appropriate jdbc driver.
3. Finish installer

Actual results:

* New datasource along with appropriate driver is created in standalone.xml, however the existing datasources (jbpmDS, OverlordRTgov ds, ...) still use the default H2 database.

Expected results:

* After explicitly configuring a new database driver in the installer, this database driver should be used for existing datasources as well. 

Additional info:

* We can consider creating a checkbox in the installer GUI so users can decide.

Comment 4 Thomas Hauser 2013-09-20 19:40:25 UTC
The scripts now exist, and the chosen JDBC driver will be put into the existing datasources through the corresponding *.properties file.

Comment 5 Stefan Bunciak 2013-09-24 12:51:38 UTC
Verified in FSW 6.0.0.ER3. 

However, datasources are updated to use the new database driver, credentials remains the same which won't be correct until someone creates new users in its DB with exact the same credentials as the installer script specified.

Moreover, URL of the jBPM DS is not updated: https://bugzilla.redhat.com/show_bug.cgi?id=1011494


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