Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADF Essentials with Apache Shiro Security - Logout issue

UshaApr 29 2019 — edited Apr 30 2019

Hi,

I have ADF web application developed using Jdeveloper 12.1.3 version, Glassfish server 3.1.2 version and Apache Shiro for security.

Login action and application security are working fine, but not logout action.

After logged out from application, it should be redirected to login page. But it throws "javax.servlet.ServletException: java.lang.IllegalStateException: org.apache.shiro.session.UnknownSessionException: There is no session with id" error.

pastedImage_1.png

Logout action method code is

pastedImage_5.png

Shiro configuration file is

pastedImage_10.png

Do I miss anything ?

Comments
Post Details
Added on Apr 29 2019
2 comments
470 views