Login Java Action

Hi there, We've got a couple of java actions to authenticate a user against Active directory (similar to the LDAP module). Yesterday afternoon, everything was still working fine, but when we tried to log in this morning, we got Invalid Login errors. In the logs I was able to locate the following : 2012-02-15 06:50:02.854 INFO - Connector: New login request from [Source-IP:, User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.1) Gecko/20100101 Firefox/10.0.1] 2012-02-15 06:50:02.948 ERROR - Connector: An error has occurred while handling the request. 2012-02-15 06:50:02.948 ERROR Connectorcom.mendix.core.CoreException: Exception occurred in action 'EventExtendedAction :: - action: [LoginAction:: user=trrma] - before: [] - replace: truldap.Ldap_LoginAction - after: [] ', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.CoreAction.d(SourceFile:553) Caused by: com.mendix.core.CoreRuntimeException: Can't register two different actions to replace an action at dj.f(SourceFile:124) at dj.execute(SourceFile:104) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:473) at it.b(SourceFile:159) at com.mendix.core.Core.login(SourceFile:1703) at com.mendix.core.Core.login(SourceFile:1738) at bw.execute(SourceFile:58) at ju.a(SourceFile:259) at ju.a(SourceFile:205) at ju.processRequest(SourceFile:174) at fF.a(SourceFile:71) at com.mendix.core.MxRuntime.processRequest(SourceFile:938) at com.mendix.m2ee.server.handler.RuntimeHandler.handle(RuntimeHandler.java:42) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1007) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Thread.java:662) Any guidance on this exception would be greatly appreciated.
1 answers

As the error states; there are two different actions replacing the login action.

Either the code to register the after login action listener is executed twice. Make sure its executed once,

or there is another module that registers an login action as well, for example the LDAP or Kerberos SSO module.