Could not instantiate: ro.sync.db.nxd.exist.ExistSession... after Upgrade to 20.1, build 201812240
Oxygen general issues.
-
- Posts: 9
- Joined: Mon Jul 20, 2015 3:31 pm
Could not instantiate: ro.sync.db.nxd.exist.ExistSession... after Upgrade to 20.1, build 201812240
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
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
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
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
-
- Posts: 9
- Joined: Mon Jul 20, 2015 3:31 pm
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. 

-
- Posts: 8
- Joined: Thu Jun 30, 2016 3:00 pm
Re: Could not instantiate: ro.sync.db.nxd.exist.ExistSession... after Upgrade to 20.1, build 201812240
Dear Radu,
I am having the same problem trying to connect to my eXist on a remote server from a very new iMac with latest os and the latest Java 1.8 installed with oXygen 19.1. What should I check? Thanks for any hint to solve this problem.
I am having the same problem trying to connect to my eXist on a remote server from a very new iMac with latest os and the latest Java 1.8 installed with oXygen 19.1. What should I check? Thanks for any hint to solve this problem.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Could not instantiate: ro.sync.db.nxd.exist.ExistSession... after Upgrade to 20.1, build 201812240
Hi Pietro,
So what version of the Exist server are you using? Did you create the Exist data source manually adding JAR libraries or using our wizard?
Are you using the Oxygen standalone editor or Oxygen Eclipse Plugin? Does restarting Oxygen help?
Regards,
Radu
So what version of the Exist server are you using? Did you create the Exist data source manually adding JAR libraries or using our wizard?
Are you using the Oxygen standalone editor or Oxygen Eclipse Plugin? Does restarting Oxygen help?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 8
- Joined: Thu Jun 30, 2016 3:00 pm
Re: Could not instantiate: ro.sync.db.nxd.exist.ExistSession... after Upgrade to 20.1, build 201812240
Dear Radu,
thanks for your reply. I have now upgraded to oxygen 20.1 and I am trying to connect to a remove server where I have exist 4.5 installed.
I have used the wizard to create the connection.
Connection to the same eXist from my old machine still works fine, same settings. Connection to local host and local exist also works fine on both old and new machine, both mac with latest OS.
I have restarted and it did not help.
thanks for your reply. I have now upgraded to oxygen 20.1 and I am trying to connect to a remove server where I have exist 4.5 installed.
I have used the wizard to create the connection.
Connection to the same eXist from my old machine still works fine, same settings. Connection to local host and local exist also works fine on both old and new machine, both mac with latest OS.
I have restarted and it did not help.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Could not instantiate: ro.sync.db.nxd.exist.ExistSession... after Upgrade to 20.1, build 201812240
Hi Pietro,
They had this bug in Exist 4.5 where Exist did not properly report to Oxygen the JAR libraries necessary for the connection, they fixed the problem in Exist 4.6:
https://github.com/eXist-db/exist/issues/2530
If you do not want to update to Exist 4.6 you can download manually an Exist 4.5 kit, expand the archive and then manually configure an Exist data source:
https://www.oxygenxml.com/doc/versions/ ... ource.html
Regards,
Radu
They had this bug in Exist 4.5 where Exist did not properly report to Oxygen the JAR libraries necessary for the connection, they fixed the problem in Exist 4.6:
https://github.com/eXist-db/exist/issues/2530
If you do not want to update to Exist 4.6 you can download manually an Exist 4.5 kit, expand the archive and then manually configure an Exist data source:
https://www.oxygenxml.com/doc/versions/ ... ource.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 8
- Joined: Thu Jun 30, 2016 3:00 pm
Re: Could not instantiate: ro.sync.db.nxd.exist.ExistSession... after Upgrade to 20.1, build 201812240
Dear Radu,
I have followed the instructions to set up manually the data source, I copied all the files in lib/core and the exist.jar from the remote server to oXygen, but I still get this error.
I restarted several times but it did not help.
I have followed the instructions to set up manually the data source, I copied all the files in lib/core and the exist.jar from the remote server to oXygen, but I still get this error.
I restarted several times but it did not help.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Could not instantiate: ro.sync.db.nxd.exist.ExistSession... after Upgrade to 20.1, build 201812240
Hi Pietro,
Please contact us via email (support@oxygenxml.com) and send us again information about the Oxygen version you are using, the server version you are using + the exact list of JAR libraries you used to create the Exist data source (a screenshot for example with the list of JAR libraries you added in the Exist data source).
Regards,
Radu
Please contact us via email (support@oxygenxml.com) and send us again information about the Oxygen version you are using, the server version you are using + the exact list of JAR libraries you used to create the Exist data source (a screenshot for example with the list of JAR libraries you added in the Exist data source).
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service