Page 1 of 1

Oxygen eXistDB error: No such handler

Posted: Fri Apr 12, 2019 12:56 pm
by bernardusgui
My Oxygen is connected to two eXistDB instances: one on my local laptop (test) and one at the production server. I can edit documents and toggle between local and server documents without issue. I can also execute Xquery modules against the local eXistDBwith the transformer, no problem.

However I cannot execute Xquery against the server connection. The transformer responds in Oxygen with "No such handler: Default.queryPT". (org.xmldb.api.base.XMLDBException: No such handler: Default.queryPT)

The local eXist is 4.4, the server is 3.6.

According to this post https://stackoverflow.com/questions/492 ... ing-xquery , I may be dealing with different libraries? Except that this doesn't pose any problems with editing and storing documents, only queries.

How do I resolve this?

Thanks!

Re: Oxygen eXistDB error: No such handler

Posted: Fri Apr 12, 2019 5:28 pm
by adrian
Hi,

How are the connections configured in Oxygen? Did you use the Create eXist-db XML connection wizard for both?
If not, try recreating this way at least the connection that now fails when transforming.

Regards,
Adrian

Re: Oxygen eXistDB error: No such handler

Posted: Fri Apr 12, 2019 8:23 pm
by bernardusgui
Oxygen reports a very unhelpful error when I initially tried do it through the wizard:
Error
For input string "Exist"
So, I had to establish the connection manually. If you have suggestions for debugging this wizard error I would be grateful.

Re: Oxygen eXistDB error: No such handler

Posted: Mon Apr 15, 2019 10:41 am
by adrian
Hi,

1. What version of Oxygen are you using? Older versions (19.1 and older) are not fully compatible with eXist-db 4.x.

2. The error message dialog from the wizard should have a "More details..." hyperlink. If you click on that link, you will see an Information dialog with the detailed Java error stack trace.

3. The only way I found to get that cryptic error ("For input string", a java.lang.NumberFormatException) is if the Port field is filled with text instead of an actual port number. What values did you use in the fields of the wizard? Please provide a screenshot via email to support@oxygenxml.com. Normally you only have to fill the Host, Port, User and Password fields, which are self explanatory.

Regards,
Adrian

Re: Oxygen eXistDB error: No such handler

Posted: Mon Apr 15, 2019 1:03 pm
by bernardusgui
1. I have version 18.1, build 2017020917. My local connection is eXist 4.4 and works without problems. The production server is 3.6 and gives the connection error through the wizard.

2. The error message has no link.

3. I've sent an .m4v to the support address showing the steps I take.

Cheers.

Re: Oxygen eXistDB error: No such handler

Posted: Mon Apr 15, 2019 5:20 pm
by adrian
Hi,

18.1 probably did not have the "More details..." link.

You are trying to enter a full eXist-db URL in the Host field, xmldb:exist://hostname/exist/xmlrpc. That's incorrect, you should specify only the hostname there.
You've also cleared the "eXist Admin Client JWS field". That is a required field for the wizard. If you don't know what to put there, leave the default value, "exist/webstart/exist.jnlp".
The wizard relies on the eXist Admin Client available by means of Java Web Start from the eXist-db server. It downloads the JNLP file and from that it determines what jar libraries are required, it downloads them from the eXist-db server and it configures your data source and connection.

Regards,
Adrian