Re: [Geoserver-users] WPS async in a clustered environment
By the way, why would a process implementation be interested in it to start with? Just curious :-) Cheers Andrea On Tue, Oct 24, 2017 at 7:36 PM, Andrea Aime <andrea.a...@geo-solutions.it> wrote: > As far as I remember the execution id is known to the WPS machinery > managing asynch requests, but there > is no way to pass it down into the processes themselves. > > Cheers > Andrea > > On Tue, Oct 24, 2017 at 7:30 PM, Bessette-Halsema, Dominique E < > dominique.besse...@gdit.com> wrote: > >> I believe you are correct the clustering is not set up correctly. >> Thank You >> >> >> >> Another Question: Is there a way to get the executionId within the WPS >> that is being called? >> >> >> >> Dominique Bessette >> >> >> >> *From:* andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] *On Behalf >> Of *Andrea Aime >> *Sent:* Monday, October 23, 2017 11:27 PM >> >> *To:* Bessette-Halsema, Dominique E >> *Cc:* geoserver-users@lists.sourceforge.net >> *Subject:* Re: [Geoserver-users] WPS async in a clustered environment >> >> >> >> Hi, >> >> did you consider this bit of documentation and act on it if needed? >> >> >> >> "By default, the module will use multicast messages to locate other >> nodes in the same cluster and will automatically start sharing information >> about the process status with them. >> >> In case this is not satisfactory, a hazelcast.xml file can be >> created/edited in the root of the GeoServer data directory to modify the >> network connection methods." >> >> Multicast is not always allowed (that would be especially true in a high >> security environment). >> >> >> >> Cheers >> >> Andrea >> >> >> >> On Tue, Oct 24, 2017 at 1:21 AM, Bessette-Halsema, Dominique E < >> dominique.besse...@gdit.com> wrote: >> >> Actually i think that error was a fluke. I'm seeing error which is what >> i see in the browser as well >> >> >> >> 23:19:26,413 [nites-vm-10.sd.spawar.navy.mil] INFO [org.geoserver.flow] >> (http-0.0.0.0:8443-10) Request [WPS 1.0.0 GetExecutionStatus] starting, >> processing through flow controllers >> 23:19:26,414 [nites-vm-10.sd.spawar.navy.mil] INFO [org.geoserver.flow] >> (http-0.0.0.0:8443-10) Request started, running requests: 1, blocked >> requests: 0 >> 23:19:26,414 [nites-vm-10.sd.spawar.navy.mil] ERROR [org.geoserver.ows] >> (http-0.0.0.0:8443-10) >> org.geoserver.wps.UnknownExecutionIdException: Unknown execution id >> a41a3d09-457e-446f-820e-9a2f7d3ea92b, either the execution was never >> submitted, was dismissed, or too much time passed since the process >> completed >> at org.geoserver.wps.GetStatus.run(GetStatus.java:41) >> -- >> >> *From:* Bessette-Halsema, Dominique E >> *Sent:* Monday, October 23, 2017 4:08 PM >> >> >> *To:* Andrea Aime >> *Cc:* geoserver-users@lists.sourceforge.net >> *Subject:* Re: [Geoserver-users] WPS async in a clustered environment >> >> >> >> The following error appears in the logs. >> >> >> >> 23:04:56,540 [nites-vm-11.sd.spawar.navy.mil] INFO >> [org.geoserver.filters] (http-0.0.0.0:8443-5) 128.49.5.238 "GET >> /geoserver/ows?service=WPS=1.0.0=ProcessStat >> usStore=f1f18d30-a130-4578-98ef-1070154c9576" "Mozilla/5.0 >> (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0" "" " "" >> 23:04:56,547 [nites-vm-11.sd.spawar.navy.mil] INFO [org.geoserver.wps] >> (http-0.0.0.0:8443-5) >> Request: getServiceInfo >> 23:04:56,548 [nites-vm-11.sd.spawar.navy.mil] ERROR [org.geoserver.ows] >> (http-0.0.0.0:8443-5) >> org.geoserver.platform.ServiceException: No such operation WPS 1.0.0 >> ProcessStatusStore >> at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:640) >> at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatche >> r.java:258) >> at org.springframework.web.servlet.mvc.AbstractController.handl >> eRequest(AbstractController.java:147) >> >> >> >> Thanks for your help >> >> Dominique >> -- >> >> *From:* Bessette-Halsema, Dominique E >> *Sent:* Monday, October 23, 2017 3:49 PM >> *To:* Andrea Aime >> *Cc:* geoserver-users@lists.sourceforge.net >> *Subject:* Re: [Geoserver-users] WPS async in a clustered environment >> >> >> >> I'm cu
Re: [Geoserver-users] WPS async in a clustered environment
As far as I remember the execution id is known to the WPS machinery managing asynch requests, but there is no way to pass it down into the processes themselves. Cheers Andrea On Tue, Oct 24, 2017 at 7:30 PM, Bessette-Halsema, Dominique E < dominique.besse...@gdit.com> wrote: > I believe you are correct the clustering is not set up correctly. > Thank You > > > > Another Question: Is there a way to get the executionId within the WPS > that is being called? > > > > Dominique Bessette > > > > *From:* andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] *On Behalf > Of *Andrea Aime > *Sent:* Monday, October 23, 2017 11:27 PM > > *To:* Bessette-Halsema, Dominique E > *Cc:* geoserver-users@lists.sourceforge.net > *Subject:* Re: [Geoserver-users] WPS async in a clustered environment > > > > Hi, > > did you consider this bit of documentation and act on it if needed? > > > > "By default, the module will use multicast messages to locate other nodes > in the same cluster and will automatically start sharing information about > the process status with them. > > In case this is not satisfactory, a hazelcast.xml file can be > created/edited in the root of the GeoServer data directory to modify the > network connection methods." > > Multicast is not always allowed (that would be especially true in a high > security environment). > > > > Cheers > > Andrea > > > > On Tue, Oct 24, 2017 at 1:21 AM, Bessette-Halsema, Dominique E < > dominique.besse...@gdit.com> wrote: > > Actually i think that error was a fluke. I'm seeing error which is what i > see in the browser as well > > > > 23:19:26,413 [nites-vm-10.sd.spawar.navy.mil] INFO [org.geoserver.flow] > (http-0.0.0.0:8443-10) Request [WPS 1.0.0 GetExecutionStatus] starting, > processing through flow controllers > 23:19:26,414 [nites-vm-10.sd.spawar.navy.mil] INFO [org.geoserver.flow] > (http-0.0.0.0:8443-10) Request started, running requests: 1, blocked > requests: 0 > 23:19:26,414 [nites-vm-10.sd.spawar.navy.mil] ERROR [org.geoserver.ows] > (http-0.0.0.0:8443-10) > org.geoserver.wps.UnknownExecutionIdException: Unknown execution id > a41a3d09-457e-446f-820e-9a2f7d3ea92b, either the execution was never > submitted, was dismissed, or too much time passed since the process > completed > at org.geoserver.wps.GetStatus.run(GetStatus.java:41) > ------ > > *From:* Bessette-Halsema, Dominique E > *Sent:* Monday, October 23, 2017 4:08 PM > > > *To:* Andrea Aime > *Cc:* geoserver-users@lists.sourceforge.net > *Subject:* Re: [Geoserver-users] WPS async in a clustered environment > > > > The following error appears in the logs. > > > > 23:04:56,540 [nites-vm-11.sd.spawar.navy.mil] INFO > [org.geoserver.filters] (http-0.0.0.0:8443-5) 128.49.5.238 "GET > /geoserver/ows?service=WPS=1.0.0=ProcessStatusStore& > executionId=f1f18d30-a130-4578-98ef-1070154c9576" "Mozilla/5.0 (Windows > NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0" "" " "" > 23:04:56,547 [nites-vm-11.sd.spawar.navy.mil] INFO [org.geoserver.wps] > (http-0.0.0.0:8443-5) > Request: getServiceInfo > 23:04:56,548 [nites-vm-11.sd.spawar.navy.mil] ERROR [org.geoserver.ows] > (http-0.0.0.0:8443-5) > org.geoserver.platform.ServiceException: No such operation WPS 1.0.0 > ProcessStatusStore > at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:640) > at org.geoserver.ows.Dispatcher.handleRequestInternal( > Dispatcher.java:258) > at org.springframework.web.servlet.mvc.AbstractController. > handleRequest(AbstractController.java:147) > > > > Thanks for your help > > Dominique > -- > > *From:* Bessette-Halsema, Dominique E > *Sent:* Monday, October 23, 2017 3:49 PM > *To:* Andrea Aime > *Cc:* geoserver-users@lists.sourceforge.net > *Subject:* Re: [Geoserver-users] WPS async in a clustered environment > > > > I'm currently testing in our cluster configuration with the hazelcast.xml > file that was mentioned in the documentation url below. I can only get a > response if i'm proxied to the GeoServer that ran the process. Its > probably our clustering configuration, but I was wondering if I'm missing > anything besides the file and the jar in the GeoServer war. > > > > I was also wondering what the wpsExecutionStatusMap is and why doesnt it > include the request types (ie GetExecutionStatus) > > > > > -- > > *From:* andrea.a...@gmail.com <andrea.a...@gmail.com> on behalf of Andrea > Aime <andrea.a...@geo-solutions.it> >
Re: [Geoserver-users] WPS async in a clustered environment
I believe you are correct the clustering is not set up correctly. Thank You Another Question: Is there a way to get the executionId within the WPS that is being called? Dominique Bessette From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea Aime Sent: Monday, October 23, 2017 11:27 PM To: Bessette-Halsema, Dominique E Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] WPS async in a clustered environment Hi, did you consider this bit of documentation and act on it if needed? "By default, the module will use multicast messages to locate other nodes in the same cluster and will automatically start sharing information about the process status with them. In case this is not satisfactory, a hazelcast.xml file can be created/edited in the root of the GeoServer data directory to modify the network connection methods." Multicast is not always allowed (that would be especially true in a high security environment). Cheers Andrea On Tue, Oct 24, 2017 at 1:21 AM, Bessette-Halsema, Dominique E <dominique.besse...@gdit.com<mailto:dominique.besse...@gdit.com>> wrote: Actually i think that error was a fluke. I'm seeing error which is what i see in the browser as well 23:19:26,413 [nites-vm-10.sd.spawar.navy.mil<http://nites-vm-10.sd.spawar.navy.mil>] INFO [org.geoserver.flow] (http-0.0.0.0:8443-10) Request [WPS 1.0.0 GetExecutionStatus] starting, processing through flow controllers 23:19:26,414 [nites-vm-10.sd.spawar.navy.mil<http://nites-vm-10.sd.spawar.navy.mil>] INFO [org.geoserver.flow] (http-0.0.0.0:8443-10) Request started, running requests: 1, blocked requests: 0 23:19:26,414 [nites-vm-10.sd.spawar.navy.mil<http://nites-vm-10.sd.spawar.navy.mil>] ERROR [org.geoserver.ows] (http-0.0.0.0:8443-10) org.geoserver.wps.UnknownExecutionIdException: Unknown execution id a41a3d09-457e-446f-820e-9a2f7d3ea92b, either the execution was never submitted, was dismissed, or too much time passed since the process completed at org.geoserver.wps.GetStatus.run(GetStatus.java:41) _ From: Bessette-Halsema, Dominique E Sent: Monday, October 23, 2017 4:08 PM To: Andrea Aime Cc: geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net> Subject: Re: [Geoserver-users] WPS async in a clustered environment The following error appears in the logs. 23:04:56,540 [nites-vm-11.sd.spawar.navy.mil<http://nites-vm-11.sd.spawar.navy.mil>] INFO [org.geoserver.filters] (http-0.0.0.0:8443-5) 128.49.5.238 "GET /geoserver/ows?service=WPS=1.0.0=ProcessStatusStore=f1f18d30-a130-4578-98ef-1070154c9576" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0" "" " "" 23:04:56,547 [nites-vm-11.sd.spawar.navy.mil<http://nites-vm-11.sd.spawar.navy.mil>] INFO [org.geoserver.wps] (http-0.0.0.0:8443-5) Request: getServiceInfo 23:04:56,548 [nites-vm-11.sd.spawar.navy.mil<http://nites-vm-11.sd.spawar.navy.mil>] ERROR [org.geoserver.ows] (http-0.0.0.0:8443-5) org.geoserver.platform.ServiceException: No such operation WPS 1.0.0 ProcessStatusStore at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:640) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:258) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:147) Thanks for your help Dominique _ From: Bessette-Halsema, Dominique E Sent: Monday, October 23, 2017 3:49 PM To: Andrea Aime Cc: geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net> Subject: Re: [Geoserver-users] WPS async in a clustered environment I'm currently testing in our cluster configuration with the hazelcast.xml file that was mentioned in the documentation url below. I can only get a response if i'm proxied to the GeoServer that ran the process. Its probably our clustering configuration, but I was wondering if I'm missing anything besides the file and the jar in the GeoServer war. I was also wondering what the wpsExecutionStatusMap is and why doesnt it include the request types (ie GetExecutionStatus) _ From: andrea.a...@gmail.com<mailto:andrea.a...@gmail.com> <andrea.a...@gmail.com<mailto:andrea.a...@gmail.com>> on behalf of Andrea Aime <andrea.a...@geo-solutions.it<mailto:andrea.a...@geo-solutions.it>> Sent: Monday, October 23, 2017 9:53 AM To: Bessette-Halsema, Dominique E Cc: geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net> Subject: Re: [Geoserver-users] WPS async in a clustered environment Hi, a bit of both, the final responses are read from shared file system, but for the interum you need a clustering WPS status storage, see: http://docs.geoserver.org/stable/en/user/services/wps/hazelcast-clustering.html There is
Re: [Geoserver-users] WPS async in a clustered environment
Hi, did you consider this bit of documentation and act on it if needed? "By default, the module will use multicast messages to locate other nodes in the same cluster and will automatically start sharing information about the process status with them. In case this is not satisfactory, a hazelcast.xml file can be created/edited in the root of the GeoServer data directory to modify the network connection methods." Multicast is not always allowed (that would be especially true in a high security environment). Cheers Andrea On Tue, Oct 24, 2017 at 1:21 AM, Bessette-Halsema, Dominique E < dominique.besse...@gdit.com> wrote: > Actually i think that error was a fluke. I'm seeing error which is what i > see in the browser as well > > > 23:19:26,413 [nites-vm-10.sd.spawar.navy.mil] INFO [org.geoserver.flow] > (http-0.0.0.0:8443-10) Request [WPS 1.0.0 GetExecutionStatus] starting, > processing through flow controllers > 23:19:26,414 [nites-vm-10.sd.spawar.navy.mil] INFO [org.geoserver.flow] > (http-0.0.0.0:8443-10) Request started, running requests: 1, blocked > requests: 0 > 23:19:26,414 [nites-vm-10.sd.spawar.navy.mil] ERROR [org.geoserver.ows] > (http-0.0.0.0:8443-10) > org.geoserver.wps.UnknownExecutionIdException: Unknown execution id > a41a3d09-457e-446f-820e-9a2f7d3ea92b, either the execution was never > submitted, was dismissed, or too much time passed since the process > completed > at org.geoserver.wps.GetStatus.run(GetStatus.java:41) > > -- > *From:* Bessette-Halsema, Dominique E > *Sent:* Monday, October 23, 2017 4:08 PM > > *To:* Andrea Aime > *Cc:* geoserver-users@lists.sourceforge.net > *Subject:* Re: [Geoserver-users] WPS async in a clustered environment > > > The following error appears in the logs. > > > 23:04:56,540 [nites-vm-11.sd.spawar.navy.mil] INFO > [org.geoserver.filters] (http-0.0.0.0:8443-5) 128.49.5.238 "GET > /geoserver/ows?service=WPS=1.0.0=ProcessStatusStore& > executionId=f1f18d30-a130-4578-98ef-1070154c9576" "Mozilla/5.0 (Windows > NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0" "" " "" > 23:04:56,547 [nites-vm-11.sd.spawar.navy.mil] INFO [org.geoserver.wps] > (http-0.0.0.0:8443-5) > Request: getServiceInfo > 23:04:56,548 [nites-vm-11.sd.spawar.navy.mil] ERROR [org.geoserver.ows] > (http-0.0.0.0:8443-5) > org.geoserver.platform.ServiceException: No such operation WPS 1.0.0 > ProcessStatusStore > at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:640) > at org.geoserver.ows.Dispatcher.handleRequestInternal( > Dispatcher.java:258) > at org.springframework.web.servlet.mvc.AbstractController. > handleRequest(AbstractController.java:147) > > > Thanks for your help > > Dominique > ---------- > *From:* Bessette-Halsema, Dominique E > *Sent:* Monday, October 23, 2017 3:49 PM > *To:* Andrea Aime > *Cc:* geoserver-users@lists.sourceforge.net > *Subject:* Re: [Geoserver-users] WPS async in a clustered environment > > > I'm currently testing in our cluster configuration with the hazelcast.xml > file that was mentioned in the documentation url below. I can only get a > response if i'm proxied to the GeoServer that ran the process. Its > probably our clustering configuration, but I was wondering if I'm missing > anything besides the file and the jar in the GeoServer war. > > > I was also wondering what the wpsExecutionStatusMap is and why doesnt it > include the request types (ie GetExecutionStatus) > > > > -------------- > *From:* andrea.a...@gmail.com <andrea.a...@gmail.com> on behalf of Andrea > Aime <andrea.a...@geo-solutions.it> > *Sent:* Monday, October 23, 2017 9:53 AM > *To:* Bessette-Halsema, Dominique E > *Cc:* geoserver-users@lists.sourceforge.net > *Subject:* Re: [Geoserver-users] WPS async in a clustered environment > > Hi, > a bit of both, the final responses are read from shared file system, but > for the interum you > need a clustering WPS status storage, see: > http://docs.geoserver.org/stable/en/user/services/wps/ > hazelcast-clustering.html > > There is also a database based status storage as a community module, but I > cannot find > its documentation (as a community module it is not required to have one, > it's probably missing): > https://build.geoserver.org/geoserver/2.12.x/community- > latest/geoserver-2.12-SNAPSHOT-wps-jdbc-plugin.zip > > Regards > Andrea > > > On Mon, Oct 23, 2017 at 6:07 PM, Bessette-Halsema, Dominique E < > dominique.besse...@gdit.com> wrote: > >> Hello >> >> >> >> Has anyone tested the WPS asynchronous calls in a clustered env
Re: [Geoserver-users] WPS async in a clustered environment
Is it possible some of your VMs do not have the same configuration (e.g. no WPS or no Hazelcast clustering, or differing cluster configuration)? Also interesting that NITES is using GeoServer. Brad From: Bessette-Halsema, Dominique E [mailto:dominique.besse...@gdit.com] Sent: Tuesday, 24 October 2017 10:21 AM To: Andrea Aime <andrea.a...@geo-solutions.it> Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] WPS async in a clustered environment Actually i think that error was a fluke. I'm seeing error which is what i see in the browser as well 23:19:26,413 [nites-vm-10.sd.spawar.navy.mil] INFO [org.geoserver.flow] (http-0.0.0.0:8443-10) Request [WPS 1.0.0 GetExecutionStatus] starting, processing through flow controllers 23:19:26,414 [nites-vm-10.sd.spawar.navy.mil] INFO [org.geoserver.flow] (http-0.0.0.0:8443-10) Request started, running requests: 1, blocked requests: 0 23:19:26,414 [nites-vm-10.sd.spawar.navy.mil] ERROR [org.geoserver.ows] (http-0.0.0.0:8443-10) org.geoserver.wps.UnknownExecutionIdException: Unknown execution id a41a3d09-457e-446f-820e-9a2f7d3ea92b, either the execution was never submitted, was dismissed, or too much time passed since the process completed at org.geoserver.wps.GetStatus.run(GetStatus.java:41) _ From: Bessette-Halsema, Dominique E Sent: Monday, October 23, 2017 4:08 PM To: Andrea Aime Cc: geoserver-users@lists.sourceforge.net <mailto:geoserver-users@lists.sourceforge.net> Subject: Re: [Geoserver-users] WPS async in a clustered environment The following error appears in the logs. 23:04:56,540 [nites-vm-11.sd.spawar.navy.mil] INFO [org.geoserver.filters] (http-0.0.0.0:8443-5) 128.49.5.238 "GET /geoserver/ows?service=WPS=1.0.0=ProcessStatusStore nId=f1f18d30-a130-4578-98ef-1070154c9576" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0" "" " "" 23:04:56,547 [nites-vm-11.sd.spawar.navy.mil] INFO [org.geoserver.wps] (http-0.0.0.0:8443-5) Request: getServiceInfo 23:04:56,548 [nites-vm-11.sd.spawar.navy.mil] ERROR [org.geoserver.ows] (http-0.0.0.0:8443-5) org.geoserver.platform.ServiceException: No such operation WPS 1.0.0 ProcessStatusStore at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:640) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:258) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(Abstrac tController.java:147) Thanks for your help Dominique _ From: Bessette-Halsema, Dominique E Sent: Monday, October 23, 2017 3:49 PM To: Andrea Aime Cc: geoserver-users@lists.sourceforge.net <mailto:geoserver-users@lists.sourceforge.net> Subject: Re: [Geoserver-users] WPS async in a clustered environment I'm currently testing in our cluster configuration with the hazelcast.xml file that was mentioned in the documentation url below. I can only get a response if i'm proxied to the GeoServer that ran the process. Its probably our clustering configuration, but I was wondering if I'm missing anything besides the file and the jar in the GeoServer war. I was also wondering what the wpsExecutionStatusMap is and why doesnt it include the request types (ie GetExecutionStatus) _ From: andrea.a...@gmail.com <mailto:andrea.a...@gmail.com> <andrea.a...@gmail.com <mailto:andrea.a...@gmail.com> > on behalf of Andrea Aime <andrea.a...@geo-solutions.it <mailto:andrea.a...@geo-solutions.it> > Sent: Monday, October 23, 2017 9:53 AM To: Bessette-Halsema, Dominique E Cc: geoserver-users@lists.sourceforge.net <mailto:geoserver-users@lists.sourceforge.net> Subject: Re: [Geoserver-users] WPS async in a clustered environment Hi, a bit of both, the final responses are read from shared file system, but for the interum you need a clustering WPS status storage, see: http://docs.geoserver.org/stable/en/user/services/wps/hazelcast-clustering.h tml There is also a database based status storage as a community module, but I cannot find its documentation (as a community module it is not required to have one, it's probably missing): https://build.geoserver.org/geoserver/2.12.x/community-latest/geoserver-2.12 -SNAPSHOT-wps-jdbc-plugin.zip Regards Andrea On Mon, Oct 23, 2017 at 6:07 PM, Bessette-Halsema, Dominique E <dominique.besse...@gdit.com <mailto:dominique.besse...@gdit.com> > wrote: Hello Has anyone tested the WPS asynchronous calls in a clustered environment with several GeoServers? Does the async call need to hit the same GeoServer or does it read off the file in the GEOSERVER_DATA_DIR/tmp/ directory? Dominique Bessette Software Engineer General Dynamics Information Technology Office: 619-881-2748 <tel:(619)%20881-2748> -- Check
Re: [Geoserver-users] WPS async in a clustered environment
Actually i think that error was a fluke. I'm seeing error which is what i see in the browser as well 23:19:26,413 [nites-vm-10.sd.spawar.navy.mil] INFO [org.geoserver.flow] (http-0.0.0.0:8443-10) Request [WPS 1.0.0 GetExecutionStatus] starting, processing through flow controllers 23:19:26,414 [nites-vm-10.sd.spawar.navy.mil] INFO [org.geoserver.flow] (http-0.0.0.0:8443-10) Request started, running requests: 1, blocked requests: 0 23:19:26,414 [nites-vm-10.sd.spawar.navy.mil] ERROR [org.geoserver.ows] (http-0.0.0.0:8443-10) org.geoserver.wps.UnknownExecutionIdException: Unknown execution id a41a3d09-457e-446f-820e-9a2f7d3ea92b, either the execution was never submitted, was dismissed, or too much time passed since the process completed at org.geoserver.wps.GetStatus.run(GetStatus.java:41) From: Bessette-Halsema, Dominique E Sent: Monday, October 23, 2017 4:08 PM To: Andrea Aime Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] WPS async in a clustered environment The following error appears in the logs. 23:04:56,540 [nites-vm-11.sd.spawar.navy.mil] INFO [org.geoserver.filters] (http-0.0.0.0:8443-5) 128.49.5.238 "GET /geoserver/ows?service=WPS=1.0.0=ProcessStatusStore=f1f18d30-a130-4578-98ef-1070154c9576" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0" "" " "" 23:04:56,547 [nites-vm-11.sd.spawar.navy.mil] INFO [org.geoserver.wps] (http-0.0.0.0:8443-5) Request: getServiceInfo 23:04:56,548 [nites-vm-11.sd.spawar.navy.mil] ERROR [org.geoserver.ows] (http-0.0.0.0:8443-5) org.geoserver.platform.ServiceException: No such operation WPS 1.0.0 ProcessStatusStore at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:640) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:258) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:147) Thanks for your help Dominique From: Bessette-Halsema, Dominique E Sent: Monday, October 23, 2017 3:49 PM To: Andrea Aime Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] WPS async in a clustered environment I'm currently testing in our cluster configuration with the hazelcast.xml file that was mentioned in the documentation url below. I can only get a response if i'm proxied to the GeoServer that ran the process. Its probably our clustering configuration, but I was wondering if I'm missing anything besides the file and the jar in the GeoServer war. I was also wondering what the wpsExecutionStatusMap is and why doesnt it include the request types (ie GetExecutionStatus) From: andrea.a...@gmail.com <andrea.a...@gmail.com> on behalf of Andrea Aime <andrea.a...@geo-solutions.it> Sent: Monday, October 23, 2017 9:53 AM To: Bessette-Halsema, Dominique E Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] WPS async in a clustered environment Hi, a bit of both, the final responses are read from shared file system, but for the interum you need a clustering WPS status storage, see: http://docs.geoserver.org/stable/en/user/services/wps/hazelcast-clustering.html There is also a database based status storage as a community module, but I cannot find its documentation (as a community module it is not required to have one, it's probably missing): https://build.geoserver.org/geoserver/2.12.x/community-latest/geoserver-2.12-SNAPSHOT-wps-jdbc-plugin.zip Regards Andrea On Mon, Oct 23, 2017 at 6:07 PM, Bessette-Halsema, Dominique E <dominique.besse...@gdit.com<mailto:dominique.besse...@gdit.com>> wrote: Hello Has anyone tested the WPS asynchronous calls in a clustered environment with several GeoServers? Does the async call need to hit the same GeoServer or does it read off the file in the GEOSERVER_DATA_DIR/tmp/ directory? Dominique Bessette Software Engineer General Dynamics Information Technology Office: 619-881-2748<tel:(619)%20881-2748> -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. ==
Re: [Geoserver-users] WPS async in a clustered environment
The following error appears in the logs. 23:04:56,540 [nites-vm-11.sd.spawar.navy.mil] INFO [org.geoserver.filters] (http-0.0.0.0:8443-5) 128.49.5.238 "GET /geoserver/ows?service=WPS=1.0.0=ProcessStatusStore=f1f18d30-a130-4578-98ef-1070154c9576" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0" "" " "" 23:04:56,547 [nites-vm-11.sd.spawar.navy.mil] INFO [org.geoserver.wps] (http-0.0.0.0:8443-5) Request: getServiceInfo 23:04:56,548 [nites-vm-11.sd.spawar.navy.mil] ERROR [org.geoserver.ows] (http-0.0.0.0:8443-5) org.geoserver.platform.ServiceException: No such operation WPS 1.0.0 ProcessStatusStore at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:640) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:258) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:147) Thanks for your help Dominique From: Bessette-Halsema, Dominique E Sent: Monday, October 23, 2017 3:49 PM To: Andrea Aime Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] WPS async in a clustered environment I'm currently testing in our cluster configuration with the hazelcast.xml file that was mentioned in the documentation url below. I can only get a response if i'm proxied to the GeoServer that ran the process. Its probably our clustering configuration, but I was wondering if I'm missing anything besides the file and the jar in the GeoServer war. I was also wondering what the wpsExecutionStatusMap is and why doesnt it include the request types (ie GetExecutionStatus) From: andrea.a...@gmail.com <andrea.a...@gmail.com> on behalf of Andrea Aime <andrea.a...@geo-solutions.it> Sent: Monday, October 23, 2017 9:53 AM To: Bessette-Halsema, Dominique E Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] WPS async in a clustered environment Hi, a bit of both, the final responses are read from shared file system, but for the interum you need a clustering WPS status storage, see: http://docs.geoserver.org/stable/en/user/services/wps/hazelcast-clustering.html There is also a database based status storage as a community module, but I cannot find its documentation (as a community module it is not required to have one, it's probably missing): https://build.geoserver.org/geoserver/2.12.x/community-latest/geoserver-2.12-SNAPSHOT-wps-jdbc-plugin.zip Regards Andrea On Mon, Oct 23, 2017 at 6:07 PM, Bessette-Halsema, Dominique E <dominique.besse...@gdit.com<mailto:dominique.besse...@gdit.com>> wrote: Hello Has anyone tested the WPS asynchronous calls in a clustered environment with several GeoServers? Does the async call need to hit the same GeoServer or does it read off the file in the GEOSERVER_DATA_DIR/tmp/ directory? Dominique Bessette Software Engineer General Dynamics Information Technology Office: 619-881-2748<tel:(619)%20881-2748> -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it<http://www.geo-solutions.it/> http://twitter.com/geosolutions_it AVVERTENZE AI SENSI DEL D.Lgs. 196/2003 Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003. The information in this message and/or attac
Re: [Geoserver-users] WPS async in a clustered environment
I'm currently testing in our cluster configuration with the hazelcast.xml file that was mentioned in the documentation url below. I can only get a response if i'm proxied to the GeoServer that ran the process. Its probably our clustering configuration, but I was wondering if I'm missing anything besides the file and the jar in the GeoServer war. I was also wondering what the wpsExecutionStatusMap is and why doesnt it include the request types (ie GetExecutionStatus) From: andrea.a...@gmail.com <andrea.a...@gmail.com> on behalf of Andrea Aime <andrea.a...@geo-solutions.it> Sent: Monday, October 23, 2017 9:53 AM To: Bessette-Halsema, Dominique E Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] WPS async in a clustered environment Hi, a bit of both, the final responses are read from shared file system, but for the interum you need a clustering WPS status storage, see: http://docs.geoserver.org/stable/en/user/services/wps/hazelcast-clustering.html There is also a database based status storage as a community module, but I cannot find its documentation (as a community module it is not required to have one, it's probably missing): https://build.geoserver.org/geoserver/2.12.x/community-latest/geoserver-2.12-SNAPSHOT-wps-jdbc-plugin.zip Regards Andrea On Mon, Oct 23, 2017 at 6:07 PM, Bessette-Halsema, Dominique E <dominique.besse...@gdit.com<mailto:dominique.besse...@gdit.com>> wrote: Hello Has anyone tested the WPS asynchronous calls in a clustered environment with several GeoServers? Does the async call need to hit the same GeoServer or does it read off the file in the GEOSERVER_DATA_DIR/tmp/ directory? Dominique Bessette Software Engineer General Dynamics Information Technology Office: 619-881-2748<tel:(619)%20881-2748> -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it<http://www.geo-solutions.it/> http://twitter.com/geosolutions_it AVVERTENZE AI SENSI DEL D.Lgs. 196/2003 Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003. The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Geoserver-users mailing list P
Re: [Geoserver-users] WPS async in a clustered environment
Hi, a bit of both, the final responses are read from shared file system, but for the interum you need a clustering WPS status storage, see: http://docs.geoserver.org/stable/en/user/services/wps/hazelcast-clustering.html There is also a database based status storage as a community module, but I cannot find its documentation (as a community module it is not required to have one, it's probably missing): https://build.geoserver.org/geoserver/2.12.x/community-latest/geoserver-2.12-SNAPSHOT-wps-jdbc-plugin.zip Regards Andrea On Mon, Oct 23, 2017 at 6:07 PM, Bessette-Halsema, Dominique E < dominique.besse...@gdit.com> wrote: > Hello > > > > Has anyone tested the WPS asynchronous calls in a clustered environment > with several GeoServers? Does the async call need to hit the same > GeoServer or does it read off the file in the GEOSERVER_DATA_DIR/tmp/ > directory? > > > > Dominique Bessette > > Software Engineer > > General Dynamics Information Technology > > Office: 619-881-2748 <(619)%20881-2748> > > > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: http://geoserver.org/comm/ > userlist-guidelines.html > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > -- Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it AVVERTENZE AI SENSI DEL D.Lgs. 196/2003 Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003. The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] WPS async in a clustered environment
Hello Has anyone tested the WPS asynchronous calls in a clustered environment with several GeoServers? Does the async call need to hit the same GeoServer or does it read off the file in the GEOSERVER_DATA_DIR/tmp/ directory? Dominique Bessette Software Engineer General Dynamics Information Technology Office: 619-881-2748 -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users