do I need to turn off spring web flow serialization?

View: New views
4 Messages — Rating Filter:   Alert me  

do I need to turn off spring web flow serialization?

by Orion Letizi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm trying to get the spring webflow swf-booking-mvc to work with the  
latest tim-spring-webflow-2.0.  I'm using the latest snapshots of  
terracotta and the tims.  When I try to load a session into another  
Tomcat, I get this exception:

java.lang.IllegalStateException: unread block data
        java.io.ObjectInputStream
$BlockDataInputStream.setBlockDataMode(ObjectInputStream.java:2326)
         ...

I'm assuming that Spring Web Flow (or something) is trying to  
deserialize the webflow state and failing.  Do I need to configure  
Spring Web Flow to not do that?  If so, how do I do that?

--Orion
_______________________________________________
tc-dev mailing list
tc-dev@...
http://lists.terracotta.org/mailman/listinfo/tc-dev

Re: do I need to turn off spring web flow serialization?

by Orion Letizi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ah.  Right.  I think I have to set the max-execution-snapshots to 1.

--Orion

On Jul 9, 2009, at 8:10 AM, Orion Letizi wrote:

> I'm trying to get the spring webflow swf-booking-mvc to work with the
> latest tim-spring-webflow-2.0.  I'm using the latest snapshots of
> terracotta and the tims.  When I try to load a session into another
> Tomcat, I get this exception:
>
> java.lang.IllegalStateException: unread block data
> java.io.ObjectInputStream
> $BlockDataInputStream.setBlockDataMode(ObjectInputStream.java:2326)
>         ...
>
> I'm assuming that Spring Web Flow (or something) is trying to
> deserialize the webflow state and failing.  Do I need to configure
> Spring Web Flow to not do that?  If so, how do I do that?
>
> --Orion
> _______________________________________________
> tc-dev mailing list
> tc-dev@...
> http://lists.terracotta.org/mailman/listinfo/tc-dev

_______________________________________________
tc-dev mailing list
tc-dev@...
http://lists.terracotta.org/mailman/listinfo/tc-dev

Re: do I need to turn off spring web flow serialization?

by Alex Miller-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It should work anyways, afaik.  Might be a serialization bug in some  
class in the flow state.  Any clue what's in your flow state?  Should  
probably file a jira if you have a good test case for it.


On Jul 9, 2009, at 10:28 AM, Orion Letizi wrote:

> Ah.  Right.  I think I have to set the max-execution-snapshots to 1.
>
> --Orion
>
> On Jul 9, 2009, at 8:10 AM, Orion Letizi wrote:
>
>> I'm trying to get the spring webflow swf-booking-mvc to work with the
>> latest tim-spring-webflow-2.0.  I'm using the latest snapshots of
>> terracotta and the tims.  When I try to load a session into another
>> Tomcat, I get this exception:
>>
>> java.lang.IllegalStateException: unread block data
>> java.io.ObjectInputStream
>> $BlockDataInputStream.setBlockDataMode(ObjectInputStream.java:2326)
>>        ...
>>
>> I'm assuming that Spring Web Flow (or something) is trying to
>> deserialize the webflow state and failing.  Do I need to configure
>> Spring Web Flow to not do that?  If so, how do I do that?
>>
>> --Orion
>> _______________________________________________
>> tc-dev mailing list
>> tc-dev@...
>> http://lists.terracotta.org/mailman/listinfo/tc-dev
>
> _______________________________________________
> tc-dev mailing list
> tc-dev@...
> http://lists.terracotta.org/mailman/listinfo/tc-dev

_______________________________________________
tc-dev mailing list
tc-dev@...
http://lists.terracotta.org/mailman/listinfo/tc-dev

Re: do I need to turn off spring web flow serialization?

by Orion Letizi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ok.  I'll file a JIRA.  I'm trying to cluster the hotels sample app  
for spring webflow (from Spring Source).

--Orion

On Jul 9, 2009, at 8:30 AM, Alex Miller wrote:

> It should work anyways, afaik.  Might be a serialization bug in some
> class in the flow state.  Any clue what's in your flow state?  Should
> probably file a jira if you have a good test case for it.
>
>
> On Jul 9, 2009, at 10:28 AM, Orion Letizi wrote:
>
>> Ah.  Right.  I think I have to set the max-execution-snapshots to 1.
>>
>> --Orion
>>
>> On Jul 9, 2009, at 8:10 AM, Orion Letizi wrote:
>>
>>> I'm trying to get the spring webflow swf-booking-mvc to work with  
>>> the
>>> latest tim-spring-webflow-2.0.  I'm using the latest snapshots of
>>> terracotta and the tims.  When I try to load a session into another
>>> Tomcat, I get this exception:
>>>
>>> java.lang.IllegalStateException: unread block data
>>> java.io.ObjectInputStream
>>> $BlockDataInputStream.setBlockDataMode(ObjectInputStream.java:2326)
>>>       ...
>>>
>>> I'm assuming that Spring Web Flow (or something) is trying to
>>> deserialize the webflow state and failing.  Do I need to configure
>>> Spring Web Flow to not do that?  If so, how do I do that?
>>>
>>> --Orion
>>> _______________________________________________
>>> tc-dev mailing list
>>> tc-dev@...
>>> http://lists.terracotta.org/mailman/listinfo/tc-dev
>>
>> _______________________________________________
>> tc-dev mailing list
>> tc-dev@...
>> http://lists.terracotta.org/mailman/listinfo/tc-dev
>
> _______________________________________________
> tc-dev mailing list
> tc-dev@...
> http://lists.terracotta.org/mailman/listinfo/tc-dev

_______________________________________________
tc-dev mailing list
tc-dev@...
http://lists.terracotta.org/mailman/listinfo/tc-dev