[midPoint] Fwd: error when creating resource connector
Oskar Butovič - AMI Praha a.s.
oskar.butovic at ami.cz
Mon May 29 12:49:50 CEST 2017
Hello Teppo,
it seems you are missing or have somehow malformed connectorConfiguration
section in your resource object. Try looking at midpoint samples (
https://github.com/Evolveum/midpoint/tree/master/samples/resources/ad)
Best Regards
Oskar Butovič
2017-05-28 17:36 GMT+02:00 Teppo Sarjonen <teppo.sarjonen at gmail.com>:
> Hello.
>
> Getting error when trying to create resource connector to company active
> directory.
>
> The error when i try to test the connection. Operating system is Windows
> Server 2012 R2. Any idea what i doing wrong?
>
> <operationResult xmlns="http://midpoint.evolveum.com/xml/ns/public/common/
> common-3"
> xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"
> xmlns:c="http://midpoint.evol
> veum.com/xml/ns/public/common/common-3"
> xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3"
> xmlns:icfs="http://midpoint.e
> volveum.com/xml/ns/public/connector/icf-1/resource-schema-3"
> xmlns:ri="http://midpoint.evo
> lveum.com/xml/ns/public/resource/instance-3">
> <operation>com.evolveum.midpoint.schema.constants.Connector
> TestOperation.connectorInitialization</operation>
> <status>fatal_error</status>
> <token>1000000000000001804</token>
> <message>Schema error while dealing with the connector definition: No
> connector configuration in resource:e9ce4b47-7e3d-4ec2-8de6-54a42484cfe6(RTK
> Active Direcrtory)</message>
> <details>com.evolveum.midpoint.util.exception.SchemaException: No
> connector configuration in resource:e9ce4b47-7e3d-4ec2-8de6-54a42484cfe6(RTK
> Active Direcrtory)
> com.evolveum.midpoint.provisioning.impl.ConnectorManager.cre
> ateConfiguredConnectorInstance(ConnectorManager.java:163)
> com.evolveum.midpoint.provisioning.impl.ConnectorManager.get
> ConfiguredConnectorInstance(ConnectorManager.java:134)
> com.evolveum.midpoint.provisioning.impl.ResourceManager.getC
> onnectorInstance(ResourceManager.java:841)
> com.evolveum.midpoint.provisioning.impl.ResourceManager.test
> Connection(ResourceManager.java:567)
> com.evolveum.midpoint.provisioning.impl.ProvisioningServiceI
> mpl.testResource(ProvisioningServiceImpl.java:931)
> com.evolveum.midpoint.model.impl.controller.ModelController.
> testResource(ModelController.java:1437)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:62)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:43)
> java.lang.reflect.Method.invoke(Method.java:498)
> org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.
> invoke(LazyInitProxyFactory.java:507)
> com.sun.proxy.$Proxy149.testResource(Unknown Source)
> com.evolveum.midpoint.web.page.admin.resources.component.Tes
> tConnectionMessagesPanel.initResultsModel(TestConnectionMess
> agesPanel.java:65)
> com.evolveum.midpoint.web.page.admin.resources.component.Tes
> tConnectionMessagesPanel.<init>(TestConnectionMessagesPanel.java:55)
> com.evolveum.midpoint.web.page.admin.resources.component.Tes
> tConnectionResultPanel$2.getLazyLoadComponent(TestConnection
> ResultPanel.java:79)
> org.apache.wicket.extensions.ajax.markup.html.AjaxLazyLoadPa
> nel$1.respond(AjaxLazyLoadPanel.java:87)
> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest
> (AbstractDefaultAjaxBehavior.java:593)
> sun.reflect.GeneratedMethodAccessor540.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:43)
> java.lang.reflect.Method.invoke(Method.java:498)
> org.apache.wicket.RequestListenerInterface.internalInvoke(Re
> questListenerInterface.java:258)
> org.apache.wicket.RequestListenerInterface.invoke(RequestLis
> tenerInterface.java:241)
> org.apache.wicket.core.request.handler.ListenerInterfaceRequ
> estHandler.invokeListener(ListenerInterfaceRequestHandler.java:248)
> org.apache.wicket.core.request.handler.ListenerInterfaceRequ
> estHandler.respond(ListenerInterfaceRequestHandler.java:234)
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor
> .respond(RequestCycle.java:895)
> org.apache.wicket.request.RequestHandlerStack.execute(Reques
> tHandlerStack.java:64)
> org.apache.wicket.request.cycle.RequestCycle.execute(Request
> Cycle.java:265)
> org.apache.wicket.request.cycle.RequestCycle.processRequest(
> RequestCycle.java:222)
> org.apache.wicket.request.cycle.RequestCycle.processRequestA
> ndDetach(RequestCycle.java:293)
> org.apache.wicket.protocol.http.WicketFilter.processRequestC
> ycle(WicketFilter.java:261)
> org.apache.wicket.protocol.http.WicketFilter.processRequest(
> WicketFilter.java:203)
> org.apache.wicket.protocol.http.WicketFilter.doFilter(Wicket
> Filter.java:284)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:193)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:166)
> org.springframework.security.web.FilterChainProxy$VirtualFil
> terChain.doFilter(FilterChainProxy.java:317)
> org.springframework.security.web.access.intercept.FilterSecu
> rityInterceptor.invoke(FilterSecurityInterceptor.java:127)
> org.springframework.security.web.access.intercept.FilterSecu
> rityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
> org.springframework.security.web.FilterChainProxy$VirtualFil
> terChain.doFilter(FilterChainProxy.java:331)
> org.springframework.security.web.access.ExceptionTranslation
> Filter.doFilter(ExceptionTranslationFilter.java:115)
> org.springframework.security.web.FilterChainProxy$VirtualFil
> terChain.doFilter(FilterChainProxy.java:331)
> org.springframework.security.web.session.SessionManagementFi
> lter.doFilter(SessionManagementFilter.java:137)
> org.springframework.security.web.FilterChainProxy$VirtualFil
> terChain.doFilter(FilterChainProxy.java:331)
> org.springframework.security.web.authentication.AnonymousAut
> henticationFilter.doFilter(AnonymousAuthenticationFilter.java:112)
> org.springframework.security.web.FilterChainProxy$VirtualFil
> terChain.doFilter(FilterChainProxy.java:331)
> org.springframework.security.web.servletapi.SecurityContextH
> olderAwareRequestFilter.doFilter(SecurityContextHolder
> AwareRequestFilter.java:169)
> org.springframework.security.web.FilterChainProxy$VirtualFil
> terChain.doFilter(FilterChainProxy.java:331)
> org.springframework.security.web.savedrequest.RequestCacheAw
> areFilter.doFilter(RequestCacheAwareFilter.java:63)
> org.springframework.security.web.FilterChainProxy$VirtualFil
> terChain.doFilter(FilterChainProxy.java:331)
> org.springframework.security.web.authentication.www.BasicAut
> henticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158)
> org.springframework.web.filter.OncePerRequestFilter.doFilter
> (OncePerRequestFilter.java:107)
> org.springframework.security.web.FilterChainProxy$VirtualFil
> terChain.doFilter(FilterChainProxy.java:331)
> org.springframework.security.web.authentication.AbstractAuth
> enticationProcessingFilter.doFilter(AbstractAuthenticatio
> nProcessingFilter.java:206)
> org.springframework.security.web.FilterChainProxy$VirtualFil
> terChain.doFilter(FilterChainProxy.java:331)
> org.springframework.security.web.authentication.logout.Logou
> tFilter.doFilter(LogoutFilter.java:121)
> org.springframework.security.web.FilterChainProxy$VirtualFil
> terChain.doFilter(FilterChainProxy.java:331)
> org.springframework.security.web.context.request.async.WebAs
> yncManagerIntegrationFilter.doFilterInternal(WebAsyncManag
> erIntegrationFilter.java:56)
> org.springframework.web.filter.OncePerRequestFilter.doFilter
> (OncePerRequestFilter.java:107)
> org.springframework.security.web.FilterChainProxy$VirtualFil
> terChain.doFilter(FilterChainProxy.java:331)
> org.springframework.security.web.session.ConcurrentSessionFi
> lter.doFilter(ConcurrentSessionFilter.java:134)
> org.springframework.security.web.FilterChainProxy$VirtualFil
> terChain.doFilter(FilterChainProxy.java:331)
> org.springframework.security.web.context.SecurityContextPers
> istenceFilter.doFilter(SecurityContextPersistenceFilter.java:106)
> org.springframework.security.web.FilterChainProxy$VirtualFil
> terChain.doFilter(FilterChainProxy.java:331)
> org.springframework.security.web.FilterChainProxy.doFilterIn
> ternal(FilterChainProxy.java:214)
> org.springframework.security.web.FilterChainProxy.doFilter(F
> ilterChainProxy.java:177)
> org.springframework.web.filter.DelegatingFilterProxy.invokeD
> elegate(DelegatingFilterProxy.java:346)
> org.springframework.web.filter.DelegatingFilterProxy.doFilte
> r(DelegatingFilterProxy.java:262)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:193)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:166)
> com.evolveum.midpoint.web.util.MidPointProfilingServletFilte
> r.doFilter(MidPointProfilingServletFilter.java:86)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:193)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:166)
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar
> dWrapperValve.java:198)
> org.apache.catalina.core.StandardContextValve.invoke(Standar
> dContextValve.java:96)
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(A
> uthenticatorBase.java:478)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo
> stValve.java:140)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
> rtValve.java:80)
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(Abs
> tractAccessLogValve.java:624)
> org.apache.catalina.core.StandardEngineValve.invoke(Standard
> EngineValve.java:87)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
> apter.java:342)
> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
> org.apache.coyote.AbstractProcessorLight.process(AbstractPro
> cessorLight.java:66)
> org.apache.coyote.AbstractProtocol$ConnectionHandler.
> process(AbstractProtocol.java:861)
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun
> (NioEndpoint.java:1455)
> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketPro
> cessorBase.java:49)
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
> Executor.java:1142)
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
> lExecutor.java:617)
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.
> run(TaskThread.java:61)
> java.lang.Thread.run(Thread.java:748)
> </details>
> </operationResult>
>
> Thank you.
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
--
Oskar Butovič
solution architect
gsm: [+420] 774 480 101
e-mail: oskar.butovic at ami.cz
AMI Praha a.s.
Pláničkova 11
162 00 Praha 6
tel.: [+420] 274 783 239
web: www.ami.cz
[image: AMI Praha a.s.]
[image: AMI Praha a.s.]
<http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management>
Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za
společnost AMI Praha a.s.
jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně
písemnou formu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170529/837fcdaa/attachment.htm>
More information about the midPoint
mailing list