<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-15"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Lincoln,<br>
    <br>
    I tried to exclude rewrite-integration-faces by adding:<br>
        &lt;dependency&gt;<br>
            &lt;groupId&gt;com.ocpsoft.rewrite&lt;/groupId&gt;<br>
           
    &lt;artifactId&gt;rewrite-integration-faces&lt;/artifactId&gt;<br>
            &lt;version&gt;1.0.0.Alpha4&lt;/version&gt;<br>
            &lt;scope&gt;provided&lt;/scope&gt;<br>
        &lt;/dependency&gt;<br>
    <br>
    Which gave the following list of jars:<br>
    <br>
    <a class="moz-txt-link-abbreviated" href="mailto:thomas@happy:~/java/jboss-as-7.0.1.Final/standalone/deployments">thomas@happy:~/java/jboss-as-7.0.1.Final/standalone/deployments</a>&gt;
    ls myapp.war/WEB-INF/lib/<br>
    common-api-1.0.0.Final.jar         
    metawidget-core-1.30.jar                               
    metawidget-jpa-1.30.jar               
    seam-persistence-3.0.0.Final.jar<br>
    jboss-logging-3.0.0.Beta4.jar      
    metawidget-faces-1.30.jar                              
    rewrite-api-1.0.0.Alpha4.jar           seam-solder-3.0.0.CR4.jar<br>
    logging-api-1.0.0.Final.jar        
    metawidget-facesannotation-1.30.jar                    
    rewrite-api-servlet-1.0.0.Alpha4.jar<br>
    metawidget-annotation-1.30.jar     
    metawidget-forge-scaffold-1.0.0-20110929.230305-33.jar 
    rewrite-impl-config-1.0.0.Alpha4.jar<br>
    metawidget-beanvalidation-1.30.jar 
    metawidget-java5-1.30.jar                              
    rewrite-impl-servlet-1.0.0.Alpha4.jar<br>
    <br>
    Unfortunately the problem persists.<br>
    Caused by: java.lang.IllegalStateException: Context is already
    active<br>
            at
    org.jboss.weld.context.AbstractConversationContext.activate(AbstractConversationContext.java:311)
    [weld-core-1.1.2.Final.jar:2011-07-26 15:02]<br>
    .....<br>
            at
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
    [jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]<br>
    <br>
    <br>
    Then I tried to build a new app using Forge 1.0.0.Beta3.<br>
    Now I get the following Exception when installing the prettyfaces
    plugin:<br>
    <br>
    -------------------------------------------------------<br>
     T E S T S<br>
    -------------------------------------------------------<br>
    Running com.ocpsoft.forge.prettyfaces.PrettyFacesPluginTest<br>
       ____                          _____                    <br>
    ***ERROR*** Exception encountered: [Error: unable to invoke method:
    shell]<br>
    [Near : {... \"");shell("echo \"  / ___|  ___ ....}]<br>
                     ^<br>
    [Line: 1, Column: 91] (type "set VERBOSE true" to enable stack
    traces)<br>
     ? Use [/tmp/abstractshelltest6239016799597012883.tmp/test] as
    project directory? [Y/n] <br>
    ***SUCCESS*** Created project [test] in new working directory
    [/tmp/abstractshelltest6239016799597012883.tmp/test]<br>
    Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed:
    31.258 sec &lt;&lt;&lt; FAILURE!<br>
    <br>
    Results :<br>
    <br>
    Tests in error: <br>
     
    testInstallPrettyfaces(com.ocpsoft.forge.prettyfaces.PrettyFacesPluginTest):
org.jboss.forge.shell.events.CommandExecuted.&lt;init&gt;(Lorg/jboss/forge/shell/events/CommandExecuted$Status;Lorg/jboss/forge/shell/command/CommandMetadata;)V<br>
      testAutoMap(com.ocpsoft.forge.prettyfaces.PrettyFacesPluginTest):
    java.lang.IllegalStateException: Context is already active<br>
      testAutoMap(com.ocpsoft.forge.prettyfaces.PrettyFacesPluginTest):
    java.lang.IllegalStateException: Unable to load current
    conversations from the associated request, something went badly
    wrong when associate() was called<br>
     
    testListenToEventPlainHtmlWithJSFInstalled(com.ocpsoft.forge.prettyfaces.PrettyFacesPluginTest):
    java.lang.IllegalStateException: Context is already active<br>
     
    testListenToEventPlainHtmlWithJSFInstalled(com.ocpsoft.forge.prettyfaces.PrettyFacesPluginTest):
    java.lang.IllegalStateException: Unable to load current
    conversations from the associated request, something went badly
    wrong when associate() was called<br>
      testRegex(com.ocpsoft.forge.prettyfaces.PrettyFacesPluginTest):
    java.lang.IllegalStateException: Context is already active<br>
      testRegex(com.ocpsoft.forge.prettyfaces.PrettyFacesPluginTest):
    java.lang.IllegalStateException: Unable to load current
    conversations from the associated request, something went badly
    wrong when associate() was called<br>
    <br>
    <br>
    Am 30.09.2011 20:25, schrieb Lincoln Baxter, III:
    <blockquote
cite="mid:CAEp_U4G5zqYNoh8z1M=hbi7jc4hC8T=9zP1f-vMOwSm_aDVP-Q@mail.gmail.com"
      type="cite">Try removing the Rewrite Faces Integration (you'll
      need to add an exclusion to your POM.)<br>
      <br>
      <div class="gmail_quote">On Fri, Sep 30, 2011 at 2:20 AM, Lincoln
        Baxter, III <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <p>Will take a look at this in the morning. Could you please
            email the users list when asking questions? This way
            everyone can benefit front the answers. Thanks!</p>
          <p>--<font color="#888888"><br>
              Lincoln Baxter's Droid<br>
              <a moz-do-not-send="true" href="http://ocpsoft.com"
                target="_blank">http://ocpsoft.com</a><br>
              "Keep it Simple"</font></p>
          <div>
            <div class="h5">
              <div class="gmail_quote">On Sep 30, 2011 2:17 AM, "Thomas
                Frühbeck" &lt;<a moz-do-not-send="true"
                  href="mailto:fruehbeck@aon.at" target="_blank">fruehbeck@aon.at</a>&gt;
                wrote:<br type="attribution">
                &gt; Hi Lincoln,<br>
                &gt; <br>
                &gt; when trying to create an entity I get the "Context
                already active" <br>
                &gt; exception:<br>
                &gt; <br>
                &gt; Caused by: java.lang.IllegalStateException: Context
                is already active<br>
                &gt; at <br>
                &gt;
                org.jboss.weld.context.AbstractConversationContext.activate(AbstractConversationContext.java:311)
                <br>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
    </blockquote>
  </body>
</html>