Whenever I click the "Wiki Page..." menu item from the "Link" menu on
the WYSIWYG editor I get an "There was an error loading the data"
message displayed. Upon closer examination of the requests being
made, the server is returning a 500 error with "Failed to initialize
the XWiki context" with an inner exception of "The wiki server1 does
not exist".
I have an XEM 2.3.28624 installation with two XE instances set up
using Path-based resolution. This error is occurring in both XE
instances.
Steps Taken
1. visit the wiki
http://server1/xwiki/wiki/mywiki/view/Main/NewPage
2. click the edit link
3. click the "Link" button on the toolbar
4. click the "Wiki Page..." menu item
The dialog box appears with the error message. A request was made to
the URL below with a 500 response.
http://server1/xwiki/resources/js/xwiki/wysiwyg/xwe/WikiService.gwtrpc
Stack trace
javax.servlet.ServletException: Failed to initialize the XWiki context.
com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.initializeXWikiContext(XWikiContextInitializationFilter.java:154)
com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:85)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
root cause
com.xpn.xwiki.XWikiException: Error number 2 in 0: The wiki server1
does not exist
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:496)
com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.initializeXWikiContext(XWikiContextInitializationFilter.java:140)
com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:85)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)