You must uncomment MySQL Configuration in WEB-INF\hibernate.cfg.xml On Tue, Apr 1, 2008 at 9:43 PM, Helmut Lehner <[email protected]> wrote:
Hi,
i tried to install xwiki 1.3 with a mssql databas following the instructions the documentation.
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMSSQL
When i try to connect i get the following error.
"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.XWikiHibernateMigrationManagerfrom param xwiki.store.migration.manager.class Wrapped Exception: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: Could not find a getter for archive in class com.xpn.xwiki.doc.XWikiDocumentArchive 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:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter( SetCharacterEncodingFilter.java:117)
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.XWikiHibernateMigrationManagerfrom param xwiki.store.migration.manager.class Wrapped Exception: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: Could not find a getter for archive in class com.xpn.xwiki.doc.XWikiDocumentArchive com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:302) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:490) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:118) 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:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter( SetCharacterEncodingFilter.java:117)"
I couldnt find the class "com.xpn.xwiki.doc.XWikiDocumentArchive" in the xwiki.hbm.xml provided with xwiki 1.3 but in the xwiki.mssql.hbm.xml i downloaded following the documentation.
Is the version in the documentation not compatible with xwiki 1.3?? Is there a updated version somewhere?? Is there a nother reason/solution for our problem??
Hope anybody can help. Thanks Helmut
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ngô Thị Hồng Nga Mobile: 0935 176133