Using CFMX 7 with other Servlet Engines
ESRI is finally moving on certifying CFMX 7 for use with ArcIMS! The major holdback was running ColdFusion on the same machine as another servlet engine. Sure... many of us already know that you can just use the Internal JRun that comes with ColdFusion as ArcIMS's servlet engine. But what if you needed to deploy other web applications such as esriadmin, the Metadata Explorer, JSP sample viewer or even the GIS Portal Toolkit? Then you were out of luck.
A few years back I posted a solution for getting CFMX 6.1 to work together with other servlet engines. But when CFMX 7 came around, the solution no longer worked. But we have a solution again! And it doesn’t even involve getting CFMX to run as a web app. All you need to do is turn off servlet and jsp functionality in CFMX and let your servlet engine (i.e. ServletExec / Tomcat) handle those sorts of requests, while CF remains purely for CFM pages. You can have the standard "server configuration" install for CF, that most people are used to. I tested this setup using CF's JRun, Tomcat 5 and ServleExec 5 and had the CF Administrator, CF example apps, ArcIMS Diagnostics, Java Connector Samples, and CF Connector Samples all working in unison!
I do have to thank a few folks for helping me along the way to the solution... Tom Donovan from Adobe (formerly Macromedia), Kirk Mower, Jason Harris, Jeremy Bartley, as well as the folks from PerformanceHosting.net. If i've missed anyone, sorry! Thanks all for the bits of information you either had posted or relayed to me in some other way.
I've uploaded 2 documents that explain how to get your machine setup with ArcIMS, ColdFusion and a Servlet Engine of your choice. Note please that these are a ROUGH draft. The documents were created a couple days ago, and they have just been passed on to the testing, release, and certification team. So this is still unsupported. Please don't quote them if you have troubles and end up calling Tech Support. Not until it is officially released.
Cheers,
Margaret
CFMX 7 & Internal JRun (PDF file)
CFMX 7 & Other Servlet (PDF file)
Comments
Hey Margaret!
Good to see you posting on Kirk's blog. Thanks for putting this information together. I think it is very useful
Cheers,
Jeremy
Posted by: Jeremy
|
January 23, 2006 11:03 PM
Well, it may be "my" blog, but the original and current intent is to have a group weblog on ArcIMS and ColdFusion :-) Even if I do tend to blather on a bit. That's great Margaret, thanks again. Now we have to get the CFC certified for the Java ADF ;-)
Posted by: Kirk
|
January 24, 2006 12:57 PM
Can anyone assist with this process. I have tried everything from the .pdf's but still can't get things going. Is it imperative that the order of operations be followed explicitly? IE, CF has to be installed before ArcIMS?
Matthew
Posted by: MatthewStone
|
May 5, 2006 12:20 AM
Matthew - are you sure you need to use Tomcat -- the internal Jrun is the preferred method by most of us. However, as Margaret says in this post some users may want ArcIMS running with other Tomcat webapps. For the J2EE (now multiserver) config on Enterprise see -- http://www.mariposa.com.au/arcims/2004/10/tom_donovan_has_cracked_the_cf.cfm - for Standard -- see -- http://www.mariposa.com.au/arcims/2004/02/running_on_jrun.cfm
Posted by: Kirk
|
May 5, 2006 09:02 AM