8 Replies Latest reply on Apr 21, 2009 9:13 PM by Brandon Simpson

    Seam 2.1.2.CR1 - Extending Identity problem

    jeremy girard Newbie

      Hi,


      I tried to upgrade my app from Seam 2.0.2.SP1 to 2.1.2.CR1.
      After solving some compilation issues (error and warning), i tried to run on jboss 4.2.2.GA


      My app is made of 1 EAR with 1 EJB-JAR and 2 WAR.


      One of the Webapp seams to work fine but for the other impossible to load a single page.


      Always the same error :



      Caused by: java.lang.IllegalArgumentException: value of context variable is not an instance of the component bound to the context variable: org.jboss.seam.security.identity. If you are using hot deploy, you may have attempted to hot deploy a session or application-scoped component definition while using an old instance in the session.
           at org.jboss.seam.Component.getInstance(Component.java:2037)
           at org.jboss.seam.Component.getInstance(Component.java:1983)
           at org.jboss.seam.Component.getInstance(Component.java:1977)
           at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)



      MyIdentity is well formed based on Seam Doc.


      What is weird is that both my webapp used the same pattern for extending identity and one of then works.


      I don't know were to find an issue thanks in advance for your help.


      Regards,