[midPoint] AD connector error

Ian Chen ianchen.op at gmail.com
Mon Nov 27 08:02:34 CET 2017


Answer my own question, change db connector to mariadb solves this:
https://downloads.mariadb.org/connector-java/2.2.0/

On Tue, Nov 14, 2017 at 7:09 PM, Ian Chen <ianchen.op at gmail.com> wrote:

> Tried 3 setup, 2x 3.5.1 and 1x 3.6.1. If I use mariadb 10.2.10, there is
> the error. If I use internal H2 db, no error...
>
>
> On Tue, Nov 14, 2017 at 10:10 AM, Ian Chen <ianchen.op at gmail.com> wrote:
>
>> Hi List,
>>
>> I found this AD connector error in both 3.5.1 and 3.6.1 when copying to a
>> new dev env.
>>
>> In Resource GUI, 'Accounts' -> 'Resource', I get 'Fatel error' instead of
>> a list of users in AD.
>> With this error, 'Repository' keep growing with AD users, one for each
>> click on 'Resource'
>>
>> Find one Jira, but it should be fixed:
>> https://jira.evolveum.com/browse/MID-3804
>>
>> Is there anything I could do to bypass this? Thanks!
>>
>> ERRORs in log:
>> 2017-11-14 09:52:28,767 [PROVISIONING] [Thread-58] ERROR
>> (org.apache.directory.api.ldap.model.name.Dn): ERR_04268_OID_NOT_FOUND
>> OID 'CN' not found in oid to schema name map!
>> 2017-11-14 09:52:29,138 [PROVISIONING] [Thread-58] ERROR
>> (org.apache.directory.api.ldap.model.schema.registries.OidRegistry):
>> ERR_04287 There is no SchemaObject associated with OID '2.5.13.2'
>> 2017-11-14 09:52:29,781 [PROVISIONING] [http-nio-8080-exec-2] ERROR
>> (com.evolveum.midpoint.provisioning.ucf.impl.connid.ConnIdUtil): ConnId
>> Exception java.lang.ClassCastException in connector:a49649bb-db78-448d-bdf3-60469e25f432(ConnId
>> com.evolveum.polygon.connector.ldap.ad.AdLdapConnector v1.5):
>> ConnectorSpec(resource:746ecf5e-3e8c-11e6-b2f9-3c970e44b9e2(Test AD),
>> name=null, oid=a49649bb-db78-448d-bdf3-60469e25f432):
>> com.evolveum.prism.xml.ns._public.types_3.RawType cannot be cast to
>> java.lang.String
>>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
>> [catalina.jar:8.5.14]
>> 2017-11-14 09:52:29,784 [PROVISIONING] [http-nio-8080-exec-2] ERROR
>> (com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl):
>> com.evolveum.prism.xml.ns._public.types_3.RawType cannot be cast to
>> java.lang.String
>>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
>> [catalina.jar:8.5.14]
>> 2017-11-14 09:52:29,788 [PROVISIONING] [http-nio-8080-exec-2] ERROR
>> (com.evolveum.midpoint.schema.result.OperationResult): Subresult
>> com.evolveum.midpoint.schema.result.searchResult of operation
>> com.evolveum.midpoint.provisioning.api.ProvisioningService.searchObjectsIterative
>> is still UNKNOWN during cleanup:
>> *op* com.evolveum.midpoint.provisioning.api.ProvisioningService.searchObjectsIterative,
>> st: FATAL_ERROR, msg: com.evolveum.prism.xml.ns._public.types_3.RawType
>> cannot be cast to java.lang.String
>>         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
>> rtValve.java:80)
>>   *op* com.evolveum.midpoint.provisioning.ucf.api.ConnectorInstance.search,
>> st: FATAL_ERROR, msg: com.evolveum.prism.xml.ns._public.types_3.RawType
>> cannot be cast to java.lang.String
>>     *op* org.identityconnectors.framework.api.ConnectorFacade.search,
>> st: FATAL_ERROR, msg: com.evolveum.prism.xml.ns._public.types_3.RawType
>> cannot be cast to java.lang.String
>>             org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
>> rtValve.java:80)
>>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
>> [catalina.jar:8.5.14]
>> 2017-11-14 09:52:29,789 [PROVISIONING] [http-nio-8080-exec-2] ERROR
>> (com.evolveum.midpoint.schema.result.OperationResult): Subresult
>> com.evolveum.midpoint.schema.result.searchResult of operation
>> com.evolveum.midpoint.provisioning.api.ProvisioningService.searchObjectsIterative
>> is still UNKNOWN during cleanup:
>> *op* com.evolveum.midpoint.provisioning.api.ProvisioningService.searchObjectsIterative,
>> st: FATAL_ERROR, msg: com.evolveum.prism.xml.ns._public.types_3.RawType
>> cannot be cast to java.lang.String
>>         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
>> rtValve.java:80)
>>   *op* com.evolveum.midpoint.provisioning.ucf.api.ConnectorInstance.search,
>> st: FATAL_ERROR, msg: com.evolveum.prism.xml.ns._public.types_3.RawType
>> cannot be cast to java.lang.String
>>     *op* org.identityconnectors.framework.api.ConnectorFacade.search,
>> st: FATAL_ERROR, msg: com.evolveum.prism.xml.ns._public.types_3.RawType
>> cannot be cast to java.lang.String
>>             org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
>> rtValve.java:80)
>> 2017-11-14 09:52:29,792 [PROVISIONING] [http-nio-8080-exec-2] ERROR
>> (com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl): Could
>> not search objects: Subresult com.evolveum.midpoint.schema.result.searchResult
>> of operation com.evolveum.midpoint.provisioning.api.ProvisioningService.searchObjectsIterative
>> is still UNKNOWN during cleanup
>>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
>> [catalina.jar:8.5.14]
>> 2017-11-14 09:52:29,794 [MODEL] [http-nio-8080-exec-2] ERROR
>> (com.evolveum.midpoint.model.impl.controller.ModelController): Couldn't
>> search objects in provisioning.
>>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
>> [catalina.jar:8.5.14]
>> 2017-11-14 09:52:29,797 [] [http-nio-8080-exec-2] ERROR (
>> com.evolveum.midpoint.web.component.data.SelectableBeanObjectDataProvider):
>> Couldn't list objects.
>>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
>> [catalina.jar:8.5.14]
>>
>> Regards,
>> Ian
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20171127/03c7ba80/attachment.htm>


More information about the midPoint mailing list