Opened 12 years ago

Closed 12 years ago

#184 closed defect (fixed)

List of coverages for WCPS requests not updated unless restart Petascope

Reported by: mase@… Owned by: Piero Campalani
Priority: major Milestone: 8.4
Component: petascope Version: 8.3
Keywords: Cc:
Complexity: Medium

Description

I made some database changes adding Petascope metadata to ps_coverage and related tables. The new coverages appear in the list of coverages in a WCS GetCapabilities response and I can do a DescribeCoverage request to get a response from each of them. However, when I submited a WCPS request specifying one of the added coverages I got a error message about it being an unknown coverage. (catalina.out log output attached.) I think this is because in changing to use IDynamicMetadataSource the list of coverages from the database is only populated during servlet initialisation and not whenever the coverages() method is called. Re-starting Tomcat fixes the problem but I don't think it is intended that you have to restart Tomcat every time you add or change a coverage is it? At any rate, the list of coverages returned by WCS and those available for WCPS queries should be consistent.

Attachments (1)

catalina.out (5.8 KB ) - added by mase@… 12 years ago.
Log file

Download all attachments as: .zip

Change History (7)

by mase@…, 12 years ago

Attachment: catalina.out added

Log file

comment:1 by Dimitar Misev, 12 years ago

Owner: changed from Dimitar Misev to Piero Campalani
Status: newassigned

Piero, is this maybe related to the DynamicMetadataSource removing/adding? Please have a look when you're back.

comment:2 by Piero Campalani, 12 years ago

Things should have been safely restored in:


commit bb6a8594714689c7e7dc81f792af07a91b25a434
Author: Piero Campalani <cmppri@…>
Date: Wed Jul 4 09:37:11 2012 +0200

Restore DynamicMetadataSource for WCPS temporary coverages.


mase@…: at which commit are you ?

comment:3 by mase@…, 12 years ago

I'm using 8.3.1 RPMs which correspond to commit v8.3.1-g6ef7dbc according to Dimitar.

comment:4 by Piero Campalani, 12 years ago

It should be this one, dated 27 March:


commit 9219803b973a57bc81eede93fbb7cdf34a77128a (tag: refs/tags/v8.3.1)
Author: Ernesto Rodriguez <ernesto4160@…>
Date: Tue Mar 27 13:19:52 2012 +0200

Added Crs(String) constructor again. Fixes compile error of Petascope


If Dimitar confirms, I suggest to wait for a newer RPM version and see if the problem persists.

comment:5 by mase@…, 12 years ago

I have just tested with RPM 8.3.1-0.el6 and confirmed that the problem is fixed so this issue can be closed.

comment:6 by Piero Campalani, 12 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.