The Importance of Being Earnest (or Why We Need a Honest Real Time Log) in TM

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:

<?xml version=”1.0″?>

<TMConfig>

 <TMSecurity>

    <SSL_RedirectHttpToHttps>false</SSL_RedirectHttpToHttps>

  </TMSecurity>

</TMConfig>

 

Restarted TM, and there! Everything works as expected.  Without logs, I would be scratching my head for a while longer 🙂

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s