Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

session becomes null after few seconds  RSS feed

 
vivek alva
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Session object becomes null on applications deployed on WAS 6 server
after 20-30 secs. What can be the reason. Kindly help me regarding this.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Possibilities that occur to me:
1. Some program is setting the session timeout very low. (pretty unlikely but possible)
2. The session contains a reference to an object that is not serializable, the servlet container is attempting to serialize the session as part of normal upkeep, when it cant be serialized, the container is invalidating the session. (look for error reports in logs)
Bill
 
Prabhu Venkatachalam
Ranch Hand
Posts: 502
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some more possibilities other than what William said,

1. Check web applications deployment descriptor whether any <session-timeout> is given are not.

2. Check any default value set in Administrative Console for WAS.
 
vivek alva
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Guys for your reply. I am looking into the suggestions you have given
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!