Page 1 of 1

No Connection to existdb (2024)

Posted: Mon Apr 22, 2024 4:25 pm
by bbfkaes
Dear all,
unfortunately a db-connection from oxygen to existdb cannot be established.
I am on a current mac, oxygenxml editor 25 and a existdb 6.2.5 on localhost.
I used the wizard to configure the connection.
Nothing special so far.
Oxygen shows to error messages. At first:
Could not instantiate: ro.sync.db.nxd.exist.ExistSession due to: java.util.ServiceConfigurationError: org.apache.logging.log4j.spi.Provider: org.apache.logging.slf4j.SLF4JProvider not a subtype
After an attempt for a reconnect:
Check datasource configuration. Could not instantiate: ro.sync.db.nxd.exist.ExistSession due to: java.lang.NoClassDefFoundError: Could not initialize class org.exist.xmldb.DatabaseImpl
The jars look normal and are at the right place - as far as i see.
Any comments?

Re: No Connection to existdb (2024)

Posted: Tue Apr 23, 2024 6:28 am
by Radu
Hi,
This looks similar to the problem reported here:
https://github.com/eXist-db/exist/issues/4785
I remember in Oxygen 25.1 we made some fixes to bypass it, the same discussion thread also contains a possible workaround. So if you are using Oxygen 25.0, maybe you could try to upgrade to 25.1.
Regards,
Radu

Re: No Connection to existdb (2024)

Posted: Thu Apr 25, 2024 2:30 pm
by bbfkaes
Thank you very much, Radu!
I updated to 26.1.
At the first glance both work together as expected.

Re: No Connection to existdb (2024)

Posted: Thu Apr 25, 2024 2:42 pm
by Radu
Hi,
Great, thanks for the confirmation!
Regards,
Radu