English

Bug: A Web application created with ArcGIS Server Manager using Websphere does not display the map

Description

When creating a Web application with ArcGIS Server Manager using Websphere, the map does not display. This does not occur when working with the same application with Apache Tomcat.

Cause

If the default theme is selected when creating a Web mapping application in ArcGIS Server Manager, the following line is added to mapviewer.jsp:

<link rel="stylesheet" href="themes/.css" type="text/css" media="screen" />

"themes/.css" does not exist, so this line fails during Websphere's validation. Apache Tomcat ignores this error, so the same Web mapping application works in Apache Tomcat.

Workaround

This problem is fixed by modifying the mapviewer.jsp file.

  1. Open mapviewer.jsp in a text editor, such as Notepad.
  2. Find the line

    Code:
    <link rel="stylesheet" href="themes/.css" type="text/css" media="screen" />


  3. Change '.css' to 'blue2.css', which is the .css file for the default theme.