[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3450) IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
Daniel Roth (JIRA)
jira-events at lists.jboss.org
Thu Sep 25 13:46:20 EDT 2008
[ https://jira.jboss.org/jira/browse/JBSEAM-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12431226#action_12431226 ]
Daniel Roth commented on JBSEAM-3450:
-------------------------------------
Well, you can't really tell if anything is rendered, right?
I used the following code to test:
public void renderTest()
{
System.out.println("Getting ready to render file");
renderer.render("/repeat.xhtml");
Object data = Contexts.getEventContext().get("exp");
System.out.println("Back from render");
}
and in repeat.xml I added an exportKey (not yet documented)
<e:workbook type="jxl" exportKey="exp">
Step your code and look what data looks like... I got a DocumentData object with a byte[] as data, which is the actual excel file.
> IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBSEAM-3450
> URL: https://jira.jboss.org/jira/browse/JBSEAM-3450
> Project: Seam
> Issue Type: Bug
> Affects Versions: 2.1.0.BETA1
> Environment: JBoss AS 4.2.2.GA, Seam 2.1.0-BETA1 and SNAPSHOTS
> Reporter: Robert Morse
> Priority: Critical
> Fix For: 2.1.0.GA
>
>
> Seam component attempting to render an Excel xhtml page, throws the above exception. The identical configuration works under Seam 2.0.x. This also appears to happen when attempting to render a mail .xhtml page as well. Please see:
> http://seamframework.org/Community/SeamMailAgain for a full stack trace. I'm attempting to create small example that demonstrates this error, but I have no estimate when I'll have that done. In the mean time, if there are suggestions for a work around or a fix, I'll be more than happy to try it out.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list