Re: com.ocpsoft.pretty.PrettyException: Failed to load configuration

Splash Forums PrettyFaces Users com.ocpsoft.pretty.PrettyException: Failed to load configuration Re: com.ocpsoft.pretty.PrettyException: Failed to load configuration

#22403

Hey,

thank you very much for reporting this. I’ve never seen an error like this before. It looks like you are using Apache Tomcat, correct? Which version do you use? Actually I think this could be a Tomcat bug, because of the StringIndexOutOfBoundsException which is thrown from the Tomcat code.

Please note that this exception happens during automatic configuration reloading which happens in regular intervals to allow developers to modify the configuration without restarting the server.

If you don’t want to automatically reload the configuration, you could disable by setting this context parameter:

<context-param>
<param-name>com.ocpsoft.pretty.DEVELOPMENT</param-name>
<param-value>false</param-value>
</context-param>

Christian