Hi Kevin,
I think the problem could be the GetMetadata requests that Godiva2 does
for loading the layers menu, times...
Have you tried other WMS requests (GetCapabilities or GetMap)? That
would help to narrow down the problem and test the WMS out of the
Godiva2 context.
Regarding your suspicions, I think 1) should not be an issue for Godiva2.
2) could be but it shouldn't kill your server. Where do you see the
port? In the server parameter that is passed in the Godiva2 link url?
Godiva2 uses XMLHttpRequest for http requests and it has a very
restrictive same domain-policy, so requests from the same domain but
with different port won't work. However, it looks like that Godiva2 is
able to send requests to the server...
3) when you get 'Invalid JSON error' means that the request has returned
something that Godiva2 is unable to parse and 'error getting data from
server' means that the request was unsuccessful and got an error code.
Is there any chance you filter is handling the error and returning an
invalid JSON to the client?
Also, have you seen some error messages in the THREDDS and/or tomcat logs?
Cheers!
On 03/29/2013 12:10 PM, Kevin Manross wrote:
Greetings!
I have a TDS v4.3 set up with gribcollection primarily to serve data
via opendap. I'm tinkering tinkering with the WMS and associated
Godiva2 viewer.
Unfortunately, when I try to view a product with godiva, I get an
'Invalid JSON returned from server'.
Additionally it kills my entire tomcat server.
I have a couple of suspicions:
1) The longitude of the grib data goes from 0-359. I noticed the
netCDF subset service map struggling with this as a default. (I'd
like to know how to address this as well at some point, but I digress).
2) We set up a tomcat connector to pass the requests through our
apache http server to the tomcat server (to eliminate the need to add
the port number to the url). The godiva request URL has the port
number in it. Would that be an issue?
3) I created a custom filter for the installed TDS. When the filter
is enabled, I get the 'Invalid JSON' error. When the filter is
disabled, I get an 'error getting data from server' . In both cases my
tomcat server is killed once I click on one of the products from the
GRIB file.
For our immediate use, these services (WMS & Godiva2 browser) are not
needed for our use, but I could easily imagine it being useful for a
number of reasons in the not too distant future.
Any thoughts?
Thanks!
-kevin.
--
Kevin Manross
NCAR/CISL/Data Support Section
Phone: (303)-497-1218
Email:manross@xxxxxxxx <mailto:manross@xxxxxxxx>
Web:http://rda.ucar.edu
_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/