Oxygen eXistDB error: No such handler

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
bernardusgui
Posts: 11
Joined: Thu Oct 18, 2018 11:45 am

Oxygen eXistDB error: No such handler

Post by bernardusgui » Fri Apr 12, 2019 12:56 pm

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!

adrian
Posts: 2548
Joined: Tue May 17, 2005 4:01 pm

Re: Oxygen eXistDB error: No such handler

Post by adrian » Fri Apr 12, 2019 5:28 pm

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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

bernardusgui
Posts: 11
Joined: Thu Oct 18, 2018 11:45 am

Re: Oxygen eXistDB error: No such handler

Post by bernardusgui » Fri Apr 12, 2019 8:23 pm

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.

adrian
Posts: 2548
Joined: Tue May 17, 2005 4:01 pm

Re: Oxygen eXistDB error: No such handler

Post by adrian » Mon Apr 15, 2019 10:41 am

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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

bernardusgui
Posts: 11
Joined: Thu Oct 18, 2018 11:45 am

Re: Oxygen eXistDB error: No such handler

Post by bernardusgui » Mon Apr 15, 2019 1:03 pm

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.

adrian
Posts: 2548
Joined: Tue May 17, 2005 4:01 pm

Re: Oxygen eXistDB error: No such handler

Post by adrian » Mon Apr 15, 2019 5:20 pm

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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Post Reply