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