You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 22 Members of 4546 |
| Forum: Seam Users |
04. Oct 2008, 13:27 CET | Link |
After upgrading from 2.0.1.CR1 to 2.1.0.CR1, I noted the following exception when hot deploying an application to JBoss 4.2.2.GA.
WARN [lifecycle] JSF1053: (Listener: org.jboss.seam.pdf.DocumentStorePhaseListener.beforePhase(), Phase ID: RENDER_RESPONSE 6, View ID: /index.xhtml) Exception thrown during phase-listener execution: java.lang.IllegalStateException: No application context active
This problem does not occur when JBoss is first started and the application deployed successfully. I have tried to include and exclude seam pdf support but the problem is still not resolved. Anyone has come across with similar problem with the latest release? Thanks.
Can you post the full log for the redeploy and the whole of the stack trace
Read about how to report a bug.
Here they are. Thanks.
Try actually updating the jboss-seam-pdf.jar as well.
Read about how to report a bug.
jboss-seam-pdf.jar in the deployed WAR-file/WEB-INF/lib is version 2.1.0.CR1.
I have also tried to remove jboss-seam-pdf.jar but the problem still appear after redeployment of the application.
The redeployment is actually completed successfully (without warning and error messages). The exception is throw when trying to access index.xhtml (which is a simple login form using Credentials and Identity components) or any .xhtml pages.
Well, then check elsewhere, that stack trace references classes which aren't present in 2.1.0.CR1
Read about how to report a bug.
Pete,
thank you for pointing out the discrepancy in classes from the stack trace. After cleaning up JBoss AS, the problem is resolved. Sorry for the false alarm. Thanks again.