0 Replies Latest reply on Apr 15, 2010 1:16 AM by Sundeep Kadakia

    annotation @UserPrincipal not recognized in JBoss 6.0 M2

    Sundeep Kadakia Newbie
      Configuration:

      JBoss 6.0 M2
      Seam 2.2.1.CR1
      JSF 1.2

      I am using JBoss provided persistence and Entity is shared between JBoss and Seam.

      Here is the error I am getting while accessing Sign In screen while using IdentityManager:

      .....
      Caused by: org.jboss.seam.security.management.IdentityManagementException: Invalid userClass com.atindiamall.ejb.entity.biz.User - required annotation @UserPrincipal not found on any Field or Method.

      I have followed every step by the book, have all necessary annotations in place and components.xml file also has correct definittions.

      It looks like a problem with JBoss 6.0 M2, if you know, please advise what needs to be done.

      User.java file:

      package com.atindiamall.ejb.entity.biz;

      import java.io.Serializable;
      import java.util.Date;
      import java.util.Set;

      import javax.persistence.*;

      import org.hibernate.validator.NotNull;
      import org.jboss.seam.annotations.security.management.UserEnabled;
      import org.jboss.seam.annotations.security.management.UserPassword;
      import org.jboss.seam.annotations.security.management.UserPrincipal;
      import org.jboss.seam.annotations.security.management.UserRoles;
      import org.jboss.seam.annotations.security.management.UserFirstName;
      import org.jboss.seam.annotations.security.management.UserLastName;

      /**
      * User.java
      *
      */
      @Entity
      @Table(name="users", uniqueConstraints = @UniqueConstraint(columnNames = "loginEmail"))
      public class User implements Serializable
      {
              private static final long serialVersionUID = 7522574264557894639L;

              private int userId;
              public String loginEmail;
              private String password;
              private String firstName;
              private String lastName;
              private String middleName;
              private Date cDate;
              private Date mDate;
              private Set<Role> roles;
              private boolean enabled;
             
      |        /**
               * @return the loginEmail
               */
              @UserPrincipal
              @Column(name = "loginEmail", unique = true)
              public String getLoginEmail() {
                      return loginEmail;
              }|


              /**
               * @param loginEmail the loginEmail to set
               */
              @UserPrincipal public void setLoginEmail(String loginEmail) {
                      this.loginEmail = loginEmail;
              }
             
              /**
               * @return the cDate
               */
              public Date getCDate() {
                      return cDate;
              }


              /**
               * @param date the cDate to set
               */
              public void setCDate(Date date) {
                      cDate = date;
              }


              /**
               * @return the firstName
               */
              @UserFirstName
              public String getFirstName() {
                      return firstName;
              }


              /**
               * @param firstName the firstName to set
               */
              public void setFirstName(String firstName) {
                      this.firstName = firstName;
              }


              /**
               * @return the lastName
               */
              @UserLastName
              public String getLastName() {
                      return lastName;
              }


              /**
               * @param lastName the lastName to set
               */
              public void setLastName(String lastName) {
                      this.lastName = lastName;
              }

              /**
               * @return the mDate
               */
              public Date getMDate() {
                      return mDate;
              }


              /**
               * @param date the mDate to set
               */
              public void setMDate(Date date) {
                      mDate = date;
              }


              /**
               * @return the middleName
               */
              public String getMiddleName() {
                      return middleName;
              }


              /**
               * @param middleName the middleName to set
               */
              public void setMiddleName(String middleName) {
                      this.middleName = middleName;
              }


              /**
               * @return the password
               */
              @UserPassword(hash = "sha")
              public String getPassword() {
                      return password;
              }


              /**
               * @param password the password to set
               */
              public void setPassword(String password) {
                      this.password = password;
              }


              /**
               * @return the userId
               */
              @Id
              @GeneratedValue
              public int getUserId() {
                      return userId;
              }


              /**
               * @param userId the userId to set
               */
              public void setUserId(int userId) {
                      this.userId = userId;
              }

              @UserRoles
                @ManyToMany(targetEntity = Role.class)
                @JoinTable(name = "userroles",
                  joinColumns = @JoinColumn(name = "userid"),
                  inverseJoinColumns = @JoinColumn(name = "roleid"))
                public Set<Role> getRoles() { return roles; }
                public void setRoles(Set<Role> roles) { this.roles = roles; }

              /* (non-Javadoc)
               * @see java.lang.Object#toString()
               */
                /*
              @Override
              public String toString() {
                      // TODO Auto-generated method stub
                      return super.toString();
              }
              */
              @UserEnabled
                public boolean isEnabled() { return this.enabled; }
                public void setEnabled(boolean enabled) { this.enabled = enabled; }

      }
      complete stacktrace:

      15:55:19,126 SEVERE [facelets.viewhandler] Error Rendering View[/member/login.xhtml]: javax.el.ELException: org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.security.identityManager
              at javax.el.BeanELResolver.getValue(BeanELResolver.java:307)
              at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
              at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
              at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
              at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
              at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
              at com.sun.facelets.el.ELText$ELTextVariable.toString(ELText.java:174)
              at com.sun.facelets.el.ELText$ELTextComposite.toString(ELText.java:115)
              at com.sun.facelets.compiler.CommentInstruction.write(CommentInstruction.java:38)
              at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
              at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:285)
              at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:106)
              at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
              at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:287)
              at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185)
              at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129)
              at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
              at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:287)
              at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185)
              at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129)
              at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
              at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
              at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
              at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:287)
              at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185)
              at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129)
              at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
              at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:594)
              at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
              at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
              at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
              at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:336)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:530)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
              at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
              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:45)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
              at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
              at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
              at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
              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:274)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
              at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:504)
              at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:436)
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
              at java.lang.Thread.run(Thread.java:637)
      Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.security.identityManager
              at org.jboss.seam.Component.newInstance(Component.java:2156)
              at org.jboss.seam.Component.getInstance(Component.java:2021)
              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)
              at org.jboss.seam.Component.getInstanceInAllNamespaces(Component.java:2374)
              at org.jboss.seam.Component.getValueToInject(Component.java:2313)
              at org.jboss.seam.Component.injectAttributes(Component.java:1736)
              at org.jboss.seam.Component.inject(Component.java:1554)
              at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:61)
              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
              at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
              at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
              at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
              at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
              at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
              at com.atindiamall.jsf.LoginBB_$$_javassist_seam_5.getUserEmail(LoginBB_$$_javassist_seam_5.java)
              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:597)
              at javax.el.BeanELResolver.getValue(BeanELResolver.java:302)
              ... 76 more
      Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.security.identityStore
              at org.jboss.seam.Component.newInstance(Component.java:2156)
              at org.jboss.seam.Component.getInstance(Component.java:2021)
              at org.jboss.seam.Component.getInstance(Component.java:1983)
              at org.jboss.seam.Component.getInstance(Component.java:1977)
              at org.jboss.seam.Component.getInstance(Component.java:1957)
              at org.jboss.seam.security.management.IdentityManager.initIdentityStore(IdentityManager.java:59)
              at org.jboss.seam.security.management.IdentityManager.create(IdentityManager.java:51)
              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:597)
              at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
              at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
              at org.jboss.seam.Component.callComponentMethod(Component.java:2261)
              at org.jboss.seam.Component.callCreateMethod(Component.java:2184)
              at org.jboss.seam.Component.newInstance(Component.java:2144)
              ... 99 more
      Caused by: org.jboss.seam.security.management.IdentityManagementException: Invalid userClass com.atindiamall.ejb.entity.biz.User - required annotation @UserPrincipal not found on any Field or Method.
              at org.jboss.seam.security.management.JpaIdentityStore.initProperties(JpaIdentityStore.java:141)
              at org.jboss.seam.security.management.JpaIdentityStore.init(JpaIdentityStore.java:126)
              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:597)
              at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
              at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
              at org.jboss.seam.Component.callComponentMethod(Component.java:2261)
              at org.jboss.seam.Component.callCreateMethod(Component.java:2184)
              at org.jboss.seam.Component.newInstance(Component.java:2144)
              ... 114 more

      15:55:19,209 ERROR [STDERR] 10/04/14 15:55:19 ERROR exception.Exceptions: handled and logged exception
      15:55:19,209 ERROR [STDERR] javax.servlet.ServletException: Could not instantiate Seam component: org.jboss.seam.security.identityManager
      15:55:19,209 ERROR [STDERR]     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)
      15:55:19,209 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:336)
      15:55:19,210 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
      15:55:19,210 ERROR [STDERR]     at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:530)
      15:55:19,210 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
      15:55:19,211 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
      15:55:19,211 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      15:55:19,211 ERROR [STDERR]     at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
      15:55:19,212 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      15:55:19,212 ERROR [STDERR]     at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
      15:55:19,212 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      15:55:19,213 ERROR [STDERR]     at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      15:55:19,213 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      15:55:19,213 ERROR [STDERR]     at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
      15:55:19,213 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      15:55:19,214 ERROR [STDERR]     at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
      15:55:19,214 ERROR [STDERR]     at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
      15:55:19,214 ERROR [STDERR]     at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
      15:55:19,214 ERROR [STDERR]     at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
      15:55:19,215 ERROR [STDERR]     at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
      15:55:19,215 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      15:55:19,215 ERROR [STDERR]     at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
      15:55:19,215 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      15:55:19,216 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      15:55:19,216 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
      15:55:19,216 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
      15:55:19,216 ERROR [STDERR]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
      15:55:19,217 ERROR [STDERR]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      15:55:19,217 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
      15:55:19,217 ERROR [STDERR]     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
      15:55:19,219 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      15:55:19,223 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      15:55:19,225 ERROR [STDERR]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      15:55:19,226 ERROR [STDERR]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      15:55:19,226 ERROR [STDERR]     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      15:55:19,226 ERROR [STDERR]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      15:55:19,227 ERROR [STDERR]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
      15:55:19,227 ERROR [STDERR]     at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:504)
      15:55:19,227 ERROR [STDERR]     at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:436)
      15:55:19,229 ERROR [STDERR]     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
      15:55:19,229 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:637)
      15:55:19,229 ERROR [STDERR] Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.security.identityManager
      15:55:19,230 ERROR [STDERR]     at org.jboss.seam.Component.newInstance(Component.java:2156)
      15:55:19,230 ERROR [STDERR]     at org.jboss.seam.Component.getInstance(Component.java:2021)
      15:55:19,230 ERROR [STDERR]     at org.jboss.seam.Component.getInstance(Component.java:1983)
      15:55:19,230 ERROR [STDERR]     at org.jboss.seam.Component.getInstance(Component.java:1977)
      15:55:19,231 ERROR [STDERR]     at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
      15:55:19,231 ERROR [STDERR]     at org.jboss.seam.Component.getInstanceInAllNamespaces(Component.java:2374)
      15:55:19,231 ERROR [STDERR]     at org.jboss.seam.Component.getValueToInject(Component.java:2313)
      15:55:19,232 ERROR [STDERR]     at org.jboss.seam.Component.injectAttributes(Component.java:1736)
      15:55:19,232 ERROR [STDERR]     at org.jboss.seam.Component.inject(Component.java:1554)
      15:55:19,232 ERROR [STDERR]     at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:61)
      15:55:19,233 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      15:55:19,233 ERROR [STDERR]     at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
      15:55:19,233 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      15:55:19,233 ERROR [STDERR]     at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
      15:55:19,234 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      15:55:19,234 ERROR [STDERR]     at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
      15:55:19,235 ERROR [STDERR]     at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
      15:55:19,235 ERROR [STDERR]     at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
      15:55:19,236 ERROR [STDERR]     at com.atindiamall.jsf.LoginBB_$$_javassist_seam_5.getUserEmail(LoginBB_$$_javassist_seam_5.java)
      15:55:19,236 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      15:55:19,236 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      15:55:19,236 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      15:55:19,237 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
      15:55:19,237 ERROR [STDERR]     at javax.el.BeanELResolver.getValue(BeanELResolver.java:302)
      15:55:19,237 ERROR [STDERR]     at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
      15:55:19,237 ERROR [STDERR]     at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
      15:55:19,238 ERROR [STDERR]     at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
      15:55:19,238 ERROR [STDERR]     at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
      15:55:19,238 ERROR [STDERR]     at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      15:55:19,239 ERROR [STDERR]     at com.sun.facelets.el.ELText$ELTextVariable.toString(ELText.java:174)
      15:55:19,239 ERROR [STDERR]     at com.sun.facelets.el.ELText$ELTextComposite.toString(ELText.java:115)
      15:55:19,239 ERROR [STDERR]     at com.sun.facelets.compiler.CommentInstruction.write(CommentInstruction.java:38)
      15:55:19,240 ERROR [STDERR]     at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
      15:55:19,240 ERROR [STDERR]     at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:285)
      15:55:19,240 ERROR [STDERR]     at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:106)
      15:55:19,241 ERROR [STDERR]     at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
      15:55:19,241 ERROR [STDERR]     at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:287)
      15:55:19,241 ERROR [STDERR]     at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185)
      15:55:19,242 ERROR [STDERR]     at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129)
      15:55:19,242 ERROR [STDERR]     at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
      15:55:19,242 ERROR [STDERR]     at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:287)
      15:55:19,242 ERROR [STDERR]     at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185)
      15:55:19,243 ERROR [STDERR]     at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129)
      15:55:19,243 ERROR [STDERR]     at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
      15:55:19,248 ERROR [STDERR]     at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
      15:55:19,248 ERROR [STDERR]     at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
      15:55:19,248 ERROR [STDERR]     at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
      15:55:19,248 ERROR [STDERR]     at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:287)
      15:55:19,249 ERROR [STDERR]     at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185)
      15:55:19,249 ERROR [STDERR]     at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129)
      15:55:19,249 ERROR [STDERR]     at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
      15:55:19,249 ERROR [STDERR]     at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
      15:55:19,250 ERROR [STDERR]     at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
      15:55:19,261 ERROR [STDERR]     at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:594)
      15:55:19,261 ERROR [STDERR]     at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
      15:55:19,262 ERROR [STDERR]     at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
      15:55:19,263 ERROR [STDERR]     at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
      15:55:19,263 ERROR [STDERR]     at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      15:55:19,263 ERROR [STDERR]     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      15:55:19,264 ERROR [STDERR]     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
      15:55:19,264 ERROR [STDERR]     ... 40 more
      15:55:19,264 ERROR [STDERR] Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.security.identityStore
      15:55:19,264 ERROR [STDERR]     at org.jboss.seam.Component.newInstance(Component.java:2156)
      15:55:19,292 ERROR [STDERR]     at org.jboss.seam.Component.getInstance(Component.java:2021)
      15:55:19,292 ERROR [STDERR]     at org.jboss.seam.Component.getInstance(Component.java:1983)
      15:55:19,292 ERROR [STDERR]     at org.jboss.seam.Component.getInstance(Component.java:1977)
      15:55:19,293 ERROR [STDERR]     at org.jboss.seam.Component.getInstance(Component.java:1957)
      15:55:19,294 ERROR [STDERR]     at org.jboss.seam.security.management.IdentityManager.initIdentityStore(IdentityManager.java:59)
      15:55:19,294 ERROR [STDERR]     at org.jboss.seam.security.management.IdentityManager.create(IdentityManager.java:51)
      15:55:19,294 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      15:55:19,305 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      15:55:19,306 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      15:55:19,306 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
      15:55:19,306 ERROR [STDERR]     at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
      15:55:19,306 ERROR [STDERR]     at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
      15:55:19,307 ERROR [STDERR]     at org.jboss.seam.Component.callComponentMethod(Component.java:2261)
      15:55:19,307 ERROR [STDERR]     at org.jboss.seam.Component.callCreateMethod(Component.java:2184)
      15:55:19,307 ERROR [STDERR]     at org.jboss.seam.Component.newInstance(Component.java:2144)
      15:55:19,307 ERROR [STDERR]     ... 99 more
      15:55:19,310 ERROR [STDERR] Caused by: org.jboss.seam.security.management.IdentityManagementException: Invalid userClass com.atindiamall.ejb.entity.biz.User - required annotation @UserPrincipal not found on any Field or Method.
      15:55:19,310 ERROR [STDERR]     at org.jboss.seam.security.management.JpaIdentityStore.initProperties(JpaIdentityStore.java:141)
      15:55:19,311 ERROR [STDERR]     at org.jboss.seam.security.management.JpaIdentityStore.init(JpaIdentityStore.java:126)
      15:55:19,311 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      15:55:19,311 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      15:55:19,311 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      15:55:19,312 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
      15:55:19,312 ERROR [STDERR]     at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
      15:55:19,312 ERROR [STDERR]     at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
      15:55:19,313 ERROR [STDERR]     at org.jboss.seam.Component.callComponentMethod(Component.java:2261)
      15:55:19,313 ERROR [STDERR]     at org.jboss.seam.Component.callCreateMethod(Component.java:2184)
      15:55:19,313 ERROR [STDERR]     at org.jboss.seam.Component.newInstance(Component.java:2144)
      15:55:19,314 ERROR [STDERR]     ... 114 more