logo       

Re: latest snapshot and rest protocol: msg#00255

text.xml.exist

Subject: Re: latest snapshot and rest protocol

> > I migrate the data (backup/restore) using java Admin client ...
> > everything seems to be OK ... it's just the more then a half of our
> > features does not work anymore;
> >
> > Mostly xquery doesn't work ... xupdate seems to be OK ... still need to
> > do more testing tomorrow;
>
> I changed the way the initial, static document set for a query is
> determined. Maybe there's something wrong here. I will test this.

Hmmm, I tried various queries with POST and GET, using the collection or a
single document in the path. All combinations seemed to work. Are your
queries running through and just return nothing? Would they work with the
java client?

> The static document context is used by all queries not starting with
> collection() or doc(). In the REST interface, the static context is
> initialized with the collection or document given in the HTTP path.
>
> > Few errors in a Tomcat log file ... mostly saying that 'document could
> > not be found' ... which is weird as I can open it using java client!
>
> That's caused by the changes mentioned above and may not be a real error.
> The REST server first checks if the HTTP path leads to a document, if not,
> it tries to load it as a collection.
>
> Wolfgang


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise