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 <
[email protected]> 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:* [email protected] [mailto:[email protected]] *On Behalf
> Of *Andrea Aime
> *Sent:* Monday, October 23, 2017 11:27 PM
>
> *To:* Bessette-Halsema, Dominique E
> *Cc:* [email protected]
> *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 <
> [email protected]> 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:* [email protected]
> *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&version=1.0.0&request=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:* [email protected]
> *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:* [email protected] <[email protected]> on behalf of Andrea
> Aime <[email protected]>
> *Sent:* Monday, October 23, 2017 9:53 AM
> *To:* Bessette-Halsema, Dominique E
> *Cc:* [email protected]
> *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 <
> [email protected]> 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
>
> [email protected]
> 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
> <https://maps.google.com/?q=Via+di+Montramito+3/A+%0D+55054+%C2%A0Massarosa&entry=gmail&source=g>
> 55054
> <https://maps.google.com/?q=Via+di+Montramito+3/A+%0D+55054+%C2%A0Massarosa&entry=gmail&source=g>
>  Massarosa
> <https://maps.google.com/?q=Via+di+Montramito+3/A+%0D+55054+%C2%A0Massarosa&entry=gmail&source=g>
> (LU)
> phone: +39 0584 962313 <+39%200584%20962313>
> fax: +39 0584 1660272 <+39%200584%20166%200272>
> mob: +39  339 8844549 <+39%20339%20884%204549>
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
> <https://teamworks.gdit.com/,DanaInfo=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.
>
>
>
>
>
>
>
> --
>
> 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
> <https://maps.google.com/?q=Via+di+Montramito+3/A+%0D+55054%0D+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A%2B%250D%2B55054%2B%25C2%25A0Massarosa%26entry%3Dgmail%26source%3Dg%3E%C2%A0Massarosa+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A%2B%250D%2B55054%2B%25C2%25A0Massarosa%26entry%3Dgmail%26source%3Dg%3E&entry=gmail&source=g>
> 55054  Massarosa
> <https://maps.google.com/?q=Via+di+Montramito+3/A+%0D+55054%0D+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A%2B%250D%2B55054%2B%25C2%25A0Massarosa%26entry%3Dgmail%26source%3Dg%3E%C2%A0Massarosa+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A%2B%250D%2B55054%2B%25C2%25A0Massarosa%26entry%3Dgmail%26source%3Dg%3E&entry=gmail&source=g>
> (LU)
> phone: +39 0584 962313 <+39%200584%20962313>
> fax: +39 0584 1660272 <+39%200584%20166%200272>
> mob: +39  339 8844549 <+39%20339%20884%204549>
>
> 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.
>
>
>



-- 

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

[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to