Barracuda: Event Context during redirects

"Christian Cryder" <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Speaking of keeping things on the radar, Bill asked me this question about
event contexts getting lost, and it was in danger of getting lost in my
inbox, so I'm forwarding it back to the list. I will try to respond to this
(and some other recent questions) later today...

Christian
----------------------------------------------
Christian Cryder [[email protected]]
Internet Architect, ATMReports.com
Barracuda - http://barracuda.enhydra.org
----------------------------------------------
"Coffee? I could quit anytime, just not today"

-----Original Message-----
From: V B Skrypnyk [mailto:[email protected]]
Sent: Tuesday, January 07, 2003 2:53 PM
To: Christian Cryder
Subject: Re: FW: Your e-mail to [email protected]


Hi, Christian.

I fixed the problem, thanks for pointing it out. Hope I didn't pollute your
mailbox too much.

Btw, I posted a message a little while ago to the list and nobody responded
to it. I keep getting random losses of data in Event context between
redirects -- I am pasting my post below. Am I out to lunch here or is there
a bug? :

==== original post =======

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?

Any thoughts?


--Bill.

===== end of original post ======

Thanks.

--Bil.





Original Message:
-----------------------------------------

>Hi Bill!
>
>Here's a sample...
>
>Christian
>----------------------------------------------
>Christian Cryder [[email protected]]
>Internet Architect, ATMReports.com
>Barracuda - http://barracuda.
>enhydra.org
>----------------------------------------------
>"Coffee? I could quit anytime, just not today"
>
>-----Original Message-----
>From: V B Skrypnyk [mailto:[email protected]]
>Sent: Tuesday,
>January 07, 2003 1:03 PM
>To: Christian Cryder
>Subject: RE: Your e-mail to [email protected]
>
>
>I got this message, can you send the bounce please and I'll check it out.
>Sorry for the last reply, I
>just came back from vacation.
>
>--Bill.
>
>
>Original Message:
>-----------------------------------------
>
>>Testing 1-2-3...Vas, I am getting a weird bounce message or something from
>>you, evidently
>from messages getting sent to the Barracuda list...I just
>>wanted to make sure this email gets to you at this
>>address.
>>
>>Christian
>>
>>> -----Original Message-----
>>> From: barracuda-owner@enhydra.
>org [mailto:[email protected]]On
>>> Behalf Of [email protected]
>>> Sent: Monday, December 30, 2002 7:19
>>AM
>>> To: undisclosed-recipients:
>>> Subject: Your e-mail to [email protected]
>>>
>Importance: High
>>>
>>>
>>>
>>
>>
>

_______________________________________________
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.