Problem: Error: 500, Location: /servlet/com.esri.wms.Esrimap


When getting feature information using the Web Map Services (WMS) Connector in ArcIMS 3.1, the following error message may occur:

"Error: 500
Location: /servlet/com.esri.wms.Esrimap
Internal Servlet Error:
at java.util.StringTokenizer.nextToken(Unknown Source)
at java.util.StringTokenizer.nextElement(Unknown Source)"


When using the WMS Connector to perform a FeatureInfo request, the above error will occur if the returned data contains spaces. For instance, if the data returned included 'Los Angeles' then you would receive this error. This is only a problem at ArcIMS 3.1.

Solution or Workaround

This is a known issue, fixed in ArcIMS 4.0. There is no known workaround, but to upgrade to ArcIMS 4.0, when possible.