jphiloon

GP executeAsync behavior

Discussion created by jphiloon on Mar 29, 2014
Can someone explain this phrase to me, in the context of running inside a servlet?  From the ArcGIS "How to run a geoprocessing tool in the background":

"Both executeASync() methods submit tools to a geoprocessing queue that exists in the current process. At this time, the tools IGeoProcessorResult object that is returned when the executeASync() method is called as a status attribute with the value esriJobStatus.esriJobWaiting.  A tool on the geoprocessing queue will not execute until the method that added the tool to the queue has been fully processed."

I am questioning this because my servlet code calls executeAsync and the job goes to esriJobWaiting and that's it - no further movement.  So I'm wondering about "will not execute until the method that added the tool to the queue has been fully processed."  Fully processed?  What does that mean in the context of a tomcat servlet?  Is there something else I have to do to release the job?

Outcomes