Please join your peers on either March 26 (8pm GMT) or March 28 (8am GMT) to watch as user extraordinaire and forum legend @"lindsay.stevens" demonstrates OpenClinica Insight.

See preview and register at https://openclinica.com/insight-webinar

Insight makes it easy to ask questions of ALL of your clinical and operational data and visualize answers via interactive reports and dashboards. The idea is simple, but the results are powerful: ask your questions, choose your visualizations, then return often for updated, interactive results that link you to all of the underlying data.

Error: Cannot get Open Clinica to work , getting listener error

13»

Answers

  • GerbenRienkGerbenRienk Posts: 763 ✭✭✭
    Hi Bart,
    This is a remnant from previous versions of OpenClinica: before tomcat can create C:\oc\tomcat\webapps\openclinica.config\datainfo.properties it must first have a valid C:\oc\tomcat\webapps\OpenClinica\WEB-INF\classes\datainfo.properties
    So after the OpenClinica.war has been deployed, first edit C:\oc\tomcat\webapps\OpenClinica\WEB-INF\classes\datainfo.properties so that the first bit matches your situation, for example:
    dbType=postgres
    dbUser=clinica
    dbPass=clinica
    db=${WEBAPP.lower}
    dbPort=5432
    dbHost=localhost

    Then go to tomcat-manager and start the application (or if you have removed tomcat-manager, restart tomcat). Now tomcat will create C:\oc\tomcat\webapps\openclinica.config\datainfo.properties and that will be a copy of your original one, but this one will be used from now on! So any changes that you must make, you must make in C:\oc\tomcat\webapps\openclinica.config\datainfo.properties !
    Now for he last time start the application or restart tomcat.
    Hope this helps,
    Gerben Rienk
Sign In or Register to comment.