Strange, sorry. I am headed out to JavaOne for the week so I might not be able to look at this for a bit. There was a bug in PrettyFaces 3.3.1-SNAPSHOT that caused ContextAlreadyActive, but it doesn&#39;t look like you are using PrettyFaces? (We just fixed that bug, new snapshots should work.)<br>
<br>~Lincoln<br><br><div class="gmail_quote">On Fri, Sep 30, 2011 at 5:22 PM, Thomas Frühbeck <span dir="ltr">&lt;<a href="mailto:fruehbeck@aon.at">fruehbeck@aon.at</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<u></u>

  
    
  
  <div 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 href="mailto:thomas@happy:%7E/java/jboss-as-7.0.1.Final/standalone/deployments" target="_blank">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.<div class="im"><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></div>
    .....<div class="im"><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></div>
    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 : {... \&quot;&quot;);shell(&quot;echo \&quot;  / ___|  ___ ....}]<br>
                     ^<br>
    [Line: 1, Column: 91] (type &quot;set VERBOSE true&quot; 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:
    <div class="im"><blockquote type="cite">Try removing the Rewrite Faces Integration (you&#39;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 href="mailto:lincolnbaxter@gmail.com" target="_blank">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&#39;s Droid<br>
              <a href="http://ocpsoft.com" target="_blank">http://ocpsoft.com</a><br>
              &quot;Keep it Simple&quot;</font></p>
          <div>
            <div>
              <div class="gmail_quote">On Sep 30, 2011 2:17 AM, &quot;Thomas
                Frühbeck&quot; &lt;<a 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 &quot;Context
                already active&quot; <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>
  </div></div>

<br>_______________________________________________<br>
forge-users mailing list<br>
<a href="mailto:forge-users@lists.jboss.org">forge-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-users" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com">http://ocpsoft.com</a><br><a href="http://scrumshark.com">http://scrumshark.com</a><br>&quot;Keep it Simple&quot;<br>