0

In jBoss/IBM WAS zk session does not timeout

asked 2020-10-16 16:08:55 +0800

CYX gravatar image CYX
1

updated 2020-10-19 10:11:12 +0800

cor3000 gravatar image cor3000
5399 2 7
ZK Team

I have two WARs (A and B) , If I deploy B(it's a zk application) on tomcat and A(Jboss application) on Jboss, after the session time out its redirecting to login page but , if I deploy A and B on Jboss , but on session timeout its staying on same page.

I used custom listener on web.xml(of B.War) which extends HttpSessionListener.

<listener>
    <description>
    Used to cleanup when a session is destroyed</description>
    <display-name>ZK Session cleaner</display-name>
    <listener-class>com.CustomListener</listener-class>
</listener>

The above listener gets called on Tomcat but not Jboss.

Please let me know if I am missing anything.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-10-19 15:52:53 +0800

hawk gravatar image hawk
2655 1 5
http://hawkphoenix.blogsp... ZK Team

updated 2020-10-19 15:53:38 +0800

HttpSessionListener is a java EE listener that is not zk-specific.

Could provide the source of your com.CustomListener?

Do you mean you have configured automatic timeout, but ZK doesn't redirect automatically a page to a time-out page within Jboss?

When application B starts up in JBoss, is there any server-side error?

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2020-10-16 16:08:55 +0800

Seen: 6 times

Last updated: 14 hours ago

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More