[Midpoint-dev] Custom Connector Issue

dharmendra parakh dharm.parakh at gmail.com
Mon Dec 8 13:11:45 CET 2014


Hi

I was able to solve this issue.

Thanks!

On Mon, Dec 8, 2014 at 4:42 PM, dharmendra parakh <dharm.parakh at gmail.com>
wrote:

>
> For your reference...
>
> [image: Inline image 1]
>
> On Mon, Dec 8, 2014 at 3:47 PM, dharmendra parakh <dharm.parakh at gmail.com>
> wrote:
>
>> Hi
>>
>> I am developing a custom connector which will provision a custom object
>> class on openldap.
>>
>> I have written the code for connector using conn-id framework and
>> deployed it on midpoint. I am able to see it listed in connectors list in
>> my midpoint server.
>>
>> I have written a resource xml for this connector and when i try to import
>> it i am getting an error :
>>
>> 2014-12-08 14:40:21,742 [PROVISIONING] [http-bio-8080-exec-3] ERROR
>> (com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl): Complex
>> run-time properties are not supported: type {
>> http://www.w3.org/2001/XMLSchema}string from XNode(map:1 entries)
>> com.evolveum.midpoint.util.exception.SchemaException: Complex run-time
>> properties are not supported: type {
>> http://www.w3.org/2001/XMLSchema}string from XNode(map:1 entries)
>> at
>> com.evolveum.midpoint.prism.parser.XNodeProcessor.parsePrismPropertyRealValueFromMap(XNodeProcessor.java:473)
>> ~[prism-3.0.jar:na]
>> at
>> com.evolveum.midpoint.prism.parser.XNodeProcessor.parsePrismPropertyRealValue(XNodeProcessor.java:395)
>> ~[prism-3.0.jar:na]
>> at
>> com.evolveum.midpoint.prism.PrismPropertyValue.parseRawElementToNewRealValue(PrismPropertyValue.java:357)
>> ~[prism-3.0.jar:na]
>> at
>> com.evolveum.midpoint.prism.PrismPropertyValue.applyDefinition(PrismPropertyValue.java:162)
>> ~[prism-3.0.jar:na]
>> ....
>> ....
>>
>> Caused by: com.evolveum.midpoint.repo.sql.util.DtoTranslationException:
>> Complex run-time properties are not supported: type {
>> http://www.w3.org/2001/XMLSchema}string from XNode(map:1 entries)
>> at
>> com.evolveum.midpoint.repo.sql.data.audit.RAuditEventRecord.toRepo(RAuditEventRecord.java:398)
>> ~[repo-sql-impl-3.0.jar:na]
>> at
>> com.evolveum.midpoint.repo.sql.SqlAuditServiceImpl.auditAttempt(SqlAuditServiceImpl.java:76)
>> ~[repo-sql-impl-3.0.jar:na]
>> ... 104 common frames omitted
>> Caused by: com.evolveum.midpoint.repo.sql.util.DtoTranslationException:
>> Complex run-time properties are not supported: type {
>> http://www.w3.org/2001/XMLSchema}string from XNode(map:1 entries)
>> at
>> com.evolveum.midpoint.repo.sql.data.audit.RObjectDeltaOperation.toRepo(RObjectDeltaOperation.java:218)
>> ~[repo-sql-impl-3.0.jar:na]
>> at
>> com.evolveum.midpoint.repo.sql.data.audit.RAuditEventRecord.toRepo(RAuditEventRecord.java:393)
>> ~[repo-sql-impl-3.0.jar:na]
>> ... 105 common frames omitted
>> Caused by: java.lang.IllegalStateException: Complex run-time properties
>> are not supported: type {http://www.w3.org/2001/XMLSchema}string from
>> XNode(map:1 entries)
>> at
>> com.evolveum.midpoint.prism.PrismPropertyValue.getValue(PrismPropertyValue.java:131)
>> ~[prism-3.0.jar:na]
>> at
>> com.evolveum.midpoint.prism.parser.XNodeSerializer.serializePropertyValue(XNodeSerializer.java:330)
>> ~[prism-3.0.jar:na]
>> at
>> com.evolveum.midpoint.prism.parser.XNodeSerializer.serializeItemValue(XNodeSerializer.java:208)
>> ~[prism-3.0.jar:na]
>> at
>> com.evolveum.midpoint.prism.parser.XNodeSerializer.serializeItem(XNodeSerializer.java:115)
>> ~[prism-3.0.jar:na]
>> ..............
>> ................
>>
>>
>> If the connector is displayed in available connectors list i assume that
>> it is bundled correctly and i used my ldap resource xml to write similar
>> xml for my custom resource.
>> Can you help me pointing what can be the probable issue.
>>
>>
>> Regards
>> Dharmendra
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolveum.com/pipermail/midpoint-dev/attachments/20141208/9cce59b8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 131412 bytes
Desc: not available
URL: <http://lists.evolveum.com/pipermail/midpoint-dev/attachments/20141208/9cce59b8/attachment-0001.png>


More information about the midPoint-dev mailing list