it works without workarround if you call any service that does not use
ThreadCleanupHub
namely almost any service other than Session and HibernateSessionManager.

On Feb 12, 2008 3:04 PM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> that's good, i have been using ur work around for the 5.09 version. the
> strange thing about this bug is, sometimes it works even without that work
> around, but just to be sure, I use the work around all the time, will try
> that 5.0.11 when it is released. thanks.
>
>
>
> Davor Hrg wrote:
> >
> > this is now fixed for T5.0.11
> > I've updated wiki to reflect the change.
> >
> > Davor Hrg
> >
> > On Feb 8, 2008 2:55 PM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> >> uh,
> >> oh,
> >>
> >> it seems I've found a small workarround,
> >> not a definitive fix, but the TreadSource works with it..
> >>
> >> the wiki is updated
> >>
> >> http://wiki.apache.org/tapestry/Tapestry5HowToRunTaskInThread
> >>
> >> Davor Hrg
> >>
> >>
> >> On Feb 8, 2008 12:45 PM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> >> > this seems to be a JVM bug
> >> > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5025230
> >> >
> >> > I tried it in Java 6 and code works just fine
> >> >
> >> > I'll look into it,
> >> > an post a jira... also still trying to make a workarround for it
> >> >
> >> > Davor Hrg
> >> >
> >> >
> >> > On Feb 8, 2008 1:29 AM, Angelo Chen <[EMAIL PROTECTED]> wrote:
> >> > >
> >> > > Hi Davor,
> >> > >
> >> > > That explains my problem,  this happens in 5.0.7 and 5.0.9, never
> >> tried it
> >> > > with 5.0.8
> >> > >
> >> > > Davor Hrg wrote:
> >> > > >
> >> > > > I'm debuggin an example like yours,
> >> > > > and although I called ThreadCleanupHub.cleanup()
> >> > > > the list of listeners is empty... and HibernateSessionManager is
> >> not in it
> >> > > >
> >> > > > something is very wrong
> >> > > >
> >> > > > Davor Hrg
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > >
> >> > > --
> >> > > View this message in context:
> >> http://www.nabble.com/T5%3A-Hibernate-and-threaded-service-tp15328171p15346983.html
> >> > >
> >> > > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >> > >
> >> > >
> >> > > ---------------------------------------------------------------------
> >> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >> > >
> >> > >
> >> >
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/T5%3A-Hibernate-and-threaded-service-tp15328171p15433651.html
>
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to