Hi folks,
Having a little trouble setting up a virtual wiki - not sure how many
out there have tried.
My current configuration:
I have three separate wiki instances pointing to different databases.
These are currently running 0.9.840, but are due for upgrade to 10beta1
in the near future.
The real performance improvement we need to implement though is virtual
wiki instead of full instances. As the databases already contain a lot
of data, we were planning to use the existing databases for the new
virtual wiki's.
I'm following the directions found here:
http://www.xwiki.org/xwiki/bin/view/FAQ/HowToSetupVirtualWikis.
I've tested prior to configuration that the new pointers are working:
all my virtual domains are pointing to my main wiki:
1)
general.xwiki.ie.tycoelectronics.com [database xwiki]
2)
production.xwiki.ie.tycoelectronics.com [database xwiki_ext]
3)
broadband.xwiki.ie.tycoelectronics.com [database xwiki_brd]
The setup is pretty much as defined in the docs.
The three documents created:
XWiki.XWikiServerXwiki
server field "general.xwiki.ie.tycoelectronics.com"
owner field "XWiki.Admin"
XWiki.XWikiServerxwiki_brd
server field "broadband.xwiki.ie.tycoelectronics.com"
owner field "XWiki.Admin"
XWiki.XWikiServerxwiki_ext
server field "production.xwiki.ie.tycoelectronics.com"
owner field "XWiki.Admin"
Additionally, "xwiki.ie.tycoelectronics.com" points to the same server
(but is not configured as a virtual server anywhere).
Here's the odd thing: "general.xwiki.ie.tycoelectronics.com" (the Xwiki
database) works perfectly, but for both of the other virtual servers I
get the following error (substitute xwiki_ext for xwiki_brd when trying
the broadband one):
javax.servlet.ServletException: Error number 2 in 0: The wiki xwiki_ext
does not exist
org.apache.struts.action.RequestProcessor.processException(RequestProces
sor.java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:423)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
root cause
com.xpn.xwiki.XWikiException: Error number 2 in 0: The wiki xwiki_ext
does not exist
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:241)
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:421)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
Anyone out there got this working (or maybe that can see something I've
put in wrong)?
Brandon Esbach
Software Engineer
M/A-Com Eurotec Operations
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305