Yes, I am connecting through Apache using the AJP connector. I have
my HTTP connector of tomcat turned off.
On 9/23/06, Vogt, Burkhard <[EMAIL PROTECTED]> wrote:
Hi Aaron,
I think it was your post, taht I read on thusrday. I tried that, but it
doesn't work. May be it depends on the way yout access jetspeed (resp.
tomcat). Currently I'm accessing jetspeed "directly", i.e. using the
http connector of tomcat. Is your tomcat accessed via Apache (using the
ajp connector)?
Burkhard
Aaron Evans wrote:
> Firstly, in tomcat's conf/server.xml, add the emptySessionPath="true"
> to your AJP connector.
>
> <Connector port="8009" protocol="AJP/1.3" emptySessionPath="true"/>
>
> Secondly, if you put stuff in the servlet session, to access it in a
> portlet, make sure you use:
>
>
renderRequest.getPortletSession().getAttribute("mySessionAttr",PortletSession.APPLICATION_SCOPE)
>
>
> Similarly if setting the attribute in the portlet session and you want
> to get at it from the servlet.
>
> Note that (if I am not mistaken) the portlet and servlet must be part
> of the same web application...
>
> -aaron
> -aaron
>
> On 9/21/06, Vogt, Burkhard <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>>
>> is it possible that jetspeed2 uses 2 different sessions within one
>> request sequence?
>>
>> I need to transfer data to a servlet, which is assembled by a portlet.
>> For this
>> reason I dispatched the data to a jsp, which first attaches the data to
>> the HttpSession
>> and then calls the servlet via an iframe tag. For some reason the
>> session accessible
>> by the servlet does not receive the data due to a different session it
>> uses.
>>
>> This is necessary to integrate an external web application into the
>> portal - unfortunately
>> jBoss and liferay are working well with this solution (I'm currently
>> evaluating portals
>> for a customer...)
>>
>> Thanks for any hints in advance!
>>
>> Burkhard
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]