To make sure that your new SHRINE instance can communicate with the i2b2 instance, there are a couple of places that we will address. First, you will need to make sure the PM, CRC cell urls are correctly defined within the shrine.conf file. These urls are what SHRINE uses to communicate with the i2b2 backend. In the shrine.conf template we assume you have just one i2b2 instance that performs all three roles.
- In the shrine {} section set the i2b2BaseUrl to the top-level Url for your i2b2 wildfly server. This value will be substituted as needed in shrine.conf.
shrine { i2b2BaseUrl = "http://i2b2.example.com:9090" //The local i2b2's URL as observed from this tomcat server ... }
Next, you will need to add the SHRINE project into the pm_project_data table within the i2b2 database:
$ psql -U postgres i2b2 i2b2=# set search_path = public; i2b2=# insert into PM_PROJECT_DATA (project_id, project_name, project_wiki, project_path, status_cd) values ('SHRINE', 'SHRINE Ontology', 'http://open.catalyst.harvard.edu/display/SHRINE', '/SHRINE', 'A');
Finally restart wildfly and tomcat.
Overview
Content Tools