do you have your catalog in
{tomcat-home}/content/thredds/catalog.xml
??
do you have correct read permission on it ?
Carl Wolfteich wrote:
Hi John,
Thanks for your message. I installed the latest war file and tried it
but got a fatal error, it can't open the catalog.xml file at
http://dodsdev.gso.uri.edu:8080/thredds/
error message includes:
***Fatal: InvCatalogFactory.readXML failed *
* Exception= java.io.FileNotFoundException
http://dodsdev.gso.uri.edu:8080/thredds/catalog.xml
*
*
*
*Is there an obvious problem I am having here? Could it be my version
of Tomcat?
thanks
Carl
*
*
*
John Caron wrote:
-------- Original Message --------
Subject: Re: display of metadata html
Date: Wed, 07 Dec 2005 15:13:42 -0700
From: John Caron <caron@xxxxxxxxxxxxxxxx>
To: Carl Wolfteich <carlw@xxxxxxxxxxxxxx>
CC: 'support-thredds' <support-thredds@xxxxxxxxxxxxxxxx>
References: <4394CACB.5070708@xxxxxxxxxxx>
<4394CED1.8000801@xxxxxxxxxxxxxxxx> <4394D253.6060700@xxxxxxxxxxxxxx>
<4394D54D.50305@xxxxxxxxxxxxxxxx> <43962BC7.80104@xxxxxxxxxxx>
<439639D3.8020003@xxxxxxxxxxxxxxxx> <43963C79.5070203@xxxxxxxxxxxxxx>
Carl Wolfteich wrote:
Hi John,
Thanks for getting back to me so late. I changed the URL for the
first catalogRef element, JPL054.xml, so at least that one can be
looked at and tested. I will see about changing the rest of the urls
tomorrow. I used the validator that was included in the version 2 to
validate a type example of the original catalog and then built the
others around the same example. It seemed to work well, the links
worked and the html display was good so I felt it was working okay.
But it seems that I should subject it to a more rigorous validation
to flush out these bugs. Would it make any difference at this point,
at least for the short term, to use version 3.2 instead or would the
results be the same as what I am experiencing with v3.3? THanks
again and I guess we will be in touch tomorrow.
ok, ive fixed a couple of bugs on my end:
1. should be able to show your catrefs as html now
2. fix bug not alowing validation messages
you will need the latest 3.3 war at:
ftp://ftp.unidata.ucar.edu/pub/thredds/3.3/thredds.war
there are various problems with your catalog, but it should no longer
fail to show.
you should check the validator, you can use motherlode:
http://motherlode.ucar.edu:8080/thredds/validateForm.html
and once you've installed the new war file, the same service will be
on your machine
one problem i see you have is:
<metadata>
<property name="Time units" value="seconds since 1970-1-1 0:0:0"/>
</metadata>
<timeCoverage>
<start>554774409</start>
<end>554856152</end>
</timeCoverage>
you should use:
<timeCoverage>
<start>554774409 seconds since 1970-1-1 0:0:0</start>
<end>554856152 seconds since 1970-1-1 0:0:0</end>
</timeCoverage>
also its standard to start each xml with:
<?xml version="1.0" encoding="UTF-8"?>
though im not sure if it matters