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

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.

OpenClinica reinstall won't run, ldap.userDn

I've been running OpenClinica on a local server that recently had some hardware issues, and I had to jump ship to a new box. in Setting up the new instance of Openclinica I copied as much of the previous setup as I could find, but I can't get it to load, nor can I make heads or tails of the specific error being reported in my log files (attached. my OpenClinica webapp is named EDCS). for reference i've got OC 3.1l, Tomcat 7.052, jdk 1.7, and postgres 8.4 all downloaded from the instructions on the OpenClinica github, so I'm not expecting a compatibility issue. does anyone have any advice?

I'm not sure what to do with "SEVERE: Exception sending context initialized event to listener instance of class org.akaza.openclinica.dao.core.OCContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'contextSource' defined in class path resource [org/akaza/openclinica/applicationContext-core-security.xml]: Could not resolve placeholder 'ldap.userDn'" which is the closest to a root cause I can see, but I've seen other errors trace back to springframework where that wasn't the problem.


  • GerbenRienkGerbenRienk Posts: 772 ✭✭✭
    Can you upload your (without the passwords or other sensitive info)? Then we can have a look.
    Kind regards,
    Gerben Rienk
  • byarmas-fscbyarmas-fsc Posts: 40
    sure, here it is. couldn't upload as a .properties. as a note, the DB port is accurate. we had postgres 9 and 8 running on the same server with 9 at port 5432 and 8 at port 5433, the same port was kept for this reinstall and I've confirmed the 5433 connection to postgres.
  • byarmas-fscbyarmas-fsc Posts: 40
    And as soon as I posted that I remembered that a while back the structure changed. A quick look confirms my file was missing the entire LDAP section because it was based on a rather old original file. tacking on the default LDAP section from the default datainfo file in the distro and it works like a charm. I feel a fool, thanks for the reminder, at least.
Sign In or Register to comment.