Page 1 of 1

eXist Database, can't get it to work

Posted: Wed Apr 02, 2008 10:28 pm
by mphare
I've got an installed and working eXist Database running under Tomcat
I've got Oxygen XML 8.1 also running.

I set up the connector to eXist as per the instructions.
But when I go to to open or save a filer to the DB I get an error

In the "Server URL" I enter:

xmldb:exist://<my_hostname>/exist/xmlrpc

and press the "Browse" button

I get:

Unknown Protocol: xmldb

I tried:
http://<my_hostname>/exist/xmlrpc

and I get:
Error Invalid Webdav response

What should I put in this box to connect to the db?

Re: eXist Database, can't get it to work

Posted: Wed Apr 02, 2008 10:44 pm
by mphare
OK, so I was doing that wrong (I guess)

Now I have the 'Database Explorer' window open.
But I can't browse down into the DB.

I get "An IO error occurred: 404 Not Found for http://<my_url>:8080/exist/xmlrpc"

What did I forget to configure?

Re: eXist Database, can't get it to work

Posted: Thu Apr 03, 2008 2:33 pm
by sorin_ristache
Hello,
mphare wrote:In the "Server URL" I enter:

xmldb:exist://<my_hostname>/exist/xmlrpc

and press the "Browse" button

I get:

Unknown Protocol: xmldb
In the dialog Open using FTP/WebDAV you can use the FTP protocol or the WebDAV protocol but you cannot use a database protocol.
mphare wrote:I tried:
http://<my_hostname>/exist/xmlrpc

and I get:
Error Invalid Webdav response
You can access an eXist collection through WebDAV in the dialog Open using FTP/WebDAV only if your Tomcat installation implements WebDAV and the eXist collection is included in the WebDAV realm of your Tomcat installation. From the error message it seems that WebDAV is not supported or configured correctly in your Tomcat server.


Regards,
Sorin

Re: eXist Database, can't get it to work

Posted: Thu Apr 03, 2008 2:43 pm
by sorin_ristache
mphare wrote:Now I have the 'Database Explorer' window open.
But I can't browse down into the DB.

I get "An IO error occurred: 404 Not Found for http://<my_url>:8080/exist/xmlrpc"
You have to use the xmldb URI when you define the eXist connection from Options -> Preferences -> Data Sources, that is something like xmldb:exist://your-host-name-or-IP:8080/exist/xmlrpc instead of http://your-host-name-or-IP:8080/exist/xmlrpc. You can test that you entered the correct connection details by pressing the button Select for specifying also in the Connection dialog the root collection displayed in the Database Explorer view for that connection but that is available only in later versions of oXygen, not in version 8.1.


Regards,
Sorin

Re: eXist Database, can't get it to work

Posted: Thu Apr 03, 2008 5:15 pm
by mphare
Thanks Sorin,

In Options->Preferences->Data Sources:Connections
I have one entry named TL1.
Editing that entry provides:

XML DB URI: xmldb:exist://<my_hostname>:8080/exist/xmlrpc
User: tl1user
Password: ********
Collections: /db

OK, Apply, OK, all produce no Error Messages

Now, in the Database Explorer I have one entry: TL1

Inside that I have one entry: db

Inside that I have: ERROR: "An IO error occurred 404 Not Found for: http://<my_hostname>/exist/xmlrpc"

I don't know why it shows 'http' here when the Connections entry has 'xmldb:exist' in the URI.

I have both 8.1 and 8.2 installed and bot have the same problem.

I'm trying to get my Co. to upgrade me to 9.x, but I have not had that happen yet.

Until them, any ideas on what's up?

Re: eXist Database, can't get it to work

Posted: Thu Apr 03, 2008 7:33 pm
by mphare
So, I uninstalled both versions of Oxygen and eXist, re-installed everything and it's all working now!

Thanks!