[midPoint] O365 ConnectorTypeHost

Ivan Noris ivan.noris at evolveum.com
Thu Jun 9 16:17:06 CEST 2016


Hi,

so /data/conf/midpoint/icf-connectors should be that directory.
Permissions should allow the Tomcat to read the that file (e.g. 644) and
read/exec the directory (e.g. 755)

Can you please check idm.log when starting? In my case:

...
2016-06-06 14:01:09,326 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.init.StartupConfiguration): |  Version : 
3.4-SNAPSHOT
2016-06-06 14:01:09,326 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.init.StartupConfiguration): |  Sources : 
https://github.com/Evolveum/midpoint.git  branch:  ${scmBranch}
2016-06-06 14:01:09,327 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.init.StartupConfiguration): |  Bug reporting
system : http://jira.evolveum.com/
2016-06-06 14:01:09,327 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.init.StartupConfiguration): |  Product
information : http://wiki.evolveum.com/display/midPoint
2016-06-06 14:01:09,327 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.init.StartupConfiguration):
+------------------------------------------------------------------------------------------
---+
2016-06-06 14:01:09,331 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.init.ApplicationHomeSetup): midpoint.home =
/opt/midpoint.home-pokusy/
2016-06-06 14:01:09,331 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.init.ApplicationHomeSetup): Directory
/opt/midpoint.home-pokusy/ already exists. Reusing it.
2016-06-06 14:01:09,331 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.init.ApplicationHomeSetup): Directory
/opt/midpoint.home-pokusy//icf-connectors already exists. Reusing it.
2016-06-06 14:01:09,332 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.init.ApplicationHomeSetup): Directory
/opt/midpoint.home-pokusy//idm-legacy already exists. Reusing it.
2016-06-06 14:01:09,332 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.init.ApplicationHomeSetup): Directory
/opt/midpoint.home-pokusy//log already exists. Reusing it.
2016-06-06 14:01:09,332 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.init.ApplicationHomeSetup): Directory
/opt/midpoint.home-pokusy//schema already exists. Reusing it.
2016-06-06 14:01:09,332 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.init.ApplicationHomeSetup): Directory
/opt/midpoint.home-pokusy//import already exists. Reusing it.
2016-06-06 14:01:09,332 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.init.ApplicationHomeSetup): Directory
/opt/midpoint.home-pokusy//export already exists. Reusing it.
2016-06-06 14:01:09,332 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.init.ApplicationHomeSetup): Directory
/opt/midpoint.home-pokusy//tmp already exists. Reusing it.
2016-06-06 14:01:09,333 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.init.StartupConfiguration): Loading midPoint
configuration from file /opt/midpoint.home-pokusy/config.xml
...
2016-06-06 14:01:36,986 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.provisioning.ucf.impl.ConnectorFactoryIcfImpl):
Discovered ICF bundle on CLASSPATH:
com.evolveum.polygon.connector-csvfile version: 1.4.0.49
2016-06-06 14:01:37,043 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.provisioning.ucf.impl.ConnectorFactoryIcfImpl):
Discovered ICF bundle on CLASSPATH:
com.evolveum.polygon.connector-databasetable version: 1.4.0.49
2016-06-06 14:01:37,108 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.provisioning.ucf.impl.ConnectorFactoryIcfImpl):
Discovered ICF bundle on CLASSPATH: com.evolveum.polygon.connector-ldap
version: 1.4.3.0-SNAPSHOT
*2016-06-06 14:01:37,443 [] [localhost-startStop-1] INFO
(com.evolveum.midpoint.provisioning.ucf.impl.ConnectorFactoryIcfImpl):
Discovered ICF bundle in JAR:
org.forgerock.openicf.connectors.scriptedsql-conne version: 1.1.2.0.em3*


This is how my midPoint detected custom (not bundled) connector for
ScriptedSQL.

Ivan

