Quantcast

Could not initialize main XWiki context

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Could not initialize main XWiki context

Jonathan Chauncey-3

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



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Could not initialize main XWiki context

Ludovic Dubost

You clearly have a database error, but if you don't give more wrapped
exceptions it's difficult to know which one..
It could be just username, passwords that don't work..

Ludovic

Jonathan Chauncey wrote:

>
> 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
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  

--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Loading...