[xwiki-users] Problem with "save" action on objects (org.hibernate.StaleStateException)

Xavier MOGHRABI xavier.moghrabi at objectweb.org
Thu Aug 24 16:46:51 CEST 2006


This is a patched (juste minor modifications) from subversion revision 977.



Le jeudi 24 août 2006 16:28, Marty Israelsen a écrit :
> What version of xwiki are you running?
>
> On Thu, 2006-08-24 at 02:07, Xavier MOGHRABI wrote:
> > Dear all,
> >
> > I've recently migrate my XWiki installation to an other server after a
> > hard drive crash.
> >
> > I've copied my XWiki installation as it was and upgrade from Tomcat
> > 5.5.15 to Tomcat 5.5.17.
> >
> > Tomcat is able to start correctly however the behaviour of XWiki has been
> > affected since I can't anymore use the "save" action on an object.
> >
> > For instance, if I reach the "Class Editor" page (XWiki.XWikiClasses) :
> > - click on "PhotoAlbumClass" to create a new photo album
> > - create a new photo Album called "Photos.MyAlbum"
> > - I can see a form but if I enter a title and a description and then I
> > save, I get a blank page without any object attached.
> > - I have the following errors in my logs :
> >
> > 10:06:59,441 ERROR TP-Processor30
> > http://manage.objectweb.org/xwiki/bin/save/Photos/MyAlbum
> > AbstractBatcher:doExecuteBatch:60 - Exception executing batch:
> > org.hibernate.StaleStateException: Batch update returned unexpected row
> > count from update: 0 actual row count: 0 expected: 1
> >         at
> > org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:92)
> > ...
> > 10:06:59,442 ERROR TP-Processor30
> > http://manage.objectweb.org/xwiki/bin/save/Photos/MyAlbum
> > AbstractFlushingEventListener:performExecutions:277 - Could not
> > synchronize database state with session
> > org.hibernate.StaleStateException: Batch update returned unexpected row
> > count from update: 0 actual row count: 0 expected: 1
> > ...
> >
> > Does somebody know what is wrong is my configuration ?
> >
> > --
> > Xavier MOGHRABI - Consortium ObjectWeb
> > Jabber: moghrabi at jabber.objectweb.org - Phone: +33 4 76 61 52 35
> >
> >
> > ______________________________________________________________________
> > --
> > You receive this message as a subscriber of the xwiki-users at objectweb.org
> > mailing list. To unsubscribe:
> > mailto:xwiki-users-unsubscribe at objectweb.org
> > For general help: mailto:sympa at objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

-- 
Xavier MOGHRABI - Consortium ObjectWeb
Jabber: moghrabi at jabber.objectweb.org - Phone: +33 4 76 61 52 35




More information about the users mailing list