Hi Min,
This exception looks like the product of not being able to connect to the datasource. However, the actual “root cause” is not shown in your log snippet (should be above the error message you included). Can you include the entire log (starting Olympus + starting WebAPI)? I’m interested in the log statements that have the property values (like below after starting Olympus)? Since I was not aware of the potential to include ‘domain\username’, it is possible that the ‘’ is being excluded (special escape character in java). The property value should look correct (when logged) but I wonder if the driver doesn’t like it. I might also try the user = domain\\username
as well as user = ‘username’ (omitting the domain).
If you could capture the entire log for each run that would be great. Note that due to a known issue, every time you try to start WebAPI (within Olympus) and run into an error, you will need to capture the log, then change/save any properties, and finally restart Olympus & WebAPI.
An option for you, should you want to start WebAPI at the time you start Olympus, you can add the following arguement to the java process. -Dolympus.webapi.launch.enabled=true
2015-04-28 16:02:52.700 INFO main org.springframework.boot.context.embedded.jetty.JettyEmbeddedServletContainer - - Jetty started on port(s) 20000 (http/1.1)
2015-04-28 16:02:52.798 DEBUG main org.ohdsi.olympus.model.WebApiService - - Property [datasource.driverClassName,oracle.jdbc.OracleDriver]
2015-04-28 16:02:52.798 DEBUG main org.ohdsi.olympus.model.WebApiService - - Property [datasource.url,jdbc:oracle:thin:@172.31.80.28:1521:i2b2idp]
2015-04-28 16:02:52.798 DEBUG main org.ohdsi.olympus.model.WebApiService - - Property [datasource.username,OHDSI]
2015-04-28 16:02:52.798 DEBUG main org.ohdsi.olympus.model.WebApiService - - Property [datasource.password,***]
2015-04-28 16:02:52.798 DEBUG main org.ohdsi.olympus.model.WebApiService - - Property [flyway.datasource.driverClassName,oracle.jdbc.OracleDriver]
2015-04-28 16:02:52.798 DEBUG main org.ohdsi.olympus.model.WebApiService - - Property [flyway.datasource.url,jdbc:oracle:thin:@172.31.80.28:1521:i2b2idp]
2015-04-28 16:02:52.799 DEBUG main org.ohdsi.olympus.model.WebApiService - - Property [flyway.datasource.username,OHDSI]
2015-04-28 16:02:52.799 DEBUG main org.ohdsi.olympus.model.WebApiService - - Property [flyway.datasource.password,***]
2015-04-28 16:02:52.799 DEBUG main org.ohdsi.olympus.model.WebApiService - - Property [flyway.schemas,OHDSI]
2015-04-28 16:02:52.799 DEBUG main org.ohdsi.olympus.model.WebApiService - - Property [flyway.locations,classpath:db/migration/oracle]
2015-04-28 16:02:52.799 DEBUG main org.ohdsi.olympus.model.WebApiService - - Property [datasource.dialect,oracle]
2015-04-28 16:02:52.799 DEBUG main org.ohdsi.olympus.model.WebApiService - - Property [datasource.cdm.schema,omopv5_de]
2015-04-28 16:02:52.799 DEBUG main org.ohdsi.olympus.model.WebApiService - - Property [datasource.ohdsi.schema,OHDSI]
2015-04-28 16:02:52.799 DEBUG main org.ohdsi.olympus.model.WebApiService - - Property [datasource.cohort.schema,OHDSI]
2015-04-28 16:02:52.810 INFO main org.ohdsi.olympus.model.WebApiService - - Not setting key[achilles.data.dir] due to null key or value
2015-04-28 16:02:52.810 WARN main org.ohdsi.olympus.model.WebApiService - - WebApi launch disabled.
2015-04-28 16:02:52.811 INFO main org.ohdsi.olympus.Olympus - - Started Olympus in 8.892 seconds (JVM running for 10.074)