11 Replies Latest reply on Oct 27, 2007 8:41 AM by a a

    To Gavin.King--how to start a conversation from pages.xml

    a a Novice

      Gavin.King:

      I have a question for long, and i read seam_reference at least 3 times but still do not find the answer. Please help me.

      The question is:
      I have an home page with two links:
      1)<s:link action="#{register.start}" value="Register" propagation="end"/>
      2)<s:link action="#{userSearching.start}" value="Users Info" propagation="end"/>

      When i push on them, old converstaion will stop[propagation="end"] and new CONVERSTAION-scoped conversation will start[XXX.start is annotated with @Begin].

      Now, i finish registeration with register.uploadPicture[ annotaed with @End] and hope to start the converstaion of "userSearching" by executing #{userSearching.start}, but pages.xm does not support to do so!!! How shall i do?


      <!-- registeration step1: set basic info -->
      <page view-id="/pages/sys/user/register.xhtml">
      <navigation from-action="#{register.register}">
      <rule if-outcome="FAILURE">
      <redirect view-id="/pages/sys/user/register.xhtml" />

      <rule if-outcome="SUCCESS">
      <redirect view-id="/pages/sys/user/setuserimg.xhtml" />




      <!-- registeration step2: set user picture and end the conversation. -->
      <page view-id="/pages/sys/user/setuserimg.xhtml">
      <navigation from-action="#{register.uploadPicture}">
      <!--
      =========== ********************===========
      I want to start userSearching conversation by executing "#{userSearching.start}" , but how???
      =========== ********************===========
      -->





      Session-scoped userSearching is heavy, so i use conversation-scoped conversation. I hope pages.xml can be set to start the userSearching conversation indirectly rather than to jump to userSearching page[usersinfo.xhtml] directly.

      NOTE:
      I want to query and delete user in userSearching conversation , but do nothing more--that is why i use it as a conversation-scoped stateful session bean.


      Now most things work perfect, but when i finish register user, jump to usersinfo.xhtml directly, and select one user to modify[ start other conversation:action="#{userModifying.selectObject(hot)}" ], NOW, this it will jump to debug.seam and tell me something wrong with conversation.


      I DO NOT think you need to read below codes, but i show them to make things clearer.
















      ********* register CONVERSATION************
      @Stateful
      @Name(value = "register")
      @Scope(ScopeType.CONVERSATION)
      public class RegisterAction implements RegisterItf {
      .....................
      @Factory("newUser")
      @Begin
      public void start() {
      newUser = new User();
      }
      @Destroy
      @Remove
      public void destroy() {
      }


      public String register() {
      if (this.checkCaptcha().equalsIgnoreCase("FAILURE")) {
      return "FAILURE";
      }else{
      return "SUCCESS";
      }


      }

      @End
      public void uploadPicture() {
      .............................
      }
      }//END OF CLASS






      ********* userSearching CONVERSATION ************
      @Stateful
      @Name("userSearching")
      @Scope(ScopeType.CONVERSATION)
      public class UserSearchingAction extends CommonSearchingAction implements UserSearchingItf {
      @DataModel
      private List queriedObjects;

      @Begin
      public void start() {
      // initialize queriedObjects
      }

      @Destroy
      @Remove
      public void destroy() {
      }

      @DataModelSelection
      @Out(required = false)
      private User selectedObject;

      public void delete() {
      //delete user here
      }
      }




      *********** usersinfo.xhtml begin******************
      <rich:dataTable id="dataTable_queriedObjects"
      value="#{queriedObjects}" var="hot"
      rendered="#{queriedObjects.rowCount>0}">
      <f:facet name="header">
      <rich:columnGroup>
      <h:column><h:outputText styleClass="headerText" value="username" /></h:column>

      <h:column><h:outputText styleClass="headerText" value="Action" /></h:column>
      </rich:columnGroup>
      </f:facet>

      <rich:columnGroup>
      <h:column>#{hot.username}</h:column>
      <h:column>
      <s:button value="Delete" action="#{userSearching.delete}"/>
      &#160;
      <s:button id="modifyObject" value="MOdify User" action="#{userModifying.selectObject(hot)}" propagation="end"/> </h:column>
      </rich:columnGroup>
      </rich:dataTable>
      *********** usersinfo.xhtml end******************





      Thanks and wait for your answer!


      Best regards.

        • 1. Re: To Gavin.King--how to start a conversation from pages.xm
          a a Novice

          Another question:
          I deployed My Seam project in My company's PC, it works well. But when i deployed it my home's PC, it shows:
          ******************************
          An Error Occurred:
          No active conversation context

          java.lang.IllegalStateException: No active conversation context
          at org.jboss.seam.core.Conversation.instance(Conversation.java:103)
          at org.jboss.seam.ui.component.UIConversationId.getName(UIConversationId.java:44)
          at org.jboss.seam.ui.util.ViewUrlBuilder.addParameter(ViewUrlBuilder.java:37)
          at org.jboss.seam.ui.component.UISeamCommandBase.getUrl(UISeamCommandBase.java:74)
          at org.jboss.seam.ui.renderkit.LinkRendererBase.doEncodeBegin(LinkRendererBase.java:26)
          at org.jboss.seam.ui.util.cdk.RendererBase.encodeBegin(RendererBase.java:79)
          at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788)
          at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:280)
          at org.richfaces.renderkit.html.ToolBarGroupRenderer.encodeChildren(ToolBarGroupRenderer.java:69)
          at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
          at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:282)
          at org.richfaces.renderkit.html.ToolBarRendererBase.encodeChildren(ToolBarRendererBase.java:81)
          at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
          at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
          at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
          at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
          at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
          at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
          at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
          at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
          at java.lang.Thread.run(Thread.java:595)

          ******************************

          But when i copy the whole JBoss4.2.1 with deployed seam project, sometimes it work, but sometimes it does not work!
          [Last night, the copy worked, but the ear file deployed in new installed JBoss4.2.1 did not work!] [Tonight all does not work.]

          CPU of my company's PC is 64bit and my home's is 32 bit.



          • 2. Re: To Gavin.King--how to start a conversation from pages.xm
            a a Novice

            I test and find that those erros is cause by the menu.xhtml:

            ************* this menu works***************
            <rich:toolBar
            xmlns="http://www.w3.org/1999/xhtml"
            xmlns:ui="http://java.sun.com/jsf/facelets"
            xmlns:h="http://java.sun.com/jsf/html"
            xmlns:f="http://java.sun.com/jsf/core"
            xmlns:s="http://jboss.com/products/seam/taglib"
            xmlns:rich="http://richfaces.ajax4jsf.org/rich">

            <rich:toolBarGroup location="right">
            <s:link view="/home.xhtml" action="#{identity.logout}" value="Logout" rendered="#{identity.loggedIn}"/>
            </rich:toolBarGroup>
            </rich:toolBar>



            ************* this menu DOES NOT work***************
            <rich:toolBar
            xmlns="http://www.w3.org/1999/xhtml"
            xmlns:ui="http://java.sun.com/jsf/facelets"
            xmlns:h="http://java.sun.com/jsf/html"
            xmlns:f="http://java.sun.com/jsf/core"
            xmlns:s="http://jboss.com/products/seam/taglib"
            xmlns:rich="http://richfaces.ajax4jsf.org/rich">

            <rich:toolBarGroup location="right">
            <s:link view="/login.xhtml" value="Login" rendered="#{not identity.loggedIn}"/>
            <s:link view="/home.xhtml" action="#{identity.logout}" value="Logout" rendered="#{identity.loggedIn}"/>
            </rich:toolBarGroup>
            </rich:toolBar>




            What is wrong with this link:
            <s:link view="/login.xhtml" value="Login" rendered="#{not identity.loggedIn}"/>

            ???????????????????????????????????

            • 3. Re: To Gavin.King--how to start a conversation from pages.xm
              a a Novice

              Obviously, erros is cause by this link:
              <s:link view="/login.xhtml" value="Login" rendered="#{not identity.loggedIn}"/>

              ==============>>>>>>>>>
              java.lang.IllegalStateException: No active conversation context
              at
              ..............................

              ~~~~~~~~~~Why???????????????????
              ~~~~~~~~~~Why???????????????????
              ~~~~~~~~~~Why???????????????????
              I use "seam-2.0.0-SNAPSHOT" in 2005.10.23.





              I removed all menuitems and new:
              <s:link action="#{register.start}" value="Register" propagation="end"/>
              I got the same error!!!But everything is ok in my company!!!!

              • 4. Re: To Gavin.King--how to start a conversation from pages.xm
                a a Novice

                The log shows there must be something wrong with seam:





                2007-10-27 00:32:42 WARN [org.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:101)] InitialContext did not implement EventContext
                2007-10-27 00:32:54 WARN [org.jboss.seam.init.Initialization.addSpecialComponents(Initialization.java:885)] Did not install PojoCache due to NoClassDefFoundError: org/jgroups/MembershipListener
                2007-10-27 00:33:19 ERROR [org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:189)] uncaught exception
                java.lang.RuntimeException: org.dom4j.DocumentException: Invalid byte 3 of 3-byte UTF-8 sequence. Nested exception: Invalid byte 3 of 3-byte UTF-8 sequence.
                at org.jboss.seam.navigation.Pages.getDocumentRoot(Pages.java:954)
                at org.jboss.seam.navigation.Pages.parse(Pages.java:912)
                at org.jboss.seam.navigation.Pages.initialize(Pages.java:108)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:585)
                at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
                at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
                at org.jboss.seam.Component.callComponentMethod(Component.java:2074)
                at org.jboss.seam.Component.callCreateMethod(Component.java:1997)
                at org.jboss.seam.Component.newInstance(Component.java:1968)
                at org.jboss.seam.Component.getInstance(Component.java:1865)
                at org.jboss.seam.Component.getInstance(Component.java:1844)
                at org.jboss.seam.Component.getInstance(Component.java:1821)
                at org.jboss.seam.Component.getInstance(Component.java:1816)
                at org.jboss.seam.navigation.Pages.instance(Pages.java:608)
                at org.jboss.seam.core.ConversationPropagation.restoreNaturalConversationId(ConversationPropagation.java:95)
                at org.jboss.seam.core.ConversationPropagation.restoreConversationId(ConversationPropagation.java:48)
                at org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:371)
                at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:211)
                at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:184)
                at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280)
                at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
                at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
                at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
                at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
                at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                at java.lang.Thread.run(Thread.java:595)
                Caused by: org.dom4j.DocumentException: Invalid byte 3 of 3-byte UTF-8 sequence. Nested exception: Invalid byte 3 of 3-byte UTF-8 sequence.
                at org.dom4j.io.SAXReader.read(SAXReader.java:484)
                at org.dom4j.io.SAXReader.read(SAXReader.java:343)
                at org.jboss.seam.util.XML.getRootElement(XML.java:21)
                at org.jboss.seam.navigation.Pages.getDocumentRoot(Pages.java:950)
                ... 61 more
                2007-10-27 00:33:19 ERROR [org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:196)] swallowing exception
                java.lang.RuntimeException: org.dom4j.DocumentException: Invalid byte 3 of 3-byte UTF-8 sequence. Nested exception: Invalid byte 3 of 3-byte UTF-8 sequence.
                at org.jboss.seam.navigation.Pages.getDocumentRoot(Pages.java:954)
                at org.jboss.seam.navigation.Pages.parse(Pages.java:912)
                at org.jboss.seam.navigation.Pages.initialize(Pages.java:108)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:585)
                at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
                at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
                at org.jboss.seam.Component.callComponentMethod(Component.java:2074)
                at org.jboss.seam.Component.callCreateMethod(Component.java:1997)
                at org.jboss.seam.Component.newInstance(Component.java:1968)
                at org.jboss.seam.Component.getInstance(Component.java:1865)
                at org.jboss.seam.Component.getInstance(Component.java:1844)
                at org.jboss.seam.Component.getInstance(Component.java:1821)
                at org.jboss.seam.Component.getInstance(Component.java:1816)
                at org.jboss.seam.navigation.Pages.instance(Pages.java:608)
                at org.jboss.seam.core.ConversationPropagation.restoreNaturalConversationId(ConversationPropagation.java:95)
                at org.jboss.seam.core.ConversationPropagation.restoreConversationId(ConversationPropagation.java:48)
                at org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:371)
                at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:211)
                at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:184)
                at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280)
                at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
                at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
                at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
                at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
                at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                at java.lang.Thread.run(Thread.java:595)
                Caused by: org.dom4j.DocumentException: Invalid byte 3 of 3-byte UTF-8 sequence. Nested exception: Invalid byte 3 of 3-byte UTF-8 sequence.
                at org.dom4j.io.SAXReader.read(SAXReader.java:484)
                at org.dom4j.io.SAXReader.read(SAXReader.java:343)
                at org.jboss.seam.util.XML.getRootElement(XML.java:21)
                at org.jboss.seam.navigation.Pages.getDocumentRoot(Pages.java:950)
                ... 61 more
                2007-10-27 00:33:19 ERROR [org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:122)] uncaught exception
                java.lang.IllegalStateException: No active conversation context
                at org.jboss.seam.faces.FacesMessages.instance(FacesMessages.java:440)
                at org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:467)
                at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:146)
                at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
                at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
                at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
                at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
                at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
                at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
                at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                at java.lang.Thread.run(Thread.java:595)
                2007-10-27 00:33:19 ERROR [org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:129)] swallowing exception
                java.lang.IllegalStateException: No active conversation context
                at org.jboss.seam.faces.FacesMessages.instance(FacesMessages.java:440)
                at org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:467)
                at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:146)
                at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
                at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
                at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
                at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
                at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
                at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
                at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                at java.lang.Thread.run(Thread.java:595)
                2007-10-27 00:33:22 ERROR [org.jboss.logging.util.LoggerStream.write(LoggerStream.java:152)] 2007-10-27 0:33:22 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                ??: Added Library from: jar:file:/D:/java/jboss-4.2.1.GA/server/default/deploy/ybxiang.ear/ybxiang.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml
                2007-10-27 00:33:22 ERROR [org.jboss.logging.util.LoggerStream.write(LoggerStream.java:152)] 2007-10-27 0:33:22 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                ??: Added Library from: jar:file:/D:/java/jboss-4.2.1.GA/server/default/deploy/ybxiang.ear/ybxiang.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml
                2007-10-27 00:33:22 ERROR [org.jboss.logging.util.LoggerStream.write(LoggerStream.java:152)] 2007-10-27 0:33:22 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                ??: Added Library from: jar:file:/D:/java/jboss-4.2.1.GA/server/default/deploy/ybxiang.ear/ybxiang.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml
                2007-10-27 00:33:22 ERROR [org.jboss.logging.util.LoggerStream.write(LoggerStream.java:152)] 2007-10-27 0:33:22 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                ??: Added Library from: jar:file:/D:/java/jboss-4.2.1.GA/server/default/deploy/ybxiang.ear/ybxiang.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
                2007-10-27 00:33:22 ERROR [org.jboss.logging.util.LoggerStream.write(LoggerStream.java:152)] 2007-10-27 0:33:22 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                ??: Added Library from: jar:file:/D:/java/jboss-4.2.1.GA/server/default/deploy/ybxiang.ear/ybxiang.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
                2007-10-27 00:33:22 ERROR [org.jboss.logging.util.LoggerStream.write(LoggerStream.java:152)] 2007-10-27 0:33:22 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                ??: Added Library from: jar:file:/D:/java/jboss-4.2.1.GA/server/default/deploy/ybxiang.ear/ybxiang.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
                2007-10-27 00:33:22 ERROR [org.jboss.logging.util.LoggerStream.write(LoggerStream.java:152)] 2007-10-27 0:33:22 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                ??: Added Library from: jar:file:/D:/java/jboss-4.2.1.GA/server/default/deploy/ybxiang.ear/ybxiang.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
                2007-10-27 00:33:22 ERROR [org.jboss.logging.util.LoggerStream.write(LoggerStream.java:152)] 2007-10-27 0:33:22 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                ??: Added Library from: jar:file:/D:/java/jboss-4.2.1.GA/server/default/deploy/ybxiang.ear/ybxiang.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
                2007-10-27 00:33:22 ERROR [org.jboss.logging.util.LoggerStream.write(LoggerStream.java:152)] 2007-10-27 0:33:22 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                ??: Added Library from: jar:file:/D:/java/jboss-4.2.1.GA/server/default/deploy/ybxiang.ear/ybxiang.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
                2007-10-27 00:33:22 ERROR [org.jboss.logging.util.LoggerStream.write(LoggerStream.java:152)] 2007-10-27 0:33:22 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                ??: Added Library from: jar:file:/D:/java/jboss-4.2.1.GA/server/default/deploy/ybxiang.ear/ybxiang.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
                2007-10-27 00:33:22 ERROR [org.jboss.logging.util.LoggerStream.write(LoggerStream.java:152)] 2007-10-27 0:33:22 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                ??: Added Library from: jar:file:/D:/java/jboss-4.2.1.GA/server/default/deploy/ybxiang.ear/ybxiang.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
                2007-10-27 00:33:22 ERROR [org.jboss.logging.util.LoggerStream.write(LoggerStream.java:152)] 2007-10-27 0:33:22 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                ??: Added Library from: jar:file:/D:/java/jboss-4.2.1.GA/server/default/deploy/ybxiang.ear/ybxiang.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
                2007-10-27 00:33:23 ERROR [org.jboss.logging.util.LoggerStream.write(LoggerStream.java:152)] 2007-10-27 0:33:23 com.sun.facelets.FaceletViewHandler handleRenderException
                ??: Error Rendering View[/home.xhtml]
                java.lang.IllegalStateException: No active conversation context
                at org.jboss.seam.core.Conversation.instance(Conversation.java:103)
                at org.jboss.seam.ui.component.UIConversationId.getName(UIConversationId.java:44)
                at org.jboss.seam.ui.util.ViewUrlBuilder.addParameter(ViewUrlBuilder.java:37)
                at org.jboss.seam.ui.component.UISeamCommandBase.getUrl(UISeamCommandBase.java:74)
                at org.jboss.seam.ui.renderkit.LinkRendererBase.doEncodeBegin(LinkRendererBase.java:26)
                at org.jboss.seam.ui.util.cdk.RendererBase.encodeBegin(RendererBase.java:79)
                at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788)
                at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:280)
                at org.richfaces.renderkit.html.ToolBarGroupRenderer.encodeChildren(ToolBarGroupRenderer.java:69)
                at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
                at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:282)
                at org.richfaces.renderkit.html.ToolBarRendererBase.encodeChildren(ToolBarRendererBase.java:81)
                at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
                at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
                at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
                at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
                at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
                at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
                at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
                at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
                at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
                at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
                at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
                at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
                at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                at java.lang.Thread.run(Thread.java:595)
                2007-10-27 00:33:23 ERROR [org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:189)] uncaught exception
                java.lang.IllegalStateException: No active conversation context
                at org.jboss.seam.core.Conversation.instance(Conversation.java:103)
                at org.jboss.seam.faces.FacesManager.prepareBackswitch(FacesManager.java:236)
                at org.jboss.seam.jsf.SeamPhaseListener.afterRenderResponse(SeamPhaseListener.java:487)
                at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:230)
                at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:184)
                at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280)
                at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
                at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
                at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
                at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
                at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                at java.lang.Thread.run(Thread.java:595)
                2007-10-27 00:33:23 ERROR [org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:196)] swallowing exception
                java.lang.IllegalStateException: No active conversation context
                at org.jboss.seam.core.Conversation.instance(Conversation.java:103)
                at org.jboss.seam.faces.FacesManager.prepareBackswitch(FacesManager.java:236)
                at org.jboss.seam.jsf.SeamPhaseListener.afterRenderResponse(SeamPhaseListener.java:487)
                at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:230)
                at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:184)
                at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280)
                at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
                at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
                at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
                at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
                at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
                at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                at java.lang.Thread.run(Thread.java:595)


                • 5. Re: To Gavin.King--how to start a conversation from pages.xm
                  a a Novice

                  org.dom4j.DocumentException: Invalid byte 3 of 3-byte UTF-8 sequence. Nested exception
                  ~~~~~~~~~~~~~~~~
                  Why everything is ok in my company??? Because of CPU??? Maybe!!!



                  2007-10-27 00:36:15 ERROR [org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:189)] uncaught exception
                  java.lang.RuntimeException: org.dom4j.DocumentException: Invalid byte 3 of 3-byte UTF-8 sequence. Nested exception: Invalid byte 3 of 3-byte UTF-8 sequence.
                  at org.jboss.seam.navigation.Pages.getDocumentRoot(Pages.java:954)
                  ...........................................

                  • 6. Re: To Gavin.King--how to start a conversation from pages.xm
                    Jason Long Master

                    Posting 6 times to the same topic in 40 minutes is not likely to get a response.

                    Obviously there is something wrong with you home setup.

                    • 7. Re: To Gavin.King--how to start a conversation from pages.xm
                      a a Novice

                       

                      "supernovasoftware.com" wrote:
                      Posting 6 times to the same topic in 40 minutes is not likely to get a response.

                      Obviously there is something wrong with you home setup.


                      I am afraid that i do not agree with you because i think i found the bug.
                      I reported this here:
                      http://jira.jboss.com/jira/browse/JBSEAM-2166


                      This bug cause by dom4j not my home setup.


                      • 8. Re: To Gavin.King--how to start a conversation from pages.xm
                        Devon Hillard Novice

                        I would rather think the issue is with the char set encoding differences between the English OS and the Chinese OS, given the error. Windows does not use unicode by default afaik (I don't use Windows myself). I suspect if you copy a non-unicode xhtml file from the english OS, the chinese OS will attempt to parse it perhaps using unicode, which would create a ton of garbage sequences. Or perhaps it's something else. However I suspect that OS language difference is the culprit.

                        Even if it were dom4j, that's not a Seam bug.

                        As a side note, just on forum etiquette, as Jason said, posting 6 times in 40 minutes isn't a good idea, also, try to keep your punctuation to a reasonable level. Tripling everything and using exclamation points everywhere make it sound like you're shouting non-stop.

                        • 9. Re: To Gavin.King--how to start a conversation from pages.xm
                          Devon Hillard Novice

                          Also, a simple Google for the UTF-8 sequence error shows several hits, with suggestions and information. It also further backs up my guess above. Please see this thread, and your own Google searches.

                          http://osdir.com/ml/java.ibatisdb.user/2005-04/msg00291.html

                          • 10. Re: To Gavin.King--how to start a conversation from pages.xm
                            a a Novice

                            You are completely right!!!

                            I tried many times and found by accident that the beginning of pages.xml is added with some unrecognized character!!! I re-wrote the beginning with "<?...", then the project is ok!!!

                            But everything is ok in English version OS.
                            I am really exhausted by those little things.

                            Thanks for your reply!!! It's very kind of you to explain those things in detail for me!!! Thanks again!!!




                            "modoc" wrote:
                            I would rather think the issue is with the char set encoding differences between the English OS and the Chinese OS, given the error. Windows does not use unicode by default afaik (I don't use Windows myself). I suspect if you copy a non-unicode xhtml file from the english OS, the chinese OS will attempt to parse it perhaps using unicode, which would create a ton of garbage sequences. Or perhaps it's something else. However I suspect that OS language difference is the culprit.

                            Even if it were dom4j, that's not a Seam bug.

                            As a side note, just on forum etiquette, as Jason said, posting 6 times in 40 minutes isn't a good idea, also, try to keep your punctuation to a reasonable level. Tripling everything and using exclamation points everywhere make it sound like you're shouting non-stop.


                            • 11. Re: To Gavin.King--how to start a conversation from pages.xm
                              a a Novice

                               

                              "modoc" wrote:


                              I suspect if you copy a non-unicode xhtml file from the english OS, the chinese OS will attempt to parse it perhaps using unicode, which would create a ton of garbage sequences. Or perhaps it's something else. However I suspect that OS language difference is the culprit.
                              ~~~~~Perfect explanation!!! Thanks!!!!


                              Even if it were dom4j, that's not a Seam bug.

                              As a side note, just on forum etiquette, as Jason said, posting 6 times in 40 minutes isn't a good idea.
                              ~~~~~I am really sorry for that and i'll change the bad matter.


                              also, try to keep your punctuation to a reasonable level.
                              ~~~~~Ok, I will try my best to learn english better and make things clearer. I wish i were an american, but i am a pity chinese. We common chinese have no chance to practice english. Please forgive us.

                              Tripling everything and using exclamation points everywhere make it sound like you're shouting non-stop.
                              ~~~~~You are right. I should ask questions with good manner.