I just installed ColdFusion 2016 Developer Edition on my Windows 7 laptop and configured it to use the built-in web server. Previously I was using ColdFusion 11.
Now I have a case-sensitivity problem, but only for non-ColdFusion (.cfm) resources. For example, all css and js references are now case-sensitive, whereas they weren't when I was using ColdFusion 11. The same is true for calls to images and plain html files. All cfm files load just fine.
I modified the context.xml file (in the /cfusion/runtime/conf folder) to include <Context AllowLinking="true" caseSensitive="true"> (and yes, I also tried caseSensitive="false") and have restarted several times, but no luck yet.
The 404 error messages specify Apache Tomcat/8.5.11.
Any ideas on how to restore case-insensitivity? Thanks in advance for any help.
I seem to have "fixed" this. I enabled IIS on my laptop and used the Web Server Configuration tool to set it up with ColdFusion. (I also changed the path for the default website in IIS to /cfusion/wwwroot since that's where all my code is.) Everything seems to be working well now, with no case sensitivity for cfm or non-cfm pages. I no longer need to include the port (8500) in the URL for my applications, but do need to include it to reach the CF Administrator.
Related
We are testing our cf code (which all works fine on a CF9 Windows Server 2008 machine) for migration to a CF11 Windows 2012 R2 machine. We have a test machine setup and all the code moved over and so far the cfm pages seem to work fine as well as the Application.cfc page but when we call a cfc via AJAX or we visit the cfc methods directly we get an IIS 500.0 error Application could not be found. If I look in the application.log for CF all I see for the error is "Application could not be found. The specific sequence of files included or processed is: ""
Anybody else run into this?
We had the same problem. We upgraded the Java SE Runtime Environment to 1.8.0_91 from 1.8.0_66, restarted ColdFusion and it fixed the issue. Find your upgrade here:
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
Renshi, (or for others finding this in the future), is the request which is failing one where your URL referred to a folder off your webroot called /api?
If so, then the error you got is due to a change in CF11 (update 11) which effectively made/api a "reserved url" for CF, in support of the REST services feature added in CF11.
You can implement a workaround to the problem (assuming you don't intend to use CF's REST feature in ANY CF app) by commenting out the few lines that refer to the "/api" servlet-mapping in CF's web.xml file. For more details, see this blog post:
http://chads-tech-blog.blogspot.com/2017/03/coldfusion-2016-broke-my-api-and-how-i.html
I need to install cf11 on the same windows 2008 server as an existing cf8 install.
I realise it would be better to have 2 servers but in this case thats not an option open to us so I need specific help with the 2 installs.
The current CF8 is using IIS7.
I have done a bit of spade work and I believe the best way to do this cleanly would be to install a 2nd web server, e.g apache on windows and then configure it with CF11.
I had hoped that I could actually install CF11 and just configure specific iis sites with it, hoping this would leave the cf8 configured sites intact.
Any help would be appreciated.
Yes, you can run multiple sites under IIS on the same server, with different versions of ColdFusion. Every connector you create, should be with individual sites and not with "ALL" websites. Different versions of ColdFusion connected with different sites under the same IIS on the same server will not conflict with each other.
I am trying to setup a internal wiki site for project documentation project. I am using roadkill because I have a IIS server and a .net environment.
So the installation instructions aren't much. Unzip the files onto a site directory. Navigate to http://arwiki
Should be that simple, however, I get an error about directory browsing and it looks like there is no MVC mapping in Global.asax. It points to a internal dll so it is hard to determine what I did wrong?
Has anyone setup Roadkill and know what I did incorrectly?
Also there is no tag for roadkill
You can ask for help on the issues board -
https://bitbucket.org/yetanotherchris/roadkill/issues?status=new&status=open
However I can tell you that the problem is most likely that you don't have MVC installed on IIS (if it's Windows Server 2008). You might also need to enable ISAPI filters, they can be turned off.
The ASP.NET web installer contains the MVC bits you need, although Roadkill does come bundled with these.
I needed to install Coldfusion 8 on my local Windows 7 PC, to do some testing. I took the easy route and installed the Standalone server, which included a built in web server. I didn't really need a fully fledged web server, just needed to test.
So after some time of Coldfusion working fine. It started displaying the source code of the page. In other words, Coldfusion was not parsing the page. Merely displaying the source code.
I've worked out that the following line will make the page display source code
<?xml version="1.0" encoding="utf-16"?>
Even if I remove this line from the source code, the source code is still displayed. So I have to make another .cfm file with all the code except the above line, for it to run.
My question is, how do I clear the Coldfusion Standalone Web Server's cache? I've tried the usual restarting of Coldfusion to no avail.
Update: I eventually used a workaround of just renaming the files ie: testing1.cfm, testing2.cfm. For anyone else getting this issue, just use a standalone web server like Apache.
Have you tried restarting ColdFusion?
Have you tried clearing the cache in your browser?
For what it is worth, I prefer to use a web server even when doing development. I have found that using the CF web server and having all my projects under the CF web root can lead to pathing issues in production.
Not sure if you have already fixed this issue but there is an option in the ColdFusion administrator under the Settings > Caching option. At the bottom is a button named Clear Template Cache Now. Clicking that button will empty (remove) any templates that ColdFusion has cached. The next request to that template will force ColdFusion to recompile it if it has been modified.
I am using the multisite.dll ISAPI filter (http://www.hairy-spider.com/post/Multisite.aspx) in order to develop on several websites simultaneously on my Windows XP Professional/IIS 5.1 workstation. I am developing both HTML and ColdFusion websites. On the ColdFusion websites, when I use CFIMAGE to create an image in memory - a CAPTCHA image, to be exact - it is not viewable. I know the image is being created in the correct directory - ColdFusion8\tmpCache\CFFileServlet_cf_captcha - and the ColdFusion is generating the correct code to display the image:
<img src="/CFFileServlet/_cf_captcha/[file].png" />
But I can't get the image to display. I've tried adding a virtual directory to the Default Website in IIS, as well as adding a mapping in the ColdFusion Administrator, but neither helps.
Does anyone have any suggestions that don't include upgrading Windows?
Thanks.
I don't think you need that DLL any more. IIS 5 can handle host headers natively, unless you've ran into other issues that require you to use it.
Two things:
1. Try unchecking the 'Verify file exists' setting in IIS.
2. If that doesn't work, does the cfimage tag work without the DLL installed?
first thing i would do is remove the multisite.dll and just use one site to see if it really is the dll causing the problem or if it is something else.
next... what version of cf is this? are you at the least service pack for your version of ColdFusion?