Hi Gerard,
On Sep 4, 2007, at 2:30 PM, Geert Verhaag wrote:
  Dear XWiki Users, 
[snip]
  When trying to save the layout I get (Windows XP) a
popup window
 appears displaying the message: An error occurred while trying to save
 the panel layout!
 Clicking the OK button of this popup displayes an exception error that
 starts as:
 Wrapped Exception: Invocation of method 'save' in class
 com.xpn.xwiki.api.Document threw exception
 com.xpn.xwiki.XWikiException:
 Error number 3201 in 3: Exception while saving document
 XWiki.XWikiPreferences. ......
 In addition when I want to save my preferences while being
 administrator I get the following error (part!):
 Error number 3201 in 3: Exception while saving document
 XWiki.XWikiPreferences
 Wrapped Exception: Could not execute JDBC batch update
 com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
 saving document XWiki.XWikiPreferences
 Wrapped Exception: Could not execute JDBC batch update
        at
 com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc
 (XWikiHibernateStore.java:314)
        at
 com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc
 (XWikiCacheStore.java:100)
        at
 com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc
 (XWikiCacheStore.java:94)
        at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:914).....
 By the way saving preferences as well as a new panel layout has been
 working properly on this instance of XWiki!
 Has anybody any idea? How can I start saving my new panel
 definitions/preferences again? By the way, I use XWiki version
 1.0.3342
 in combination with PostgreSQL-8.2, TomCat 5.5 and jdk-6u2! Thanks! 
Are you using the Postgre SQL HBM files as indicated in the
installation notes?
If not that would explain the errors.
Thanks
-Vincent