Description of problem: The default datasource console is "ExampleDS". Please change the jboss-web.xml to it as following. <jboss-web> ... <res-ref-name>jdbc/dashbuilder</res-ref-name> <res-type>javax.sql.DataSource</res-type> <!--jndi-name>java:jboss/datasources/dashbuilderDS</jndi-name--> <jndi-name>java:jboss/datasources/ExampleDS</jndi-name> </resource-ref> ... </jboss-web> Version-Release number of selected component (if applicable): How reproducible: If not change this, dashbuilder can't be deployed. Reproduced in BPMS 6.0.0 DR3. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This is a small fix. Sent a pull request: https://github.com/droolsjbpm/dashboard-builder/pull/2
The following document document explains how to set-up an integrated installation of the Dashbuilder and the jBPM Human Tasks console. As you can see in the document the two modules use different data sources. https://github.com/droolsjbpm/dashboard-builder/blob/master/builder/src/main/jbossas7/README.md For the Dashbuilder deployment you first need to create a custom data source as explained in the document, in order to have separated database schemas for the two modules. So, what is the main reason to make Dashbuider use the ExampleDS? Is not working after following the deployment instructions?
It would be preferrable for testing (and I think, subsequently, for users) if the product could be configured to work using both a single data source and optionally multiple.
(In reply to comment #2) > The following document document explains how to set-up an integrated > installation of the Dashbuilder and the jBPM Human Tasks console. As you can > see in the document the two modules use different data sources. > > https://github.com/droolsjbpm/dashboard-builder/blob/master/builder/src/main/ > jbossas7/README.md > > For the Dashbuilder deployment you first need to create a custom data source > as explained in the document, in order to have separated database schemas > for the two modules. > > So, what is the main reason to make Dashbuider use the ExampleDS? The main reason for this is to use an existed DS in AS7. Otherwise it can't be "predeployed", "preconfigured" in BPMS product. It can't even be deployed without manually installed the datasource first. It breaks the requirement of "predeployed" and "preconfigured" > Is not working after following the deployment instructions? I believe the steps are correct though I didn't realize where to find it before you point it out. Sure, the guide definetly increase the value. Wouldn't it be better for dashbuild use the same datasource as jbpm datasource as a default value?
I agree on using the ExampleDS by default. Thus I've merged your pull request and also modified the deployment instructions onto JBoss in order to remove the dashbuilderDS datasource creation stuff. All these changes have been commited to github already.
QA: Default datasource changed. Verified in BPMS 6.0.0 DR4