OpenWIS / openwis

http://openwis.github.io/openwis
GNU General Public License v3.0
11 stars 15 forks source link

3.16 - Ad hoc requests and subscription events error #409

Open yvesgoupil opened 1 year ago

yvesgoupil commented 1 year ago

After having upgraded Solr as indicated by Brahim during the January 5 meeting, the "Request" and "Subscription" buttons are now available on the metadata search results. Unfortunately, ad-hoc requests or subscription events are in error. Here are the errors in the Wildfly log:

2023-01-09 09:27:57,519 ERROR [org.openwis.dataservice.dissemination.DisseminationDelegateImpl] (Thread-3242 (ActiveMQ-client-global-threads)) Could not get hold of the MailSender EJB. 2023-01-09 09:27:57,519 ERROR [org.openwis.dataservice.dissemination.DisseminationDelegateImpl] (Thread-3242 (ActiveMQ-client-global-threads)) Primary dissemination state FAILURE for request: 69 2023-01-09 09:28:00,889 ERROR [org.openwis.dataservice.dissemination.DisseminationDelegateImpl] (EJB default - 2) Final dissemination state FAILURE for request: 69 2023-01-09 09:28:00,889 INFO [org.openwis.management.utils.ManagementServiceProvider] (EJB default - 2) Getting AlertService 2023-01-09 09:28:00,894 ERROR [org.openwis.management.service.AlertServiceImpl] (EJB default - 2) [Dissemination] openwis-dataservice-cache-ejb-DisseminationManagerTimerServiceImpl: Delivery failed on dissemination for: user=[admin4, fc1ebc848e31e0a68e868432225e3c82/2023/01-9/request/14bfa6bb14875e45bba028a21ed38046, Dissemination failed completely.], product={1}, error={2}.

yvesgoupil commented 1 year ago

In link with the ad-hoc request error, the consequence on the workflow of emails following a request on the staging Post, is that the 2nd email indicating the download link of the data on the stagingPost is not received by the user. The reception of the first mail is a new feature (useful?) of version 3.15

Dear Openwis Admin, Thank you for requesting the product : Draft Stop-Gap metadata generated for bulletin SMFR01LFPW . Please find below a summary of your request: Request ID:0000014 Product URN: urn:x-wmo:md:int.wmo.wis::smfr01lfpw Delivery method: Web browser If you require further assistance, please contact us at [contact@openwis.io](mailto:contact@openwis.io) This is an automatically generated message. Please do not reply to this email.

-Hello Please find below a summary of your request: Request ID: 14 Product URN: urn:x-wmo:md:int.wmo.wis::smfr01lfpw You can download the product: smfr01 lfpw bulletin available from LFPW from [link](http://wipf31-sidev.meteo.fr/stagingPost/fc1ebc848e31e0a68e868432225e3c82/2023/01-9/request/14bfa6bb14875e45bba028a21ed38046/).

yvesgoupil commented 1 year ago

This error was caused by a configuration problem in the openwis-dataservice.properties file. This has been fixed with the help of Brahim.