[midPoint] CSV Connector in clustered environment

František Dvořák valtri at civ.zcu.cz
Mon Mar 1 14:13:38 CET 2021


Hello,

you could try to tune connection pool for the CSV connector: set
maxObjects=1 and maxIdle=1.

(just an idea, I actually have no expirence with CSV connector and/or
Windows)

Cheers,
  František

Chris Woods via midPoint píše v Po 01. 03. 2021 v 09:17 +0000:
> 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.ConnectorIOExcepti
> on(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.RemoteWrappedExcept
> ion(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.RemoteWrappedExcept
> ion(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
>  
> 
> 
> 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.
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint




More information about the midPoint mailing list