Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have implement the ArcGIS JavaScript example just like the ESRI official example (clip and ship) .Everything was going right except the final step ,when the gp job have finish and my browser lead me to the result URL it have show the 404 Error.
I checked out the gp job directory which do contain the job results(output.zip).At the same time i had add the server's hostip and hostname in my hosts file.

My Environment: Window 2003 Sp2 ,ArcGIS Server 10, Chrome 18;

I am using the java version which the web server is tomcat 6.

share|improve this question
1  
When you say Tomcat, do you mean a separate tier altogether, or the tomcat thats bundled under the hood of the Java edition? – Simon Jul 8 '12 at 9:56
1  
Also add to your Q what you have as your virtual directories (particularly the arcgisjobs one): help.arcgis.com/en/arcgisserver/10.0/help/… – Simon Jul 8 '12 at 9:57
    
did u find a solution to this problem? – Sam007 Dec 5 '12 at 0:36

You may need to add support for the .zip mime type to your IIS server because IIS 6.0 requires you to add new mime types before you can download files or else it throws a 404 error.

Try reading the following: http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/iis/cd72c0dc-c5b8-42e4-96c2-b3c656f99ead.mspx

You need to add the .zip application/zip mime type to your web server.

share|improve this answer
    
Sorry.My mistake.I am using java version ,so it using tomcat 6 as the web server. – Vent Lam Apr 9 '12 at 8:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.