JBoss 4.0.2 Postgresql 8.0.3 Debian Sarge AMD64
Hi, I have followed the installation instructions but for some reason I do not understand I get the following exception: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences Wrapped Exception: Error number 3221 in 3: Exception while saving class XWiki.XWikiPreferences Wrapped Exception: Error number 3222 in 3: Exception while saving class XWiki.XWikiPreferences Wrapped Exception: Could not execute JDBC batch update com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:142) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202) com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) Is there a fool (==me) proof way of installing xwiki with JBoss, PostgreSQL and Debian Sarge AMD64? Is there anyone actually using XWiki with JBoss?? TIA -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 e-mail: [email protected] web: www.askesis.nl
Not sure what the exact error is.. A more detailed stacktrace would be needed.. I know there are postgres users.. I know there are JBoss users.. I know there are Sarge users (us) Not sure about combination of all three.. Ludovic Joost Kraaijeveld wrote:
Hi,
I have followed the installation instructions but for some reason I do not understand I get the following exception:
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences Wrapped Exception: Error number 3221 in 3: Exception while saving class XWiki.XWikiPreferences Wrapped Exception: Error number 3222 in 3: Exception while saving class XWiki.XWikiPreferences Wrapped Exception: Could not execute JDBC batch update com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:142) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202) com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
Is there a fool (==me) proof way of installing xwiki with JBoss, PostgreSQL and Debian Sarge AMD64? Is there anyone actually using XWiki with JBoss??
TIA
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
Hi Ludovic, Thanks for answering to my mail. On Mon, 2005-10-10 at 00:28 +0200, Ludovic Dubost wrote:
Not sure what the exact error is.. A more detailed stacktrace would be needed.. After some sleep I found the cause and solution: ... 2005-10-10 06:03:24,657 ERROR [org.hibernate.util.JDBCExceptionReporter] Batch entry 0 update xwikiclassesprop set XWP_PRETTYNAME=Skin, XWP_CLASSTYPE=com.xpn.xwiki.objects.classes.StringClass, XWP_UNMODIFIABLE=0, XWP_NUMBER=1 where XWP_ID=104408758 and XWP_NAME=skin was aborted. Call getNextException to see the cause. 2005-10-10 06:03:24,657 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Error: 0, SQLState: 42804 2005-10-10 06:03:24,657 ERROR [org.hibernate.util.JDBCExceptionReporter] ERROR: column "xwp_unmodifiable" is of type smallint but expression is of type boolean 2005-10-10 06:03:24,657 ERROR [org.hibernate.event.def.AbstractFlushingEventListener] Could not synchronize database state with session
This as caused by a mixture of a new PostgreSQL JDBC driver (8.x) and the actual code: there is a mismatch between the Java type and the database type for the database column "xwp_unmodifiable". Reverting to the 7.x PostgreSQL JDBC drivers solves the problem. I am now looking at a XWiki screen. -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 e-mail: [email protected] web: www.askesis.nl
participants (2)
-
Joost Kraaijeveld -
Ludovic Dubost