Hi Andrew (cc community)

Thanks for the reply, and your affirmation that the cache store "should" be 
replicating to the bounced node -- it does not seem to be. There should be code 
in the ehcache integration that is doing this or would this more likely be in 
the ehcache library itself?  Perhaps you can share the version that you folks 
at Unicon recommend or have tested against. I'm using:

cas-server-integration-ehcache-3.5.2-SNAPSHOT.jar  (built from a git pull)

and

ehcache-core-2.6.3.jar (included from the maven dependency tree)

The IllegalStateException messages don't seem related to the ticket registry to 
me on second glance (but I'm not the pro), I've been toying around with some 
various things in my build with the debugger, and have started adding springy 
libraries into eclipse so my stepping works.

Most of my spring is 3.1.1, swf is version 2.3.0.  Same versions we were using 
before integrating with ehcache.



A couple lines peak my interest:



2013-02-25 15:47:47,928 DEBUG 
[org.springframework.web.servlet.DispatcherServlet] - <Successfully completed 
request>

2013-02-25 15:47:50,120 DEBUG 
[org.springframework.webflow.conversation.impl.SessionBindingConversationManager]
 - <Ending conversation 1>

2013-02-25 15:47:50,121 DEBUG 
[org.springframework.webflow.conversation.impl.SessionBindingConversationManager]
 - <Unlocking conversation 1>



When I hit /cas/login, I can see the "unlocking" debug message. When I actually 
log in, sometimes I see

2013-02-25 15:51:35,529 DEBUG 
[org.springframework.webflow.execution.repository.impl.DefaultFlowExecutionRepository]
 - <Removing flow execution '[Ended execution of 'login']' from repository>

2013-02-25 15:51:35,530 DEBUG 
[org.springframework.webflow.conversation.impl.SessionBindingConversationManager]
 - <Unlocking conversation 1>

2013-02-25 15:51:35,530 DEBUG 
[org.jasig.cas.web.FlowExecutionExceptionResolver] - <Ignoring the received 
exception due to a type mismatch>

java.lang.IllegalStateException: Cannot create a session after the response has 
been committed



sometimes I see:



2013-02-25 15:51:35,530 DEBUG 
[org.springframework.webflow.conversation.impl.SessionBindingConversationManager]
 - <Ending conversation 1>



So if the conversation has "ended," then the session would be destroyed and 
when something tries to write the response it would fail, but I don't always 
see this. I am still experimenting and debugging to get an understanding of 
what's going on.



Considering that this message is appearing where I *should* be seeing the 
casGenericSuccess.jsp page my feeling is that this issue is somewhere between, 
cas and spring as you were suggesting, or simply deeper somewhere in swf. I am 
still curiously inspecting so any other advice you may have to aid me in 
troubleshooting would be very helpful.

-Michael.



-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to