From: gavinc <nu...@jb...> - 2005-05-20 23:02:49
|
We are using the MyFaces portlet bridge for our JSF based portlet and have been seeing some strange behaviour regarding HTTP sessions. I have added some debugging around the sessionCreated() and sessionDestroyed() methods to see what is happening. It seems that when the server starts sometimes the portlet has a "hidden" session i.e. I don't see any "session created" message. If the portlet is left idle for a short time this "hidden" session times out. The strange thing is the timeout is only a few minutes but we have the session timeout set to 30 minutes in our web.xml. I have also witnessed a couple of "session destroyed" messages from sessions that i don't see created!!? Does the portal create any sessions during startup that we are mistakenly getting assigned or could the MyFaces portal bridge be creating these "hidden" sessions? Anyone have any ideas what may be going on? By the way, if I run the application outside of JBoss/Portal i.e. in Tomcat, I see the session behaviour I would expect. Cheers, Gav View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878629#3878629 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878629 |