LDAP Module

13
I have imported the LDAP Module and set the After Start Up Microflow as Start LDAP however i get the following error from it: Request action: start Message: JVM Error! Cause: (class: com/mendix/ldap/LdapModule, method: <init> signature: ()V) Incompatible argument to function Stack trace: JVM Error! at com.mendix.m2ee.server.handler.AdminHandler.handle(AdminHandler.java:134) 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.headerComplete(HttpConnection.java:992) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:550) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203) 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:619) Caused by: (class: com/mendix/ldap/LdapModule, method: <init> signature: ()V) Incompatible argument to function at ldap.actions.StartLdapJava.executeAction(StartLdapJava.java:29) at ldap.actions.StartLdapJava.executeAction(StartLdapJava.java:18) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:49) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:417) at hW.b(SourceFile:156) at com.mendix.core.Core.execute(SourceFile:185) at gN.a(SourceFile:63) at ko.a(SourceFile:66) at eC.executeAction(SourceFile:93) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:49) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:417) at hW.b(SourceFile:156) at com.mendix.core.Core.executeSync(SourceFile:161) at ec.h(SourceFile:74) at ec.a(SourceFile:35) at cS.execute(SourceFile:106) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:417) at hW.b(SourceFile:160) at com.mendix.core.MxRuntime.A(SourceFile:276) at com.mendix.core.MxRuntime.z(SourceFile:243) at com.mendix.core.MxRuntime.a(SourceFile:225) at kX.execute(SourceFile:53) at com.mendix.m2ee.server.handler.AdminHandler.handle(AdminHandler.java:105) 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.headerComplete(HttpConnection.java:992) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:550) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203) 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:619) Any idea on a fix?
asked
4 answers
5

If anybody else runs into this problem, please email me (community@mendix.com) with your exact version of Mendix, and ill send a proper compiled one back*.

When deploying a new jar, make sure all other mxldap*.jar are removed from the userlib directory.

* This should not be necessary, however the JVM sometimes messes stuff up....

answered
4

Yes its a known problem. Has something to do with Eclipse creating invalid jar's (using the jar on another platform than its created, combined with certain charsets causes this problem). If you still encounter the problem, email us, we have some other jars you might want to try.

answered
3

Are you using the newest version of the LDAP Synchronization? Take a look at older versions in the app store.

answered
2

I've tried to reproduce this and it worked. Same problem here:

request action: start
Message: JVM Error!
Cause: (class: com/mendix/ldap/LdapModule, method: <init> signature: ()V) Incompatible argument to function
Stack trace: JVM Error!
    at com.mendix.m2ee.server.handler.AdminHandler.handle(AdminHandler.java:134)
    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.headerComplete(HttpConnection.java:992)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:550)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203)
    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:619)
Caused by:
(class: com/mendix/ldap/LdapModule, method: <init> signature: ()V) Incompatible argument to function
    at ldap.actions.StartLdapJava.executeAction(StartLdapJava.java:29)
    at ldap.actions.StartLdapJava.executeAction(StartLdapJava.java:18)
    at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:49)
    at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:417)
    at hW.b(SourceFile:156)
    at com.mendix.core.Core.execute(SourceFile:185)
    at gN.a(SourceFile:63)
    at ko.a(SourceFile:66)
    at eC.executeAction(SourceFile:93)
    at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:49)
    at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:417)
    at hW.b(SourceFile:156)
    at com.mendix.core.Core.executeSync(SourceFile:161)
    at ec.h(SourceFile:74)
    at ec.a(SourceFile:35)
    at cS.execute(SourceFile:106)
    at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:417)
    at hW.b(SourceFile:160)
    at com.mendix.core.MxRuntime.A(SourceFile:276)
    at com.mendix.core.MxRuntime.z(SourceFile:243)
    at com.mendix.core.MxRuntime.a(SourceFile:225)
    at kX.execute(SourceFile:53)
    at com.mendix.m2ee.server.handler.AdminHandler.handle(AdminHandler.java:105)
    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.headerComplete(HttpConnection.java:992)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:550)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203)
    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:619)
answered