Hi there, I greatly appreciate all the help I’ve gotten so far. After setting up a trial on Ubuntu I was asked to troubleshoot an installation on Windows Server, running WebAPI on Tomcat and Atlas on IIS, pointing to an OMOP database using Achilles. Accessing the WebAPI using localhost:8080/WebAPI seems to work just fine. My Atlas configuration that tries to connect to it, however, just hangs there. The console shows the following errors, indicating that the variable config.api.url in main.js has not been set. Is this variable supposed to be set in config.js, and if so would you have any idea where I have gone wrong?
main.js:185 Uncaught TypeError: Cannot read property 'url' of undefined
at main.js:185
at Object.execCb (require.js:29)
at Z.check (require.js:18)
at Z.<anonymous> (require.js:23)
at require.js:8
at require.js:23
at v (require.js:7)
at Z.emit (require.js:23)
at Z.check (require.js:19)
at Z.<anonymous> (require.js:23)
jquery-1.11.2.min.js:4 GET http://localhost:8080/WebAPI/vocabulary/OMOP_Vocabulary/domains
The following are the contents of my config.js file.
define([], function()
{
var config = {};
config.services = [{
name : 'UCSD Atlas',
url: 'http://localhost:8080/WebAPI/'
}];
config.webAPIRoot = config.services[0].url ;
config.dataSourcesLocation = '/AchillesWeb-master/data/datasources.json';
config.dataSourcesRoot = '/AchillesWeb-master/data';
return config ;
});