Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Server Administration / December 2006



Tip: Looking for answers? Try searching our database.

Developer Edition 7.02 is running but no longer working

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JSimmerin - 30 Nov 2006 20:43 GMT
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
dimaint - 01 Dec 2006 20:13 GMT
If you use 8500, is your page being processed by CF6 or CF7? It is not a good
idea ti still have CF6 on the server if you do not use it anymore. Make sure
you remove CF6 and then reconfigure the connector for CF7. When uninstalling
CF6, make sure you back up your CFIDE directory first, cause it can be removed
by CF6 uninstall.
JSimmerin - 05 Dec 2006 20:05 GMT
My pages are being processed by CF7 when browsing via 127.0.0.1. Upon upgrading
from CFMX 6.x I followed the default options. This left CFMX 6.x on the system
but migrated datasources to CF7.

The odd thing about this is I suspect another program may be contributing to
this problem even though I don't see how that's possible. I use "Style Master
4.6" for CSS development. I've noticed and will test further, that when working
with Style Master and Dreamweaver 8.02 simultaneously. If I try to browse a
page via Dreamweaver (or any other program) CF Service is running but won't
recognize or browse pages through CF Server.

I checked and restarted IIS and CF7 to no avail. It seems I have to restart my
computer, and when that doesn't work, I have to uninstall and reinstall CF7
server.

Any light you can shed on this would be much appreciated.

Thank You
dimaint - 05 Dec 2006 20:14 GMT
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.
JSimmerin - 05 Dec 2006 20:33 GMT
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.
dimaint - 05 Dec 2006 20:51 GMT
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.
JSimmerin - 11 Dec 2006 21:34 GMT
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 and the initial install went very
smoothly so I think this is an unrelated issue.

At any rate I had tried uninstalling CF7 CFMX and thought I'd move my websites
to the inetpub directory and just install CF7 again. 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 and I've since made some progress 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
JSimmerin - 12 Dec 2006 23:22 GMT
Dmitriy,

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

John S.
dimaint - 15 Dec 2006 16:37 GMT
In your Windows services, do you see two services called ColdFusion MX 7 ODBC Agent and ColdFusion MX 7 ODBC Server?
JSimmerin - 15 Dec 2006 19:55 GMT
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
dimaint - 15 Dec 2006 20:02 GMT
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.
JSimmerin - 15 Dec 2006 20:25 GMT
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
JSimmerin - 15 Dec 2006 20:26 GMT
I meant to say above that I didn't uninstall MX 6
dimaint - 15 Dec 2006 20:43 GMT
So under CF 7 just change the attribute so it would read like this
<attribute name="deactivated">false</attribute>

Also notice that couple lines above that it mentions port number 8501. So your
CF7 would actually be available under http://localhost:8501 and your CF6 will
still be under http://localhost:8500. If you want your CF7 to be in 8500, just
switch port numbers - put 8500 for CF7 and 8501 for CF6.
After you make those changes, make sure you restart both CF6 and CF7.
JSimmerin - 15 Dec 2006 20:45 GMT
Dmitriy,

You are a genius. Thank you for your patience in sticking with me on this
issue. I went ahead and did as you suggested and MX 7 is now the active server.
I disabled MX 6, changed 8501 to 8500 on MX 7 then activated. I now browse
everything through localhost:60 - 8500 doesn't work but that's okay.
localhost:60 seems to work just fine as a browse path.
dimaint - 15 Dec 2006 20:51 GMT
The reason why 8500 no longer working for you is because even though your CF6
is deactivated it still points to 8500. If you do want your 8500 to work for
you and use CF7, you just need to make sure that under CF6 jrun.xml you would
change the port from 8500 to something else like 8501 or 8502. Then make sure
that CF7 is set to 8500 and deactivated is false and you are all set.
By the way if you do want to run both CF6 and CF7 you can definitely do that.
Just make sure they are on different ports.
JSimmerin - 15 Dec 2006 21:06 GMT
Dmitriy,

I just tried what you suggested (switching to 8500 on MX 7, and 8501 on MX 6
then restarting servers) but when I browse using localhost:8500 I get 404 file
not found whereas localhost:60 still works perfectly. As long as localhost:60  
works I'm pleased but would be interested in your thoughts as to why 8500 still
doesn't work.

John
dimaint - 15 Dec 2006 21:19 GMT
What do you get on 8501?
File not found - are you accessing some specific file or just a directory under http://localhost:8500?
JSimmerin - 15 Dec 2006 21:37 GMT
8501 is now set as the port for MX 6 which is inactive, so I get this:
Firefox can't establish a connection to the server at 127.0.0.1:8501.

8500 is now set as the port for MX 7 which is now active (:60 works), and I
get this:
404 File not found: /CFIDE/administrator/index.cfm
File not found: /CFIDE/administrator/index.cfm

The result is the same regardless of what I browse, this just happens to be
administrator.
dimaint - 15 Dec 2006 21:49 GMT
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.
dimaint - 15 Dec 2006 21:51 GMT
My guess is your CFIDE directory is physically located under inetpub/wwwroot
folder and that is why you can only see Administrator from your IIS port which
is 60. If you wish, you can copy your CFIDE to CFusionMX7/wwwroot, but having
it in two different places is not a very good idea.
JSimmerin - 15 Dec 2006 22:02 GMT
You are right CFIDE is in C:/CFusionMX/wwwroot folder which also happens to be
the root folder for all of my websites. Do you recommend I leave well enough
alone and just use localhost:60 since it works just fine?
dimaint - 15 Dec 2006 22:42 GMT
It is up to you, but if I were you I would just leave it as is. You had enough head ache to get everything configured and working, you probably don't want to accidentally screw something else :)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.