Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

PortletSession.PortletScope value is not cleared when server is shutdown

 
sridhar mam
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have set a value into PortletSession's PORTLET_SCOPE. I am able to retrieve the value correctly. But, if my portal server is shutdown, and after restarting the server, if I access the value, i am seeing the old value set before shutdown of the server. I tried the same by setting value in APPLICATION_SCOPE, and this works fine.

MyPortlet:


when "pageNum" value is 2, I shutdown the portal server, and restarted.

I logged into portal and when I access this variable, I am seeing pageNum value as "2".

If I repeat the same process, with APPLICATION_SCOPE, after restarting the server, pageNum value is "null".

Server: Tomcat 6 and Vignette Portal

Have you guys ever seen this?

thanks,
Sridhar


 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!