I recently had to install ArcIMS alongside MapServer (well the other way around actually), using MS4W. The trick was really to get ArcIMS running on the Apache 2.2.4 and Tomcat 5.5.25. My notes are included below. Please note that if you do this ESRI will NOT support your ArcIMS. The supported environment for ArcIMS 9.2 is Apache 2.0.58 and Tomcat 5.5.17. Another avenue to try (I did this but did not implement) is installing MS4W, but don't run Apache. Instead configure IIS to look for MapServer. In this situation you could co-host ArcIMS on IIS and Tomcat 5.5.17 with MS4W. As for migrating applications you will likely have to rewrite them for MS.
********** Michael Smith Maine Office of GIS Procedure for installing MS4W MapServer alongside IMS 9.2 Background: MS4W runs on a bundled Apache distribution (2.2.4), while IMS can run on either IIS or Apache (2.0.58 is the supported version). Tomcat also requires Tomcat servlet engine (5.5.17 is the supported version). The trick here is that the newest version of Tomcat (5.5.25) should be used with Apache 2.2.4, thus they (and IMS) must be configured to use the newest versions of both. 1) Unzip the MS4W 2.2.6 distribution to c:\ms4w. Run the install script. Verify the install by opening the default MapServer web page with http://<hostname> 2) Download and install Java 2 SDK 1.5.6 to c:\j2sdk156. Install the J2RE to c:\jre156. 3) Install Tomcat 5.5.25 to c:\tomcat5525, do a 'full' install, set the password, path to JRE should be c:\j2sdk156. IMPORTANT - at this point you will need to update the tcnative-1.dll that is bundled. It has a bug and needs to be replaced with a newer version. Download version 1.1.19 from http://tomcat.heanet.ie/native/ and copy it into c:\tomcat5525\bin, overwriting the existing one. Tomcat service will need to be stopped while you copy the file. 4) Create system environment variables (or replace existing ones): JAVA_HOME = c:\j2sdk156 CATALINA_HOME = c:\tomcat5525 PATH = (append this to the PATH) ;%JAVA_HOME%\bin 5) Download the JK 1.2.26 connector file for Tomcat 5.5.25 and Apache 2.2.4 (should be mod_jk-1.2.26-httpd-2.2.4.so) and save it as c:\ms4w\apache\modules\mod_jk.so). 6) Create this file c:\tomcat5525\conf\mod_jk.conf: JkWorkersFile "C:\ms4w\Apache\conf\workers.properties" JkLogFile "C:\Tomcat5525\logs\mod_jk.log" JkLogLevel all <VirtualHost * > ServerName <your hostname> JkMount /servlet ajp13 JkMount /servlet/* ajp13 JkMount /esriadmin ajp13 JkMount /esriadmin/* ajp13 JkMount /examples ajp13 JkMount /examples/* ajp13 JkMount /webdav ajp13 JkMount /webdav/* ajp13 JkMount /tomcat-docs ajp13 JkMount /tomcat-docs/* ajp13 JkMount /manager ajp13 JkMount /manager/* ajp13 JkMount /servlets-examples ajp13 JkMount /servlets-examples/* ajp13 </VirtualHost> 7) Create this file c:\ms4w\apache\conf\workers.properties: #-------LOAD BALANCER worker.loadbalancer.type=lb worker.loadbalancer.balance_workers=ajp13 #You should configure your environment slash...ps=\on NT and / on UNIX #and may be different elsewhere. # ps=\ #-------DEFAULT worker list------ #The worker that your plugins should create and work with # worker.list=ajp13 #----DEFAULT ajp13 WORKER DEFINITION----- # #Defining a worker named ajp13 and of type ajp13 #Note that the name and the type do not have to match. # worker.ajp13.port=8009 worker.ajp13.host=dep-eia1pcgis1 worker.ajp13.connection_pool_size=10 worker.ajp13.connection_pool_timeout=600 worker.ajp13.socket_keepalive=False # #*****End worker.properties***** 8) Modify the c:\ms4w\apache\conf\httpd.conf file, find the line: #LoadModule ssl_module modules/mod_ssl.so and add this module after it: LoadModule jk_module modules/mod_jk.so then add this line at the end of the file: include "c:/tomcat5525/conf/mod_jk.conf" 9) Verify the Apache/Tomcat install with this: Restart Apache and Tomcat http://<hostname>/servlets-examples/servlet/HelloWorldExample (should return a "Hello World" message) 10) Install ArcIMS Install the components you want Install to c:\ArcIMS 11) ArcIMS post-install - under the web server-servlet section, choose Apache/Tomcat, and specify the Apache (c:\ms4w\apache) and Tomcat (c:\tomcat5525) folders. Be sure to specify the JRE as c:\j2sdk156. Check the box to use the system JRE for Author, Designer, and Administrator. Open the httpd.conf file and remove the JkMount commands at the end of it. 12) Install SP4 for ArcIMS 9.2 - Reboot - After reboot, run ArcIMS Diagnostics