Now that TM has great functionality of site specific TM.config file that is customize-able and overwrites the default config, I naturally started playing with the settings. The first thing I did was to create the custom file in Library_Data\XmlDatabase\User_Data. I called the file Tmconfig.config and copied one line from the main configuration file – <SSL_RedirectHttpToHttps>true</SSL_RedirectHttpToHttps>
I changed the true to false as it works well with my testing VM environment. Started TM and tried to access it from outside the box. Well.. nothing happens. Scratching my head for a bit I remembered that TM now has Application Logs. Let me see if there is anything in there… and Hooray! Here is the error I saw in the log
ERROR: ERROR: There is an error in XML document (1, 6).
ERROR: ERROR (InnerException): <SSL_RedirectHttpToHttps xmlns=”> was not expected.
ERROR: [handleUserDataConfigActions] failed to load config file from: C:\Dev\eclipseWS\TM\LatestStuff\Dev\Library_Data\XmlDatabase\User_Data\TMConfig.config
Isn’t that amazing? From here I quickly figured out that it requires a whole xml structure to be in place, I changed the xml file to be like:
Restarted TM, and there! Everything works as expected. Without logs, I would be scratching my head for a while longer 🙂