Barracuda: EventContext in between ClientSideRedirectException

Vas Skrypnyk <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <16649449.1039763476803.JavaMail.root@babel>
I have been having some irregular behaviour with EventContext keeping my state when I throw ClientSideRedirectException. In 99% of the time it works, but just sometimes I get errors caused by the fact that the state wasn't passed.

By looking at persistContext I noticed that the EventContext state is attached via WeakObjectRepository (I assume it uses WeakReferences). So is it possible that in between the 'Document moved' browser response and the subsequent client request java could garbage collect the precious state?

If that is so, it leaves me in a bind, because I can't pass parameters via ClientSideRedirectException and must completely rely on the EventContext.

Any thoughts?

--Bill.
_______________________________________________
Barracuda mailing list
[email protected]
http://www.enhydra.org/mailman/listinfo.cgi/barracuda
FAQ - http://www.jguru.com/faq/Barracuda
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.