We hope you'll join us for our 4/23 webinar on using data tables to apply reference ranges and AE codes in OC4. For more information and to register, visit https://register.gotowebinar.com/register/2882170018956684555

[Ubuntu 14.04 LTS] OpenClinica 3.2 won't start


I am running an x64 build of Ubuntu 14.04 LTS. I followed the instructions here to install OpenClinica, however I cannot access anything through the web browser once started. I checked the log files and I see a couple of errors.

Here is the line from the catalina.2014-06-18.log that stands out:
Jun 18, 2014 9:43:12 AM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/usr/local/tomcat/webapps/OpenClinica/WEB-INF/lib/servlet-api-2.3.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class



This is a fresh install of Ubuntu with nothing fancy going on. I haven't installed any other software, so I don't believe there are any version conflicts.

If there is anything else I can provide to help resolve this - please let me know.

Any advice is appreciated!

Thank you

Best Answer


  • um-oc-spum-oc-sp Posts: 2
    edited June 2014

    Here are the two extra steps I had to perform to get this working. I'm surprised these aren't in the documentation because it doesn't load properly without them!

    mkdir /usr/local/tomcat/openclinica.data/xslt -p
    mv /usr/local/tomcat/webapps/OpenClinica/WEB-INF/lib/servlet-api-2.3.jar ../

    For good measure I then did a:

    chown -R tomcat:tomcat /usr/local/tomcat

    I now see the OpenClinica page!

    Thank you!
    rsundaram said:

    If you have Tomcat installed from the distribution repository,  please remove that or alternatively remove the custom installation.  This error likely indicates that there are two versions of the jar files in the path. (servlet-api.jar and servlet.jar) when you need only one.    The way I would troubleshoot this,  is to redo the installation of Tomcat,  make sure it runs and then install OpenClinica


  • rsundaramrsundaram Posts: 19

    Glad to see you got it working.  My understanding is that OpenClinica is moving to using packaging (RPM, Deb etc) to alleviate the pain of the current installation process.  Hopefully that makes future installations and upgrades far more easier

  • wolasswolass Posts: 1
    Hi! could someone provide more info on the DEB packages? what state of development are they in? Is it possible that they would be available anytime soon-ish?

    Best regards
  • ccollinsccollins Posts: 383 admin
    via Email
    Hi Wojtek,

    I don't think these are under active development by anyone. It would be
    great if you or someone else wants to get them working and is willing to
    maintain them.

    In the meantime, refer to the install instructions here:

  • lindsay.stevenslindsay.stevens Posts: 404 ✭✭✭
    via Email
    Still working on it but you can try my docker compose project. Made with
    Ubuntu 14.04.

    If you're already on the docker hype train then its one command to start up
    a test environment.

    For live deployment you need to configure apache SSL, provide non-default
    passwords for OC, and provide email settings for OC. Then start.

    [1] https://github.com/lindsay-stevens-kirby/openclinica-distros
This discussion has been closed.