[midPoint] Error Stack and Bug Report while Creating the Resource.xml..

Ivan Noris ivan.noris at evolveum.com
Thu Oct 2 08:00:08 CEST 2014


Hi Indresh,

please paste your stack trace again. You should be able to find the
error also in idm.log in addition to the GUI so you could paste it as text.

Regards
Ivan

On 10/01/2014 11:53 AM, Indresh Kumar Bajpai wrote:
>
> Hi Team,
>
>
> Now I am passing the correct connector name space but still i am
> getting the same error
>
> please suggest needfully still what changes need to be done.!!!!:-(
>
>
>  i have checked the fallowing !!
>
>
> 1. I  gone through Configuration - Repository objects - Connector
> 2. checked that  connector object created for the custom connector,
> and checked whether, midPoint has picked it up (JAR file) or not
> 3. I have checked my connector object in the repository and check the
> values of "namespace" and "connector Type". These are being  used in
> resource configuration.
>
>
> Thanks and Regards
>
> Indresh
>
>
> ------------------------------------------------------------------------
> *From:* midpoint-bounces at lists.evolveum.com
> <midpoint-bounces at lists.evolveum.com> on behalf of Ivan Noris
> <Ivan.Noris at evolveum.com>
> *Sent:* 30 September 2014 12:30
> *To:* midPoint General Discussion
> *Subject:* Re: [midPoint] Error Stack and Bug Report while Creating
> the Resource.xml..
>  
> Hi,
>
> most probably, you are referencing incorrect connector namespace.
> Is this value:
> "http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.dummy.custom.connector.demo/com.dummy.custom.connector.demo.CustomConnector"
> the same as the "<namespace>" value in the Connector object in
> midPoint Repository?
>
> In the error message, midPoint is complaining about completely
> different namespace: com.ilantus.ixp.connector.pxp.
>
> Also, this connectorType value:
> "midpoint.evolvium.connector.CustomConnector" looks like you've a typo
> (evolvium instead evolveum?)
>
> Please do the following:
>
> 1. go to Configuration - Repository objects - Connector
> 2. check that you have connector object created for your custom
> connector. If not, midPoint has not picked it up (check where have you
> placed the JAR file)
> 3. open your connector object in the repository and check the values
> of "namespace" and "connectorType". These are to be used in your
> resource configuration. Do not change anything in the Connector
> objects; instead fix your Resource.
>
> Also I recommend to edit the Resource (as well as any other object) in
> text editor instead of XML editor in midPoint to get rid of the
> generated namespaces.
>
> Regards,
> Ivan
>
> ------------------------------------------------------------------------
>
>     *From: *"Indresh Kumar Bajpai" <indresh.bajpai at ilantus.com>
>     *To: *"midPoint General Discussion" <midpoint at lists.evolveum.com>
>     *Cc: *"Sai Chandra" <sai.chandra at ilantus.com>, "Shelly Piplani"
>     <shelly.piplani at ilantus.com>, "Sumit Sharma"
>     <sumit.sharma at ilantus.com>
>     *Sent: *Monday, September 29, 2014 3:10:03 PM
>     *Subject: *[midPoint] Error Stack and Bug Report while Creating
>     the        Resource.xml..
>
>     Hi Everyone,
>
>     find the details about Bug report and Error Stack
>
>     1 - i am trying to develop one Custom connector which is Exposed
>     through some soap based web services, while creating the
>     resource.xml i am passing the host name, domainName, url  of soap
>     web-services and password.
>
>     then i am trying to create the user through this soap url in the
>     target system
>
>     2 - find the details about resource.xml
>
>     <resource
>     xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
>               oid="5398eb4e-d294-40e0-a061-e6fcf71b9777"
>               version="15">
>        <name>Dummy Connector</name>
>        <description>
>             Dummy connector
>         </description>
>        <fetchResult>
>          
>     <operation>com.evolveum.midpoint.provisioning.api.ProvisioningService.getObject</operation>
>           <status>success</status>
>           <params>
>              <entry key="oid">
>                
>     <paramValue>5398eb4e-d294-40e0-a061-e6fcf71b7777</paramValue>
>              </entry>
>              <entry key="type">
>                 <unknownJavaObject>
>                    <class>java.lang.Class</class>
>                    <toString>class
>     com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType</toString>
>                 </unknownJavaObject>
>              </entry>
>              <entry key="options"/>
>           </params>
>           <context>
>              <entry key="implementationClass">
>                 <unknownJavaObject>
>                    <class>java.lang.Class</class>
>                    <toString>class
>     com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl</toString>
>                 </unknownJavaObject>
>              </entry>
>           </context>
>     <connectorRef oid="500976c0-90c1-4647-8888-76b53f36777f"
>     type="ConnectorType">
>             <description>Reference to the ICF Custom connector by
>     connectorType</description>
>             <filter>
>                  <q:equal
>     xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3">
>                 <q:path>connectorType</q:path>
>                
>     <q:value>midpoint.evolvium.connector.CustomConnector</q:value>
>              </q:equal>
>             </filter>
>         </connectorRef>
>         <connectorConfiguration>
>              <icfc:configurationProperties
>     xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3">
>              <gen636:host
>     xmlns:gen636="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.dummy.custom.connector.demo/com.dummy.custom.connector.demo.CustomConnector">https://192.167.9.90:8080/selfService</gen636:host>
>              <gen636:domainName
>     xmlns:gen636="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.dummy.custom.connector.demo/com.dummy.custom.connector.demo.CustomConnector">xyzgroup.com</gen636:domainName>
>     <gen636:url
>     xmlns:gen636="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.dummy.custom.connector.demo/com.dummy.custom.connector.demo.CustomConnector">https://190.169.9.50:9090/selfService</gen636:url>
>           </icfc:configurationProperties>
>     </connectorConfiguration>
>     <schema>
>           <cachingMetadata>
>             
>     <retrievalTimestamp>2014-07-07T17:42:04.548+05:30</retrievalTimestamp>
>             
>     <serialNumber>9aad24da8007351d-2db2ce64521340b4</serialNumber>
>           </cachingMetadata>
>           <definition>
>              <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>                         
>     xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3"
>                         
>     xmlns:ra="http://midpoint.evolveum.com/xml/ns/public/resource/annotation-3"
>                         
>     xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
>                         
>     xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3"
>                          elementFormDefault="qualified"
>                         
>     targetNamespace="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">
>                 <xsd:import
>     namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3"/>
>                 <xsd:import
>     namespace="http://prism.evolveum.com/xml/ns/public/annotation-3"/>
>                 <xsd:import
>     namespace="http://midpoint.evolveum.com/xml/ns/public/resource/annotation-3"/>
>                 <xsd:complexType name="AccountObjectClass">
>                    <xsd:annotation>
>                       <xsd:appinfo>
>                          <ra:resourceObject/>
>                          <ra:identifier>icfs:uid</ra:identifier>
>                         
>     <ra:secondaryIdentifier>icfs:name</ra:secondaryIdentifier>
>                         
>     <ra:displayNameAttribute>icfs:name</ra:displayNameAttribute>
>                         
>     <ra:namingAttribute>icfs:name</ra:namingAttribute>
>                         
>     <ra:nativeObjectClass>__ACCOUNT__</ra:nativeObjectClass>
>                          <ra:kind>account</ra:kind>
>                          <ra:default>true</ra:default>
>                       </xsd:appinfo>
>                    </xsd:annotation>
>                    <xsd:sequence>
>                       <xsd:element minOccurs="0" ref="icfs:uid">
>                          <xsd:annotation>
>                             <xsd:appinfo>
>                                <a:displayName>ICF UID</a:displayName>
>                                <a:access>read</a:access>
>                             </xsd:appinfo>
>                          </xsd:annotation>
>                       </xsd:element>
>                       <xsd:element ref="icfs:name">
>                          <xsd:annotation>
>                             <xsd:appinfo>
>                                <a:displayName>ICF NAME</a:displayName>
>                             </xsd:appinfo>
>                          </xsd:annotation>
>                       </xsd:element>
>                     
>                    </xsd:sequence>
>                 </xsd:complexType>
>              </xsd:schema>
>           </definition>
>        </schema>
>        schemaHandling>
>           <objectType>
>              <intent>default</intent>
>              <displayName>Default Account</displayName>
>              <default>true</default>
>              <objectClass
>     xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:AccountObjectClass</objectClass>
>              <activation>
>                 <administrativeStatus>
>                    <outbound/>
>                 </administrativeStatus>
>              </activation>
>              <credentials>
>                 <password>
>                    <outbound/>
>                 </password>
>              </credentials>
>           </objectType>
>        </schemaHandling>
>        <capabilities>
>           <cachingMetadata>
>             
>     <retrievalTimestamp>2014-09-23T17:42:04.552+05:30</retrievalTimestamp>
>             
>     <serialNumber>3ebf41a0e7ba7163-78f22da1f4144888</serialNumber>
>           </cachingMetadata>
>           <native>
>              <cap:testConnection
>     xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3"/>
>              <cap:create
>     xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3"/>
>              <cap:delete
>     xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3"/>
>              <cap:credentials
>     xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3">
>                 <cap:password>
>                    <cap:returnedByDefault>false</cap:returnedByDefault>
>                 </cap:password>
>              </cap:credentials>
>           </native>
>           <configured>
>              <cap:activation
>     xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3">
>                 <cap:status>
>                    <cap:attribute
>     xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:validity</cap:attribute>
>                    <cap:enableValue>true</cap:enableValue>
>                    <cap:disableValue>false</cap:disableValue>
>                    <cap:disableValue/>
>                 </cap:status>
>              </cap:activation>
>           </configured>
>        </capabilities>
>        </resource>
>
>     3 -While submitting the resource i am getting the fallowing error
>     in midpoint and the below Error Stack.
>
>
>
>
>     4 -   Operating system - Cent OS
>            J2EE application server and its version - Apache tomcat 6.0
>             Java version - JDK 1.7
>
>     5 - Mid point Version - 3.0
>
>
>     6 -Error Stack when i am assigning a target system (Account) to an
>     individual user
>
>
>     [pastedImage.png]
>
>
>
>     based on the above details can somebody suggest needfully to fix it.
>
>     This message contains information that may be privileged or
>     confidential and is the property of ILANTUS Technologies. It is
>     intended only for the person to whom it is addressed. If you are
>     not the intended recipient, you are not authorized to read, print,
>     retain, copy, disseminate, distribute, or use this message or any
>     part thereof. If you receive this message in error, please notify
>     the sender immediately and delete all copies of this message.
>     _______________________________________________
>     midPoint mailing list
>     midPoint at lists.evolveum.com
>     http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
>
>
> -- 
> -- 
>   Ing. Ivan Noris
>   Senior Identity Management Engineer
>   evolveum.com
>   ___________________________________________
>            "Idem per idem - semper idem Vix."
> This message contains information that may be privileged or
> confidential and is the property of ILANTUS Technologies. It is
> intended only for the person to whom it is addressed. If you are not
> the intended recipient, you are not authorized to read, print, retain,
> copy, disseminate, distribute, or use this message or any part
> thereof. If you receive this message in error, please notify the
> sender immediately and delete all copies of this message.
> This message contains information that may be privileged or
> confidential and is the property of ILANTUS Technologies. It is
> intended only for the person to whom it is addressed. If you are not
> the intended recipient, you are not authorized to read, print, retain,
> copy, disseminate, distribute, or use this message or any part
> thereof. If you receive this message in error, please notify the
> sender immediately and delete all copies of this message.
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-- 
  Ing. Ivan Noris
  Senior Identity Management Engineer
  evolveum.com
  ___________________________________________
           "Idem per idem - semper idem Vix."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20141002/d6a3aaab/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 45861 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20141002/d6a3aaab/attachment.png>


More information about the midPoint mailing list