Thank you for the response, @mflorea. Before I answer your questions, here’s my most recent attempt to get XWiki’s WYSIWYG editor running on the machine without Internet access:
- Install Payara 174 on a Virtual Machine running Ubuntu Linux (having Internet).
- Install Java 1.8 u161.
- Download, install, and configure XWiki 9.11.1 with all requisite extensions on the VM.
- Verify that the WYSIWYG editor works inside the VM (it does).
- Zip /opt/payara4/glassfish/domains/domain1/applications/xwiki into xwiki.zip.
- Zip /var/local/xwiki into var-local-xwiki.zip.
- Copy the files to the firewalled server.
- Unzip xwiki.zip as /opt/glassfish5/glassfish/domains/domain1/applications/xwiki.
- Unzip var-local-xwiki.zip as /var/local/xwiki
- Restart the web application server.
At this point, I thought that all the files would be available and the WYSIWYG editor would be available; however, XWiki still fails to find the files it needs to run the editor.
It should be 404 Not Found. Where did you get the “DocumentDoesNotExist” part from?
The DocumentDoesNotExist
appears when I try to browse to the missing resource file directly:
[2018-01-31T12:05:45.252-0800] [glassfish 5.0] [WARNING] [] [javax.enterprise.web] [tid: _ThreadID=29 _ThreadName=http://wiki.domain.com/xwiki/webjars/wiki%3Axwiki/bootstrap-tour/js/bootstrap-tour.min.js?r=1] [timeMillis: 1517429145252] [levelValue: 900] [[
org.apache.catalina.core.StandardHostValve@5783723c: Exception Processing ErrorPage[errorCode=404, location=/bin/view/Main/DocumentDoesNotExist]
java.io.IOException: Failed to extract the Entity Action from URL [http://wiki.domain.com/xwiki/webjars/wiki%3Axwiki/bootstrap-tour/js/bootstrap-tour.min.js]
How did you install CKEditor initially?
Unfortunately, I cannot find where the instructions for installing CKEditor from a XIP were given. I believe I used a XIP file (unzipped into a specific directory) and it was @vmassol who pointed me in that direction, IIRC.
Either way, it’s not easy.
So it seems!
I’ve pasted the server log. This is from a fresh restart of the application server on the machine without Internet access:
If there are concrete, step-by-step instructions I can follow to get the CKEditor up and running (or you have any other ideas on what to try), please let me know.
Thank you.