GithubHelp home page GithubHelp logo

Comments (8)

serverhorror avatar serverhorror commented on June 16, 2024

It seems that around Line 226 the settingsKey shouldn't actually contain a hardcoded URI to MySQL

from cbioportal.

tjrivera avatar tjrivera commented on June 16, 2024

I've also run into this issue. Should the build process use the database defined here: https://github.com/cBioPortal/cbioportal/blob/master/src/main/resources/portal.properties.EXAMPLE#L7 to run its tests during build?

from cbioportal.

serverhorror avatar serverhorror commented on June 16, 2024

I think the the maven settings is definitely the wrong place to look for cBioportal settings. Im in favor of the portal.properties.

from cbioportal.

jjgao avatar jjgao commented on June 16, 2024

@serverhorror @tjrivera Have you solved the problem? Database should be configured in Tomcat context.xml file.

https://github.com/cBioPortal/cbioportal/wiki/Pre-Build-Steps#configure-the-database-connection-pool-resource-to-apache-tomcat

from cbioportal.

tjrivera avatar tjrivera commented on June 16, 2024

@jjgao I think this refers specifically to the build process and the fact that the MySQL db that is used to test against during the build is hardcoded here.

e80fac1#diff-357e4854869b2e21c38b1b437f11095aR226
(Line 226)

This makes it impossible to build cBio on a machine that doesn't have a MySQL instance running on localhost. I've worked around this by building the application with Docker containers but perhaps the test db should also be configurable?

from cbioportal.

inodb avatar inodb commented on June 16, 2024

I fixed the problem of not being able to build the war without mysql in #605 when the parameter -DskipTests is supplied to mvn. You still can't set the test db in the properties file however.

from cbioportal.

serverhorror avatar serverhorror commented on June 16, 2024

How's it going with this? Any fix yet?

from cbioportal.

jjgao avatar jjgao commented on June 16, 2024

Closing now. Not sure if it's still a problem. Please reopen if it is.

from cbioportal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.