Viewing By Entry / Main
December 21, 2005

Coldfusion ArcIMS JRUN Configuration

People that use ArcIMS know that we must have a servlet engine for it to work properly. This means that most folks folks either purchase ServletExec or struggle Tomcat. What most people don't realize is that Coldfusion is using JRUN as its own 'internal' servlet engine. So, why not save a step and use that with your ArcIMS configuration? Geez, you can almost purchase Coldfusion outright for what it costs to buy ServletExec.

So, here are the instructions to perform a ArcIMS install using Coldfusion's internal JRUN as your servlet engine. I have also tossed in some of the tricks to get the cfx_esrimap.dll tag registered with Coldfusion 7.

Browse to: \ArcIMS\Connectors\Servlet

Copy the com directory and the three files Esrimap_prop, ServletConnector_Res.properties and ServletConnector_Res_en_US.properties.

C. Paste them into the servlet location at: c:\CFusionMX7\wwwroot\WEB-INF\classes

D. In a text editor; for example, Notepad, open: c:\CFusionMX7\wwwroot\WEB-INF\classes\Esrimap_prop.

E. Edit appServerMachine=APPSMACHINE to point to the machine where the ArcIMS Application Server is installed; for example, change it to appServerMachine=mymachine or appServerMachine=IP. Change appServerClientPort=5300 only if a different port was selected.

F. Close and save the file.

G. In a text editor; for example, Notepad, open: c:\Program Files\ArcGIS\ArcIMS\Connectors\Servlet\Esrimap_prop and make the same changes that you did in step E. Save file.

H. Open up the CFMX administrator, and register the CFX_ESRIMAP.dllTag Name: cfx_esrimap Server Library: C:\CFusionMX7\runtime\bin\cfx_esrimap.dll Procedure: ProcessTagRequest

I. Edit C:\CFMX7\bin\jvm.config file

Change the java.library.path entry to include the two directories containing the ArcIMS shared libraries.

C:/Program Files/ArcGIS/ArcIMS/Middleware/CF_Connector/bin,C:/Program Files/ArcGIS/ArcIMS/Connectors/ColdFusion/Server

Change the java.class.path entry to include the one directory containing the ArcIMS Java classes.

C:/Program Files/ArcGIS/ArcIMS/Connectors/Servlet

Note that forward slashes are used even on Windows, and that the list is comma delimited.

Note that the java.library.path entry and the java.class.path entry are each a single long line.

Restart the CFMX Service from the windows control panel.

Comments

Before you copy the Esrimap_prop file, make the change to the appservermachine name. This way you don't have to do it twice.


Hi Jason,
Wondering if you had this kind of installation working. (ArcIMS4 and CFMX7 with Internal JRUN). BTW, does ESRI certify this installation? I've a working CF5 and ArcIMS 4. Recently, the client upgraded to cfmx but not the ArcIMS.
I've followed all of your instructions. Unfortunately, not all of my previous codes are working. Passed the diagnostic test and all, cfarcims sample template not all functions are working. Functions that are using CFX_ESRIMAP ACTION="REQUEST" will fail.
If you wanted to take a look at the cfx_esrimap errors, can view the default samples, http://uniscada.ath.cx/gis/CF_Samples/default.cfm
http://forums.esri.com/Attachments/21084.JPG

Thanx a lot.


Well, I checked out your sample and they worked ok. I guess you got it fixed?


If you havent already, enable full arcims spatial server logging and see what is getting reported when that error occurs. I suspect you'll figure out the issue.


Sorry, but how do I enable full arcims spatial server logging? Is it a feature under administrator?