Hi All, We are using WPS in Geoserver 2.8.4 and have noticed that we cannot retrieve the status of an asynchronous WPS request which has completed after restarting GeoServer. The final response/outputs are still available in the resource storage directory as the expiry time has not elapsed but cannot be accessed using the GetStatus request (we get an UnknownExecutionIdException when trying to stored response).
Looking at the code it looks like the the process status is maintained in memory and hence is cleared on a restart and the code does not check the resource storage directory to see whether a stored response is actually available (https://github.com/geoserver/geoserver/blob/master/src/extension/wps/wps-core/src/main/java/org/geoserver/wps/GetStatus.java#L40). This isn't desirable behaviour for us. If a user has submitted a WPS request and it completes successfully we would like them to be able to retrieve the completion status of the request up to the configured expiry time regardless of whether we had to restart GeoServer in the interim. Looks to me like the existing code could be modified to check for a stored response before throwing the UnknownExecutionIdException which would resolve this problem for us for the default in-memory process status store and the hazelcast process status store if we decide to use that. Another option looks to be use a new persistent process status store. Any comments on the above or other suggestions on how we could obtain our desired behaviour? Thanks, Craig Jones Integrated Marine Observing System University of Tasmania University of Tasmania Electronic Communications Policy (December, 2014). This email is confidential, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone outside the intended recipient organisation is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender. The views expressed in this email are not necessarily the views of the University of Tasmania, unless clearly intended otherwise. ------------------------------------------------------------------------------ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
