You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by Nagaraju Kurma <na...@enhancesys.com> on 2013/11/05 07:46:21 UTC

unable to login shiro enabled application when deployed in httpd cluster environment

Can anybody help me out........?

I am using apache2.2 httpd server with tomcat7.
i configured the cluster having 2 nodes and deployed our shiro enableed
application in both Node-1 and Node-2. But when i m trying to login in to
application i unable to do it and kept on showing only the login page.

If i deploy sample application like App1 in both nodes and when i call
request.getSession(true); then JSESSIONID is
: FEBBCD05858DCCF03B0AB6C7FD82B17F.node1

* If i deploy our shiro enabled application in both nodes and when i call
request.getSession(true); then JSESSIONID is
: 4f64c91a-e197-44ae-900f-605609b064b5

* if i call SecurityUtils().getSubject().getSession(true);
-------------------> 4f64c91a-e197-44ae-900f-605609b064b5


Why in App1 appl it is appending node1 and why not in shiro enabled
application.

Any help is appreciated :)


-- 

Thanks & Regards,

Nagaraju K