Copy link to clipboard
Copied
Hello,
I'm running ColdFusion 2016 on Windows Server 2012 R2 and am having problems getting CFM files to work through an IIS virtual directory that points to my Azure File storage account.
I followed the instructions here: David So's Blog - IIS and Azure Files , minus the Shared Configuration stuff because it doesn't apply to me, and can access test TXT files that are in the virtual directory that point to my Azure files storage account. The problem I'm having is with browsing CFM files. For some reason I get a 404 even though the file exists and IIS is able to show it via Content View.
Here is the error I'm seeing in the exception log:
"Error","ajp-nio-8016-exec-1","03/14/18","14:13:31","","File not found: /atest/heartbeat.cfm The specific sequence of files included or processed is: \\xxxxx.file.core.windows.net\jmsandbox\heartbeat.cfm'' "
coldfusion.runtime.TemplateNotFoundException: File not found: /atest/heartbeat.cfm
at coldfusion.filter.PathFilter.invoke(PathFilter.java:156)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:78)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:60)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
at coldfusion.CfmServlet.service(CfmServlet.java:219)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:363)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:507)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1434)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
And here is the log fro the application.log:
"Error","ajp-nio-8016-exec-1","03/14/18","14:13:31","","File not found: /atest/heartbeat.cfm The specific sequence of files included or processed is: \\xxxxx.file.core.windows.net\jmsandbox\heartbeat.cfm'' "
This is something new so it's never worked for me. Adobe ColdFusion support looked at it and was unable to figure out what was happening.
Anyone familiar with this setup?
Copy link to clipboard
Copied
So I had a feeling that the custom user we're using for the ColdFusion server service needed access to the Azure File storage account so I changed it to the the local user I created via the steps in David So's Blog - IIS and Azure Files and it worked.
So now my problem is that this limits me to one Azure File storage account that I can use.
Is anyone familiar with allowing a custom ColdFusion server service user rights to the Azure File storage account?