I have implemented this feature and tested it. You have to add
distributable property (true/false) in Jaggery conf file. Rest of the
configurations goes as [1]. Closed the JIRA.

{
"displayName":"My App",
        "welcomeFiles":["index.jag"],
"distributable":true
}

[1] - http://tomcat.apache.org/tomcat-7.0-doc/cluster-howto.html





On Tue, Mar 18, 2014 at 10:24 AM, Kishanthan Thangarajah <
[email protected]> wrote:

> IIRC, the support for session replication for jaggery apps was added when
> we implemented it for webapps. There were some changes needed from jaggery
> deployment side (eg: reading jag.conf for "distributable" property) and it
> was added. But the related jira is still in open state :
> https://wso2.org/jira/browse/JAGGERY-275
>
> @Dilshan, shouldn't this issue be in "fixed" state? Or is there anything
> more to add?
>
>
>
>
> On Mon, Mar 17, 2014 at 7:20 PM, Ruchira Wageesha <[email protected]>wrote:
>
>> Hi Amila,
>>
>> Since Jaggery is based on Tomcat, whatever the session replication
>> mechanism available for Java webapps, should be valid for Jaggery as
>> well[1]. But, I doubt whether it will work smoothly if there are any
>> non-serializable objects in the session.
>>
>> /Ruchira
>>
>> [1] https://tomcat.apache.org/tomcat-7.0-doc/cluster-howto.html
>>
>>
>> On Mon, Mar 17, 2014 at 4:59 PM, Amila Maha Arachchi <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> Assume the scenario of two API Manager instances fronted with WSO2 ELB.
>>> While user is logged in  and working in publisher or store app, all his
>>> requests are going to the same node where the session is established.
>>>
>>> At this moment if we kill one node, requests will start going to the
>>> other node, but theres no session available in it.
>>>
>>> My question is:
>>> Is session replication valid for jaggery apps?
>>>
>>> Regards,
>>> AmilaM.
>>>
>>> --
>>> *Amila Maharachchi*
>>> Senior Technical Lead
>>> WSO2, Inc.; http://wso2.com
>>>
>>> Blog: http://maharachchi.blogspot.com
>>> Mobile: +94719371446
>>>
>>>
>>
>>
>> --
>>
>> *Ruchira Wageesha**Associate Technical Lead*
>> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com <http://wso2.com>*
>>
>> *email: [email protected] <[email protected]>,   blog:
>> ruchirawageesha.blogspot.com <http://ruchirawageesha.blogspot.com>,
>> mobile: +94 77 5493444 <%2B94%2077%205493444>*
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Kishanthan Thangarajah*
> Senior Software Engineer,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>*
> Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
>



-- 
Dilshan Edirisuriya
Senior Software Engineer - WSO2
Mob: + 94 777878905
http://wso2.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to