File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Portals and Portlets and the fly likes PortletSession.PortletScope value is not cleared when server is shutdown Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "PortletSession.PortletScope value is not cleared when server is shutdown" Watch "PortletSession.PortletScope value is not cleared when server is shutdown" New topic
Author

PortletSession.PortletScope value is not cleared when server is shutdown

sridhar mam
Greenhorn

Joined: Jun 28, 2007
Posts: 4
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


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PortletSession.PortletScope value is not cleared when server is shutdown