Hoi Vincent,
Thanks for your response! I indeed followed the installation
instructions as presented on
www.xwiki.org, but maybe did something
wrong.
The strange thing is that at the beginning saving the layout and
preferences has been working properly!
The WEB-INF/hibernate.cfg.xml applied contains this part among other
things:
<property
name="connection.url">jdbc:postgresql://localhost:5432/xwiki</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"/>
I indeed am a bit in doubt about whether this is correct or not!
Regards,
Gerard
>> vincent(a)massol.net 06/09/2007 09:22
>>>
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
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
==========================================
Dit bericht is uitsluitend bestemd voor de geadresseerde.
Het bericht kan vertrouwelijke informatie bevatten.
Als u dit bericht per abuis hebt ontvangen, wordt u
verzocht onmiddellijk de afzender te informeren. Ook
verzoeken wij u het bericht te vernietigen en de inhoud
niet onder derden te verspreiden of te gebruiken.
This message is intended exclusively for the addressee.
It may contain information that is confidential.
If you are not the intended recipient, we request that
you notify the sender immediately. In that case, we
also request that you destroy the message and that
you neither use the contents nor disclose them in any
manner to third parties.
==========================================