On 06/09/2016 04:00 PM, Dick Muller wrote:
>
> Hi Ivan,
>
>  
>
> I will delete it then.
>
>  
>
> The JVM parameter is –Dmidpoint.home=/data/conf/midpoint
>
>  
>
> There is my config.xml and I also have stored working schema and
> organization schemaextension files there.
>
> So this must be correct.
>
>  
>
> I saved the connector-office365.jar file in the icf-connectors directory.
>
>  
>
> I suddenly thought about permissions on the filesystem. This is
> corrected to the tomcat user and restart again.
>
>  
>
> But still there is no connector loaded in the repository.
>
>  
>
> Thanks,
>
>  
>
> Dick
>
>  
>
>  
>
> *From: *midPoint <midpoint-bounces at lists.evolveum.com> on behalf of
> Ivan Noris <ivan.noris at evolveum.com>
> *Organization: *Evolveum, s.r.o.
> *Reply-To: *midPoint General Discussion <midpoint at lists.evolveum.com>
> *Date: *Thursday, June 9, 2016 at 3:43 PM
> *To: *"midpoint at lists.evolveum.com" <midpoint at lists.evolveum.com>
> *Subject: *Re: [midPoint] O365 ConnectorTypeHost
>
>  
>
> You should not manually create Connector (ConnectorType) objects,
> these are created by discovering the connectors; they also contain the
> connector schema.
>
> So, please:
> 1) check your current "midpoint.home" setting. It should be JVM
> parameter -Dmidpoint.home=/var/opt/midpoint or whatever you have. This
> is the directory, where config.xml exists, and where icf-connectors
> directory is also stored (with the custom connectors)
> 2) if you are not explicitely setting "midpoint.home" parameter, the
> default is probably Tomcat directory. If you find config.xml file,
> that's the directory.
>
> Is your Office365 connector in the icf-connectors directory of that
> directory?
>
> Unfortunately I have no experience with Office365 connector myself.
>
> Best regards,
> Ivan
>
> On 06/09/2016 03:38 PM, Dick Muller wrote:
>
>     Yes, but it was not.
>
>     It is now, because I created a connector manually, but the Schema
>     part is unknown to me.
>
>      
>
>     *From: *midPoint <midpoint-bounces at lists.evolveum.com>
>     <mailto:midpoint-bounces at lists.evolveum.com> on behalf of Ivan
>     Noris <ivan.noris at evolveum.com> <mailto:ivan.noris at evolveum.com>
>     *Organization: *Evolveum, s.r.o.
>     *Reply-To: *midPoint General Discussion
>     <midpoint at lists.evolveum.com> <mailto:midpoint at lists.evolveum.com>
>     *Date: *Thursday, June 9, 2016 at 3:37 PM
>     *To: *"midpoint at lists.evolveum.com"
>     <mailto:midpoint at lists.evolveum.com> <midpoint at lists.evolveum.com>
>     <mailto:midpoint at lists.evolveum.com>
>     *Subject: *Re: [midPoint] O365 ConnectorTypeHost
>
>      
>
>     (The Connector XML object should be in Configuration - Repository
>     Objects - Connector. Typed too fast.)
>
>     On 06/09/2016 03:34 PM, Ivan Noris wrote:
>
>
>
>         If all the above apply, you should see the Connector object in
>         Repository/Connector. It's also the confirmation that your
>         connector has been discovered when midPoint started. This
>         information is also in idm.log - all discovered connector
>         names are printed to idm.log.
>
>
>
>
>     -- 
>
>       Ing. Ivan Noris
>
>       Senior Identity Management Engineer & IDM Architect
>
>       evolveum.com                     evolveum.com/blog/
>
>       ___________________________________________________
>
>       "Semper ID(e)M Vix."
>
>
>
>
>     _______________________________________________
>
>     midPoint mailing list
>
>     midPoint at lists.evolveum.com <mailto:midPoint at lists.evolveum.com>
>
>     http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
>
> -- 
>   Ing. Ivan Noris
>   Senior Identity Management Engineer & IDM Architect
>   evolveum.com                     evolveum.com/blog/
>   ___________________________________________________
>   "Semper ID(e)M Vix."
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-- 
  Ing. Ivan Noris
  Senior Identity Management Engineer & IDM Architect
  evolveum.com                     evolveum.com/blog/
  ___________________________________________________
  "Semper ID(e)M Vix."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160609/d3ba4f45/attachment.htm>


More information about the midPoint mailing list