You must have a DataSource named "labkeyDataSource" defined in labkey.xml. | felix rauscher | 2015-06-29 04:54 | |||||||||||||||||||||||||||||||||||||||||
Status: Closed | |||||||||||||||||||||||||||||||||||||||||||
Hi, I am trying ot install Labkey on SL7 (equivalent to CentOS7), using tomcat (7.0.54) and postgres (9.2.10) from the distributions repositories. I get a stack trace with the You must have a DataSource named "labkeyDataSource" defined in labkey.xml error, even though I have configured the dataSource. See attached labkey.xml The stack trace looks like this: org.labkey.api.util.ConfigurationException: DataSources are not properly configured in labkey.xml. at org.labkey.api.module.ModuleLoader.initializeDataSources(ModuleLoader.java:861) at org.labkey.api.module.ModuleLoader.doInit(ModuleLoader.java:344) at org.labkey.api.module.ModuleLoader.init(ModuleLoader.java:258) at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4809) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5485) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1862) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.labkey.api.util.ConfigurationException: You must have a DataSource named "labkeyDataSource" defined in labkey.xml. at org.labkey.api.module.ModuleLoader.ensureDatabase(ModuleLoader.java:929) at org.labkey.api.module.ModuleLoader.initializeDataSources(ModuleLoader.java:838) ... 18 more Another question: How could I expand the stack-trace further? Best Regards Felix |
|||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||