File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes PrimeFaces Not Working with GlassFish Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "PrimeFaces Not Working with GlassFish" Watch "PrimeFaces Not Working with GlassFish" New topic

PrimeFaces Not Working with GlassFish

Buddhika Ariyaratne

Joined: Dec 18, 2011
Posts: 6
Hi All,
I am using Netbeans 7.01 and GlassFish. I downloaded PrimeFaces 3.2 and added it to the library. I followed the FileUpload example in It gives a warning and the holds the functioning of p:fileUpload. I inserted a p:commandButton, but it also seems to be the same. I inserted h:commandButton and it functions as expected with same back bean method. But <p:spinner /> and p:growl are functioning as expected.

The warning in the GLassFish 3.x log is WARNING: PWC4011: Unable to set request character encoding to UTF-8 from context /web, because request parameters have already been read, or ServletRequest.getReader() has already been called.
I got rid of that warning after following the discussion on, still there was no change in the functionality.

Backbean Code

xhtml code

I will be grateful to someone who can detect the issue.
Thanks in advance.
I agree. Here's the link:
subject: PrimeFaces Not Working with GlassFish
It's not a secret anymore!