Blog

Interesting Quickr find inside qpconfig.xml


Tags :


While we were building a Quickr cluster for testing here in Sweden we came across an interesting scenario.  They had set the hostname field in the server document to the DNS name of the cluster.  Then, when setting qpconfig.xml to utilize a cluster hostname we also set it to the cluster DNS name.  However, it started placing the DNS cluster name twice in a URL when creating places.  For example:

http://quickrcluster.company.com/quickrcluster.company.com/placename

Now if we removed the qpconfig reference to the DNS cluster hostname and set it to a totally different host such as quickr.ibm.com it worked perfectly.

The solution?  Remove the DNS cluster name from the server document hostname entry back to the actual DNS entry for the server and then reference the DNS cluster name in qpconfig.xml and it all worked great.  Apparently placing the same name in both causes a duplication but having alternate names get replaced.