<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Im am really overwhelmed that I already got 3 messages from You!<br>Thanks for working that hard on my issue!!!<br><br>If I knew, that I would resolve the problem 20 minutes later, I would'nt have bothered you.<br>Means: I found the solution to that problem already:<br>You fix it by adding the following to the web.xml (if using the JSF RI):<br><br> <listener> <br> <listener-class>com.sun.faces.config.ConfigureListener</listener-class> <br> </listener><br><br>This listener seems to be a must for Tomcat 5.5.+ (Tomcat 5.0 did'nt need that at all.)<br><br>You fix it also by using MyFaces and uncommenting the following:<br>
<listener><br> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class><br> </listener><br><br>Thank's a lot. Keep going.<br>Best regards,<br><br>Juergen Melzer<br><br><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Gavin King (JIRA) <jira-events@lists.jboss.org><br>To: jbossseam-issues@lists.jboss.org<br>Sent: Monday, June 25, 2007 6:08:21 PM<br>Subject: [jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1000) Propagation of conversations with pageflow in testing environment.<br><br><div> [ <a target="_blank" href="http://jira.jboss.com/jira/browse/JBSEAM-1000?page=comments#action_12366684">http://jira.jboss.com/jira/browse/JBSEAM-1000?page=comments#action_12366684</a> ] <br> <br>Gavin
King commented on JBSEAM-1000:<br>------------------------------------<br><br>Would you please test this again, with current CVS, I believe it should work...<br><br>> Propagation of conversations with pageflow in testing environment.<br>> ------------------------------------------------------------------<br>><br>> Key: JBSEAM-1000<br>> URL: <a target="_blank" href="http://jira.jboss.com/jira/browse/JBSEAM-1000">http://jira.jboss.com/jira/browse/JBSEAM-1000</a><br>> Project: JBoss Seam<br>> Issue Type: Bug<br>> Components: Core<br>> Affects Versions:
1.2.0.GA<br>> Environment: windows 2000 jboss-4.0.5.GA<br>> Reporter: Denis Karpov<br>><br>> I think there is bug in testing environment (propagation of conversations with pageflow does not work)<br>> In this test there is 2 requests .<br>> In the first I start conversation and pageflow<br>> In the second conversation is lost.<br>> If I do not start pageflow then conversation propagates.<br>> Code:<br>> public class TOrdTest extends SeamTest{<br>> private static final Log log = LogFactory.getLog( TOrdTest.class );<br>> <br>> @Test<br>> public void Test1() throws Exception<br>> {<br>> String id = new
FacesRequest(){<br>> @Override<br>> protected void invokeApplication() throws Exception {<br>> Conversation.instance().begin();<br>> Pageflow.instance().begin("val_buy"); // uses start-state<br>> setOutcome("browse");<br>> log.info("##### 1 Conversation_ID "+ Conversation.instance().getId());<br>> assert
isLongRunningConversation();<br>> }<br>> @Override<br>> protected void renderResponse() throws Exception {<br>> }<br>> }.run();<br>> id = new FacesRequest("/exchange/buy_readonly.xhtml",id){<br>> @Override<br>> protected void beforeRequest()<br>> {<br>>
log.info("#####beforeRequest Conversation_ID "+ getConversationId());<br>> }<br>> @Override<br>> protected void applyRequestValues() throws Exception {<br>> log.info("##### 2 Conversation_ID "+ Conversation.instance().getId()+" "+getConversationId());<br>> }<br>> @Override<br>> protected void invokeApplication() throws Exception
{<br>> //Conversation.instance().beginNested();<br>> log.info("##### 3 Conversation_ID "+ Conversation.instance().getId()+" "+getConversationId());<br>> assert isLongRunningConversation();<br>> }<br>> }.run();<br>> }<br>> }<br>> <br><br>-- <br>This message is automatically generated by JIRA.<br>-<br>If you think it was sent incorrectly contact one of the administrators: <a target="_blank"
href="http://jira.jboss.com/jira/secure/Administrators.jspa">http://jira.jboss.com/jira/secure/Administrators.jspa</a><br>-<br>For more information on JIRA, see: <a target="_blank" href="http://www.atlassian.com/software/jira">http://www.atlassian.com/software/jira</a><br><br> <br>_______________________________________________<br>jbossseam-issues mailing list<br>jbossseam-issues@lists.jboss.org<br><a target="_blank" href="https://lists.jboss.org/mailman/listinfo/jbossseam-issues">https://lists.jboss.org/mailman/listinfo/jbossseam-issues</a><br></div></div><br></div></div><br>
<hr size=1>Luggage? GPS? Comic books? <br>
Check out fitting <a href="http://us.rd.yahoo.com/evt=48249/*http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz"> gifts for grads</a> at Yahoo! Search.</body></html>