[jboss-user] [JBoss Seam] - Troubleshooting: seam component not found

zzztimbo do-not-reply at jboss.com
Fri Mar 16 15:31:56 EDT 2007


My application was working just fine the other day and now I am getting errors. This is happening at my login screen. I know for a fact the username and password are correct by checking the database. There doesn't seem to be a problem with connecting to the database because my import.sql executes fine (I've added new entries as a test to see if it is reflected in the database after deployment of my application). 



  | 2007-03-16 11:35:38,397 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
  | 2007-03-16 11:35:38,397 DEBUG [org.jboss.seam.Component] seam component not found: org.jboss
  | 2007-03-16 11:35:38,397 DEBUG [org.jboss.seam.Component] seam component not found: org.jboss.seam
  | 2007-03-16 11:35:38,397 DEBUG [org.jboss.seam.Component] seam component not found: org.jboss.seam.security
  | 2007-03-16 11:35:38,397 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: org.jboss.seam.security.identity
  | 2007-03-16 11:35:38,501 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to Seam component
  | 2007-03-16 11:35:38,501 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.jboss.seam.security.configuration
  | 2007-03-16 11:35:38,502 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events
  | 2007-03-16 11:35:38,506 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events
  | 2007-03-16 11:35:38,506 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
  | 2007-03-16 11:35:38,506 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preAuthenticate
  | 2007-03-16 11:35:38,507 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: authenticator
  | 2007-03-16 11:35:38,507 DEBUG [org.jboss.seam.Component] seam component not found: authenticator
  | 2007-03-16 11:35:38,507 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
  | 2007-03-16 11:35:38,507 ERROR [org.jboss.seam.security.jaas.SeamLoginModule] Error invoking login method
  | javax.faces.el.EvaluationException: Exception while invoking expression #{authenticator.authenticate}
  | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165)
  | at org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58)
  | at org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:75)
  | at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:106)
  | at org.jboss.seam.security.jaas.SeamLoginModule.login(SeamLoginModule.java:104)
  | 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 javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
  | at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
  | at javax.security.auth.login.LoginContext$5.run(LoginContext.java:706)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703)
  | at javax.security.auth.login.LoginContext.login(LoginContext.java:575)
  | at org.jboss.seam.security.Identity.authenticate(Identity.java:249)
  | at org.jboss.seam.security.Identity.authenticate(Identity.java:242)
  | at org.jboss.seam.security.Identity.login(Identity.java:172)
  | 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 com.sun.el.parser.AstValue.invoke(AstValue.java:151)
  | at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
  | at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
  | at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
  | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:106)
  | at org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:274)
  | at org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:250)
  | at org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:405)
  | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
  | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
  | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
  | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
  | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
  | at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
  | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
  | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: javax.faces.el.PropertyNotFoundException: Base is null: authenticator
  | at org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:460)
  | at org.apache.myfaces.el.MethodBindingImpl.resolveToBaseAndProperty(MethodBindingImpl.java:180)
  | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:114)
  | ... 67 more
  | 2007-03-16 11:35:38,535 DEBUG [org.jboss.seam.security.Identity] Login failed for: asdf
  | javax.security.auth.login.LoginException: Login Failure: all modules ignored
  | at javax.security.auth.login.LoginContext.invoke(LoginContext.java:921)
  | at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
  | at javax.security.auth.login.LoginContext$5.run(LoginContext.java:706)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703)
  | at javax.security.auth.login.LoginContext.login(LoginContext.java:575)
  | at org.jboss.seam.security.Identity.authenticate(Identity.java:249)
  | at org.jboss.seam.security.Identity.authenticate(Identity.java:242)
  | at org.jboss.seam.security.Identity.login(Identity.java:172)
  | 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 com.sun.el.parser.AstValue.invoke(AstValue.java:151)
  | at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
  | at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
  | at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
  | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:106)
  | at org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:274)
  | at org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:250)
  | at org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:405)
  | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
  | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
  | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
  | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
  | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
  | at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
  | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
  | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)
  | 

Am I missing a jar file or some sort of configuration in which org.jboss.seam.security.identity can no longer be found. 



 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028936#4028936

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028936



More information about the jboss-user mailing list