Error: Data source "labware" has not been configured

LabKey Support Forum (Inactive)
Error: Data source "labware" has not been configured mauricio  2016-12-07 06:30
Status: Closed
 

Hello! I am interested in having Labkey 16.3 in production alongside the modules 'workflow' and 'Genotyping'. Build a development machine with IntelliJ IDEA, in Ubuntu 16.04, following the tutorial:

https://www.labkey.org/home/Documentation/wiki-page.view?name=build

Running Labkey from the application (IntelliJ IDEA, in Debug or Run mode) everything works correctly, only when it starts it shows me a Warning:

"WARN DefaultModule 2016-12-07 09:35:03,148 localhost-startStop-1 : Module "HDRL" requires a data source called "labwareDataSource". It's not configured, so it will be created against the primary labkey database ("labkey") instead."

See Warning in Labkey01.png (Attached file).

Now, when I build the project and put it into production, I get an error when I want to delete folders (delete projects):

'Data source "labware" has not been configured'

See attached file: labkey02.png

Can anybody help me? Thanks! Mauricio

 
 
adam responded:  2016-12-07 06:52
As the warning suggests, the HDRL module requires a labwareDataSource; in production deployments, this module interacts directly with the Oracle database underlying an instance of LabWare, accessed via this specially named data source. You should remove this module from your deployment. In fact, you'll probably want to remove many of the standard dev build modules from your deployment. See the Customizing the Build page and use the "ant dist" target to create a production distribution with just the modules you require.

Adam

 
mauricio responded:  2016-12-13 05:59
I remove the module and everything worked fine! Thanks Adam!!!