RE: Multihomed Hosts and ColdFusion MX
How about just relying on the default / mapping to c:\inetpub\wwwroot\ . Then you just refer to each site as /mysite/ where mysite is the folder name. It's effectively the same as setting up a mapping as far as I can see. That's what we do anyway. You're saying that we should point the / logical mapping to the root directory of all the virtual servers? I don't think that will work because we use domain names for directory names. Assume we have all our sites in a directory c:\websites and the logical mapping points to that directory. Beneath that directory we have the a directory domain.com which is a virtually hosted domain name. The customer would use something like this to invoke a component: domain.com.packageDirectory.component Unless I'm missing something, ColdFusion is going to replace the . with \, append a .cfc, and prepend the mapping path to arrive at the following string: c:\websites\domain\com\packageDirecotry\component.cfc The path is really: c:\websites\domain.com\packageDirecotry\component.cfc Besides, using domain.com is counter to the standard Java practice of using com.domain. We can rename all of the customer directories, if that's what it takes, but I was hoping that there was a real solution to this problem, something simple that I was overlooking, or a bug fix in the works, because there certainly does seem to be a problem here. Benjamin S. Rogers http://www.c4.net/ v.508.240.0051 f.508.240.0057 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Multihomed Hosts and ColdFusion MX
I'm currently testing ColdFusion MX for possible deployment in a Windows 2000/IIS shared hosting environment. I've followed the instructions in the release notes as well as those found in the following tech notes: ColdFusion MX: ColdFusion Server (on multihomed servers) displays wrong page: http://www.macromedia.com/v1/Handlers/index.cfm?ID=23179Method=Full ColdFusion MX: Recommended configuration of multihomed Microsoft IIS web servers http://www.macromedia.com/v1/Handlers/index.cfm?ID=23390Method=Full Following the advice on the following page, I created logical mappings to each of the test domains on the server: http://blog.web-rat.com/archives/05.html#05 As a result, most things seem to be working fine. With the logical mapping, I can properly reference CFCs as components. However, when attempting to invoke those same CFCs as Web services, I get AxisFault errors: Could not find the template domainMapping.packageDirectory.componentName. The actual error message goes on for pages, so I have left that out. At first, I was a little confused as to why ColdFusion was trying to invoke the Web service using the logical mapping. This post in the news groups seems to explain this: http://groups.google.com/groups?selm=asl4gi%24p3k%241%40forums.macromedi a.com This also explains why the behavior is different when invoking methods by typing them into the query string of the browser (which works) and invoking them with the cfinvoke tag, cfobject tag or createObject() function (none of which work). However, ColdFusion is able to generate a WSDL file. Regardless, none of this explains why I'm getting the error. The only way I can eliminate the error is to delete the individual domain mappings and change the logical mapping / so that it points at one of the Web site's root directories. That site then works properly. However, for obvious reasons, that only works for a single domain. Any help, clarifications, or suggestions would be greatly appreciated. We have customers asking for ColdFusion MX, but until I can get everything working properly, I don't feel comfortable deploying it. Thanks. Benjamin S. Rogers http://www.c4.net/ v.508.240.0051 f.508.240.0057 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Multihomed Hosts and ColdFusion MX
The only way I can eliminate the error is to delete the individual domain mappings and change the logical mapping / so that it points at one of the Web site's root directories. That site then works properly. However, for obvious reasons, that only works for a single domain. How about just relying on the default / mapping to c:\inetpub\wwwroot\ . Then you just refer to each site as /mysite/ where mysite is the folder name. It's effectively the same as setting up a mapping as far as I can see. That's what we do anyway. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4