Uploaded image for project: '{RETIRED} Wiki3.0'
  1. {RETIRED} Wiki3.0
  2. WIKITHREEDOTO-91

DB error when importing XAR on HSQLDB

    XMLWordPrintable

Details

    Description

      In order to workaround the issue: http://jira.xwiki.org/browse/WIKITHREEDOTO-90
      I've build the project with HSQL profile.
      The disadvantage is that I have to import the XAR each time I deploy.
      When importing XAR I get a WARN which is an exception:

      2011-11-08 10:35:08,101 http://localhost:8080/xwiki/bin/import/XWiki/XWikiPreferences WARN c.x.x.XWiki - Exception while getting wiki preference [showviewaction]
      com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [])
      #set ($paramtable = $request.getParameterValues($paramname))
      #if ($paramtable && $paramlist)
      #set ($ok = $paramlist.clear())
      #foreach($paramvalue in $paramtable)
      #set ($ok = $paramlist.add($paramvalue))
      #end
      #end
      #end
      ############################################################################################

        1. TOOLS
          #set ($ALIASSUFFIX = "")
          ##
          ############################################################################################
        2. REQUEST PARAMETERS
          #set ($wikidocument = $WikiManager.createWikiDocument())
          #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass'))
          #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass'))
          ##
          #if ($request.actioncreate)
          #set ($action = 'create')
          #else
          #set ($action = $request.getParameter('action'))
          #end
          ##
          #set ($wikiname = $request.getParameter('wikiname'))
        3. Make sure to prefix the owner user with the wiki name.
          #if ($wikidocument.owner == "")
          #set($temp = $wikidocument.set('owner', "${xcontext.mainWikiName}], type = [WIKI], parent = [null]]]]
          Wrapped Exception: Error number 3301 in 3: Exception while switching to database [])
          #set ($paramtable = $request.getParameterValues($paramname))
          #if ($paramtable && $paramlist)
          #set ($ok = $paramlist.clear())
          #foreach($paramvalue in $paramtable)
          #set ($ok = $paramlist.add($paramvalue))
          #end
          #end
          #end
          ############################################################################################
        4. TOOLS
          #set ($ALIASSUFFIX = "")
          ##
          ############################################################################################
        5. REQUEST PARAMETERS
          #set ($wikidocument = $WikiManager.createWikiDocument())
          #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass'))
          #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass'))
          ##
          #if ($request.actioncreate)
          #set ($action = 'create')
          #else
          #set ($action = $request.getParameter('action'))
          #end
          ##
          #set ($wikiname = $request.getParameter('wikiname'))
        6. Make sure to prefix the owner user with the wiki name.
          #if ($wikidocument.owner == "")
          #set($temp = $wikidocument.set('owner', "${xcontext.mainWikiName}]
          Wrapped Exception: invalid schema name: ])
          #set ($paramtable = $request.getParameterValues($paramname))
          #if ($paramtable && $paramlist)
          #set ($ok = $paramlist.clear())
          #foreach($paramvalue in $paramtable)
          #set ($ok = $paramlist.add($paramvalue))
          #end
          #end
          #end
          ############################################################################################
        7. TOOLS
          #set ($ALIASSUFFIX = "")
          ##
          ############################################################################################
        8. REQUEST PARAMETERS
          #set ($wikidocument = $WikiManager.createWikiDocument())
          #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass'))
          #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass'))
          ##
          #if ($request.actioncreate)
          #set ($action = 'create')
          #else
          #set ($action = $request.getParameter('action'))
          #end
          ##
          #set ($wikiname = $request.getParameter('wikiname'))
        9. Make sure to prefix the owner user with the wiki name.
          #if ($wikidocument.owner == "")
          #set($temp = $wikidocument.set('owner', "${xcontext.mainWikiName} in statement [SET SCHEMA "])
          #set ($paramtable = $request.getParameterValues($paramname))
          #if ($paramtable && $paramlist)
          #set ($ok = $paramlist.clear())
          #foreach($paramvalue in $paramtable)
          #set ($ok = $paramlist.add($paramvalue))
          #end
          #end
          #end
          ############################################################################################
        10. TOOLS
          #set ($ALIASSUFFIX = """")
          ##
          ############################################################################################
        11. REQUEST PARAMETERS
          #set ($wikidocument = $WikiManager.createWikiDocument())
          #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass'))
          #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass'))
          ##
          #if ($request.actioncreate)
          #set ($action = 'create')
          #else
          #set ($action = $request.getParameter('action'))
          #end
          ##
          #set ($wikiname = $request.getParameter('wikiname'))
        12. Make sure to prefix the owner user with the wiki name.
          #if ($wikidocument.owner == """")
          #set($temp = $wikidocument.set('owner', ""${xcontext.mainWikiName}"]
          at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:853) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:283) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1449) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1492) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2229) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2261) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.showViewAction(XWiki.java:6238) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiServletURLFactory.addAction(XWikiServletURLFactory.java:277) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiServletURLFactory.createURL(XWikiServletURLFactory.java:242) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiDefaultURLFactory.createURL(XWikiDefaultURLFactory.java:40) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.appendCreateLink(XWikiRadeoxRenderEngine.java:310) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.render.filter.XWikiLinkFilter.handleMatch(XWikiLinkFilter.java:209) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.java:91) [radeox-1.0-b2.jar:na]
          at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48) [radeox-1.0-b2.jar:na]
          at org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:89) [radeox-1.0-b2.jar:na]
          at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169) [radeox-1.0-b2.jar:na]
          at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.render(XWikiRadeoxRenderEngine.java:95) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.render.XWikiRadeoxRenderer.render(XWikiRadeoxRenderer.java:128) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks10(XWikiHibernateStore.java:1866) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1824) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:676) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:167) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1403) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1359) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:745) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:603) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:316) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:137) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9]
          at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9]
          at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9]
          at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) [struts-1.2.9.jar:1.2.9]
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [servlet-api-2.5.jar:2.5]
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5.jar:2.5]
          at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) [xwiki-platform-wysiwyg-server-3.3-SNAPSHOT.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) [xwiki-platform-webdav-server-3.3-20111104.115727-116.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) [xwiki-platform-container-servlet-3.3-20111104.113212-144.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) [xwiki-platform-container-servlet-3.3-20111104.113212-144.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) [jetty-security-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.Server.handle(Server.java:346) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1065) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
          at java.lang.Thread.run(Thread.java:619) [na:1.6.0_20]
          2011-11-08 10:35:08,131 http://localhost:8080/xwiki/bin/import/XWiki/XWikiPreferences WARN c.x.x.XWiki - Exception while getting wiki preference [usedefaultweb]
          com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [])
          #set ($paramtable = $request.getParameterValues($paramname))
          #if ($paramtable && $paramlist)
          #set ($ok = $paramlist.clear())
          #foreach($paramvalue in $paramtable)
          #set ($ok = $paramlist.add($paramvalue))
          #end
          #end
          #end
          ############################################################################################
        13. TOOLS
          #set ($ALIASSUFFIX = "")
          ##
          ############################################################################################
        14. REQUEST PARAMETERS
          #set ($wikidocument = $WikiManager.createWikiDocument())
          #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass'))
          #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass'))
          ##
          #if ($request.actioncreate)
          #set ($action = 'create')
          #else
          #set ($action = $request.getParameter('action'))
          #end
          ##
          #set ($wikiname = $request.getParameter('wikiname'))
        15. Make sure to prefix the owner user with the wiki name.
          #if ($wikidocument.owner == "")
          #set($temp = $wikidocument.set('owner', "${xcontext.mainWikiName}], type = [WIKI], parent = [null]]]]
          Wrapped Exception: Error number 3301 in 3: Exception while switching to database [])
          #set ($paramtable = $request.getParameterValues($paramname))
          #if ($paramtable && $paramlist)
          #set ($ok = $paramlist.clear())
          #foreach($paramvalue in $paramtable)
          #set ($ok = $paramlist.add($paramvalue))
          #end
          #end
          #end
          ############################################################################################
        16. TOOLS
          #set ($ALIASSUFFIX = "")
          ##
          ############################################################################################
        17. REQUEST PARAMETERS
          #set ($wikidocument = $WikiManager.createWikiDocument())
          #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass'))
          #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass'))
          ##
          #if ($request.actioncreate)
          #set ($action = 'create')
          #else
          #set ($action = $request.getParameter('action'))
          #end
          ##
          #set ($wikiname = $request.getParameter('wikiname'))
        18. Make sure to prefix the owner user with the wiki name.
          #if ($wikidocument.owner == "")
          #set($temp = $wikidocument.set('owner', "${xcontext.mainWikiName}]
          Wrapped Exception: invalid schema name: ])
          #set ($paramtable = $request.getParameterValues($paramname))
          #if ($paramtable && $paramlist)
          #set ($ok = $paramlist.clear())
          #foreach($paramvalue in $paramtable)
          #set ($ok = $paramlist.add($paramvalue))
          #end
          #end
          #end
          ############################################################################################
        19. TOOLS
          #set ($ALIASSUFFIX = "")
          ##
          ############################################################################################
        20. REQUEST PARAMETERS
          #set ($wikidocument = $WikiManager.createWikiDocument())
          #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass'))
          #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass'))
          ##
          #if ($request.actioncreate)
          #set ($action = 'create')
          #else
          #set ($action = $request.getParameter('action'))
          #end
          ##
          #set ($wikiname = $request.getParameter('wikiname'))
        21. Make sure to prefix the owner user with the wiki name.
          #if ($wikidocument.owner == "")
          #set($temp = $wikidocument.set('owner', "${xcontext.mainWikiName} in statement [SET SCHEMA "])
          #set ($paramtable = $request.getParameterValues($paramname))
          #if ($paramtable && $paramlist)
          #set ($ok = $paramlist.clear())
          #foreach($paramvalue in $paramtable)
          #set ($ok = $paramlist.add($paramvalue))
          #end
          #end
          #end
          ############################################################################################
        22. TOOLS
          #set ($ALIASSUFFIX = """")
          ##
          ############################################################################################
        23. REQUEST PARAMETERS
          #set ($wikidocument = $WikiManager.createWikiDocument())
          #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass'))
          #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass'))
          ##
          #if ($request.actioncreate)
          #set ($action = 'create')
          #else
          #set ($action = $request.getParameter('action'))
          #end
          ##
          #set ($wikiname = $request.getParameter('wikiname'))
        24. Make sure to prefix the owner user with the wiki name.
          #if ($wikidocument.owner == """")
          #set($temp = $wikidocument.set('owner', ""${xcontext.mainWikiName}"]
          at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:853) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:283) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1449) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1492) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2229) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2261) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.skipDefaultSpaceInURLs(XWiki.java:6224) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiServletURLFactory.addSpace(XWikiServletURLFactory.java:286) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiServletURLFactory.createURL(XWikiServletURLFactory.java:243) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiDefaultURLFactory.createURL(XWikiDefaultURLFactory.java:40) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.appendCreateLink(XWikiRadeoxRenderEngine.java:310) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.render.filter.XWikiLinkFilter.handleMatch(XWikiLinkFilter.java:209) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.java:91) [radeox-1.0-b2.jar:na]
          at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48) [radeox-1.0-b2.jar:na]
          at org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:89) [radeox-1.0-b2.jar:na]
          at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169) [radeox-1.0-b2.jar:na]
          at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.render(XWikiRadeoxRenderEngine.java:95) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.render.XWikiRadeoxRenderer.render(XWikiRadeoxRenderer.java:128) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks10(XWikiHibernateStore.java:1866) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1824) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:676) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:167) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1403) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1359) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:745) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:603) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:316) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:137) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9]
          at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9]
          at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9]
          at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) [struts-1.2.9.jar:1.2.9]
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [servlet-api-2.5.jar:2.5]
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5.jar:2.5]
          at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) [xwiki-platform-wysiwyg-server-3.3-SNAPSHOT.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) [xwiki-platform-webdav-server-3.3-20111104.115727-116.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) [xwiki-platform-container-servlet-3.3-20111104.113212-144.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) [xwiki-platform-container-servlet-3.3-20111104.113212-144.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) [jetty-security-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.Server.handle(Server.java:346) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1065) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
          at java.lang.Thread.run(Thread.java:619) [na:1.6.0_20]
          2011-11-08 10:35:08,168 http://localhost:8080/xwiki/bin/import/XWiki/XWikiPreferences WARN c.x.x.XWiki - Exception while getting wiki preference [usedefaultaction]
          com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [])
          #set ($paramtable = $request.getParameterValues($paramname))
          #if ($paramtable && $paramlist)
          #set ($ok = $paramlist.clear())
          #foreach($paramvalue in $paramtable)
          #set ($ok = $paramlist.add($paramvalue))
          #end
          #end
          #end
          ############################################################################################
        25. TOOLS
          #set ($ALIASSUFFIX = "")
          ##
          ############################################################################################
        26. REQUEST PARAMETERS
          #set ($wikidocument = $WikiManager.createWikiDocument())
          #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass'))
          #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass'))
          ##
          #if ($request.actioncreate)
          #set ($action = 'create')
          #else
          #set ($action = $request.getParameter('action'))
          #end
          ##
          #set ($wikiname = $request.getParameter('wikiname'))
        27. Make sure to prefix the owner user with the wiki name.
          #if ($wikidocument.owner == "")
          #set($temp = $wikidocument.set('owner', "${xcontext.mainWikiName}], type = [WIKI], parent = [null]]]]
          Wrapped Exception: Error number 3301 in 3: Exception while switching to database [])
          #set ($paramtable = $request.getParameterValues($paramname))
          #if ($paramtable && $paramlist)
          #set ($ok = $paramlist.clear())
          #foreach($paramvalue in $paramtable)
          #set ($ok = $paramlist.add($paramvalue))
          #end
          #end
          #end
          ############################################################################################
        28. TOOLS
          #set ($ALIASSUFFIX = "")
          ##
          ############################################################################################
        29. REQUEST PARAMETERS
          #set ($wikidocument = $WikiManager.createWikiDocument())
          #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass'))
          #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass'))
          ##
          #if ($request.actioncreate)
          #set ($action = 'create')
          #else
          #set ($action = $request.getParameter('action'))
          #end
          ##
          #set ($wikiname = $request.getParameter('wikiname'))
        30. Make sure to prefix the owner user with the wiki name.
          #if ($wikidocument.owner == "")
          #set($temp = $wikidocument.set('owner', "${xcontext.mainWikiName}]
          Wrapped Exception: invalid schema name: ])
          #set ($paramtable = $request.getParameterValues($paramname))
          #if ($paramtable && $paramlist)
          #set ($ok = $paramlist.clear())
          #foreach($paramvalue in $paramtable)
          #set ($ok = $paramlist.add($paramvalue))
          #end
          #end
          #end
          ############################################################################################
        31. TOOLS
          #set ($ALIASSUFFIX = "")
          ##
          ############################################################################################
        32. REQUEST PARAMETERS
          #set ($wikidocument = $WikiManager.createWikiDocument())
          #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass'))
          #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass'))
          ##
          #if ($request.actioncreate)
          #set ($action = 'create')
          #else
          #set ($action = $request.getParameter('action'))
          #end
          ##
          #set ($wikiname = $request.getParameter('wikiname'))
        33. Make sure to prefix the owner user with the wiki name.
          #if ($wikidocument.owner == "")
          #set($temp = $wikidocument.set('owner', "${xcontext.mainWikiName} in statement [SET SCHEMA "])
          #set ($paramtable = $request.getParameterValues($paramname))
          #if ($paramtable && $paramlist)
          #set ($ok = $paramlist.clear())
          #foreach($paramvalue in $paramtable)
          #set ($ok = $paramlist.add($paramvalue))
          #end
          #end
          #end
          ############################################################################################
        34. TOOLS
          #set ($ALIASSUFFIX = """")
          ##
          ############################################################################################
        35. REQUEST PARAMETERS
          #set ($wikidocument = $WikiManager.createWikiDocument())
          #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass'))
          #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass'))
          ##
          #if ($request.actioncreate)
          #set ($action = 'create')
          #else
          #set ($action = $request.getParameter('action'))
          #end
          ##
          #set ($wikiname = $request.getParameter('wikiname'))
        36. Make sure to prefix the owner user with the wiki name.
          #if ($wikidocument.owner == """")
          #set($temp = $wikidocument.set('owner', ""${xcontext.mainWikiName}"]
          at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:853) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:283) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1449) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1492) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2229) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2261) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.useDefaultAction(XWiki.java:6250) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiServletURLFactory.addName(XWikiServletURLFactory.java:300) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiServletURLFactory.createURL(XWikiServletURLFactory.java:244) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiDefaultURLFactory.createURL(XWikiDefaultURLFactory.java:40) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.appendCreateLink(XWikiRadeoxRenderEngine.java:310) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.render.filter.XWikiLinkFilter.handleMatch(XWikiLinkFilter.java:209) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.java:91) [radeox-1.0-b2.jar:na]
          at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48) [radeox-1.0-b2.jar:na]
          at org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:89) [radeox-1.0-b2.jar:na]
          at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169) [radeox-1.0-b2.jar:na]
          at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.render(XWikiRadeoxRenderEngine.java:95) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.render.XWikiRadeoxRenderer.render(XWikiRadeoxRenderer.java:128) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks10(XWikiHibernateStore.java:1866) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1824) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:676) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:167) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1403) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1359) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:745) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:603) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:316) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:137) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9]
          at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9]
          at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9]
          at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) [struts-1.2.9.jar:1.2.9]
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [servlet-api-2.5.jar:2.5]
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5.jar:2.5]
          at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) [xwiki-platform-wysiwyg-server-3.3-SNAPSHOT.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) [xwiki-platform-webdav-server-3.3-20111104.115727-116.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) [xwiki-platform-container-servlet-3.3-20111104.113212-144.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) [xwiki-platform-container-servlet-3.3-20111104.113212-144.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) [jetty-security-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.Server.handle(Server.java:346) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1065) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
          at java.lang.Thread.run(Thread.java:619) [na:1.6.0_20]
          2011-11-08 10:35:08,227 http://localhost:8080/xwiki/bin/import/XWiki/XWikiPreferences WARN c.x.x.XWiki - Exception while getting wiki preference [defaultpage]
          com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [])
          #set ($paramtable = $request.getParameterValues($paramname))
          #if ($paramtable && $paramlist)
          #set ($ok = $paramlist.clear())
          #foreach($paramvalue in $paramtable)
          #set ($ok = $paramlist.add($paramvalue))
          #end
          #end
          #end
          ############################################################################################
        37. TOOLS
          #set ($ALIASSUFFIX = "")
          ##
          ############################################################################################
        38. REQUEST PARAMETERS
          #set ($wikidocument = $WikiManager.createWikiDocument())
          #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass'))
          #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass'))
          ##
          #if ($request.actioncreate)
          #set ($action = 'create')
          #else
          #set ($action = $request.getParameter('action'))
          #end
          ##
          #set ($wikiname = $request.getParameter('wikiname'))
        39. Make sure to prefix the owner user with the wiki name.
          #if ($wikidocument.owner == "")
          #set($temp = $wikidocument.set('owner', "${xcontext.mainWikiName}], type = [WIKI], parent = [null]]]]
          Wrapped Exception: Error number 3301 in 3: Exception while switching to database [])
          #set ($paramtable = $request.getParameterValues($paramname))
          #if ($paramtable && $paramlist)
          #set ($ok = $paramlist.clear())
          #foreach($paramvalue in $paramtable)
          #set ($ok = $paramlist.add($paramvalue))
          #end
          #end
          #end
          ############################################################################################
        40. TOOLS
          #set ($ALIASSUFFIX = "")
          ##
          ############################################################################################
        41. REQUEST PARAMETERS
          #set ($wikidocument = $WikiManager.createWikiDocument())
          #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass'))
          #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass'))
          ##
          #if ($request.actioncreate)
          #set ($action = 'create')
          #else
          #set ($action = $request.getParameter('action'))
          #end
          ##
          #set ($wikiname = $request.getParameter('wikiname'))
        42. Make sure to prefix the owner user with the wiki name.
          #if ($wikidocument.owner == "")
          #set($temp = $wikidocument.set('owner', "${xcontext.mainWikiName}]
          Wrapped Exception: invalid schema name: ])
          #set ($paramtable = $request.getParameterValues($paramname))
          #if ($paramtable && $paramlist)
          #set ($ok = $paramlist.clear())
          #foreach($paramvalue in $paramtable)
          #set ($ok = $paramlist.add($paramvalue))
          #end
          #end
          #end
          ############################################################################################
        43. TOOLS
          #set ($ALIASSUFFIX = "")
          ##
          ############################################################################################
        44. REQUEST PARAMETERS
          #set ($wikidocument = $WikiManager.createWikiDocument())
          #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass'))
          #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass'))
          ##
          #if ($request.actioncreate)
          #set ($action = 'create')
          #else
          #set ($action = $request.getParameter('action'))
          #end
          ##
          #set ($wikiname = $request.getParameter('wikiname'))
        45. Make sure to prefix the owner user with the wiki name.
          #if ($wikidocument.owner == "")
          #set($temp = $wikidocument.set('owner', "${xcontext.mainWikiName} in statement [SET SCHEMA "])
          #set ($paramtable = $request.getParameterValues($paramname))
          #if ($paramtable && $paramlist)
          #set ($ok = $paramlist.clear())
          #foreach($paramvalue in $paramtable)
          #set ($ok = $paramlist.add($paramvalue))
          #end
          #end
          #end
          ############################################################################################
        46. TOOLS
          #set ($ALIASSUFFIX = """")
          ##
          ############################################################################################
        47. REQUEST PARAMETERS
          #set ($wikidocument = $WikiManager.createWikiDocument())
          #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass'))
          #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass'))
          ##
          #if ($request.actioncreate)
          #set ($action = 'create')
          #else
          #set ($action = $request.getParameter('action'))
          #end
          ##
          #set ($wikiname = $request.getParameter('wikiname'))
        48. Make sure to prefix the owner user with the wiki name.
          #if ($wikidocument.owner == """")
          #set($temp = $wikidocument.set('owner', ""${xcontext.mainWikiName}"]
          at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:853) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:283) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1449) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1492) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2229) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2261) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.getDefaultPage(XWiki.java:6264) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiServletURLFactory.addName(XWikiServletURLFactory.java:300) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiServletURLFactory.createURL(XWikiServletURLFactory.java:244) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiDefaultURLFactory.createURL(XWikiDefaultURLFactory.java:40) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.appendCreateLink(XWikiRadeoxRenderEngine.java:310) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.render.filter.XWikiLinkFilter.handleMatch(XWikiLinkFilter.java:209) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.java:91) [radeox-1.0-b2.jar:na]
          at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48) [radeox-1.0-b2.jar:na]
          at org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:89) [radeox-1.0-b2.jar:na]
          at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169) [radeox-1.0-b2.jar:na]
          at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.render(XWikiRadeoxRenderEngine.java:95) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.render.XWikiRadeoxRenderer.render(XWikiRadeoxRenderer.java:128) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks10(XWikiHibernateStore.java:1866) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1824) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:676) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:167) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1403) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1359) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:745) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:603) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:316) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:137) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9]
          at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9]
          at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9]
          at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) [struts-1.2.9.jar:1.2.9]
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [servlet-api-2.5.jar:2.5]
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5.jar:2.5]
          at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) [xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) [xwiki-platform-wysiwyg-server-3.3-SNAPSHOT.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) [xwiki-platform-webdav-server-3.3-20111104.115727-116.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) [xwiki-platform-container-servlet-3.3-20111104.113212-144.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) [xwiki-platform-container-servlet-3.3-20111104.113212-144.jar:na]
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) [jetty-security-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.Server.handle(Server.java:346) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1065) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
          at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
          at java.lang.Thread.run(Thread.java:619) [na:1.6.0_20]

      Attachments

        Issue Links

          Activity

            People

              enygma Eduard Moraru
              bflueras Bogdan Flueras
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: