[jboss-user] [JBoss Seam] - Re: authenticator.sessionContext CVS

jknotzke do-not-reply at jboss.com
Tue Aug 7 09:19:49 EDT 2007


   Hi 

   I changed my code to do a create=true on the @In Context sessionContext in my login action.. That seems to rid of the error.. However, now, when I attempt to login I get:


  | Caused by: javax.faces.el.EvaluationException: java.lang.NoSuchMethodError: org.drools.StatefulSession.insert(Ljava/lang/Object;)Lorg/drools/FactHandle;
  |         at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
  |         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
  |         ... 45 more
  | Caused by: java.lang.NoSuchMethodError: org.drools.StatefulSession.insert(Ljava/lang/Object;)Lorg/drools/FactHandle;
  |         at org.jboss.seam.security.RuleBasedIdentity.postAuthenticate(RuleBasedIdentity.java:100)
  |         at org.jboss.seam.security.Identity.authenticate(Identity.java:336)
  |         at org.jboss.seam.security.Identity.authenticate(Identity.java:324)
  |         at org.jboss.seam.security.Identity.login(Identity.java:237)
  |         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.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:325)
  |         at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:338)
  |         at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
  |         at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
  |         at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
  |         at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
  |         at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77


    But if I go back and try to login again, it goes through. I suspect the error is when Faces attempts to display a message indicating that the login was successful..

   This was code that worked before switching to CVS.. I figure things have changed in the CVS trunk.

   Thanks

   J
   

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

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



More information about the jboss-user mailing list