Deploying OpenClinica

I am running Ubuntu 16.04 LTS
Apache Tomcat/7.0.68
PostgreSQL 9.5.3

I am trying to deploy OpenClinica 3.11 within Tomcat

I have set up the folders and datainfo.properties as instructed.
I have also successfully deployed a sample "Hello World" applet through Tomcat.

However, trying to access localhost:8080/OpenClinica results in

"HTTP Status 404 - /OpenClinica

type Status report

message /OpenClinica

description The requested resource is not available."


I have tried to deploy the OpenClinica.war file in the webapps folder in /usr/share/tomcat7

I would appreciate a little bit of guidance on this issue, things to check etc. The fact that Tomcat successfully deploys a sample applet but not OC makes me think that there may be compatibility issues, or additional requirements for OC to work.

Comments

  • jguptajgupta Posts: 20
    Hope you made all the necessary configuration changes in properties file, else it will not work.
  • yura.grabovskayura.grabovska Posts: 6
    edited June 2016
    dbType=postgres
    dbUser=clinica
    dbPass=**********
    db=openclinica
    dbPort=5432
    dbHost=localhost

    filePath=/var/OpenClinica/3-11/data/
    sysURL=http://localhost:8080/OpenClinica/MainMenu
    log.dir=/var/OpenClinica/3-11/logs/
  • jguptajgupta Posts: 20
    Stop your tomcat.
    Make sure the changes you made changes to both places/tomcat/webapps/openclinica/WEB-INF/classes/ datainfo.properties
    and one in tomcat/openclinica.config/datainfo.properties
    Start tomcat again
  • yura.grabovskayura.grabovska Posts: 6
    Both identical and still 404
  • kristiakkristiak Posts: 1,238 ✭✭✭
    I have noted that rebooting sometimes helps! Have you tried that?
    Regards
    Krister
  • ebsebs Posts: 102
    filePath should point to your openclinica.data folder. It may be that the folder must be named openclinica.data

    I'm also cautious not to use hyphens in the paths. This caused an issue in my deployment with Rules Designer previously.
  • yura.grabovskayura.grabovska Posts: 6
    via Email
    This is an excellent tip. I will check this today.
Sign In or Register to comment.