Re: PrettyFaces in EAR Applications

Splash Forums PrettyFaces Users PrettyFaces in EAR Applications Re: PrettyFaces in EAR Applications

#19858

I assume you are using version 1.2.6 (I think I remember you posting on the list earlier.)

Where are you bundling the prettyfaces.jar file? Is it in the EAR or in one of the WARs? If it’s in the EAR, I suggest moving it to the WAR, locally.

It sounds like a bug in PrettyFaces, because it should not be throwing a nullpointer if there’s no configuration.

As a temporary workaround, I’d suggest adding the PrettyFilter mapping to the other WARs, and possibly also add blank pretty-config.xml files if the filter mapping is not enough. That should ensure the nullpointer does not occur.

Until then, could you submit at issue here?

http://code.google.com/p/prettyfaces/issues/entry

Thanks,

Lincoln