<div dir="ltr">Hello Teppo,<div><br></div><div>it seems you are missing or have somehow malformed connectorConfiguration section in your resource object. Try looking at midpoint samples (<a href="https://github.com/Evolveum/midpoint/tree/master/samples/resources/ad">https://github.com/Evolveum/midpoint/tree/master/samples/resources/ad</a>)</div><div><br></div><div>Best Regards</div><div><br></div><div>Oskar Butovič</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-28 17:36 GMT+02:00 Teppo Sarjonen <span dir="ltr"><<a href="mailto:teppo.sarjonen@gmail.com" target="_blank">teppo.sarjonen@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hello.<div><br></div><div>Getting error when trying to create resource connector to company active directory.</div><div><br></div><div>The error when i try to test the connection. Operating system is Windows Server 2012 R2. Any idea what i doing wrong?</div><div><br></div><div><div><operationResult xmlns="<a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3" target="_blank">http://midpoint.evolveu<wbr>m.com/xml/ns/public/common/<wbr>common-3</a>"</div><div> xmlns:q="<a href="http://prism.evolveum.com/xml/ns/public/query-3" target="_blank">http://prism.evolveu<wbr>m.com/xml/ns/public/query-3</a>"</div><div> xmlns:c="<a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3" target="_blank">http://midpoint.evol<wbr>veum.com/xml/ns/public/common/<wbr>common-3</a>"</div><div> xmlns:t="<a href="http://prism.evolveum.com/xml/ns/public/types-3" target="_blank">http://prism.evolveu<wbr>m.com/xml/ns/public/types-3</a>"</div><div> xmlns:icfs="<a href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" target="_blank">http://midpoint.e<wbr>volveum.com/xml/ns/public/conn<wbr>ector/icf-1/resource-schema-3</a>"</div><div> xmlns:ri="<a href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" target="_blank">http://midpoint.evo<wbr>lveum.com/xml/ns/public/resour<wbr>ce/instance-3</a>"></div><div> <operation>com.evolveum.midpo<wbr>int.schema.constants.Connector<wbr>TestOperation.connectorInitial<wbr>ization</operation></div><div> <status>fatal_error</status></div><div> <token>1000000000000001804</t<wbr>oken></div><div> <message>Schema error while dealing with the connector definition: No connector configuration in resource:e9ce4b47-7e3d-4ec2-8d<wbr>e6-54a42484cfe6(RTK Active Direcrtory)</message></div><div> <details>com.evolveum.midpoin<wbr>t.util.exception.SchemaExcepti<wbr>on: No connector configuration in resource:e9ce4b47-7e3d-4ec2-8d<wbr>e6-54a42484cfe6(RTK Active Direcrtory)</div><div>com.evolveum.midpoint.provisio<wbr>ning.impl.ConnectorManager.cre<wbr>ateConfiguredConnectorInstance<wbr>(ConnectorManager.java:163)</div><div>com.evolveum.midpoint.provisio<wbr>ning.impl.ConnectorManager.get<wbr>ConfiguredConnectorInstance(<wbr>ConnectorManager.java:134)</div><div>com.evolveum.midpoint.provisio<wbr>ning.impl.ResourceManager.getC<wbr>onnectorInstance(ResourceManag<wbr>er.java:841)</div><div>com.evolveum.midpoint.provisio<wbr>ning.impl.ResourceManager.test<wbr>Connection(ResourceManager.<wbr>java:567)</div><div>com.evolveum.midpoint.provisio<wbr>ning.impl.ProvisioningServiceI<wbr>mpl.testResource(ProvisioningS<wbr>erviceImpl.java:931)</div><div><a href="http://com.evolveum.midpoint.model.im">com.evolveum.midpoint.model.im</a><wbr>pl.controller.ModelController.<wbr>testResource(ModelController.<wbr>java:1437)</div><div>sun.reflect.NativeMethodAccess<wbr>orImpl.invoke0(Native Method)</div><div>sun.reflect.NativeMethodAccess<wbr>orImpl.invoke(NativeMethodAcce<wbr>ssorImpl.java:62)</div><div>sun.reflect.DelegatingMethodAc<wbr>cessorImpl.invoke(DelegatingMe<wbr>thodAccessorImpl.java:43)</div><div>java.lang.reflect.Method.invok<wbr>e(Method.java:498)</div><div>org.apache.wicket.proxy.LazyIn<wbr>itProxyFactory$JdkHandler.<wbr>invoke(LazyInitProxyFactory.<wbr>java:507)</div><div>com.sun.proxy.$Proxy149.testRe<wbr>source(Unknown Source)</div><div>com.evolveum.midpoint.web.page<wbr>.admin.resources.component.Tes<wbr>tConnectionMessagesPanel.initR<wbr>esultsModel(TestConnectionMess<wbr>agesPanel.java:65)</div><div>com.evolveum.midpoint.web.page<wbr>.admin.resources.component.Tes<wbr>tConnectionMessagesPanel.<<wbr>init>(TestConnectionMessage<wbr>sPanel.java:55)</div><div>com.evolveum.midpoint.web.page<wbr>.admin.resources.component.Tes<wbr>tConnectionResultPanel$2.getLa<wbr>zyLoadComponent(TestConnection<wbr>ResultPanel.java:79)</div><div>org.apache.wicket.extensions.a<wbr>jax.markup.html.AjaxLazyLoadPa<wbr>nel$1.respond(AjaxLazyLoadPane<wbr>l.java:87)</div><div>org.apache.wicket.ajax.Abstrac<wbr>tDefaultAjaxBehavior.onRequest<wbr>(AbstractDefaultAjaxBehavior.j<wbr>ava:593)</div><div>sun.reflect.GeneratedMethodAcc<wbr>essor540.invoke(Unknown Source)</div><div>sun.reflect.DelegatingMethodAc<wbr>cessorImpl.invoke(DelegatingMe<wbr>thodAccessorImpl.java:43)</div><div>java.lang.reflect.Method.invok<wbr>e(Method.java:498)</div><div>org.apache.wicket.RequestListe<wbr>nerInterface.internalInvoke(Re<wbr>questListenerInterface.java:25<wbr>8)</div><div>org.apache.wicket.RequestListe<wbr>nerInterface.invoke(RequestLis<wbr>tenerInterface.java:241)</div><div>org.apache.wicket.core.request<wbr>.handler.ListenerInterfaceRequ<wbr>estHandler.invokeListener(List<wbr>enerInterfaceRequestHandler.<wbr>java:248)</div><div>org.apache.wicket.core.request<wbr>.handler.ListenerInterfaceRequ<wbr>estHandler.respond(ListenerInt<wbr>erfaceRequestHandler.java:234)</div><div>org.apache.wicket.request.cycl<wbr>e.RequestCycle$HandlerExecutor<wbr>.respond(RequestCycle.java:<wbr>895)</div><div>org.apache.wicket.request.Requ<wbr>estHandlerStack.execute(Reques<wbr>tHandlerStack.java:64)</div><div>org.apache.wicket.request.cycl<wbr>e.RequestCycle.execute(Request<wbr>Cycle.java:265)</div><div>org.apache.wicket.request.cycl<wbr>e.RequestCycle.processRequest(<wbr>RequestCycle.java:222)</div><div>org.apache.wicket.request.cycl<wbr>e.RequestCycle.processRequestA<wbr>ndDetach(RequestCycle.java:<wbr>293)</div><div>org.apache.wicket.protocol.htt<wbr>p.WicketFilter.processRequestC<wbr>ycle(WicketFilter.java:261)</div><div>org.apache.wicket.protocol.htt<wbr>p.WicketFilter.processRequest(<wbr>WicketFilter.java:203)</div><div>org.apache.wicket.protocol.htt<wbr>p.WicketFilter.doFilter(Wicket<wbr>Filter.java:284)</div><div>org.apache.catalina.core.Appli<wbr>cationFilterChain.internalDoFi<wbr>lter(ApplicationFilterChain.<wbr>java:193)</div><div>org.apache.catalina.core.Appli<wbr>cationFilterChain.doFilter(App<wbr>licationFilterChain.java:166)</div><div>org.springframework.security.w<wbr>eb.FilterChainProxy$VirtualFil<wbr>terChain.doFilter(FilterChainP<wbr>roxy.java:317)</div><div>org.springframework.security.w<wbr>eb.access.intercept.FilterSecu<wbr>rityInterceptor.invoke(FilterS<wbr>ecurityInterceptor.java:127)</div><div>org.springframework.security.w<wbr>eb.access.intercept.FilterSecu<wbr>rityInterceptor.doFilter(Filte<wbr>rSecurityInterceptor.java:91)</div><div>org.springframework.security.w<wbr>eb.FilterChainProxy$VirtualFil<wbr>terChain.doFilter(FilterChainP<wbr>roxy.java:331)</div><div>org.springframework.security.w<wbr>eb.access.ExceptionTranslation<wbr>Filter.doFilter(ExceptionTrans<wbr>lationFilter.java:115)</div><div>org.springframework.security.w<wbr>eb.FilterChainProxy$VirtualFil<wbr>terChain.doFilter(FilterChainP<wbr>roxy.java:331)</div><div>org.springframework.security.w<wbr>eb.session.SessionManagementFi<wbr>lter.doFilter(SessionManagemen<wbr>tFilter.java:137)</div><div>org.springframework.security.w<wbr>eb.FilterChainProxy$VirtualFil<wbr>terChain.doFilter(FilterChainP<wbr>roxy.java:331)</div><div>org.springframework.security.w<wbr>eb.authentication.AnonymousAut<wbr>henticationFilter.doFilter(Ano<wbr>nymousAuthenticationFilter.jav<wbr>a:112)</div><div>org.springframework.security.w<wbr>eb.FilterChainProxy$VirtualFil<wbr>terChain.doFilter(FilterChainP<wbr>roxy.java:331)</div><div>org.springframework.security.w<wbr>eb.servletapi.SecurityContextH<wbr>olderAwareRequestFilter.<wbr>doFilter(SecurityContextHolder<wbr>AwareRequestFilter.java:169)</div><div>org.springframework.security.w<wbr>eb.FilterChainProxy$VirtualFil<wbr>terChain.doFilter(FilterChainP<wbr>roxy.java:331)</div><div>org.springframework.security.w<wbr>eb.savedrequest.RequestCacheAw<wbr>areFilter.doFilter(RequestCach<wbr>eAwareFilter.java:63)</div><div>org.springframework.security.w<wbr>eb.FilterChainProxy$VirtualFil<wbr>terChain.doFilter(FilterChainP<wbr>roxy.java:331)</div><div>org.springframework.security.w<wbr>eb.authentication.www.BasicAut<wbr>henticationFilter.doFilterInte<wbr>rnal(BasicAuthenticationFilter<wbr>.java:158)</div><div>org.springframework.web.filter<wbr>.OncePerRequestFilter.doFilter<wbr>(OncePerRequestFilter.java:<wbr>107)</div><div>org.springframework.security.w<wbr>eb.FilterChainProxy$VirtualFil<wbr>terChain.doFilter(FilterChainP<wbr>roxy.java:331)</div><div>org.springframework.security.w<wbr>eb.authentication.AbstractAuth<wbr>enticationProcessingFilter.<wbr>doFilter(AbstractAuthenticatio<wbr>nProcessingFilter.java:206)</div><div>org.springframework.security.w<wbr>eb.FilterChainProxy$VirtualFil<wbr>terChain.doFilter(FilterChainP<wbr>roxy.java:331)</div><div>org.springframework.security.w<wbr>eb.authentication.logout.Logou<wbr>tFilter.doFilter(LogoutFilter.<wbr>java:121)</div><div>org.springframework.security.w<wbr>eb.FilterChainProxy$VirtualFil<wbr>terChain.doFilter(FilterChainP<wbr>roxy.java:331)</div><div>org.springframework.security.w<wbr>eb.context.request.async.WebAs<wbr>yncManagerIntegrationFilter.<wbr>doFilterInternal(WebAsyncManag<wbr>erIntegrationFilter.java:56)</div><div>org.springframework.web.filter<wbr>.OncePerRequestFilter.doFilter<wbr>(OncePerRequestFilter.java:<wbr>107)</div><div>org.springframework.security.w<wbr>eb.FilterChainProxy$VirtualFil<wbr>terChain.doFilter(FilterChainP<wbr>roxy.java:331)</div><div>org.springframework.security.w<wbr>eb.session.ConcurrentSessionFi<wbr>lter.doFilter(ConcurrentSessio<wbr>nFilter.java:134)</div><div>org.springframework.security.w<wbr>eb.FilterChainProxy$VirtualFil<wbr>terChain.doFilter(FilterChainP<wbr>roxy.java:331)</div><div>org.springframework.security.w<wbr>eb.context.SecurityContextPers<wbr>istenceFilter.doFilter(Securit<wbr>yContextPersistenceFilter.<wbr>java:106)</div><div>org.springframework.security.w<wbr>eb.FilterChainProxy$VirtualFil<wbr>terChain.doFilter(FilterChainP<wbr>roxy.java:331)</div><div>org.springframework.security.w<wbr>eb.FilterChainProxy.doFilterIn<wbr>ternal(FilterChainProxy.java:<wbr>214)</div><div>org.springframework.security.w<wbr>eb.FilterChainProxy.doFilter(F<wbr>ilterChainProxy.java:177)</div><div>org.springframework.web.filter<wbr>.DelegatingFilterProxy.invokeD<wbr>elegate(DelegatingFilterProxy.<wbr>java:346)</div><div>org.springframework.web.filter<wbr>.DelegatingFilterProxy.doFilte<wbr>r(DelegatingFilterProxy.java:2<wbr>62)</div><div>org.apache.catalina.core.Appli<wbr>cationFilterChain.internalDoFi<wbr>lter(ApplicationFilterChain.<wbr>java:193)</div><div>org.apache.catalina.core.Appli<wbr>cationFilterChain.doFilter(App<wbr>licationFilterChain.java:166)</div><div>com.evolveum.midpoint.web.util<wbr>.MidPointProfilingServletFilte<wbr>r.doFilter(MidPointProfilingSe<wbr>rvletFilter.java:86)</div><div>org.apache.catalina.core.Appli<wbr>cationFilterChain.internalDoFi<wbr>lter(ApplicationFilterChain.<wbr>java:193)</div><div>org.apache.catalina.core.Appli<wbr>cationFilterChain.doFilter(App<wbr>licationFilterChain.java:166)</div><div>org.apache.catalina.core.Stand<wbr>ardWrapperValve.invoke(Standar<wbr>dWrapperValve.java:198)</div><div>org.apache.catalina.core.Stand<wbr>ardContextValve.invoke(Standar<wbr>dContextValve.java:96)</div><div>org.apache.catalina.authentica<wbr>tor.AuthenticatorBase.invoke(A<wbr>uthenticatorBase.java:478)</div><div>org.apache.catalina.core.Stand<wbr>ardHostValve.invoke(StandardHo<wbr>stValve.java:140)</div><div>org.apache.catalina.valves.Err<wbr>orReportValve.invoke(ErrorRepo<wbr>rtValve.java:80)</div><div>org.apache.catalina.valves.Abs<wbr>tractAccessLogValve.invoke(Abs<wbr>tractAccessLogValve.java:624)</div><div>org.apache.catalina.core.Stand<wbr>ardEngineValve.invoke(Standard<wbr>EngineValve.java:87)</div><div>org.apache.catalina.connector.<wbr>CoyoteAdapter.service(CoyoteAd<wbr>apter.java:342)</div><div>org.apache.coyote.http11.Http1<wbr>1Processor.service(Http11Proce<wbr>ssor.java:799)</div><div>org.apache.coyote.AbstractProc<wbr>essorLight.process(AbstractPro<wbr>cessorLight.java:66)</div><div>org.apache.coyote.AbstractProt<wbr>ocol$ConnectionHandler.<wbr>process(AbstractProtocol.java:<wbr>861)</div><div><a href="http://org.apache.tomcat.util.net" target="_blank">org.apache.tomcat.util.net</a>.Nio<wbr>Endpoint$SocketProcessor.doRun<wbr>(NioEndpoint.java:1455)</div><div><a href="http://org.apache.tomcat.util.net" target="_blank">org.apache.tomcat.util.net</a>.Soc<wbr>ketProcessorBase.run(SocketPro<wbr>cessorBase.java:49)</div><div>java.util.concurrent.ThreadPoo<wbr>lExecutor.runWorker(ThreadPool<wbr>Executor.java:1142)</div><div>java.util.concurrent.ThreadPoo<wbr>lExecutor$Worker.run(ThreadPoo<wbr>lExecutor.java:617)</div><div>org.apache.tomcat.util.threads<wbr>.TaskThread$WrappingRunnable.<wbr>run(TaskThread.java:61)</div><div>java.lang.Thread.run(Thread.ja<wbr>va:748)</div><div></details></div><div></operationResult></div></div><div><br></div><div>Thank you.</div></div>
</div><br></div>
<br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><table style="font-family:Verdana,Arial,Helvetica,sans-serif;border-collapse:collapse;padding:0px;margin:0px;border-width:0px!important;border-style:solid!important;width:482px!important"><tbody><tr style="padding:0px;margin:0px;border:0px solid gray!important"><td style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px;width:160px;vertical-align:bottom;padding:0px;border:0px solid gray!important"><p><span style="font-size:14px;font-weight:bold">Oskar Butovič</span><br>solution architect<br><br>gsm: [+420] 774 480 101<br>e-mail: <a href="mailto:oskar.butovic@ami.cz" target="_blank">oskar.butovic@ami.cz</a></p></td><td style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;border-right-width:1px;border-right-style:solid;border-right-color:rgb(204,204,204);padding:0px;border-top-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-top-style:solid!important;border-bottom-style:solid!important;border-left-style:solid!important;border-top-color:gray!important;border-bottom-color:gray!important;border-left-color:gray!important"> </td><td style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;padding:0px;border:0px solid gray!important"> </td><td style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px;vertical-align:bottom;padding:0px;width:123px;border:0px solid gray!important"><p>AMI Praha a.s.<br>Pláničkova 11<br>162 00 Praha 6<br>tel.: [+420] 274 783 239<br>web: <a href="http://www.ami.cz/" target="_blank">www.ami.cz</a></p></td><td style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;border-right-width:1px;border-right-style:solid;border-right-color:rgb(204,204,204);padding:0px;border-top-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-top-style:solid!important;border-bottom-style:solid!important;border-left-style:solid!important;border-top-color:gray!important;border-bottom-color:gray!important;border-left-color:gray!important"> </td><td style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;padding:0px;border:0px solid gray!important"> </td><td style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px;margin:8px;border:0px solid gray!important;width:116px"><p><img src="http://www.ami.cz/images/podpis/ami_logo.gif" alt="AMI Praha a.s." style="border:0px"></p></td></tr><tr style="padding:0px;margin:0px;border:0px solid gray!important"><td colspan="7" style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;padding:0px;width:480px;border:0px solid gray!important"><br><a href="http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management" target="_blank"><img src="http://www.ami.cz/images/podpis/AMI-podpis-IdM_1.png" alt="AMI Praha a.s." style="border:0px;width:480px!important;height:82px!important"></a></td></tr><tr style="padding:0px;margin:0px;border:0px solid gray!important"><td colspan="7" style="color:rgb(128,128,128);font-family:Arial,sans-serif;font-size:11px;padding:0px;border:0px solid gray!important"><br>Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s.<br>jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu.<br><br></td></tr></tbody></table></div></div></div></div></div></div></div>
</div>