Oxygen eXistDB error: No such handler
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 20
- Joined: Thu Oct 18, 2018 11:45 am
Oxygen eXistDB error: No such handler
Post 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!
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!
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Oxygen eXistDB error: No such handler
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
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
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 20
- Joined: Thu Oct 18, 2018 11:45 am
Re: Oxygen eXistDB error: No such handler
Post by bernardusgui »
Oxygen reports a very unhelpful error when I initially tried do it through the wizard:
So, I had to establish the connection manually. If you have suggestions for debugging this wizard error I would be grateful.Error
For input string "Exist"
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Oxygen eXistDB error: No such handler
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
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
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 20
- Joined: Thu Oct 18, 2018 11:45 am
Re: Oxygen eXistDB error: No such handler
Post 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.
2. The error message has no link.
3. I've sent an .m4v to the support address showing the steps I take.
Cheers.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Oxygen eXistDB error: No such handler
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
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
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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