Select to view content in your preferred language

Error when viewing new web application

670
2
10-03-2011 02:57 PM
DavidGraves
Deactivated User
I'm new to ArcGIS Server, and am just trying to build a successful test web application as a proof of concept.  Errors are returned by the browser, however, when I attempt to view the application.

I installed ArcGIS Server for Java Platform on a web server, and am storing GIS data on the same server.  There, I built a simple .mxd file with three layers, and created a web service from this w/ ArcGIS for Server Manager.  This service seems to be working fine as I can open it in ArcMap or ArcCatalog.  Next, I used the "Create Web Application" tool to create a basic web application to show this map service.  I am able to save the application without problems, but when I try to view it via a web browser (IE or Firefox), or the "View" icon in AGS Manager, I receive the following errors:

com.esri.adf.web.data.geometry.ADFSpatialReferenceException: Not a coordinate system id: 0

and

com.sun.faces.mgbean.ManagedBeanCreationException: Unable to set property initExtent for managed bean webappMap

All layers and the map service have a defined coordinate system, and the web application is set to use the coordinate system and initial extent of the map service.

Thanks for any ideas on where/how to resolve these sorts of errors - the ArcGIS for Server help files are not particularly useful in this regard.
0 Kudos
2 Replies
derekswingley1
Deactivated User
This is a forum for the ArcGIS API for JavaScript:  http://help.arcgis.com/en/webapi/javascript/arcgis/index.html

If you want help with the Web ADF, please use this board:  http://forums.arcgis.com/forums/10-ArcGIS-Server-Java

I would encourage you to give the JavaScript API a look if you're building an app using ArcGIS Server services. Tons of samples here:  http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm
0 Kudos
DavidGraves
Deactivated User
My bad - I've started a new thread there - thanks
0 Kudos