Are you using distributable directive in your web.xml by any chance?

> On Nov 14, 2016, at 10:25 AM, "[email protected]" <[email protected]> 
> wrote:
> 
> Does anyone use Tomcat 8 with Tomcats Session Mgmt?  I have been unable to
> make it work.  Everything works fine with Jetty, but when running under
> Tomcat, even though correct JSESSIONIDs are passed, Shiro doesn't recognize
> session and assumes I need to login again.
> 
> If I use Shiro Native Web Session Mgmt, it does work fine.
> 
> My issue is that I need to use Apache mod_proxy infront of a group of Tomcat
> servers.  Apache load balancing doesn't work with Shiros SessionID
> generation (doesn't include the jvmRoute info like default Tomcat does),
> thus Apache can't honor stickysessions.
> 
> I would love to switch back to Tomcat session mgmt, but I can't get anywhere
> with it while using Shiro.  Can anyone that uses Tomcat assist?
> 
> Here is link to a previous thread I was using when doing initial Shiro
> integration:
> http://shiro-user.582556.n2.nabble.com/Shiro-rediecting-back-to-Login-after-successful-Login-td7581130.html
> 
> 
> 
> --
> View this message in context: 
> http://shiro-user.582556.n2.nabble.com/Shiro-using-default-Tomcat-Web-Session-Mgmt-tp7581380.html
> Sent from the Shiro User mailing list archive at Nabble.com.
> 

Reply via email to