Bug 969008 - BPEL database configuration is hidden inside BPEL component JAR
Summary: BPEL database configuration is hidden inside BPEL component JAR
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: Configuration
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ER7
: ---
Assignee: Julian Coleman
QA Contact: lvaskova
URL:
Whiteboard:
: 1014072 (view as bug list)
Depends On:
Blocks: 978783 1014072
TreeView+ depends on / blocked
 
Reported: 2013-05-30 13:06 UTC by Jiri Pechanec
Modified: 2023-05-15 19:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
If you configure BPEL to use another database then you also have to modify the bpel.properties file found in the switchyard-component-bpel-0.8.1.Final.jar.
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jiri Pechanec 2013-05-30 13:06:05 UTC
If BPEL should be configured to use another database then it is necessary either to modify file bpel.properties in switchyard-component-bpel-0.8.1.Final.jar or follow https://docs.jboss.org/author/display/SWITCHYARD/Update+BPEL+component+database

The OOTB configuration should
a) Contain datasource dedicated to BPEL
b) Have Riftsaw configured in standalone-*.xml to use datasource above
c) Have most frequently used options from bpel.properties placed in standalone-*.xml

Comment 1 Gary Brown 2013-06-12 07:54:39 UTC
Hi Jiri

The instructions provided in https://docs.jboss.org/author/display/SWITCHYARD/Update+BPEL+component+database explain how to do your (a), (b) and (c), so I am not sure what the issue is here?

OOTB it uses in-memory h2, without any explicit configuration. But if for example MySQL is required, then the instructions explain how to define the datasource and overridden properties within the standalone*.xml file. So it is not necessary for a user to edit the bpel,properties file - this file simply defines the property defaults.

If the issue is that you have tried those instructions and they don't appear to work, then can you provide additional details to help reproduce, and a server.log with debug logging.

Thanks.

Comment 2 Jiri Pechanec 2013-06-12 08:17:12 UTC
Hi,

I am speaking here about user experience (or admin experience). SOA-P comes with 3-4 different datasources and unless we made the configuration central it will be way too hard to install and administrate it.

I've already raised issue for components with similar behaviour too.

Comment 3 Gary Brown 2013-06-12 09:37:15 UTC
Ok understand.

Is there a particular database being targeted for the OOTB experience?

Comment 4 Jiri Pechanec 2013-06-26 13:56:56 UTC
Well,

I've seen in DR6 that overlord-rtgov and gadget server has configuration property files place in configuration directory.

I think it would make sens to do the same for BPEL too.

Comment 5 kconner 2013-06-26 14:38:37 UTC
It should be noted that placing property files within the configuration directory should not be the final solution to this issue.  The intention is to modularise these deployments and it would be much better if the configuration was handled through the upcoming extension module.

Comment 6 Gary Brown 2013-06-26 14:50:36 UTC
I don't think there is an issue here regarding configuration files, as any property changes can be applied within the standalone.xml.

Comment 7 kconner 2013-06-26 14:59:11 UTC
In that case we should remove the property file from the configuration directory and rely on the standalone.xml.

Comment 8 Gary Brown 2013-06-26 15:01:49 UTC
Sorry wasn't clear, there isn't a property file in the configuration directory currently - only one inside a riftsaw jar (called bpel.properties) which is simply used to provide the default values, which can then be overridden by values in the standalone.xml.

Comment 9 kconner 2013-06-26 15:19:22 UTC
Apologies, I think I have been confusing the issue by originally responding to Jirka's comment regarding the existing property files within the configuration directory.

We should not be adding a property file for BPEL, given that it is already supported through the standalone.xml, and we should be looking to remove the configuration files for the overlord-rtov/gadget server.

Comment 15 Anne-Louise Tangring 2013-11-11 17:35:36 UTC
Not a Blocker, not really an issue as the configuration can be done through standalone.xml (Kevin Conner)

Comment 16 Steve Johnson 2013-11-12 11:08:08 UTC
Based off this Bpel configuration:
https://docs.jboss.org/author/display/SWITCHYARD/Update+BPEL+component+database


I have created CLI script to create the BpelDS datasource.  The CLI cannot update the existing module.xml configuration, it does not support update functionality currently.  The module.xml will need to be updated with xslt (which can be run from the installer).

Comment 17 Steve Johnson 2013-11-13 15:12:06 UTC
(In reply to Steve Johnson from comment #16)
> Based off this Bpel configuration:
> https://docs.jboss.org/author/display/SWITCHYARD/
> Update+BPEL+component+database
> 
> 
> I have created CLI script to create the BpelDS datasource.  The CLI cannot
> update the existing module.xml configuration, it does not support update
> functionality currently.  The module.xml will need to be updated with xslt
> (which can be run from the installer).

Ignore please.  module.xml does not need to be modified.

Correct CLI configuration for DataSource and Module has now be added.

Requires updates to installer to call these scripts.

Comment 18 Thomas Hauser 2013-11-15 15:19:33 UTC
Need the ER7 build to test the changes.

Comment 19 Julian Coleman 2013-11-15 15:25:27 UTC
*** Bug 1014072 has been marked as a duplicate of this bug. ***

Comment 20 Thomas Hauser 2013-12-13 17:27:56 UTC
This issue needs to be verified on ER7-2.

Comment 21 Jiri Pechanec 2013-12-16 07:27:14 UTC
Verified in ER7


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