The `camel-ldif` feature is missing an artifact `org.apache.directory.api/api-ldap-net-mina`

Solution Verified - Updated -

Environment

  • Red Hat Fuse (RHF)
    • 7.8

Issue

  • Camel route with camel-ldif component throws an exception:

    org.apache.camel.RuntimeCamelException: org.osgi.service.blueprint.container.ComponentDefinitionException: Error when instantiating bean ldapConnection of class null
    ...
    org.osgi.service.blueprint.container.ComponentDefinitionException: Error when instantiating bean ldapConnection of class null
    ...       
    Caused by: java.lang.IllegalArgumentException: factory
    

Resolution

  • Either upgrade Red Hat Fuse to a version that contains fix of the JIRA ENTESB-16364;
  • Or manually install bundle mvn:org.apache.directory.api/api-ldap-net-mina/1.0.0 to Red Hat Fuse container.

Root Cause

This is a known issue and tracked by Red Hat Fuse JIRA ENTESB-16364.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments