Re: Problem with glassfish 3.1

Splash Forums PrettyFaces Users Problem with glassfish 3.1 Re: Problem with glassfish 3.1

#22006

Muhammad Alaa
Participant

Even with Mojarra 2.1.0? In this case it seems to be a Glassfish integration bug.

I have another idea for a workaround. Perhaps pretty-config.xml is parsed by Mojarra because it matches a pattern like *-config.xml (just like faces-config.xml). In this case you could rename /WEB-INF/pretty-config.xml to something like /WEB-INF/prettyfaces.xml and add the following entry to your web.xml:

<context-param>

<param-name>com.ocpsoft.pretty.CONFIG_FILES</param-name>

<param-value>/WEB-INF/prettyfaces.xml</param-value>

</context-param>

You could even try to change the file extension if this still doesn’t work. I know its a dirty workaround but perhaps it works! :)

I read your post and tried it before but still the same problem what should I do to use glassfish ?