ECP Registry Software Code changes required to run on PKC rehab3 computer

Edit the ECP Registry CTT software so it will run on Paul K. Commean's research computer named rehab3

A. Edit the shiro.ini file by opening the following directories in Netbeans:

  1. CTT, Web Pages, WEB-INF
  2. Double click on shiro.ini to open the file.  Scroll down to the line with contextFactory.ur = ldap://localhost:1389 which is located near the top of the file.
  3. Comment out this line of code by adding a # (pound sign) in front of it.
  4. Uncomment out the line of code '#contextFactory.ur = ldap://172.20.175.92:1389' by removing the # sign.

B. Edit the ServiceRegistry.java file by opening the following directories in Netbeans:

  1. CTT, Source Packages, edu.wustl.mir.ctt.persistence
  2. Double click on ServiceRegistry.java to open the file.  Scroll down to the line with 'dm = new LDAPDirectoryManager("ldap://localhost:1389", "", "");' located near the bottom of the file.
  3. Comment out this line of code by adding a // in front of it.
  4. Uncomment out the line of code 'dm = new LDAPDirectoryManager("ldap://172.20.175.92:1389", "", "");' by removing the //.