Skip to main content
Mar 14, 2013 5:22 PM UTC
Question

wt.httpgw.url.anonymous and why I hate it

     So I have been working with Windchill for about two years now and I must say that it has been intense.  I dearly love the application and all of its idiosyncrasies.  But this is not the reason for this post.  The reason for this post is to tell you of the thorn in my side called "wt.httpgw.url.anonymous" and when we chose to stop being anonymous.

     From what I understand, it is common practice to have a single URL throughout your WC infrastructure for internal and external access.  Well, what if you don't want that?  What if you want it to be different?  Then you probably might have an issue like this arise.  So, Picture this if you will.  Internal WC users may access WC at internal.windchill.com and externally from external.windchill.com .  There needs to be some things set up obviously, an extra node for the external portion certainly. Proxy for security, maybe HTTPS? Sky is the limit as long as the budget is also.  This is a whole separate Blog though.  I digress.

What to set the wt.httpgw.url.anonymous property to now? Internal? External?

I can tell you what happens next.  Obviously you set it internally.  The property has "anonymous" in it won't be external.  But!  If you set it to that internal URL e.g, ( http(s)://internal.windchill.com/Windchill/servlet/WindchillGW ) and then start the external node last, the property will assume the external URL name.  If that happens then replication doesn't work right. Then you have the issue of making sure you always have the URL set correctly, and don't start the external node last....  Enter the dilemma.... What to do?

Stop being anonymous.

Tell the Servers where they will go and what they will do.  Set this value on all of your application nodes:

wt.intersvrcom.site.masterURL=http\://internal.windchill.com/Windchill/servlet/WindchillGW

This not only resolves the renaming of the http.gw.url by the external node, it secures communication because there are no more anonymous references, regarding this, of course.

Thanks to my friends Mahesh and Tom @ PTC for all their help in finding this out.