1 2 Previous Next 46 Replies Latest reply on Dec 5, 2014 1:06 AM by haxtbh

    Cold Fusion 11 refresh page image does not appear

    userCold9 Level 1

      Hi,


      In Cold Fusion 11, when I first bring up a page the graphic image appears.

       

      When I refresh the page, the graphic image does not appear.

       

      This is not an issue with Cold Fusion 9.

       

      Is there anything in the administration that needs to be configured?

       

       

      Thanks,

       

      Mike

        • 1. Re: Cold Fusion 11 refresh page image does not appear
          Carl Von Stetten Adobe Community Professional & MVP

          What pages are you referring to?  In the Administrator, or your own web site?

          -Carl V.

          • 2. Re: Cold Fusion 11 refresh page image does not appear
            userCold9 Level 1

            I am referring to the website I support.

             

            Mike

            • 3. Re: Cold Fusion 11 refresh page image does not appear
              Carl Von Stetten Adobe Community Professional & MVP

              Are you using the built-in web server or fronting your site with IIS or Apache?

               

              Turn on your developer tools in your browser and check the network information.  Are you getting any error codes for the image files?

              -Carl V.

              • 4. Re: Cold Fusion 11 refresh page image does not appear
                userCold9 Level 1

                Using IIS 7

                 

                When the page initially loads, the result on the page is 200 and 304 for the image.

                 

                When the page is refreshed, the page load is 200 and 500 for the image.

                 

                 

                Mike

                • 5. Re: Cold Fusion 11 refresh page image does not appear
                  Carl Von Stetten Adobe Community Professional & MVP

                  Sounds like an IIS problem then, not a ColdFusion one.  What is the specific 500 error code you are getting? You might need to fumble around with the different content on the network information tab to see the detailed response.  What browser are you using?

                  -Carl V.

                  • 6. Re: Cold Fusion 11 refresh page image does not appear
                    userCold9 Level 1

                    The Type in the debug is image/jpeg on initial load.

                     

                    When the page is refreshed the Type is text/html

                     

                    The problem started after Cold Fusion 11 was installed. This was not an issue with Cold Fusion 9.

                     

                    Using IE8

                     

                    Mike

                    • 7. Re: Cold Fusion 11 refresh page image does not appear
                      Carl Von Stetten Adobe Community Professional & MVP

                      Have you applied any of the ColdFusion 11 updates?  If so, did you rebuild the web connectors afterward?  You might also try downloading the beta of Update 3 to see if it has any effect.  See the ColdFusion Blog for details.

                       

                      The mime type changes seem suspicious.  Are the images being loaded using a standard <img> tag or some other way?  If via <img>, ColdFusion shouldn't be touching them unless the filename/path is coming from a ColdFusion variable.  Have you looked at the IIS logs to see what might be happening during the refresh request?

                       

                      -Carl V.

                      • 8. Re: Cold Fusion 11 refresh page image does not appear
                        userCold9 Level 1

                        I have tried to apply the Cold Fusion 11 updates, but it looks like the updates have not been applied.

                         

                        I have posted questions under the Cold Fusion 11 updates (Security fixes).


                        Below is image using the <img> tag.

                        <img src="/BUSDev/images/headergraphicnewbus.jpg" border="0">

                         

                        I will look in the IIS logs.

                         

                         

                        Mike

                        • 9. Re: Cold Fusion 11 refresh page image does not appear
                          userCold9 Level 1

                          The following in the entry in the IIS log:

                           

                          2014-11-12 19:34:59 10.29.21.71 GET /BUSDev/images/headergraphicnewbus.jpg - 443 - 10.10.224.114 Mozilla/5.0+(Windows+NT+6.1;+Trident/7.0;+rv:11.0)+like+Gecko 404 2 1260 0

                           

                           

                           

                          Mike

                          • 10. Re: Cold Fusion 11 refresh page image does not appear
                            Carl Von Stetten Adobe Community Professional & MVP

                            So that looks like a 404.2 error, which is "Not Found" and related to CGI/ISAPI restrictions.  Also looks like the image is being loaded over HTTPS.  When the image first loads fine, is it also being loaded over HTTPS?  When you refresh, is any authentication expired?

                             

                            In any case, this is definitely an IIS issue.  You might have more luck getting assistance if you jump on Microsoft Technet for IIS support or on ServerFault.

                             

                            -Carl V.

                            • 11. Re: Cold Fusion 11 refresh page image does not appear
                              userCold9 Level 1

                              The site is using HTTPS. I do not see anything expired.

                               

                              This issue after installing Cold Fusion 11. When Cold Fusion 9 was installed, the images worked fine.

                               

                               

                              Thanks

                               

                               

                              Mike

                              • 12. Re: Cold Fusion 11 refresh page image does not appear
                                Carl Von Stetten Adobe Community Professional & MVP

                                I still don't think this is a ColdFusion issue.  However, you mentioned CF9 - did you install CF11 on the same server CF9 was or is on?  Did you remove the CF9 IIS connectors then add the CF11 connectors?  Have you removed CF9 or just stopped the services?

                                -Carl V.

                                • 13. Re: Cold Fusion 11 refresh page image does not appear
                                  userCold9 Level 1

                                  CF 11 is installed on the same server CF9 was installed on.

                                   

                                  I stopped the stopped the CF9 services and removed the CF9.

                                   

                                  I did not remove the CF9 IIS connectors.

                                   

                                  Mike

                                  • 14. Re: Cold Fusion 11 refresh page image does not appear
                                    Carl Von Stetten Adobe Community Professional & MVP

                                    That could be the problem.  The CF9 connectors definitely need to be removed.  You'll have to do it manually in IIS.

                                    -Carl V.

                                    • 15. Re: Cold Fusion 11 refresh page image does not appear
                                      userCold9 Level 1

                                      I could not find any information on to remove the CF9 connectors manually in IIS.

                                       

                                      Is there some instructions on how to perform this?

                                       

                                       

                                      Mike

                                      • 16. Re: Cold Fusion 11 refresh page image does not appear
                                        Carl Von Stetten Adobe Community Professional & MVP

                                        The easiest way is to remove the CF11 connectors temporarily first.  Use the CF11 Web Connection Configuration Tool to remove all the connectors.  Once that's done, open IIS Manager.

                                         

                                        In IIS Manager, click on the server at the top of the Connections pane.  In the main pane, open Handler Mappings.  Look for the ColdFusion extensions in the "path" column (*.cfc/*.cfm/*cfml/*.cfr/*.cfswf etc.).  If you see any, delete them.  Then go through each web site configured on that server and check their Handler Mappings.  Again, if you see any mapped to ColdFusion extensions, delete them.  You might want to restart IIS just to be safe.

                                         

                                        Now go back into the CF11 Web Connection Configuration Tool and reconnect to IIS.

                                         

                                        -Carl V.

                                        • 17. Re: Cold Fusion 11 refresh page image does not appear
                                          userCold9 Level 1

                                          Hi,

                                           

                                          I followed the instructions and no .cfc, .cfm, .cfml, .cfr, cfswf appeared in the Handler Mappings.

                                           

                                          I restored the environment back to Cold Fusion 9 and started to install the Cold Fusion 11 process again.

                                           

                                          The Cold Fusion 9 Handler Mappings were manually deleted after Cold Fusion 9 was deleted prior to installing Cold Fusion 11.

                                           

                                          After installing Cold Fusion 11, the website appears with the image the first time the page is loaded but when it is refreshed the image disappears.

                                           

                                          I checked to see if the .cfc, .cfm, .cfml, .cfr, cfswf appear in the Handler Mappings. They do not appear.

                                           

                                          The Update 2 patch has not been installed.

                                           

                                           

                                          Thanks,

                                           

                                          Mike

                                          • 18. Re: Cold Fusion 11 refresh page image does not appear
                                            Carl Von Stetten Adobe Community Professional & MVP

                                            The fact that you don't see handler mappings after installing ColdFusion 11 indicates that either you didn't run the Web Server Configuration Tool (WSCONFIG), or you didn't run it "As Administrator".  Not only should you have handlers, but you should also have the "Jakarta" and "CFIDE" virtual directories added to your web site(s) in IIS.

                                             

                                            I would suggest installing the Update 2 patch before running the WSCONFIG tool so that you won't have to go back and rebuild the web connectors after the update.

                                             

                                            -Carl V.

                                            • 19. Re: Cold Fusion 11 refresh page image does not appear
                                              userCold9 Level 1

                                              The installation was run "As Administrator". During the installation, the screen that comes up when manually running WSCONFIG appeared in the "Configure Web Servers/Websites" screen during installation.

                                               

                                              I will be installing the Update 2 patch and then executing the WSCONFIG tool manually.

                                               

                                               

                                              Mike

                                              • 20. Re: Cold Fusion 11 refresh page image does not appear
                                                userCold9 Level 1

                                                I have installed the Update 2 "As Administrator" and manually executed WSCONFIG.

                                                 

                                                The Cold Fusion extension still do not show up in the Handlers Mapping.

                                                 

                                                I opened the webconfig file for the website and for example the .jsp still points to the following:

                                                <add name="jspHandler" path="*.jsp" verb="*" modules="IsapiModule" scriptProcessor="C:\JRun4\lib\wsconfig\jrun_iis6.dll" resourceType="Either" responseBufferLimit="0" />


                                                Where in the Cold Fusion 11 directories would the .cfc, .cfm, .cfml, .cfr, cfswf point to?

                                                 

                                                Possibly create a manual entry in webconfig file?

                                                • 21. Re: Cold Fusion 11 refresh page image does not appear
                                                  Carl Von Stetten Adobe Community Professional & MVP

                                                  You should not have to manually add entries in webconfig.  Something has gotten borked along the way here.

                                                   

                                                  You should not run the WSCONFIG during ColdFusion installation (you should choose to install the built-in webserver only).  Then once the appropriate updates have been installed, run WSCONFIG "As Administrator".

                                                   

                                                  That "jspHandler" should have been removed when all the other ColdFusion mappings were removed.  Is that entry in the server's config or a specific site's web.config file?

                                                   

                                                  If things are that messed up, you might want to uninstall and reinstall IIS to clean out all of the config settings, then try connection ColdFusion again.

                                                   

                                                  -Carl V.

                                                  • 22. Re: Cold Fusion 11 refresh page image does not appear
                                                    userCold9 Level 1

                                                    The "jspHandler" is in the specifc site's webconfig file.

                                                     

                                                    During Cold Fusion 11 installation, the "Configure Web Servers/Websites" screen shows the following options:

                                                     

                                                    All IIS Websites

                                                    Configure specific IIS website or entire web server

                                                    Built-in web server (development use only)

                                                    Configure WebSocket Proxy to selected web server/websites

                                                     

                                                    The "All IIS Websites" is selected by default.

                                                     

                                                    I only selected the Next button on the "Configure Web Servers/Websites" screen.

                                                     

                                                    I looked in the Release Notes file. It mentions the following:

                                                    3676569 - The batch files available in the cfusion/bin/connector directory may not work out of the box. The scripts are provided only for reference.

                                                     

                                                    I will have the admin uninstall IIS and reinstall. Then I will execute the WSCONFIG manually.

                                                    • 23. Re: Cold Fusion 11 refresh page image does not appear
                                                      userCold9 Level 1

                                                      I had IIS 7 uninstalled and reinstalled.

                                                       

                                                      I installed the ASP.Net, .NET, ASP, CGI, ISAPI Extensions and ISAPI Filters in the Select Role Services for IIS.

                                                       

                                                      Now the website returns a 404 File or Directory not found when trying to bring up the web page.

                                                       

                                                      I executed the WSCONFIG.

                                                       

                                                      Also, the Handler Mappings (.cfc, .cfm, .cfml, .cfr, cfswf) still do not show the in the webconfig file for the website or in the Handler Mappings for the website.

                                                       

                                                       

                                                      Mike

                                                      • 24. Re: Cold Fusion 11 refresh page image does not appear
                                                        Carl Von Stetten Adobe Community Professional & MVP

                                                        Just to confirm, when you run WSCONFIG, you do it with right-click and "Run As Administrator" rather than just clicking the icon from the Start menu?

                                                        • 25. Re: Cold Fusion 11 refresh page image does not appear
                                                          userCold9 Level 1

                                                          Yes. I did execute the WSCONFIG as "Run As Administrator".

                                                          • 26. Re: Cold Fusion 11 refresh page image does not appear
                                                            Carl Von Stetten Adobe Community Professional & MVP

                                                            When you ran WSCONFIG this time, did you do "All IIS Websites" or pick individual web sites?

                                                            • 27. Re: Cold Fusion 11 refresh page image does not appear
                                                              Carl Von Stetten Adobe Community Professional & MVP

                                                              Also, are you actually logged in with the local Administrator account or an account that has Administrator privileges?

                                                              • 28. Re: Cold Fusion 11 refresh page image does not appear
                                                                userCold9 Level 1

                                                                Executed WSCONFIG for All IIS Websites.

                                                                 

                                                                As far as I know my login has Administrator privileges.

                                                                 

                                                                 

                                                                Mike

                                                                • 29. Re: Cold Fusion 11 refresh page image does not appear
                                                                  Carl Von Stetten Adobe Community Professional & MVP

                                                                  Take a look at the \ColdFusion11\config\wsconfig\wsconfig.log file.  Any errors in there?

                                                                  • 30. Re: Cold Fusion 11 refresh page image does not appear
                                                                    Carl Von Stetten Adobe Community Professional & MVP

                                                                    What does the wsconfig.properties file in that same folder look like?

                                                                    • 31. Re: Cold Fusion 11 refresh page image does not appear
                                                                      userCold9 Level 1


                                                                      Below is what is in the wsconfig.log file:

                                                                       

                                                                      # Created by ColdFusion on 11/24 07:51:38
                                                                      11/24 07:51:38 info Tomcat Connector
                                                                      11/24 07:51:38 debug Created file D:\ColdFusion11\config\wsconfig\cfwin32.dll
                                                                      11/24 07:51:38 debug Created file C:\Users\xxxx\AppData\Local\Temp\2\\ExecuteAppCmd\ExecuteAppCmd.exe
                                                                      11/24 07:51:38 debug command line: -ws IIS -site 0 -cfide D:\ColdFusion11\cfusion\wwwroot\CFIDE -v
                                                                      11/24 07:51:38 debug Created file D:\ColdFusion11\config\wsconfig\1\isapi_redirect.dll
                                                                      11/24 07:51:40 debug Created file D:\ColdFusion11\config\wsconfig\1\README
                                                                      11/24 07:51:40 debug Wrote file D:\ColdFusion11\config\wsconfig\wsconfig.properties
                                                                      11/24 07:51:42 info Stopped "World Wide Web Publishing Service" service
                                                                      11/24 07:51:43 info Started "World Wide Web Publishing Service" service
                                                                      11/24 11:10:11 info Tomcat Connector
                                                                      11/24 11:10:31 info Stopped "World Wide Web Publishing Service" service
                                                                      11/24 11:10:32 info Started "World Wide Web Publishing Service" service
                                                                      11/24 11:22:32 info Tomcat Connector
                                                                      11/24 11:28:25 info Tomcat Connector
                                                                      11/24 11:28:42 info Stopped "World Wide Web Publishing Service" service
                                                                      11/24 11:28:43 info Started "World Wide Web Publishing Service" service
                                                                      11/26 11:43:21 info Tomcat Connector
                                                                      11/26 11:51:48 info Tomcat Connector
                                                                      11/26 11:52:12 info Tomcat Connector
                                                                      11/26 11:52:57 info Stopped "World Wide Web Publishing Service" service
                                                                      11/26 11:52:58 info Started "World Wide Web Publishing Service" service
                                                                      11/26 14:34:51 info Tomcat Connector
                                                                      11/26 14:35:06 info Stopped "World Wide Web Publishing Service" service
                                                                      11/26 14:35:07 info Started "World Wide Web Publishing Service" service
                                                                      11/26 14:42:40 info Tomcat Connector
                                                                      11/26 14:43:06 info Stopped "World Wide Web Publishing Service" service
                                                                      11/26 14:43:07 info Started "World Wide Web Publishing Service" service
                                                                      11/26 14:43:37 info Tomcat Connector
                                                                      11/26 14:43:53 info Stopped "World Wide Web Publishing Service" service
                                                                      11/26 14:43:54 info Started "World Wide Web Publishing Service" service
                                                                      11/26 14:44:46 info Tomcat Connector
                                                                      11/26 14:45:00 info Stopped "World Wide Web Publishing Service" service
                                                                      11/26 14:45:01 info Started "World Wide Web Publishing Service" service
                                                                      11/26 14:45:36 info Tomcat Connector
                                                                      11/26 14:45:43 info Stopped "World Wide Web Publishing Service" service
                                                                      11/26 14:45:44 info Started "World Wide Web Publishing Service" service
                                                                      11/26 14:45:57 info Stopped "World Wide Web Publishing Service" service
                                                                      11/26 14:45:58 info Started "World Wide Web Publishing Service" service

                                                                       

                                                                      I do not know why it is showing Tomcat connector: We are using IIS on a windows server.

                                                                       

                                                                      Below is the Cold Fusion install code name:

                                                                      ColdFusion_11_WWEJ_win

                                                                       

                                                                       

                                                                      Below is what is the wsconfig.log file for CF9 (that works)

                                                                       

                                                                      # Created by JRun on 05/22 08:53:15

                                                                      05/22 08:53:15 info Macromedia JRun 4.0 (Build 108858)

                                                                      05/22 08:53:15 debug Created file C:\JRun4\lib\wsconfig\jrunwin32.dll

                                                                      05/22 08:53:15 debug Created file C:\Users\xxxx\AppData\Local\Temp\\ExecuteAppCmd\ExecuteAppCmd.exe

                                                                      05/22 08:53:16 debug Found JRun server cfusion at 127.0.0.1:2904

                                                                      05/22 08:53:16 debug Found JRun server admin at 127.0.0.1:2910

                                                                      05/22 08:53:18 debug Created file C:\JRun4\lib\wsconfig\1\jrun_iis6_wildcard.dll

                                                                      05/22 08:53:18 debug Created file C:\JRun4\lib\wsconfig\jrun_iis6.dll

                                                                      05/22 08:53:18 debug Registry key SYSTEM\CurrentControlSet\Services\HTTP\Parameters, value EnableCopySend set to 1

                                                                      05/22 08:53:18 debug Created file C:\JRun4\lib\wsconfig\1\jrun_iis6_wildcard.ini

                                                                      05/22 08:53:18 debug Created file C:\JRun4\lib\wsconfig\jrun_iis6.ini

                                                                      05/22 08:53:20 debug Created file C:\JRun4\lib\wsconfig\1\README.txt

                                                                      05/22 08:53:20 debug Wrote file C:\JRun4\lib\wsconfig\wsconfig.properties

                                                                      05/22 08:53:22 info Stopped "World Wide Web Publishing Service" service

                                                                      05/22 08:53:23 info Started "World Wide Web Publishing Service" service

                                                                      05/23 08:05:12 info Macromedia JRun 4.0 (Build 108858)

                                                                      05/23 08:08:57 info Stopped "World Wide Web Publishing Service" service

                                                                      05/23 08:08:58 info Started "World Wide Web Publishing Service" service

                                                                       

                                                                       

                                                                      Mike

                                                                      • 32. Re: Cold Fusion 11 refresh page image does not appear
                                                                        userCold9 Level 1

                                                                        Below is the Cold Fusion and Java version in the install:

                                                                         

                                                                        Server Product  ColdFusion 
                                                                        Version  11,0,02,291725  (NOTE: This includes the Update 2 patch)
                                                                        Edition  Enterprise   
                                                                        Operating System  Windows Server 2008   
                                                                        OS Version  6.0   
                                                                        Update Level  /D:/ColdFusion11/cfusion/lib/updates/chf11000002.jar   
                                                                        Adobe Driver Version  5.1.1 (Build 0001)   


                                                                        JVM Details 
                                                                        Java Version  1.7.0_51   
                                                                        Java Vendor  Oracle Corporation   
                                                                        Java Vendor URL  http://java.oracle.com/   
                                                                        Java Home  D:\ColdFusion11\jre   
                                                                        Java File Encoding  Cp1252   
                                                                        Java Default Locale  en_US   
                                                                        File Separator  \   
                                                                        Path Separator  ;   
                                                                        Line Separator  Chr(13)   
                                                                        User Name  xxxxxx   
                                                                        User Home  C:\   
                                                                        User Dir  D:\ColdFusion11\cfusion\bin   
                                                                        Java VM Specification Version  1.7   
                                                                        Java VM Specification Vendor  Oracle Corporation   
                                                                        Java VM Specification Name  Java Virtual Machine Specification   
                                                                        Java VM Version  24.51-b03   
                                                                        Java VM Vendor  Oracle Corporation   
                                                                        Java VM Name  Java HotSpot(TM) Server VM   
                                                                        Java Specification Version  1.7   
                                                                        Java Specification Vendor  Oracle Corporation   
                                                                        Java Specification Name  Java Platform API Specification   
                                                                        Java Class Version  51.0 

                                                                         

                                                                         

                                                                         

                                                                        Mike

                                                                        • 33. Re: Cold Fusion 11 refresh page image does not appear
                                                                          Carl Von Stetten Adobe Community Professional & MVP

                                                                          userCold9,

                                                                           

                                                                          "Tomcat Connector" is the name of the connector that ties ColdFusion to IIS.  Starting with CF10, ColdFusion no longer runs on top of JRun for it's Java Servlet container; instead, it runs on Tomcat.

                                                                           

                                                                          I don't see any errors in that log.  Can you show your wsconfig.properties file?

                                                                           

                                                                          Also, you might try installing the beta of Update 3 to see if it resolves your issues.  You can find out how to get it here: http://blogs.coldfusion.com/post.cfm/coldfusion-11-update-3-is-available-for-early-access.  Adobe has already refreshed the beta update a couple of times with tweaks and fixes, and a fresh one was released this morning.

                                                                           

                                                                          -Carl V.

                                                                          • 34. Re: Cold Fusion 11 refresh page image does not appear
                                                                            userCold9 Level 1

                                                                            Below is the wsconfig.properties file:

                                                                             

                                                                            #ColdFusion Web Server Configuration File

                                                                            #Mon Nov 24 11:28:38 MST 2014

                                                                            1=IIS,0,true,"",bitness32

                                                                            1.srv=localhost,cfusion

                                                                            2=IIS,0,true,"",bitness32

                                                                            2.srv=localhost,cfusion

                                                                            3=IIS,0,true,"",bitness32

                                                                            3.srv=localhost,cfusion

                                                                             

                                                                             

                                                                            Mike

                                                                            • 35. Re: Cold Fusion 11 refresh page image does not appear
                                                                              Carl Von Stetten Adobe Community Professional & MVP

                                                                              Not sure if this is an issue as I'm on 64-bit OS/Java and you appear to be all 32-bit, but...

                                                                               

                                                                              The first line for each site (such as 1=IIS,0,true,"",bitness32 ) has a zero following the IIS part in your properties file, while mine has a unique number for each site (but it's not always the same number as the one at the very beginning of the line).

                                                                               

                                                                              Again, I suggest downloading the beta Update 3, installing it, and rebuilding the connectors to see if it fixes your issue.  There are several IIS connector issues that are supposedly fixed in the update.

                                                                               

                                                                              -Carl V.

                                                                              • 36. Re: Cold Fusion 11 refresh page image does not appear
                                                                                userCold9 Level 1

                                                                                Is there a URL to obtain the update?

                                                                                 

                                                                                I am unable to download the update in the Cold Fusion administrator.

                                                                                 

                                                                                 

                                                                                Mike

                                                                                • 37. Re: Cold Fusion 11 refresh page image does not appear
                                                                                  Carl Von Stetten Adobe Community Professional & MVP

                                                                                  The procedure for getting the update is in the blog post I linked to in an earlier reply.  It's very easy to do (I've installed 2 or 3 of the beta releases).

                                                                                  -Carl V.

                                                                                  • 38. Re: Cold Fusion 11 refresh page image does not appear
                                                                                    userCold9 Level 1

                                                                                    I went to the  See the ColdFusion Blog

                                                                                     

                                                                                    I subscribed to the Cold Fusion Updates.

                                                                                     

                                                                                    I then selected the Download and Install in the Cold Fusion Admin Server Update section.

                                                                                     

                                                                                    I did not see anything happen.

                                                                                     

                                                                                    Is there anyway to download the update/s outside of the Cold Fusion Admin?

                                                                                     

                                                                                     

                                                                                    Mike

                                                                                    • 39. Re: Cold Fusion 11 refresh page image does not appear
                                                                                      Carl Von Stetten Adobe Community Professional & MVP

                                                                                      I subscribed to the Cold Fusion Updates.

                                                                                       

                                                                                      Do you mean that you changed the updater URL to point to the beta update provider instead of the normal update URL?

                                                                                      1 2 Previous Next