[JBoss-dev] [Design of JBoss Portal] - Re: shared state between HttpSession and PortletSession

2005-04-11 Thread schnelzer
I have come up with a approach for communication between portlet applications and I would like to get some feedback. My requirements are: * a session that is visible across portlet applications * an approach that will work well in a clustered environment (Julian, I couldn't easily see how to

[JBoss-dev] [Design of JBoss Portal] - Re: shared state between HttpSession and PortletSession

2005-04-09 Thread schnelzer
If you have some ideas on an approach, we would be happy to do some of the work. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=387#387 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=387

[JBoss-dev] [Design of JBoss Portal] - Re: shared state between HttpSession and PortletSession

2005-04-09 Thread schnelzer
Thanks Julien. I'll send you my email address. I also have a follow up question that I thought would be good to have on the forum. Will you take this capability in to account as you test the JBoss Portal in a cluster? Thanks for the assistance. View the original post : http://www.jboss.org

[JBoss-dev] [Design of JBoss Portal] - Re: shared state between HttpSession and PortletSession

2005-04-08 Thread schnelzer
I have two Portlet Applications in two separate .war files. I need to set a user session variable in one Portlet Application and then read it in the second application. Per the Portlet Spec this does not work using PortletSession session = request.getPortletSession(); | session.setAttribute(

[JBoss-dev] [Design of JBoss Portal] - Re: shared state between HttpSession and PortletSession

2005-03-29 Thread schnelzer
I did some testing with JBoss Portal Beta 1 and JBoss AS 4.0.2RC1 and the HTTP Session and Portlet Session were being handled correctly per the Portlet spec. I did have to add crossContext="true" to each of the context.xml files (portal core and portlets). I understand that you won't need to d

[JBoss-dev] [Design of JBoss Portal] - Re: shared state between HttpSession and PortletSession

2005-03-22 Thread schnelzer
I'd like to be able to deploy a configuration with the HTTPSession and PortletSession working as Julien describes above. Today, I built the latest version of JBossAS from the cvs head (5.0.0alpha), and followed the deployment instructions on the WIKI. I did copy the jgroups.jar and the jboss-c