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

13»

Answers

  • GerbenRienkGerbenRienk Posts: 745 ✭✭✭
    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.