Re: Prettyfaces causes wep app to hang

Splash Forums PrettyFaces Users Prettyfaces causes wep app to hang Re: Prettyfaces causes wep app to hang

#21222

zee
Participant

Yes, I use javax.faces.PROJECT_STAGE = Development. Changing it to Production does not make any difference.

The only way I can get the page to load normally is to either exclude prettyFace jar or set log levels to WARN in jboss.

The log files gets huge so I cannot post parts of them here, but there seems to be a bug in Pretty faces, it keeps trying to validate against rules (it says rules are under faces-config) and no rules were found.

If you want to reproduce this, you can simply use DEBUG or INFO modes for jboss root and file loggers. Make a simple a war that uses prettyConfig jar with one xhtml page. You should see how prettyFaces keeps validating against rules and processes rules XML elements multiple times.