[Thread Prev][Thread Next][Index]

Re: LAS 6: Adding data doesn't refresh server



Steve,

I highly recommend that you set up LAS using xml includes for your
datasets.  It makes things much easier to debug.  Here's the FAQ:

  http://ferret.wrc.noaa.gov/Ferret/LAS/FAQ/xml_includes.html

I'd have to look at your las.xml file to see what might be causing the
problem.  If you copy the file las/etc/LASinfo.pl over into las/server
and make sure it's executable I'll be able to query your server for
various information and can help you debug this without emailing files
back and forth.  You can just remove execute permission after we're done
if you're concerned about security.


-- Jon


Steve Cousins wrote:
> 
> Hi Jon,
> 
> I'm adding data just with the addXml.pl script.  No xml includes at all.
> 
> Here is a listing of the commands that I ran:
> 
> [root@rocky server]# ../xml/perl/addXml.pl las.xml las.xml --name="test"
> /usr2/fer_dsets/data/pom.parallel.no_update.cdf
> **File: /usr2/fer_dsets/data/pom.parallel.no_update.cdf
> 
> [root@rocky server]# make
> ../xml/perl/genLas.pl las.xml
> DB host: []
> DB login name: [root]
> DB password: []
> Serializing file:/usr/local/src/las6/server/las.xml to database
> Building indexes...
> Resolving links...
> Using default catalog...
> Generating dataset COADS Climatology
> Generating dataset Levitus Climatology
> Generating dataset test
> 
> When I go to the server at:
> 
>         http://rocky.umeoce.maine.edu/las6
> 
> it just shows the COADS Climatology and Levitus Climatology data sets.
> 
> Thanks for your help.
> 
> Steve
> 
> _____________________________________________________________
>  Steve Cousins                 Email: cousins@umit.maine.edu
>  Research Associate            Phone: (207) 581-4302
>  Ocean Modeling Group
>  School of Marine Sciences     208 Libby Hall
>  University of Maine           Orono, Maine 04469
> 
> On Mon, 2 Dec 2002, Jonathan Callahan wrote:
> 
> > Steve,
> >
> > In answer to you second question:  No, the old interface is not
> > available with LAS v6.  We found that the amount of javascript code in
> > the old interface was becoming unmaintainable, particularly given the
> > poor uniformity of support for javascript.  We made the choice that a
> > couple of round trips to the server was an acceptable price to pay for
> > having most of the user interface logic reside on the server instead of
> > in the browser.
> >
> > Could you give a little more detail about how you are adding data?  Are
> > you using xml includes?  If your xml files are good it should be as
> > simple as modifying las.xml and typing 'make'.
> >
> >
> > -- Jon
> >
> >
> > Steve Cousins wrote:
> > >
> > > I'm trying to add data to LAS 6.0.  When I installed LAS 6 I said yes to
> > > having the sample data installed.  Now, I try to add data but still only
> > > get the two entries when I go to the web browser.
> > >
> > > This sounds like the basic "shift-refresh" problem but it isn't that.  I
> > > have tried that.  I've tried it with different browsers, starting them
> > > only after I have run "make".  I have restarted the Tomcat server as well
> > > as Apache, and then opened up a new browser.  I've checked the MySQL
> > > database and I have found a database for my new dataset.
> > >
> > > I'm using Redhat 7.3, and LAS 6.0.
> > >
> > > Also, is there any way to have it default back to the older interface in
> > > LAS 6.0?  That is, have the map, and all of the contols on one page rather
> > > than needing to go through four pages to get a plot?
> > >
> > > Thanks,
> > >
> > > Steve
> > >
> > > _____________________________________________________________
> > >  Steve Cousins                 Email: cousins@umit.maine.edu
> > >  Research Associate            Phone: (207) 581-4302
> > >  Ocean Modeling Group
> > >  School of Marine Sciences     208 Libby Hall
> > >  University of Maine           Orono, Maine 04469
> >


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement