« Return to Thread: Synergy with OpenXava

RE: Error when clicking too fast....

by nhhockeyplayer :: Rate this Message:

Reply to Author | View in Thread

Sounds like concurrency in trails hivemind services.

Could easily be resolved by which ever hivemind service is attempting to run by implementing a synchronized block. I put this in the blobservicie for good measure though it serializes the rendering of blobs.

Should be easily resolved.

Best regards
Ken in nashua



> Date: Tue, 29 Apr 2008 12:29:45 +0200
> From: alejandroscandroli@...
> To: users@...
> Subject: Re: [trails-users] Error when clicking too fast....
>
> Hi Tobias
>
> Yeap, given the exception it looks like a Trails think.
> Can you give us more details?
> Do you have a trails table in a trails page? or a trails table in a
> plain tapestry page?
> What type of links are you using?
>
>
> --
> Alejandro Scandroli - http://weblog.amneris.es/
> Amneris: We build process-driven web applications.
> http://www.amneris.es
>
>
> On Tue, Apr 29, 2008 at 12:18 PM, Tobias Marx <superoverdrive@...> wrote:
> > To be more precise:
> >
> > org.trails.persistence.PersistenceException
> > org.springframework.orm.hibernate3.HibernateSystemException: Illegal attempt to associate a collection with two open sessions; nested exception is org.hibernate.HibernateException: Illegal attempt to associate a collection with two open sessions
> >
> > (seems like a Trails thing? )
> >
> > -------- Original-Nachricht --------
> > > Datum: Tue, 29 Apr 2008 12:07:40 +0200
> > > Von: "Tobias Marx" <superoverdrive@...>
> > > An: users@...
> > > Betreff: [trails-users] Error when clicking too fast....
> >
> >
> >
> > > Hit there!
> > >
> > > I have a trails table with buttons in each row to add items to a list.
> > >
> > > If the site is slow and you click several of those buttons after each
> > > other really quick, there is a "session exception"...but you are still logged
> > > in when you go back.
> > >
> > > 1. Is this a trails (trails security?) error or a tapestry error ?
> > >
> > > 2. Is it not possible to "queue" those requests?
> > >
> > > Thanks!
> > >
> > > Tobias
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe from this list, please visit:
> > >
> > > http://xircles.codehaus.org/manage_email
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list, please visit:
> >
> > http://xircles.codehaus.org/manage_email
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>


Make i'm yours. Create a custom banner to support your cause.
Best regards
Ken in nashua

 « Return to Thread: Synergy with OpenXava