-
1. Re: Post login, OK-200 returned instead of 302 redirect
pmuir Jul 29, 2008 10:33 PM (in response to fijaicairo)How are your navigation rules set up?
-
2. Re: Post login, OK-200 returned instead of 302 redirect
fijaicairo Jul 30, 2008 2:10 AM (in response to fijaicairo)Hi Pete,
Our navigation rules are fairly simple. Issue never occurred using default in JBoss 4.2.2 during development. In production, it typically clears up with a server restart.<pages xmlns="http://jboss.com/products/seam/pages" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd" no-conversation-view-id="/In/home_in.xhtml" login-view-id="/login.xhtml">
<page view-id="*"> <navigation> <rule if-outcome="USER_PROFILE"> <redirect view-id="/In/user_profile.xhtml"/> </rule> ... </navigation> </page>
We also have a few page tags for specific view-ids some with login-required attributes. Another interesting fact is that we have multiple essentially identical login pages and this particular page seems to be the only exhibiting the problem.
-
3. Re: Post login, OK-200 returned instead of 302 redirect
fijaicairo Jul 30, 2008 2:15 AM (in response to fijaicairo)Maybe the issue only occurs under excessive load. At our daily peak, we process about 450 logins per minute so I guess thats bound to expose every fault there is.
-
4. Re: Post login, OK-200 returned instead of 302 redirect
pmuir Jul 30, 2008 11:30 AM (in response to fijaicairo)In the case you have shown Seam asks the Servlet API to do a redirect. We would need to know where the call goes wrong to debug further (which may be hard as you can't reliably reproduce currently).