Issue with Web Author spellcheck
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
-
- Posts: 25
- Joined: Tue Feb 25, 2014 12:14 am
Issue with Web Author spellcheck
Post by david.badger »
Hello,
We are having an issue in Web Author (version 22.1) running in Websphere traditional. Specifically, the spellcheck never returns any spelling errors. In the logs, we are seeing the following appear during a spellcheck operation:
We are able to fix this by allowing exec permissions on the /tmp directory, but this directory will be noexec in the future. Is there a specific property or configuration option we can use to change this directory (instead of /tmp)?
Thank you!
We are having an issue in Web Author (version 22.1) running in Websphere traditional. Specifically, the spellcheck never returns any spelling errors. In the logs, we are seeing the following appear during a spellcheck operation:
Code: Select all
The hunspell library or dictionary could not be loaded, due to java.lang.UnsatisfiedLinkError: Cannot load the hunspell native library. The full log is:
Hunspell libname: libhunspell-linux-x86-64.so, libBareName: hunspell-linux-x86-64
Assuming the hunspell library was already loaded. Trying to link to it directly.
Cannot link to the hunspell library. It is not already loaded. Will try other methods.
java.lang.NoClassDefFoundError: com.sun.jna.Native (initialization failure)
...
Caused by: java.lang.UnsatisfiedLinkError: /tmp/jna-2645995/jna5576598202007341595.tmp (/tmp/jna-2645995/jna5576598202007341595.tmp: failed to map segment from shared object)
Thank you!
-
- Posts: 496
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Issue with Web Author spellcheck
Post by cristi_talau »
Hello,
By default it seems that the Hunspell library is unpacked in the "/tmp" directory on your system. You can control this location by specifying one of the following System Properties for the "java" process that runs WebShpere:
Cristian
By default it seems that the Hunspell library is unpacked in the "/tmp" directory on your system. You can control this location by specifying one of the following System Properties for the "java" process that runs WebShpere:
- java.io.tmpdir - this changes the temporary directory for all the code that runs in the WebSphere instance
- jna.tmpdir - this changes just the temporary directory for JNA (which loads Hunspell)
Cristian
-
- Posts: 25
- Joined: Tue Feb 25, 2014 12:14 am
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