Hi Evan,
The answer is in your exception. Check the stack trace. It says:
"
Wrapped Exception: Could not create a DBCP pool. There is an error in
the hibernate configuration file, please review it.
"
So all you have to do is fix the hibernate.cfg.xml file.
You should also read
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation
Thanks
-Vincent
On Sep 23, 2008, at 7:04 AM, Evan Pease wrote:
Hi everyone,
This is my first post. We're trying to set-up xwiki on Tomcat with
MySQL. We believe everything is configured properly according to the
documentation but we keep receiving the following error.
Any ideas where we should start troubleshooting?
HTTP Status 500 -
________________________________
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error
number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate
execute
Wrapped Exception: Could not create a DBCP pool. There is an error in
the hibernate configuration file, please review it.
org
.apache.struts.action.RequestProcessor.processException(RequestProces
sor.java:535)
org
.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:433)
org
.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:
1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com
.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor
erFilter.java:287)
com
.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:112)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
initialize
main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate
execute
Wrapped Exception: Could not create a DBCP pool. There is an error in
the hibernate configuration file, please review it.
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:322)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:383)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
org
.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
org
.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:
1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com
.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor
erFilter.java:287)
com
.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:112)
note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.18 logs.
________________________________
Apache Tomcat/6.0.18