Me again, Forgot to mention that in TC4.1.12 and above, the invoker servlet is off by default. You will have to map it to a different url in the web.xml. Something other than servlet. Then change the diagnostics urls to match.
>From Tim Moore, You have two choices for how to fix this problem. 1. You could go into tomcat/conf/web.xml and re-enable the servlet-mapping for the invoker (it's just commented out). This is the fast way. 2. You could create a URL mapping in your webapp's web.xml file for and then use that URL to access it. This is the better way. The invoker servlet can be dangerous, and it's now recommended that you leave it disabled. You'll need to map your servlet to a URL. So that being said, I think you should do something like, For example, add this to your web.xml in the TOMCAT_HOME/webapps/arcimsServletConnector/WEB-INF/ <servlet-mapping> <servlet-name>com.esri.esrimap.Esrimap</servlet-name> <url-pattern>/com.esri.esrimap.Esrimap</url-pattern> </servlet-mapping> And then go to http://your_server/arcimsServletConnector/com.esri.esrimap.Esrimap?CMD=connectorping http://your_server/arcimsServletConnector/com.esri.esrimap.Esrimap?CMD=appserverping I haven't tested the correct way, I just uncommented the system web.xml file. I only do local host stuff on my desktop for developing. HTH rls "Robert L Sowders" <[EMAIL PROTECTED]> 10/18/2002 02:23 PM Please respond to "Tomcat Users List" To: "Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject: Re: Servlet directory? Ahhh, another ArcIMS headache in the making. I've found that it's easier to just lie to the installer and then delete whatever it installs for the connector. Then go to the ArcIMS\connectors\servlet directory and copy the arcimsServletConnector.war file to the TOMCAT_HOME/webapps directory and let Tomcat autodeply the connector for you. You can do the same for the ArcIMS Administrator, they also supply the administrator in a war file for you. It's called esriadmin.war. Just put it in the TOMCAT_HOME/webapps directory. You will have to make the jkmount statements or the mod_jk2 uri statements. One called arcimsServletConnector and another for esriadmin Only problem is the ESRI supplied diagnostic routine will not function. It has hard coded paths and was made with the assumption that you have loaded everything to the ROOT of Tomcat. You can still do the diagnostics, you just have to use your browser and call the function directly. The following assumes you are installing your web server to localhost, change it to suit your installation. http://localhost/arcimsServletConnector/servlet/com.esri.esrimap.Esrimap?CMD=connectorping http://localhost/arcimsServletConnector/servlet/com.esri.esrimap.Esrimap?CMD=appserverping Following the above procedure is more in line with the spec and lets you use your Tomcat installation for more than just ArcIMS. Here is a "How To" for a window 2000 installation for apache, tomcat, mod_jk2, arcims4, jsdk1.4.1. At the end of the ArcIMS section is a section called new that outlines the above steps. The main guide try's to follow as close as possible ESRI's instructions. ftp://pokey.wr.usgs.gov/pub/rsowders/ArcIMS4_Apache2_JK2_TC4.1.x_JDK1.4.x.zip The ArcIMS section at least is generic to your platform just change the paths you select, keep in mind that if you put the output and website directories in the DocumentRoot of the webserver then you don't have to do any aliases for them. rls J�rgen Ramskov <[EMAIL PROTECTED]> 10/18/2002 12:41 AM Please respond to "Tomcat Users List" To: 'Tomcat Users List' <[EMAIL PROTECTED]> cc: Subject: Servlet directory? Hi I'm trying to some software called ArcIMS. It asks for "the webservers servlet directory" and in the readme it gives some examples: === Cut === Installing ArcIMS Servlet Connector The ArcIMS Servlet Connector directory, \com, must be copied to your Web server's servlet directory in order to establish communication between your Web server and the ArcIMS Application Server. The following is a list of common Web servers and their servlet directories. Apache 1.3.20 and Jakarta Tomcat 3.2 <drive>:\<TOMCAT_HOME>\webapps\ROOT\WEB-INF\classes === Cut === I'm however using Tomcat 4.1.12, where is the directory then? Thanks. -- Joergen -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
