org.labkey.api.util.ConfigurationException

DataSources are not properly configured in labkey.xml.

Samebug tips3

Add localDataSource="true" to the realm when using local database.

Make sure you use the same name for your database everywhere in context.xml.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web33

  • DataSources are not properly configured in labkey.xml.
  • via labkey.org by Unknown author, 1 year ago
    DataSources are not properly configured in labkey.xml.
  • via labkey.org by Unknown author, 11 months ago
    DataSources are not properly configured in labkey.xml.
  • Stack trace

    • org.labkey.api.util.ConfigurationException: DataSources are not properly configured in labkey.xml. at org.labkey.api.module.ModuleLoader.initializeDataSources(ModuleLoader.java:887) at org.labkey.api.module.ModuleLoader.doInit(ModuleLoader.java:318) at org.labkey.api.module.ModuleLoader.init(ModuleLoader.java:230) at java.lang.Thread.run(Thread.java:745) Caused by: javax.naming.NameNotFoundException: Name [comp/env] is not bound in this Context. Unable to find [comp]. at org.apache.naming.NamingContext.lookup(NamingContext.java:819) at org.apache.naming.NamingContext.lookup(NamingContext.java:167) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:156) at javax.naming.InitialContext.lookup(InitialContext.java:417) at org.labkey.api.module.ModuleLoader.ensureDatabase(ModuleLoader.java:902) at org.labkey.api.module.ModuleLoader.initializeDataSources(ModuleLoader.java:864)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    6 times, 2 months ago
    Once, 6 months ago
    2 times, 10 months ago
    29 more bugmates