[midPoint] New Connector not loading

Ivan Noris ivan.noris at evolveum.com
Wed Sep 6 09:20:10 CEST 2017


Hi,

my only tip and question is - have you put the connector to the correct
directory? $midpoint.home/icf-connectors/

If there is no message, not even error related to that connector when
midPoint starts, I'd say it has not been picked up. I remember in the
past I had some bad connector which was unable to load, but there was a
message in idm.log each time when midPoint started. So the connector was
detected, but not usable.

Please check if the connector jar file is in correct directory (and has
correct permissions etc. to be readable by midPoint/tomcat).

Best regards,

Ivan


On 05.09.2017 16:42, Kromhout, Ethan A. wrote:
> I have a new connector I've been working on, and it doesn't appear to get loaded when I restart midPoint. I've tried manually creating a Connector definition for it, but I get and exception when trying to configure it as a resource, so I think I'm missing something basic that the connector needs to load.
>
> My connector is just implementing a few operations:
>
> public class AmqpConnector implements  Connector, DeleteOp, SearchOp<String>, SchemaOp {
>
> And provides init, getConfiguration, dispose, createFilterTranslator, schema, executeQuery and delete.
>
> It contains the following  classes and files:
>
> META-INF/
> META-INF/MANIFEST.MF
> lib/
> lib/commons-csv-1.4.jar
> lib/amqp-client-4.0.2.jar
> lib/slf4j-api-1.7.21.jar
> edu/
> edu/unc/
> edu/unc/polygon/
> edu/unc/polygon/connector/
> edu/unc/polygon/connector/amqp/
> edu/unc/polygon/connector/amqp/AmqpFilterTranslator.class
> edu/unc/polygon/connector/amqp/AmqpConfiguration.class
> edu/unc/polygon/connector/amqp/AmqpConnector.class
> edu/unc/polygon/connector/amqp/Messages.properties
>
> And has the following manifest:
>
> Manifest-Version: 1.0
> Archiver-Version: Plexus Archiver
> Built-By: ekromhout
> ConnectorBundle-FrameworkVersion: 1.4.2.14
> ConnectorBundle-Version: 0.1-SNAPSHOT
> Created-By: Apache Maven 3.3.9
> Build-Jdk: 1.8.0_141
> ConnectorBundle-Name: unc.edu.polygon.connector-amqp-import
>
> When midpoint starts up, I see the other jar files being loaded by org.identityconnectors.framework.impl.api.local.LocalConnectorInfoManagerImpl  , but I don't see anything for my jar file above.
>
> Just hoping someone sees something obvious missing in the way of a file or method that would cause the jar file not to be picked up as a connector.
>
> Thanks,
>
> Ethan
> 6C2F 9067 96D4 AB4A 9621  4FEB 3069 4100 EBFB 55D1
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-- 
Ivan Noris
Senior Identity Engineer
evolveum.com




More information about the midPoint mailing list