Re: Prettyfaces causes wep app to hang

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

#21237

timolive052
Member

-Hi,

In my struggles with JSF and Jboss AS 7, I ecountered this issue.

Enviroment: Linux. JDK 1.7.0_05. Jboss AS 7.1.1.Final

During application start Pretty faces freeze jboss for over 1m, and automatic deployment fails.

I tried adding above code snippets to web.xml, also created empty pretty-config.xml (only with schema).

I can confirm that detailed logging (DEBUG) causes deployment timeout, that in jboss console log looks like this:

07:36:10,275 INFO [com.ocpsoft.pretty.PrettyFilter] (MSC service thread 1-2) PrettyFilter starting up…

07:36:30,427 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads – 2) Operation (“add”) failed – address: ([(“deployment” => “forum.view-jboss.v.0.1.2-SNAPSHOT-2013.01.16-0812.war”)]) – failure description: “Operation cancelled asynchronously”

07:36:30,469 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads – 1) JBAS015052: Did not receive a response to the deployment operation within the allowed timeout period [60 seconds]. Check the server configuration file and the server logs to find more about the status of the deployment.

<string>07:37:45,814 INFO [com.ocpsoft.pretty.PrettyFilter] (MSC service thread 1-2) PrettyFilter initialized.