Hi Bindul, Thanks for your prompt reply. I did create virtual wiki successfully under your guidance. But sometimes, instead of a success message, there are exceptions displayed on the page as follows: Error number 4001 in 4: Error while parsing velocity page WikiManager.CreateNewWiki Wrapped Exception: Failed to evaluate content with id Create New Wiki? Error number 4001 in 4: Error while parsing velocity page WikiManager.CreateNewWiki Wrapped Exception: Failed to evaluate content with id Create New Wiki? com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page WikiManager.CreateNewWiki Wrapped Exception: Failed to evaluate content with id Create New Wiki? at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272) Wrapped Exception: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'save' in class com.xpn.xwiki.api.Document threw exception com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences Wrapped Exception: Batch update returned unexpected row count from update 0?; actual row count: 0; expected: 1 @ WikiManager.CreateNewWiki173,16? at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) at Even though there are exceptions, the virtual wikis seems to be created successfully and can be accessed successfully. I am kind of confused. Did you meet the same problem before? Any idea why this problem occurs? On Wed, Apr 22, 2009 at 2:17 PM, Bindul Bhowmik <[email protected]>wrote:
Hello Norbert,
On Tue, Apr 21, 2009 at 23:27, Norbert Xie <[email protected]> wrote:
Hi, I am new to XWiki. I was trying to set up virtual wiki using DB2 v9.1 or v9.5.
First I installed XWiki Enterprise Manager on Tomcat and set up DB2 following the "Installation DB2" guide. After that I tried to create virtual wikis using XEM. But when I clicked "Create new wiki" link in the XWiki Enterprise Manager and enter "wikitest" as wiki identifier, it kept prompting that "A database with this identifier already exists". But the fact is that I don't have a database named "wikitest" on my DB2. Then I found out that no matter what I typed in the wiki identifier text box, it all prompted "A database with this identifier already exists". This prevents me from creating a virtual wiki.
I am running XWiki (1.8 + some patches) in virtual mode successfully on DB2 v9.5. The DB2 issues have been fixed in 1.8.1 (but I haven't had a chance to test that yet).
When you get the warning saying a database with the identifier already exists, you can proceed with your virtual wiki creation if you check the 'force' checkbox. The virtual wiki should be created successfully as a new schema in the same database as your main wiki.
Can anyone help me out? Thanks very much in advance!
BTW, I can successfully create virtual wikis on MySQL and access them.
Hope this helps.
Cheers! Bindul _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Best regards, Norbert Xie (谢黎超)