[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1000) Propagation of conversations with pageflow in testing environment.

juergen melzer juergenmelzer at yahoo.com
Mon Jun 25 12:22:42 EDT 2007


Im am really overwhelmed that I already got 3 messages from You!
Thanks for working that hard on my issue!!!

If I knew, that I would resolve the problem 20 minutes later, I would'nt have bothered you.
Means: I found the solution to that problem already:
You fix it by adding the following to the web.xml (if using the JSF RI):

    <listener>  
        <listener-class>com.sun.faces.config.ConfigureListener</listener-class> 
    </listener>

This listener seems to be a must for Tomcat 5.5.+ (Tomcat 5.0 did'nt need that at all.)

You fix it also by using MyFaces and uncommenting the following:
    <listener>
        <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>

Thank's a lot. Keep going.
Best regards,

Juergen Melzer



----- Original Message ----
From: Gavin King (JIRA) <jira-events at lists.jboss.org>
To: jbossseam-issues at lists.jboss.org
Sent: Monday, June 25, 2007 6:08:21 PM
Subject: [jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1000) Propagation of conversations with pageflow in testing environment.

    [ http://jira.jboss.com/jira/browse/JBSEAM-1000?page=comments#action_12366684 ] 
            
Gavin King commented on JBSEAM-1000:
------------------------------------

Would you please test this again, with current CVS, I believe it should work...

> Propagation of conversations with pageflow in testing environment.
> ------------------------------------------------------------------
>
>                 Key: JBSEAM-1000
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1000
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.0.GA
>         Environment: windows 2000   jboss-4.0.5.GA
>            Reporter: Denis Karpov
>
> I think there is bug in testing environment (propagation of conversations with pageflow does not work)
> In this test there is 2 requests .
> In the first I start conversation and pageflow
> In the second conversation is lost.
> If I do not start pageflow then conversation propagates.
> Code:
> public class TOrdTest extends SeamTest{
>     private static final Log log = LogFactory.getLog( TOrdTest.class );
>     
>     @Test
>     public void Test1() throws Exception
>     {
>         String id = new FacesRequest(){
>             @Override
>             protected void invokeApplication() throws Exception {
>                 Conversation.instance().begin();
>                 Pageflow.instance().begin("val_buy");   // uses start-state
>                 setOutcome("browse");
>                 log.info("##### 1 Conversation_ID "+ Conversation.instance().getId());
>                 assert isLongRunningConversation();
>             }
>             @Override
>             protected void renderResponse() throws Exception {
>             }
>         }.run();
>         id = new FacesRequest("/exchange/buy_readonly.xhtml",id){
>             @Override
>             protected void beforeRequest()
>             {
>                 log.info("#####beforeRequest Conversation_ID "+ getConversationId());
>             }
>             @Override
>             protected void applyRequestValues() throws Exception {
>                 log.info("##### 2 Conversation_ID "+ Conversation.instance().getId()+"  "+getConversationId());
>             }
>             @Override
>             protected void invokeApplication() throws Exception {
>                 //Conversation.instance().beginNested();
>                 log.info("##### 3 Conversation_ID "+ Conversation.instance().getId()+"  "+getConversationId());
>                 assert isLongRunningConversation();
>             }
>         }.run();
>     }
> }
>     

-- 
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

        
_______________________________________________
jbossseam-issues mailing list
jbossseam-issues at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issues







       
____________________________________________________________________________________
Get the free Yahoo! toolbar and rest assured with the added security of spyware protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-issues/attachments/20070625/d55e8aab/attachment.html 


More information about the seam-issues mailing list