eXist Database, can't get it to work

Having trouble installing Oxygen? Got a bug to report? Post it all here.
mphare
Posts: 71
Joined: Fri Apr 30, 2004 8:00 pm
Location: Texas

eXist Database, can't get it to work

Post 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?
--------------------------

- mike

GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
mphare
Posts: 71
Joined: Fri Apr 30, 2004 8:00 pm
Location: Texas

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

Post 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?
--------------------------

- mike

GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

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

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

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

Post 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
mphare
Posts: 71
Joined: Fri Apr 30, 2004 8:00 pm
Location: Texas

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

Post 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?
--------------------------

- mike

GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
mphare
Posts: 71
Joined: Fri Apr 30, 2004 8:00 pm
Location: Texas

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

Post by mphare »

So, I uninstalled both versions of Oxygen and eXist, re-installed everything and it's all working now!

Thanks!
--------------------------

- mike

GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
Post Reply