Here’s a wierd one – Address already in use

Today I encounterd a strange error-

I started the ArcGIS Manager Service to use the Restful Services Directory and to my surprise it did not work. I have installed ArcGIS Server 9.3.1 for a few weeks now and was working fine.

I tried the following url’s:

http://localhost:8399/arcgis/rest – restful services direcoty – did not work

http://localhost:8399/arcgis/services?wsdl – services catalog soap end point – did not work

http://localhost:8399 – directory listing of  “C:\Program Files\ArcGIS\java\web_output” – did not work Read the rest of this entry »

Installing and running the Custom Rest Service – Mapservice legends sample

I recently saw that there has been lots of discussion on the custom rest service legend sample posted on the code gallery in terms of getting the sample up and running successfully. If you have no clue on what I am talking about, here is the link.

This post should help you get the sample running in no time (almost):

I am using Eclipse (screen-shots show version 3.4/Ganymede, 3.3/Europa should work as well) as my IDE and ArcGIS Server 9.3.1 Java ADF libraries.

1. Download the sample on to the disk:

sample

Read the rest of this entry »

Deploying Java Web ADF application on Jetty

Recently I installed and successfully deployed a ESRI ArcGIS Server based Java Web Mapping application on Jetty 6.1.14

Though Jetty is not officially supported deployment container, since its standards based it works without any issues.

For starters, if you are new to Jetty or if you are looking for an alternative to Tomcat find out more on Jetty at http://www.mortbay.org/jetty/
Read the rest of this entry »

Measuring Web Mapping Application Performance using YSlow – part 2

Sorry for the long delay in writing this post. Lots of you have emailed me asking for the concluding part of the performance analysis and here it is. This is a continuation from the last post so its highly recommended you read the earlier post first (Click here for part1)

Here is the listing of YSlow 13 performance rules along with the ratings given to the default web mapping application template.

1. Make Fewer HTTP requests (F)
2. Use a CDN (F)
3. Add an Expires header (F)
4. Gzip components (F)
5. Put CSS at the top (B)
6. Move scripts to the bottom (C)
7. Avoid CSS expressions (A)
8. Make JS and CSS external (-)
9. Reduce DNS lookups (A)
10. Minify JS (A)
11. Avoid redirects (A)
12. Remove duplicate scripts (A)
13. Configure ETags (A)

Now lets analyze a few rules and its ratings to see where we as web developers or front end engineers can contribute to improve the performance of the web mapping application. Read the rest of this entry »

Eclipse – how tos and tips and tricks

Lots of Java ADF enthusiasts have asked for some guidance on working with Eclipse. I do teach them a few in the class but here is more comprehensive listing. Obviously you can find more info on the web but here is a list that is relevant to using Eclipse for web development. Read the rest of this entry »