[xwiki-users] Virtual Wiki (testing on 0.9.840; for implementation on 1.0)
Trevor Cox
xwiki at skahasoftware.com
Thu Jan 25 05:56:04 CET 2007
Brandon,
The XWiki documents are case sensitive. Instead of
XWiki.XWikiServerxwiki_brd, create XWiki.XWikiServerXwiki_brd.
As you can see in this function in XWiki.java, the first letter after
"XWikiServer" must be capitalized:
public static String getServerWikiPage(String servername) {
return "XWiki.XWikiServer"
+ servername.substring(0, 1).toUpperCase()
+ servername.substring(1);
}
--
Trevor Cox
skahasoftware.com
Vancouver, Canada
Esbach, Brandon wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/users/attachments/20070124/135759d3/attachment-0001.html
More information about the users
mailing list