[midPoint] Can't import resource definition with file upload on CentOS7

Andreas Küstner andreas.kuestner at daasi.de
Thu Mar 17 11:34:28 CET 2016


Hi all,

i ran into a strange behaviour with midpoint.

I have following System:

Server:
Virtual machine with CentOS 7
Java Version from CentOS 7 -> OpenJDK 1.8.0_45 - also testeted with
Version 1.7.0_79
2 GB RAM / 70 GB HDD

Tomcat Version 7 from CentOS repository, installed with 'yum install tomcat'
and Tomcat downloaded from tomcat.apache.org -> Version 7.0.68


Client:
System Windows 7
Firefox 43.0.4
Java Version 1.8.0_72


The Error:
If i try to import a resource via Resources (file upload)
Midpoint-> Resources -> Import resource definition
i get this error:

"1 errors, 0 passed - Importfile (Gui) -"
" Param: options:
com.evolveum.midpoint.xml.ns._public.common.api_types_3.ImportOptionsType at 3386c7fd[overwrite=false,keepOid=false,stopAfterErrors=<null>,summarizeSucceses=true,summarizeErrors=true,referentialIntegrity=false,validateStaticSchema=false,validateDynamicSchema=false,encryptProtectedValues=true,fetchResourceSchema=false,keepMetadata=<null>]
"
"Import object"
"Ambiguous type name: ConnectorType"


Stack trace is attached in this email.

If i run this on my local testsystem on my machine (Archlinux)
everything is fine.

Have anyone an explanation, have i missed something on the CentOS7
installation?

Thanks for help!

Greetings
Andy
-------------- next part --------------
com.evolveum.midpoint.util.exception.SchemaException: Ambiguous type name: ConnectorType
        at com.evolveum.midpoint.prism.schema.SchemaRegistry.resolveUnqualifiedTypeName(SchemaRegistry.java:603)
        at com.evolveum.midpoint.prism.parser.XNodeProcessor.parseReferenceValue(XNodeProcessor.java:791)
        at com.evolveum.midpoint.prism.parser.XNodeProcessor.parseReferenceValue(XNodeProcessor.java:769)
        at com.evolveum.midpoint.prism.parser.XNodeProcessor.parsePrismReferenceValueFromXNode(XNodeProcessor.java:763)
        at com.evolveum.midpoint.prism.parser.XNodeProcessor.parsePrismReferenceFromMap(XNodeProcessor.java:734)
        at com.evolveum.midpoint.prism.parser.XNodeProcessor.parsePrismReference(XNodeProcessor.java:706)
        at com.evolveum.midpoint.prism.parser.XNodeProcessor.parseItem(XNodeProcessor.java:1010)
        at com.evolveum.midpoint.prism.parser.XNodeProcessor.parsePrismContainerValueFromMap(XNodeProcessor.java:368)
        at com.evolveum.midpoint.prism.parser.XNodeProcessor.parseContainerFromMapInternal(XNodeProcessor.java:294)
        at com.evolveum.midpoint.prism.parser.XNodeProcessor.parseObject(XNodeProcessor.java:184)
        at com.evolveum.midpoint.prism.parser.XNodeProcessor.parseObject(XNodeProcessor.java:150)
        at com.evolveum.midpoint.prism.PrismContext.parseObject(PrismContext.java:277)
        at com.evolveum.midpoint.common.validator.Validator.validateObjectInternal(Validator.java:362)
        at com.evolveum.midpoint.common.validator.Validator.readFromStreamAndValidate(Validator.java:312)
        at com.evolveum.midpoint.common.validator.Validator.validate(Validator.java:233)
        at com.evolveum.midpoint.model.impl.importer.ObjectImporter.importObjectsInternal(ObjectImporter.java:278)
        at com.evolveum.midpoint.model.impl.importer.ObjectImporter.importObjects(ObjectImporter.java:120)
        at com.evolveum.midpoint.model.impl.controller.ModelController.importObjectsFromStream_aroundBody28(ModelController.java:1447)
        at com.evolveum.midpoint.model.impl.controller.ModelController$AjcClosure29.run(ModelController.java:1)
        at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
        at com.evolveum.midpoint.util.aspect.MidpointAspect.wrapSubsystem(MidpointAspect.java:178)
        at com.evolveum.midpoint.util.aspect.MidpointAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_util_aspect_MidpointAspect$com_evolveum_midpoint_util_aspect_MidpointAspect$wrapSubsystem(MidpointAspect.java:1)
        at com.evolveum.midpoint.util.aspect.MidpointAspect.processModelNdc(MidpointAspect.java:63)
        at com.evolveum.midpoint.model.impl.controller.ModelController.importObjectsFromStream(ModelController.java:1442)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:480)
        at com.sun.proxy.$Proxy139.importObjectsFromStream(Unknown Source)
        at com.evolveum.midpoint.web.page.admin.configuration.PageImportObject.saveFilePerformed(PageImportObject.java:243)
        at com.evolveum.midpoint.web.page.admin.configuration.PageImportObject.access$0(PageImportObject.java:208)
        at com.evolveum.midpoint.web.page.admin.configuration.PageImportObject$4.onSubmit(PageImportObject.java:180)
        at org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:116)
        at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$AjaxFormSubmitter.onSubmit(AjaxFormSubmitBehavior.java:215)
        at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1305)
        at org.apache.wicket.markup.html.form.Form.process(Form.java:966)
        at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:788)
        at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:171)
        at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:146)
        at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:641)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
        at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
        at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:250)
        at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:236)
        at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890)
        at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
        at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
        at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
        at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
        at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
        at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
        at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:125)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at com.evolveum.midpoint.web.util.MidPointProfilingServletFilter.doFilter(MidPointProfilingServletFilter.java:78)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.r


More information about the midPoint mailing list