webtier@glassfish.java.net

Re: Problem with ViewScoped Bean jsf2.0

From: Reza Rahman <reza.rahman_at_oracle.com>
Date: Fri, 5 Sep 2014 10:30:17 -0500

Ugh. I meant the JSF spec user forums.

Sent from my iPhone

> On Sep 5, 2014, at 10:28 AM, Reza Rahman <reza.rahman_at_oracle.com> wrote:
>
> Please use the Mojarra forums for this.
>
> Sent from my iPhone
>
>> On Sep 4, 2014, at 12:23 AM, Harsha Balusu <h.balusu_at_logit-one.com> wrote:
>>
>> Greetings,
>>
>> We are in the process of migration of our applications from seam to javaee6,jsf20 using jbossas7.1.1.final. We see a problem when we declare a UI bean with the ViewScoped annotation. Whenever we access the concerned page the objects are getting piled up in the memory and never being unreferenced/freeing up from the memory leading to outofmemory exception. When we try to use the sessionscope instead of Viewscope it works fine. But our requirement is to have the ViewScoped bean. Can you help us in the resolution of the problem.
>>
>> Regards,
>> Harsha.
>>