directly eXist access

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

directly eXist access

F.Fernandez
Dear list,


How can I access to eXist database directly?
I need some admin tool and, of course, the admin password.
What about that?

Many thanks,

Francisco.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: directly eXist access

Andrew Bailey
> How can I access to eXist database directly?
> I need some admin tool and, of course, the admin password.

On the exist website http://exist.sourceforge.net/ there is a link to
a webstart client

http://demo.exist-db.org:8080/webstart/exist.jnlp

Username: admin
Password: <blank> (unless you changed it)
Type: Remote
URL: xmldb:exist://localhost:8080/orbeon/exist/xmlrpc
(if you are not running tomcat on 8080 you will have to change the port number)

A tip that you may or may not need: I have found that to create xquery
files it is best to upload them from the filesystem
so that they get the correct content type, if you create them from the
admin interface then they get set to be application/xml
and dont get processed as xquery files.

Hope that helps

Andy Bailey
http://www.hazlorealidad.com


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: directly eXist access

Alessandro Vernet
Administrator
Andrew,

On Sun, Aug 3, 2008 at 9:06 PM, Andrew Bailey <[hidden email]> wrote:
> A tip that you may or may not need: I have found that to create xquery
> files it is best to upload them from the filesystem
> so that they get the correct content type, if you create them from the
> admin interface then they get set to be application/xml
> and dont get processed as xquery files.

Interesting; what do you mean by  upload from the file system? You are
doing a PUT with curl, or a similar tool?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: directly eXist access

Andrew Bailey
Alex,

> On Sun, Aug 3, 2008 at 9:06 PM, Andrew Bailey <[hidden email]> wrote:
>> A tip that you may or may not need: I have found that to create xquery
>> files it is best to upload them from the filesystem
>> so that they get the correct content type, if you create them from the
>> admin interface then they get set to be application/xml
just checked its actually text/xml
>> and dont get processed as xquery files.
>
> Interesting; what do you mean by  upload from the file system? You are
> doing a PUT with curl, or a similar tool?

I meant that  if I create an xquery with the admin interface
File>Create Blank File option it gets the content type text/xml and I
couldnt find a way to change it and when you do a get on the rest url
to the file the xquery gets downloaded as an xml file
if you create the file on the filesystem and use File>Store File the
content type of the file is set to application/xquery and when
you do a get on the url eXist executes the query (as I wanted).

In both cases the file has the extension .xql

Maybe I should file a RFE or bug for eXist.

Andy Bailey
http://www.hazlorealidad.com


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: directly eXist access

Alessandro Vernet
Administrator
Andrew,

On Tue, Aug 5, 2008 at 8:52 AM, Andrew Bailey <[hidden email]> wrote:
> I meant that  if I create an xquery with the admin interface
> File>Create Blank File option it gets the content type text/xml and I
> couldnt find a way to change it and when you do a get on the rest url
> to the file the xquery gets downloaded as an xml file
> if you create the file on the filesystem and use File>Store File the
> content type of the file is set to application/xquery and when
> you do a get on the url eXist executes the query (as I wanted).
>
> In both cases the file has the extension .xql

I get it now! Great tip, thank you for sharing this here.

> Maybe I should file a RFE or bug for eXist.

Have you tried asking the question on exist-open?

http://www.nabble.com/eXist-f4072.html

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: directly eXist access

Andrew Bailey
Ok, I just asked the question on the exist mailing list

Andy Bailey
http://www.hazlorealidad.com


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws