Bug 1011494 - jBPM datasource not updated to use new database driver URL
Summary: jBPM datasource not updated to use new database driver URL
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: ER4
: ---
Assignee: Thomas Hauser
QA Contact: Len DiMaggio
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-24 12:35 UTC by Stefan Bunciak
Modified: 2014-02-06 15:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-06 15:26:07 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 996175 0 unspecified CLOSED Database driver configured during the installation process is not used for existing datasources 2021-02-22 00:41:40 UTC

Internal Links: 996175

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


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