[midPoint] CSV Connector in clustered environment

Chris Woods Chris.Woods at rohde-schwarz.com
Mon Mar 1 10:17:59 CET 2021


Hi,
I hope someone out there can save my sanity. We have a CSV resource that is on a remote share (I know this is not a supported scenario, but I'm not sure whether that is the problem). When I run a reconciliation on the resource I get the following error (not for each entry, just sporadically, but regularly):
CommunicationException: Error communicating with connector ConnectorInstanceIcfImpl(connector:dee21223-5c73-48ff-84e0-51f829b886ad(ConnId com.evolveum.polygon.connector.csv.CsvConnector v2.4 @ICF Connector server on amuxxxxx.xxxxx.xxx:8610)): IO error: org.identityconnectors.framework.common.exceptions.ConnectorIOException(Error during account 'Attribute: {Name=__UID__, Value=[10610]}' UPDATE, IO exception occurred, reason: C:\Program Files (x86)\Identity Connectors\connector_server_java-1.2.6195_2\data\employeeIDExport4midPoint.csv: The process cannot access the file because it is being used by another process.??)->org.identityconnectors.framework.impl.api.remote.RemoteWrappedException(Error during account 'Attribute: {Name=__UID__, Value=[10610]}' UPDATE, IO exception occurred, reason: C:\Program Files (x86)\Identity Connectors\connector_server_java-1.2.6195_2\data\employeeIDExport4midPoint.csv: The process cannot access the file because it is being used by another process.??)->org.identityconnectors.framework.impl.api.remote.RemoteWrappedException(C:\Program Files (x86)\Identity Connectors\connector_server_java-1.2.6195_2\data\employeeIDExport4midPoint.csv: The process cannot access the file because it is being used by another process.??)
I am running the connector on a remote host at the moment as an attempt to stop each midpoint node accessing the file simultaneously. In theory there should only be one connector instance accessing the file. In the connector pooling, minIdle, maxIdle and maxObjects are set to 1.
Originally, I had the CIFS mounts on the linux hosts but when using this setup the file would be deleted after a couple of accounts during reconciliation or livesync.
Does anyone have any idea what I'm doing wrong or if the network share really is so much of a problem? Thanks in advance!
Regards,
Chris
CHRIS WOODS
Identity Management
Information and Business Technology

Rohde & Schwarz GmbH & Co. KG
Mühldofstraße 15| 81671 München
Telefon: +49 89 4129 15735
Internet: https://www.rohde-schwarz.com<https://www.rohde-schwarz.com/>




Content provided within this e-mail including any attachments, is for the use of the intended recipients and may contain Rohde & Schwarz company restricted information. Any unauthorized use, disclosure, or distribution of this communication in whole or in part is strictly prohibited. If you are not the intended recipient, please notify the sender by reply email or by telephone and delete the communication in its entirety.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20210301/97ff42e9/attachment-0001.htm>


More information about the midPoint mailing list