GPService Crashes after it succeeds, can't get results data

1787
10
07-21-2011 02:26 PM
S_Ector
New Contributor
I'm running a simple shapefile copy script that takes an input file path and copies the shapefile.  The script runs fine and does the copy.  The output file ends up in the jobs directory.  However, after the copy succeeds, then the service crashes and returns a failed status:

Job ID: j135a06a5f70c4f2bb7d33839d51c4bf7

Job Status: esriJobFailed

Job Messages:

    * esriJobMessageTypeInformative: Submitted.
    * esriJobMessageTypeInformative: Executing...
    * esriJobMessageTypeInformative: Executing (GetShapefileScript): GetShapefileScript e:\carbon\data\Skattebo.shp #
    * esriJobMessageTypeInformative: Start Time: Thu Jul 21 15:15:58 2011
    * esriJobMessageTypeInformative: Running script GetShapefileScript...
    * esriJobMessageTypeInformative: Completed script GetShapefileScript...
    * esriJobMessageTypeInformative: Succeeded at Thu Jul 21 15:15:58 2011 (Elapsed Time: 0.00 seconds)
    * esriJobMessageTypeError: Failed.
    * esriJobMessageTypeError: Execution of job j135a06a5f70c4f2bb7d33839d51c4bf7 failed because of crash or termination of the server object.


The log files in Server Manager have this:

WARNING Execution of job j135a06a5f70c4f2bb7d33839d51c4bf7 failed because of crash or termination of the server object. 2011-07-21 15:16:04 test/myToolbox.GPServerJobScheduler GIS2 
ERROR Container process 3892 has crashed on machine gis2. 2011-07-21 15:16:01 test/myToolbox.GPServerSync

Both the inputs and outputs are on the local machine, so no timeout or firewall issues.  Has anyone seen this issue before?

Thanks
0 Kudos
10 Replies
twainyoung
New Contributor
I also encounted that type  issuse randomly.  I writed a python script which used to generate thematic picture. In the script ,I used gp tools such as idw�?� ContourList�?�replaceDataSource�?�ExportToPNG and so on. I  created scratchworkspace all by myself(I set it on D:\ScatchWorkspace\),the path of final picture is seted on D:\Picture\.   This script runs fine at most time on ArcGIS Server 10 ,but crash also exits. Any help would be apprciated...
0 Kudos