Incompatible magic value 0 in class file

2146
1
08-15-2011 09:12 PM
Ranga_Tolapi
Occasional Contributor III
When I hit the URL
http://localhost:8399/arcgis/rest/services/Geometry/GeometryServer?f=pjson
in the browser or from code, got the below json response.

{"error": {
"code": 500,
"message": "Incompatible magic value 0 in class file org/apache/jsp/www/geometryserver/geometryserver_002djson_jsp",
"details": []
}}

What could be the reason and solution for this. Appreciate you support.
0 Kudos
1 Reply
Ranga_Tolapi
Occasional Contributor III
I resolved this issue.

Deleted the file
D:\ArcGIS\java\manager\service\tomcat\managerappserver\work\Catalina\localhost\arcgis_rest\org\apache\jsp\www\geometryserver\geometryserver_002djson_jsp.class

At my next visit to the json url of GeometryService, geometryserver_002djson_jsp.class file recreated with out any error.
0 Kudos