RE: index.cfm Conundrum
Like I said, I believe I was having a similar issue. I just re-installed my CF in multi-home configuration. When I put a file, hello.cfm in my localhost site root, c:\\inetpub\wwwroot\ it worked fine with the url http://localhost/hello.cfm. Then I put hello.cfm in my Jrun instance root, c:\jrun\servers\cfusion\cfusion.ear\cfusion.war\. Then localhost/hello.cfm pulled from the jrun root, as expected. But when I removed the hello.cfm file from the jrun root, I started getting a file not found error, even though I still had a hello.cfm in my webroot. When I unclicked the "save class files" option in the administrator's cache settings, I started getting the webroot hello.cfm file again. I suspect there is some kind of path caching still going on when the cache class files option is checked. And looking at the setting, Adobe nee Macromedia does recommend to uncheck this value in development environments. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - "C code. C code run. Run code run. Please!" - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243397 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: index.cfm Conundrum
I had this issue with 6.1, but it's the first time I've experienced it with 7. I'm not sure the save class file will help, but I'll give it a shot. Keep in mind that this is only happening with the index.cfm file, nowhere else, and only when it's called from root. So to summarize: http://localhost/index.cfm pulls in c:\cfusionmx7\wwwroot\index.cfm http://localhost/default.cfm pulls in d:\site1\default.cfm http://localhost/app/index.cfm pulls in d:\site1\app\index.cfm http://localhost:81/index.cfm pulls in c:\cfusionmx7\wwwroot\index.cfm http://localhost:81/default.cfm pulls in d:\site2\default.cfm http://localhost:81/app/index.cfm pulls in d:\site2\app\index.cfm It's only index.cfm, and only if it's being pulled in off the root. Like I said, it's a very weird issue. >The save class files simple saves the java byte code of a given file. >As I understand it, it's the other option that caches only one >location for the file. For example, on a multi-homed server (a web >server serving more than one CF site), if the index.cfm file for site1 >is rendered first, then any calls for index.cfm on site2 will be >served site1's index.cfm because the server path for index.cfm was >cached as the path to site1. Likewise, if no file was cached and >site2 was called first then the path to index.cfm would be cached as >that of site2. > >This was a problem in v6.x because the caching value defaulted to true >(cache the path) and it wasn't available in the administrator. You >had to edit the XML config file to change it. The problem you're >describing sounds like that to me. > >On 6/13/06, Sung Woo <[EMAIL PROTECTED]> wrote: >> ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243381 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: index.cfm Conundrum
The save class files simple saves the java byte code of a given file. As I understand it, it's the other option that caches only one location for the file. For example, on a multi-homed server (a web server serving more than one CF site), if the index.cfm file for site1 is rendered first, then any calls for index.cfm on site2 will be served site1's index.cfm because the server path for index.cfm was cached as the path to site1. Likewise, if no file was cached and site2 was called first then the path to index.cfm would be cached as that of site2. This was a problem in v6.x because the caching value defaulted to true (cache the path) and it wasn't available in the administrator. You had to edit the XML config file to change it. The problem you're describing sounds like that to me. On 6/13/06, Sung Woo <[EMAIL PROTECTED]> wrote: > "Save class files" is checked. I bet I need to restart the server, right? > I'll have to wait to do that. > > > Hi Rob, > > > > Thanks -- it's not checked. > > > > Are all three values unchecked? I just unchecked the middle one and > > it resolved a somewhat similar issue for me. > > > > > > -- > > Ian Skinner > > Web Programmer > > BloodSource > > www.BloodSource.org > > Sacramento, CA > > > > - > > | 1 | | > > - Binary Soduko > > | | | > > - > > > > > "C code. C code run. Run code run. Please!" > > - Cynthia Dunning > > > > Confidentiality Notice: This message including any > > attachments is for the sole use of the intended > > recipient(s) and may contain confidential and privileged > > information. Any unauthorized review, use, disclosure or > > distribution is prohibited. If you are not the > > intended recipient, please contact the sender and > > delete any copies of this message. > > > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243372 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: index.cfm Conundrum
"Save class files" is checked. I bet I need to restart the server, right? I'll have to wait to do that. > Hi Rob, > > Thanks -- it's not checked. > > Are all three values unchecked? I just unchecked the middle one and > it resolved a somewhat similar issue for me. > > > -- > Ian Skinner > Web Programmer > BloodSource > www.BloodSource.org > Sacramento, CA > > - > | 1 | | > - Binary Soduko > | | | > - > > "C code. C code run. Run code run. Please!" > - Cynthia Dunning > > Confidentiality Notice: This message including any > attachments is for the sole use of the intended > recipient(s) and may contain confidential and privileged > information. Any unauthorized review, use, disclosure or > distribution is prohibited. If you are not the > intended recipient, please contact the sender and > delete any copies of this message. > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243370 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: index.cfm Conundrum
Hi Rob, Thanks -- it's not checked. Are all three values unchecked? I just unchecked the middle one and it resolved a somewhat similar issue for me. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - "C code. C code run. Run code run. Please!" - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243363 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: index.cfm Conundrum
Hi Rob, Thanks -- it's not checked. > Take a look at your settings in CF Admin. In the "Caching" settings, > ensure that " Cache web server paths" is unchecked. This is > important > for servers running multiple sites. > > On 6/13/06, Sung Woo <[EMAIL PROTECTED]> wrote: > > I have a very strange issue with a server running CFMX7. This > server initially was running CFMX7 standalone, and when the time came, > it was uninstalled and reinstalled as a CFMX7 using IIS. > > > > So now here's the wacky issue: no matter the site (on ports 80 and > 81), whenever the file index.cfm is pulled from the root, it always > goes to c:\cfusionmx7\wwwroot\index.cfm. It ONLY happens with index. > cfm -- no other .cfm file does this! I'm guessing this is because it > had once been a standalone installation, so how can I stop this from > happening? > > > > As a test, I created a dummy site on port 82, and sure enough, the > same exact thing happened -- using CF_TEMPLATE_PATH, I can see that > c:\cfusionmx7\wwwroot\index.cfm is always the file pulled. Any help > on this would be greatly appreciated. > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243361 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: index.cfm Conundrum
Take a look at your settings in CF Admin. In the "Caching" settings, ensure that " Cache web server paths" is unchecked. This is important for servers running multiple sites. On 6/13/06, Sung Woo <[EMAIL PROTECTED]> wrote: > I have a very strange issue with a server running CFMX7. This server > initially was running CFMX7 standalone, and when the time came, it was > uninstalled and reinstalled as a CFMX7 using IIS. > > So now here's the wacky issue: no matter the site (on ports 80 and 81), > whenever the file index.cfm is pulled from the root, it always goes to > c:\cfusionmx7\wwwroot\index.cfm. It ONLY happens with index.cfm -- no other > .cfm file does this! I'm guessing this is because it had once been a > standalone installation, so how can I stop this from happening? > > As a test, I created a dummy site on port 82, and sure enough, the same exact > thing happened -- using CF_TEMPLATE_PATH, I can see that > c:\cfusionmx7\wwwroot\index.cfm is always the file pulled. Any help on this > would be greatly appreciated. > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243359 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54