<div dir="ltr"><div><br></div><div>For your reference...</div><div><br></div><img src="cid:ii_14a29996f6a554a7" alt="Inline image 1" width="562" height="208"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 8, 2014 at 3:47 PM, dharmendra parakh <span dir="ltr"><<a href="mailto:dharm.parakh@gmail.com" target="_blank">dharm.parakh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>I am developing a custom connector which will provision a custom object class on openldap.</div><div><br></div><div>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.</div><div><br></div><div>I have written a resource xml for this connector and when i try to import it i am getting an error :</div><div><br></div><div><div><font color="#ff0000">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 {<a href="http://www.w3.org/2001/XMLSchema%7Dstring" target="_blank">http://www.w3.org/2001/XMLSchema}string</a> from XNode(map:1 entries)</font></div><div><font color="#ff0000">com.evolveum.midpoint.util.exception.SchemaException: Complex run-time properties are not supported: type {<a href="http://www.w3.org/2001/XMLSchema%7Dstring" target="_blank">http://www.w3.org/2001/XMLSchema}string</a> from XNode(map:1 entries)</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap">     </span>at com.evolveum.midpoint.prism.parser.XNodeProcessor.parsePrismPropertyRealValueFromMap(XNodeProcessor.java:473) ~[prism-3.0.jar:na]</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap">  </span>at com.evolveum.midpoint.prism.parser.XNodeProcessor.parsePrismPropertyRealValue(XNodeProcessor.java:395) ~[prism-3.0.jar:na]</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap"> </span>at com.evolveum.midpoint.prism.PrismPropertyValue.parseRawElementToNewRealValue(PrismPropertyValue.java:357) ~[prism-3.0.jar:na]</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap">      </span>at com.evolveum.midpoint.prism.PrismPropertyValue.applyDefinition(PrismPropertyValue.java:162) ~[prism-3.0.jar:na]</font></div><div><font color="#ff0000">....</font></div></div><div><font color="#ff0000">....</font></div><div><font color="#ff0000"><br></font></div><div><div><font color="#ff0000">Caused by: com.evolveum.midpoint.repo.sql.util.DtoTranslationException: Complex run-time properties are not supported: type {<a href="http://www.w3.org/2001/XMLSchema%7Dstring" target="_blank">http://www.w3.org/2001/XMLSchema}string</a> from XNode(map:1 entries)</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap">     </span>at com.evolveum.midpoint.repo.sql.data.audit.RAuditEventRecord.toRepo(RAuditEventRecord.java:398) ~[repo-sql-impl-3.0.jar:na]</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap"> </span>at com.evolveum.midpoint.repo.sql.SqlAuditServiceImpl.auditAttempt(SqlAuditServiceImpl.java:76) ~[repo-sql-impl-3.0.jar:na]</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap">   </span>... 104 common frames omitted</font></div><div><font color="#ff0000">Caused by: com.evolveum.midpoint.repo.sql.util.DtoTranslationException: Complex run-time properties are not supported: type {<a href="http://www.w3.org/2001/XMLSchema%7Dstring" target="_blank">http://www.w3.org/2001/XMLSchema}string</a> from XNode(map:1 entries)</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap"> </span>at com.evolveum.midpoint.repo.sql.data.audit.RObjectDeltaOperation.toRepo(RObjectDeltaOperation.java:218) ~[repo-sql-impl-3.0.jar:na]</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap"> </span>at com.evolveum.midpoint.repo.sql.data.audit.RAuditEventRecord.toRepo(RAuditEventRecord.java:393) ~[repo-sql-impl-3.0.jar:na]</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap"> </span>... 105 common frames omitted</font></div><div><font color="#ff0000">Caused by: java.lang.IllegalStateException: Complex run-time properties are not supported: type {<a href="http://www.w3.org/2001/XMLSchema%7Dstring" target="_blank">http://www.w3.org/2001/XMLSchema}string</a> from XNode(map:1 entries)</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap">     </span>at com.evolveum.midpoint.prism.PrismPropertyValue.getValue(PrismPropertyValue.java:131) ~[prism-3.0.jar:na]</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap">   </span>at com.evolveum.midpoint.prism.parser.XNodeSerializer.serializePropertyValue(XNodeSerializer.java:330) ~[prism-3.0.jar:na]</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap">    </span>at com.evolveum.midpoint.prism.parser.XNodeSerializer.serializeItemValue(XNodeSerializer.java:208) ~[prism-3.0.jar:na]</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap">        </span>at com.evolveum.midpoint.prism.parser.XNodeSerializer.serializeItem(XNodeSerializer.java:115) ~[prism-3.0.jar:na]</font></div></div><div><font color="#ff0000">..............</font></div><div><font color="#ff0000">................</font></div><div><br></div><div><br></div><div>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.</div><div>Can you help me pointing what can be the probable issue. </div><div><br></div><div><br></div><div>Regards</div><span class="HOEnZb"><font color="#888888"><div>Dharmendra</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></font></span></div>
</blockquote></div><br></div>