Cannot connect to eXist-db 4.5.0

Having trouble installing Oxygen? Got a bug to report? Post it all here.
hrising
Posts: 1
Joined: Fri Feb 01, 2019 7:23 pm

Cannot connect to eXist-db 4.5.0

Post by hrising »

I hope this isn't a repeat, i did a search and didn't find it.

I am working with oxygenXML 20.1, and eXist-db 4.5.0, which is labled "stable" on the eXist-db website. I'm on Windows 10. Because of frustration and trying and erroring, I am working with a brand clean copy of eXist-db. I used the create datasource wizard and got a data source that faults with a "configure datasource" error. I then tried the manual method, going step-by-step exactly as in the video that is embedded with the help page for that error. It's not working. In addition, I now have 3 eXist-db non-working data sources and do not know how to delete them.

In the "Add files" part of the manual setup, one of the files to be added is xmldb.jar, I cannot find it in the eXist-db distribution even with an exhaustive search of the directory structure. I also have reason to believe the problem might be on the eXist side, as eXist.jnlp doesn't run properly in the eXist-db dashboard (can't boot Java admin client from the icon) erroring out after complaining with a webapp*.jar file missing, and it says this must work in the oxygenXML documentation.

Has anyone else encountered this, and can anyone point me to the files or fixes?
Radu
Posts: 9046
Joined: Fri Jul 09, 2004 5:18 pm

Re: Cannot connect to eXist-db 4.5.0

Post by Radu »

Hi,

About this remark:
In addition, I now have 3 eXist-db non-working data sources and do not know how to delete them.
The Oxygen Preferences->Data Sources page has a table of Connections and a table of Data Sources. Under each table there is a remove button (its symbol looks like an X). You first remove the connections and then the data sources.

I started testing how Oxygen works with Exist 4.5 a couple of weeks ago, indeed the JNLP file which is used by the "Create eXist-DB XML Connection" wizard to download the appropriate client-side JAR libraries had references to non-existing libraries. I added an issue for this here:

https://github.com/eXist-db/exist/issues/2397

The issue seems to have been fixed in Exist 4.5.1 which should have been released about 2 weeks ago but it was not (and this is not something we can control on the Oxygen side so you could ask about this on the Exist users list):

https://github.com/eXist-db/exist/milestone/37

So right now the only way to make this work is by manually creating an Exist data source:

https://www.oxygenxml.com/doc/versions/ ... ource.html

Indeed some of the JAR libraries described in our documentation are no longer named like that, instead of "xmldb.jar" you should look for a JAR called something like xmldb-api-1.1-patched.jar.
One other way to do this would be to download an older Exist 4.0 server and use the JAR libraries from it in the Oxygen data source. As they did not change the API Oxygen should be able to connect to Exist 4.5.0 even using these older JAR libraries.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply