Hi, What is in your /usr/share/tomcat5.5/webapps/xwiki/WEB-INF/hibernate.cfg.xml ? Maybe it is not configured for mysql... 2007/11/13, Karim-Pierre Maalej <[email protected]>:
Hi,
I am currently trying to install XWiki on a linux machine (i486, ubuntu 7.10, java 6, mysql 5, tomcat 5.5, firefox) but I am faced to an error at the first run (see exception trace below).
I have checked that the database is indeed running, that the login/password are accepted when logging manually, that the mysql java connector library is there (it wasn't there first, but I put it at the right place in /usr/share/tomcat5.5/webapps/xwiki/WEB-INF/lib and the problem remains), that the configuration file says 127.0.0.1 instead of localhost in the connection.url field (as suggested in a previous similar problem found in the archives of this list)...
I feel like I have exhausted all the solutions I could find online or figure out by myself today. So if any of you has an idea about what is wrong and where... your help will be very welcome :-)
Thanks.
Karim-Pierre Maalej.
exception
javax.servlet.ServletException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences Wrapped Exception: Could not create a DBCP pool org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
cause mère
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences Wrapped Exception: Could not create a DBCP pool com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:247) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:397) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne