Hi Elsa, On Apr 14, 2011, at 9:14 PM, Elsa Marks wrote:
Hi
I'm trying to install xwiki in a windows 2008 server 64 bits.
I've installed postgress and the Servlet Container ( tomcat). I follow all the instructions.
when I want to open : http://myserver:8080/xwiki , i got this error :
*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 parse mapping document from resource xwiki.hbm.xml
Are you sure you have the postgresql driver jar in WEB-INF/lib? Thanks -Vincent PS: You can search for issue on http://xwiki.markmail.org For ex: http://xwiki.markmail.org/search/?q=Wrapped%20Exception%3A%20Could%20not%20p...
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:428) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:497) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:137) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117) 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:621) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218) org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
I've verified the tomcat\webapps\wxiki\web-inf\hibernate.cfg.xml , and I have:
<property name="connection.url">jdbc:postgresql://localhost:5432/xwiki</property> <property name="connection.username">xwiki</property> <property name="connection.password">abc123</property> <property name="connection.driver_class">org.postgresql.Driver</property> <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property> <property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property> <property name="connection.pool_size">2</property> <property name="statement_cache.size">2</property> <mapping resource="xwiki.hbm.xml"/> <mapping resource="feeds.hbm.xml"/> <mapping resource="activitystream.hbm.xml"/>
Thanks for your help.