Ready To Take The Plunge
Hey All...After being frustrated with pre-redsky CFMX, I reverted back to CF 5 about 6 months ago. Well, I'm ready to take the plunge and give it another try. Lots of clients are anxious to get their apps working with MX. Anyway, I have a few issues I need to work through, and maybe you can help.
ISSUE 1:
I had a few unsuccessful installs that are left over on my test box. Both 5 and MX are installed, but 5 is currently set to handle cfm pages. The problem is this: the CFMX uninstaller fails. So, is there a manual uninstall method? Any ideas?
ISSUE 2:
The reason for the above issue...I had a couple of installs go bad - mostly because of what I think were some servlet issues. I was using servlet exec as my servlet engine, and that failed after the MX install. So, my question is this: Anyone have some good setup instructions? I'm open to ideas - keeping servlet exec, using jrun that comes with cfmx ent., etc.
Many thanks...
Comments
If you are using ServletExec, why not go with BlueDragon instead of CFMX?
Posted by: Matt Liotta | September 28, 2003 02:19 PM
bah humbug. i don't think you'll get far w/blue dragon server & arcIMS. you'll have to at least use the jx or j2ee servers to get java connector, sql server, etc. support. and for that you'll get cf5 tag support & since i know you love your axl, no native xml support.
if you've got mx enterprise, use that. since i swapped to using mx enterprise, i've got my arcIMS installs down to 1 try (but you already know that).
i'll see if i can find a manual way to wipe out old mx installs. as far as installing arcIMS w/mx. install mx first, make sure its running ok, install arcIMS, at the bit where it asks for servlet, choose other & point at /cfusionMX/wwwroot/web-inf/classes. i've never had to do anything beyond that--but i don't have any other servlets installed, etc.
Posted by: PaulH | September 28, 2003 05:18 PM
Paul...That sounds easy enough. So, all I need to do is uninstall. Any help on that front would be great...
Posted by: Jason | September 29, 2003 01:20 AM
Jason: Paul is right, but you will also be upgrading our Java to 1.4.2 so you will need to change your JavaHome environment variable.
Use Add/Remove Programs to uninstall all CF, Servlet Exec, ArcIMS and I would even say all your Java Installations, also, just to be on the safe side, track down the ArcIMS registry keys using regedit and delete them, then reboot.
The CF Installer can even install and configure Java for you in this release (as it is now essential). In general avoid spaces in your install directories and try to put things at the top level (that is, not in Program Files) -- again this is to be on the safe side with Java.
Also, you may want to consider installing CFMX in the J2EE configuration (with JRUN -- option 2) -- but this is a bit more of a paradigm shift than Paul's suggestion. The easiest way is as Paul suggests, that is, in the Standalone config.
Posted by: Kirk Mower | September 29, 2003 09:15 AM
Try doing an MX upgrade with Spectra installed... after that, any problems you're having with a plain ol' CF5 to MX/6.1 upgrade will feel like winning the lottery, being on vacation, and being granted a super-natural ability to fly all rolled into one.
Posted by: Michael Conger | September 30, 2003 06:53 AM
Well....I have succeded in getting MX back on. Im a little confused as to how I'm supposed to get ArcIMS working with MX. Paul..I did as you suggested, but I'm getting the PAGE CANNOT BE FOUND error after I run the diagnostics. Any ideas as to where I went wrong?
Posted by: jason | September 30, 2003 07:36 AM
Did you delete the registry entry for ArcIMS when you performed the install ?
Posted by: Kirk Mower | September 30, 2003 08:29 AM
no...what should I do?
Posted by: jason | September 30, 2003 08:31 AM
First off, check and see if ArcIMS is running --using diagnostics -- on different port, first try the internal CF port 0f 8500 instead of port 80, if not, then try 8300, 8100 and 8000
Posted by: Kirk Mower | September 30, 2003 12:09 PM
ArcIMS itself is running ok - the 3 services start ok. I tried your suggestion, but the diagnostics still fail and I can't login to the Admin Panel (invalid or not running error).
CFMX seems to be running fine. I've made sure java_home is set right, changed permissions, etc, etc. I'm missing one little thing...
Posted by: jason | September 30, 2003 12:24 PM
enterprise mx? if not there was some instructions for getting arcIMS to run under pro posted on the CFC list. did you install mx & then arcIMS? is mx working ok? got any other servlets running? are you using windows 2003?
Posted by: PaulH | September 30, 2003 01:57 PM
Jason is running Enterprise as I remember from my installation dramas...
It seems that the Servlet path for ArcIMS is getting stuffed -- or was still there from a previous install. I had had some problems with the Registry Keys still holding this info (incorrectly) when I did a re-install to a new location. Try deleting (nothing there anyway)your .sez files and then restarting the ArcIMS services.
If that doesn't work, I suggest hunting down the registry keys and deleting them. Go to the Command Line from the Start menu (Run...) type regedit ,then go to HKEY_LOCAL_MACHINE - SOFTWARE - Esri and delete all of the ArcIMS Keys there. Then Unistall ArcIMS, reboot and run the installation again.
In post installation make sure that you are selecting "Other" for the Servlet Engine and then Navigating ('Browsing') to the appropriate directory under CF (JRun will be handling everything now -- not ServletExec).
Posted by: Kirk Mower | September 30, 2003 03:31 PM
Well....still no luck. Still getting page cannot be found...So, I decided to try Pauls's esriadmin, and I get the following error, which is suspect is related to why the diagnostics fail. Just remember, this cfmx java thing is all new to me, I know this is a newbie error...
Error Occurred While Processing Request
Object Instantiation Exception.
Class not found: com.esri.aims.mtier.io.ConnectionProxy
74 :
75 : // can't assume anything's been setup yet
76 : connectionProxy=createObject("java","com.esri.aims.mtier.io.ConnectionProxy");
77 : connectionProxy.setConnectionType(javacast("int",0));
78 : connectionProxy.setHost(arguments.theseProperties.host);
Posted by: Jason | October 1, 2003 12:20 AM
Take it back...got Pauls esriadmin working - kinda. Added C:\Program Files\ArcGIS\ArcIMS\Connectors\Servlet to the classpath in cf admin. Then, I got it to come up just fine. But, I get no virtual servers listed. Not sure if thats based on my original problem or what.
Posted by: Jason | October 1, 2003 12:49 AM
All I can say is wow. What a nice job Paul has done with this Esriadmin. This thing rocks....as you guessed...I did get it to work. Still no go on the esri based admin though - and the diagnostics still fail...but who cares. I tested a couple sites, and they work great. NICE JOB.
Posted by: Jason | October 1, 2003 01:34 AM
jason,
with mx, its easiest to just copy .JARs to cf_root/wwwroot/web-inf/lib & .CLASS files to cf_root/wwwroot/web-inf/classes
stuff is dynamically loaded from those locations, no need to mess with classpaths, restarting cf server, etc. also very good for development.
are you using IIS or the standalone java webserver? i'm not sure if port 8500 will work with arcIMS. other than that i don't see why you're having any problems with this. i'd like to find out why if possible.
Posted by: PaulH | October 1, 2003 05:59 AM
I'm using iis.
Posted by: jason | October 1, 2003 06:55 AM
Great. If you are happy with Paul's esriadmin (ditto on rocking) as I am, then you are right, you won't need the inferior esri made varieties ;)
BTW - I don't think that port 8500 will work with ArcIMS as JRUN (and ColdFusion) is configured on port 80 (and so should ArcIMS) -- although with CFMX for J2EE I don't get the built in web server.
Again, I highly recommend giving CFMX for J2EE a whirl if you have the box and a little bit of time -- I could walk you through that install blindfolded.
Posted by: Kirk Mower | October 1, 2003 08:55 AM
jason, it all works except for the diagnostics? the esriadmin (the jsp version) actually requires a bit more setup to run if you're not on j2ee.
is the diag running against the machine name or localhost (yes it might be as simple as that)?
Posted by: PaulH | October 1, 2003 05:34 PM
I tried it all....127.0.0.1, ip,localhost,machinename...no dice. I was able to procure a fresh test box, so I'm gonna try from scratch on there. I'll let you know..
Posted by: jason | October 2, 2003 04:58 AM
Ok. Had a fresh box to test on. install went 100% perfect, first time. By far, the easiest install I have ever done. PS - did it on a win 2003 server box too ;)
Thanks to all for your help.
Posted by: Jason | October 7, 2003 04:02 AM
Great, good to hear. Do you have CF Esriadmin running now as well ?
Posted by: Kirk Mower | October 7, 2003 07:39 AM
Yes, I do, and it is FAT with a PH. I am very very impressed.
Posted by: jason | October 7, 2003 09:00 AM