Ok, found it. the mapping file xwiki.mssql.hbm in the documentation is not compatible with XWiki 1.3. I will try to fix that and attach the 1.3 compatible file to the documentation. It would be nice if this file would be part of the distribution or MS-SQL mentioned as RDBMS with limited support in XWiki. Thanks Helmut hel-o 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.XWikiHibernateMigrationManager from 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.XWikiHibernateMigrationManager from 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
-- View this message in context: http://www.nabble.com/XWiki-Enterprise-1.3---MS-SQL-tp16424802p16445831.html Sent from the XWiki- Users mailing list archive at Nabble.com.