ClassNotFoundException during LDAP Synchronization

1
0
-1

Hello,

I am trying to synchronize LDAP with Bonita. I am using BonitaBPMSubscription-6.3.5 in Windows.

When I execute BonitaBPMSubscription-6.3.5-LDAP-Synchronizer.bat, I get the next exception:

... INFO: Finished loading Bonita configuration. java.lang.ClassNotFoundException: org.bonitasoft.engine.api.impl.ServerAPIFactory at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bonitasoft.engine.api.impl.LocalServerAPIFactory.(LocalServerAPIFactory.java:34) at com.bonitasoft.engine.api.PlatformAPIAccessor.getServerAPI(PlatformAPIAccessor.java:49) at com.bonitasoft.engine.api.PlatformAPIAccessor.getPlatformLoginAPI(PlatformAPIAccessor.java:76) at com.bonitasoft.ldapsynchronizer.repository.BonitaUserRepository.initialize(BonitaUserRepository.java:109) at com.bonitasoft.ldapsynchronizer.repository.BonitaUserRepository.(BonitaUserRepository.java:84) at com.bonitasoft.ldapsynchronizer.LDAPSynchronizer.(LDAPSynchronizer.java:41) at com.bonitasoft.ldapsynchronizer.LDAPSynchronizer.main(LDAPSynchronizer.java:164) 22.09.2014 17:19:13 com.bonitasoft.ldapsynchronizer.LDAPSynchronizer main INFO: --- Ending Synchronizer --- ...

I have searched but I did not found this class. Can anyone help with it?

Thanks in advance.

Germán.

Comments

Submitted by haris.subasic on Mon, 09/22/2014 - 18:05

Hello, since you are using Subscription edition, you shouldn't hesitate to open a case to Bonitasoft Support on your customer portal. Make sure that you are using a dedicated bonita.home for your LDAP Synchronizer and the type of server access (check the documentation here ).

1 answer

1
+1
-1
This one is the BEST answer!

Hi haris.subasic,

thanks for your comment. After a while this morning, I could see where the problem was.

The solution was this paragraph:

"Additionally, within the /bonita_home-6.0.x/client/conf/ directory modify the bonita-client.properties file to indicate how LDAP Synchronizer will connect to the Portal to add the LDAP users."

Notifications