Glassfish V3.0 and Glassfish V3.1

UI Components for JSF
Post Reply
sdguna
Posts: 41
Joined: 06 May 2010, 17:42

11 May 2011, 11:20

I have encountered a strange problem. My application is working fine in Glasshfish V3.0 but when I migrate to Glasshfish V3.1 the following problem appears

ATTENTION: StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
java.lang.ArrayIndexOutOfBoundsException: 4

Then application just hungs.

Glasshfish V3.1
Primefaces 2.0.1
Majora 2.1.0

This happens when a datatable is opened.

mask_hot
Posts: 34
Joined: 27 May 2011, 10:52

02 Jun 2011, 12:48

I have a similar issue when accessing the last page of a paginated datatable (with lazymodel).

Glassfish 3.1 too.

healeyb
Posts: 365
Joined: 07 Apr 2010, 16:05

02 Jun 2011, 14:09

There is one report of someone having a similar problem using PrimeFaces
2.2, but the problem was fixed with 2.2.1. Is there any reason why you
cannot upgrade to the latest version?

I would suggest posting a full stack trace and the xhtml for your datatable.

Regards,
Brendan.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

02 Jun 2011, 15:41

2.0.1 is way too old.

sdguna
Posts: 41
Joined: 06 May 2010, 17:42

12 Aug 2011, 16:38

Thanks problem solved. It is really coming from glassfish implementation. Glassfish V3.1 the sun-web.xml file has to be renamed to glassfish-web.xml. Then everything works fine.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 65 guests