Re: Prettyfaces causes wep app to hang

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

#21228

zee
Participant

Christian, thanks for your help.

I don’t know if I can get a thread dump, the app is unusable in debug mode or when prettyfaces is on the classpath.

web.xml:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="3.0"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">

<session-config>
<session-timeout>30</session-timeout>
</session-config>

<listener>
<listener-class>base.ServletLoaderListner</listener-class>
</listener>

<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Development</param-value>
</context-param>

<!-- File upload settings -->
<context-param>
<param-name>org.richfaces.fileUpload.createTempFiles</param-name>
<param-value>false</param-value>
</context-param>

<context-param>
<param-name>org.richfaces.fileUpload.maxRequestSizes</param-name>
<param-value>2147483648</param-value>
</context-param>

<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>

<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>

<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.xhtml</url-pattern>
</servlet-mapping>

<welcome-file-list>
<welcome-file>/index.html</welcome-file>
</welcome-file-list>
</web-app>