Sorry it was my mistake. I have had
<page view-id="/login.xhtml" > ... </page>
in pages.xml, but I also have had login.page.xml in which I had only
<navigation from-action="#{identity.login}"> <rule if="#{identity.loggedIn}"> <redirect view-id="/home.xhtml"/> </rule> </navigation>
because Seam found login.page.xml, it has ignored definition in pages.xml. Apparently this worked in Seam 2.0 but not anymore in Seam 2.1.
Thanks for your time.
Dmitry could you please raise this in JIRA? This example should really be working on Glassfish, so before we can continue with the original issue we'll need to sort out this problem first.
Created - JBSEAM-3706