[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1758) DocumentStorePhaseListener fails if installed before SeamPhaseListener when used in a portlet

Mike (JIRA) jira-events at lists.jboss.org
Mon Sep 17 13:29:10 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1758?page=comments#action_12377178 ] 
            
Mike commented on JBSEAM-1758:
------------------------------

Mhh I have exactly the same problem - I even don't need the PDF features (but without the pdf jar the portal doesn't respond at all).
I'm running JBOSS Portal 2.6.1-GA with richfaces 3.1.0 + portal-extensions + seam 2.0.0BETA1
How can I get this to work?
Is there any known workaround?
I didn't work by configuring the listeners in my own faces-config.xml :(

THX for your help!

CU Mike


> DocumentStorePhaseListener fails if installed before SeamPhaseListener when used in a portlet
> ---------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-1758
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1758
>             Project: JBoss Seam
>          Issue Type: Bug
>    Affects Versions: 2.0.0.BETA1
>            Reporter: Chris Rudd
>
> When the DocumentStorePhaseListener is installed  before the SeamPhaseListener (this can happend when the jboss-seam.jar sits in the ear, and the jboss-seam-pdf.jar sits in the war) in a portlet environment, a "No active application context" exception is thrown during Portlet.render. This is becaus the SeamPhaseListener hasn't had a chance to setup the Seam contexts yet.
> I would suggest changing the code so that it responds to the Phase events that the SeamPhaseListener publishes ( org.jboss.seam.beforePhase ) so that its guaranteed to be executed after the SeamPhaseListener has property set things up.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list