[jboss-user] [JBoss Seam] - Re: Seam application displays no data from DB

mgrouch do-not-reply at jboss.com
Mon Apr 2 12:25:56 EDT 2007


And there is this error, which might give more light on the problem


anonymous wrote : 
  | 12:22:51,003 DEBUG [Events] Processing event:org.jboss.seam.preAuthenticate
  | 12:22:51,003 DEBUG [SeamVariableResolver] resolving name: authenticator
  | 12:22:51,003 DEBUG [Component] seam component not found: authenticator
  | 12:22:51,003 DEBUG [SeamVariableResolver] could not resolve name
  | 12:22:51,003 ERROR [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:148)
  |         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:247)
  |         at org.jboss.seam.security.Identity.authenticate(Identity.java:240)
  |         at org.jboss.seam.security.Identity.login(Identity.java:170)
  |         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:174)
  |         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:286)
  |         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:180)
  |         at org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:158)
  |         at org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:329)
  |         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 weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
  |         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
  |         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
  |         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
  |         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
  |         at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
  |         at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
  |         at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  |         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 weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
  |         at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
  |         at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
  |         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
  |         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3151)
  |         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
  |         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
  |         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
  |         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
  |         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
  |         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
  |         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
  | 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)
  |         ... 60 more
  | 12:22:51,144 DEBUG [Identity] Login failed for:
  | 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:247)
  |         at org.jboss.seam.security.Identity.authenticate(Identity.java:240)
  |         at org.jboss.seam.security.Identity.login(Identity.java:170)
  |         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:174)
  |         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:286)
  |         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:180)
  |         at org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:158)
  |         at org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:329)
  |         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 weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
  |         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
  |         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
  |         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
  |         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
  |         at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
  |         at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
  |         at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  |         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 weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
  |         at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
  |         at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
  |         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
  |         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3151)
  |         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
  |         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
  |         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
  |         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
  |         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
  |         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
  |         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)

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

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



More information about the jboss-user mailing list