Ok I have setup my MySQL db using the supplied sql dump and Ive got the xwiki.war deployed on my server. When I go to my sites addy I get the index.html provided in the .war file, however when I go to the addy /xwiki/bin/view/Main/WebHome I get this error:

 

javax.servlet.ServletException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences
Wrapped Exception: Could not create a DBCP pool
        org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
        org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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(SetCharacterEncodingFilter.java:127)

root cause

com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences
Wrapped Exception: Could not create a DBCP pool
        com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:142)
        com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
        com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
        org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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(SetCharacterEncodingFilter.java:127)

 

 

its an HTTP status 500 error.

 

Anyone have any idea? I have also set the max_allowed_packet size to 32 megs