Hi, i've just upgraded Oxygen Editor to 20.1, build 201812240, trying to get it work with eXist 2.2 (ok, i know, very old... but at least it worked with previous oxygen version). OS: Win 7 64bit.
I've provided the eXist core and endorsed libs as well as exist.jar and exist-optional.jar as data source. Trying to connect to a eXist 2.2 server results in:
Could not instantiate: ro.sync.db.nxd.exist.ExistSession due to: java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Were there any changes regarding the eXist-db support with the last upgrade that i've missed? What may be the cause for the error?
TIA fs
Could not instantiate: ro.sync.db.nxd.exist.ExistSession... after Upgrade to 20.1, build 201812240
Re: Could not instantiate: ro.sync.db.nxd.exist.ExistSession... after Upgrade to 20.1, build 201812240
Hi,
I tested this on my side and it seems to be working for me.
In the "Data Sources" preferences page I pressed the "Create exist-DB XML Connection" link and Oxygen when using this wizard Oxygen downloads all the necessary JAR libraries from the Exist server and creates both the data source and connection. I usually specify a custom "Libraries" path for the place where those driver JAR libraries are downloaded by Oxygen in order not the override other JAR libraries downloaded for existing connections.
Did you manually download JAR libraries from the server side and specify them in the newly created data source?
Do you have other Exist-related data sources and connections set up? Maybe they somehow interfere with this...
Regards,
Radu
I tested this on my side and it seems to be working for me.
In the "Data Sources" preferences page I pressed the "Create exist-DB XML Connection" link and Oxygen when using this wizard Oxygen downloads all the necessary JAR libraries from the Exist server and creates both the data source and connection. I usually specify a custom "Libraries" path for the place where those driver JAR libraries are downloaded by Oxygen in order not the override other JAR libraries downloaded for existing connections.
Did you manually download JAR libraries from the server side and specify them in the newly created data source?
Do you have other Exist-related data sources and connections set up? Maybe they somehow interfere with this...
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Could not instantiate: ro.sync.db.nxd.exist.ExistSession... after Upgrade to 20.1, build 201812240
Sorry for my late reply - creating the eXist-db connection using the wizard solved the problem, thanks a lot @Radu! The issue related to a db connection i've created manually a while ago. I'm still not sure why the connection stopped to work after the last upgrade, but since it works now, everything's fine. 

Re: Could not instantiate: ro.sync.db.nxd.exist.ExistSession... after Upgrade to 20.1, build 201812240
Great, thanks for updating the thread.
Regards,
Radu
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Who is online
Users browsing this forum: No registered users and 4 guests