Bug 1011494

Summary: jBPM datasource not updated to use new database driver URL
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Stefan Bunciak <sbunciak>
Component: InstallerAssignee: Thomas Hauser <thauser>
Status: CLOSED CURRENTRELEASE QA Contact: Len DiMaggio <ldimaggi>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: atangrin, soa-p-jira
Target Milestone: ER4   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-06 15:26:07 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:

Description Stefan Bunciak 2013-09-24 12:35:58 UTC
Description of problem:

After installing FSW 6.0.0.ER3 and configuring new database driver (e.g. mysql/mariadb) jBPM Datasource remains configured to use H2 instead of newly created database driver configured during installation process.

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

How reproducible:


Steps to Reproduce:
1. Install FSW 6.0.0.ER3
2. In post-installation steps define new database driver
3. Check standalone.xml for datasource definitions

Actual results:


Expected results:


Additional info:

Comment 1 Stefan Bunciak 2013-09-24 12:44:08 UTC
Actually driver is updated but the connection url remains the same as for H2 - so obviously incorrect:

                <datasource jndi-name="java:jboss/datasources/jbpmDS" pool-name="jbpmDS" use-java-context="true">
                    <connection-url>jdbc:h2:${jboss.server.data.dir}/jbpm5/jbpm</connection-url>
                    <driver>mysql</driver>
                    <security>
                        <user-name>soa</user-name>
                        <password>soa</password>
                    </security>
                </datasource>

Comment 2 Thomas Hauser 2013-09-24 18:50:14 UTC
This issue will be resolved by the resolution of https://bugzilla.redhat.com/show_bug.cgi?id=1011571

Comment 3 Thomas Hauser 2013-09-30 14:30:39 UTC
This issue should be checked along with 1011571

Comment 4 Stefan Bunciak 2013-10-03 11:37:30 UTC
Verified in FSW 6.0.0.ER4