Question

I have JEE application Wildfly RC1 JEE7 - CDI,EJB, JSF Mojarra 2.2.4 In my application i use h:outputLink for create links simply without calling bean actions.

like this

<h:outputLink styleClass="btn btn-primary" value="#{request.contextPath}/views/product/addproduct.xhtml" >
    <i class="glyphicon glyphicon-plus" />
    add product
</h:outputLink>

After many navigation, Bean actions don't work. In chrome i discover 3 cookies JSESSIONID with different path corresponding to each navigation link

Any idea to handle this

Was it helpful?

Solution

source of problem not identified but resolved by replacing apache shiro servlet session manager by

sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager
securityManager.sessionManager = $sessionManager
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top