Skip to main content
November 30, 2006
Answered

Developer Edition 7.02 is running but no longer working

  • November 30, 2006
  • 22 replies
  • 1654 views
I recently upgraded to Dev. Ed. 7.02 from the latest version of 6.xx and everything has been working just fine. During installation I chose to migrate to the new version. However, the last couple days the server stopped working - I'd restart my computer and it would work, but no longer. I can start/stop etc in component services - the server is running. However when I try to browse any file via 127.0.0.1 it doesn't work. It's as though CF 7.02 is not installed.

What's weird about this is that the old server browse path still works - localhost:8500. If anyone has suggestions as to what might be going on, I'd be most appreciative.

Thank You
    This topic has been closed for replies.
    Correct answer
    I think you get 404 is simply because you do not have CFIDE under C:/CFusionMX7/wwwroot folder. Check and see if it is there. You can only access CF Administartor on 8500 if you physically have CFIDE in above directory. You can run other cfm scripts just fine, but again you would need to have them there.

    22 replies

    December 15, 2006
    I meant to say above that I didn't uninstall MX 6
    December 15, 2006
    I didn't install MX6 before uninstall/reinstall MX7 for fear that I would really screw it up. So just to be sure I do this correctly, would you mind copy/paste the correct changes?
    --------------------------------- MX 6 from jrun.xml----------------------------
    <!-- This is the built-in JRun Web Server -->
    <!-- ================================================================== -->
    <service class="jrun.servlet.http.WebService" name="WebService">
    <attribute name="port">8500</attribute>
    <attribute name="interface">*</attribute>
    <attribute name="deactivated">false</attribute>
    <attribute name="activeHandlerThreads">8</attribute>
    <attribute name="minHandlerThreads">1</attribute>
    <attribute name="maxHandlerThreads">1000</attribute>
    <attribute name="mapCheck">0</attribute>
    <attribute name="threadWaitTimeout">20</attribute>
    <attribute name="backlog">500</attribute>
    <attribute name="timeout">300</attribute>
    </service>

    ---------------------- MX 7 from jrun.xml -----------------------------------
    <!-- This is the built-in JRun Web Server -->
    <!-- ================================================================== -->
    <service class="jrun.servlet.http.WebService" name="WebService">
    <attribute name="port">8501</attribute>
    <attribute name="interface">*</attribute>
    <attribute name="deactivated">true</attribute>
    <attribute name="activeHandlerThreads">8</attribute>
    <attribute name="minHandlerThreads">1</attribute>
    <attribute name="maxHandlerThreads">1000</attribute>
    <attribute name="mapCheck">0</attribute>
    <attribute name="threadWaitTimeout">300</attribute>
    <attribute name="backlog">500</attribute>
    <attribute name="timeout">300</attribute>
    </service>

    One other thing to note is that I installed MX 7 in the default directory "C:\CFusionMX7" However, when asked "from which directory would you like to run administrator, this must be in the same directory as your websites" (or something to that effect), I chose C:\CFusionMX\wwwroot\ - that's where all of my sites are located. I don't know if this relates to the jrun.xml configuration but thought I'd mention it just in case.

    Thanks,

    John
    December 15, 2006
    I was under impression that you have uninstalled both 6 and 7 before putting 7 back. Isn't it true? If you still have both 6 and 7 then you need to disable 8500 on 6 and enable it on 7. In order to do that, you would need to edit respected jrun.xml files located in {CF_HOME}/runtimes/servers/{default or coldfusion}/WEB-INF/jrun.xml
    Open this file in WordPad and locate section called JRun Built-in Web Server. Third parameter in that section should be 'deactivated' and it should be either false or true. If it is false, then your Built-in server is in fact running, if it is true then it is not running. So it looks like for your ColdFusion MX 6 you would have it set to false. Change it to true and save the file. Then in ColdFusion 7 change it to false and save the file. Restart both CF6 and CF7 and now 8500 should point to CF7.
    December 15, 2006
    Yes I do, and I continue to make progress but I'm not out of the woods yet. Since my last post I thought I'd try to uninstall/reinstall MX7 hoping that would resolve the datasource access issue by recognizing the IIS switch to port 60 upon install. That worked in that I can now access and create datasources in administrator.

    However, even though MX 7 administrator opens, I believe my browse path localhost:8500 is using MX 6. When everything had been working perfectly 127.0.0.1 browsed through version 7 and localhost:8500 browsed through version 6. Now, localhost:8500 works but doesn't recognize code requiring version 7 (which is why I updated in the first place). Whereas 127.0.0.1 doesn't recognize CFM files and I can only access administrator via 127.0.0.1:60 - before 127.0.0.1 without :60 worked.

    John

    December 15, 2006
    In your Windows services, do you see two services called ColdFusion MX 7 ODBC Agent and ColdFusion MX 7 ODBC Server?
    December 12, 2006
    Dmitriy,

    Are you still monitoring this thread or would you recommend that I start a new one. Thanks,

    John S.
    December 11, 2006
    A few things have happened since my last post but first I'll make a clarification. I didn't install the two versions in the same directory. I installed CF7 in the CFusionMX7 directory. I believe I was asked during install the directory from which I'd like to run administrator and I selected CFusionMX. This has presented no problems as everything has been working perfectly until recently. So I think this is an unrelated issue.

    At any rate, after your previous suggestion I had uninstalled CF7 and CFMX and thought I'd move my websites to the inetpub directory and just install only CF7 again (not CFMX 6.x). This messed up my system so badly that I had to restore a previous hard drive back-up from a disk image. I had a fairly recent backup which restored my entire system to its previous state. I've since made some progress and have managed to get CF7 working for the most part but I still need some help.

    As it turns out, IIS was shutting down due to a port conflict and that's why CF7 server wasn't running. So I changed the TCP port of the default website from "80" to "60" Now I can access CF7 Administrator via " http://127.0.0.1:60/CFIDE/administrator/index.cfm" and i can access my websites via " http://127.0.0.1:8500/"

    So everything works except for creating and accessing datasources in administrator. When I try to access or create a datasource I get the following message:
    The ColdFusion MX 7 ODBC Server service is not running or has not been installed. You may also use the "MS Access with Unicode" driver to connect to MS Access datasources.

    When I try to verify a datasource (the example datasource here is 'BBS') I get:
    Connection verification failed for data source: bbs
    java.sql.SQLException: [Macromedia][SequeLink JDBC Driver]TCP/IP error, connection refused.
    The root cause was that: java.sql.SQLException: [Macromedia][SequeLink JDBC Driver]TCP/IP error, connection refused.

    If the datasource issue can be resolved I should be good to go.

    Thank you for your patience and continued assistance.

    john Simmer
    December 5, 2006
    John,

    1) No, you only need to restore files that are relevant to your install. For example if you do have datasources, then you need to restore neo-query.xml file. If you do not have any datasources, then, obviously, you do not have to worry about this file.
    2) Usually not. I can think of maybe some antivirus programs that may block cfm page execution, but rarely we can see something like that. In fact, I cannot recall a single case where some other program would interfere with CF.
    3) This is big YES. When you upgrade from CFMX 6 to CFMX 7 you must install CFMX 7 to a different directory. I know it is a little bit confusing because it is called an upgrade and one would think that same directory needs to be used. But this is not true in this case. CFMX 6 usually installs into CFusionMX folder and CFMX 7 should go to a different directoru, usually CFusionMX7. I am almost 100% sure that this is the main reason why your ColdFusion is not working. When you install CFMX 7 into the same directory as CFMX6, it would cause replacement of some files, but other files will be left untouched. That will cause all kinds of issue for CFMX and it will not work correctly. So I believe that this is the main and most like the only reason why your ColdFusion does not work.

    Now, when you are going to replace config files, be careful. Since you installed CFMX 7 into CFMX 6's folder, I am not sure if those config files are now compatible with CFMX 7. Still backup those files first, then after you have a fresh install of CFMX 7, before you replace config files, backup those fresh config files in case you will need to replace them back.
    December 5, 2006
    Just a couple more questions before I uninstall/reinstall.
    1) Do I need to restore all files listed on the link you sent to restore my settings?
    2) Is it possible another program could be causing this problem? This is a recent issue. I have been running CF7 for 2 - 3 months previously with no problems.
    3) When I upgraded to CF7 and was asked which directory I'd like to run/install administrator (can't remember the exact question), I chose CFusionMX which is my CFMX 6.x server root folder. I made that selection because my wwwroot folder which contains all of my sites is in that folder. Could this be related to the problem?

    I'm asking these questions to try and gain as much insight as possible prior to taking this big step.

    Thank You!

    John S.
    December 5, 2006
    Something seeme to be really strange on your system. I would do this.
    1. Back up your current CFMX 7 install. All you would really need is C:/CFusionMX7/lib folder, but just incase backup whole CFusionMX7 directory.
    2. Uninstall everything ColdFusion related on your machine. That would include CFMX 6 and CFMX 7.
    3. After unsinstall, manually remove CFusionMX and CFusionMX7 folders if they are still there.
    4. Restart your machine.
    5. Install CFMX 7.
    6. Follow this technote http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=94a16ba6 to copy and paste your previous CFMX 7 config files from your backup folder.