IT Resource information in pre-pop adapter

Hi,
I have a pre-populate adapter that queries the database. How do I map the db connection parameters with the IT resource parameters of the DB. I do see the option
'IT resources ' while mapping the variables, but I am not able to map them exactly to the url, driver,admin user Id, password etc.
Thanks,
Supreetha

You wont be able to do that from a pre pop adapter .
However , you have 2 options
- Map the It Resource and collect the long It resource key in your java code and using API's get the IT resource details
- Map the variable to literal and pass IT Resource name as String (only in case when you have only 1 IT Resource )and using API's get the details.
Thanks
Suren

Similar Messages

  • Error in Pre-Pop Adapter for AD using ResourceObjectDefinition Mapping

    Hi
    I have a PRe-pop adapter for Org name in AD -
    One of the variables is ResourceObjectDefintion. However OIM is not able to map it to the right object name and throws the below error -
    cAdapterDataMap/getResourceObjectInfo encounter some problems: Error retrieving user info: Object Name
    Class/Method: tcAdapterDataMap/getResourceObjectInfo encounter some problems: Column 'AD XXX' not found
    com.thortech.xl.dataaccess.tcDataSetException: Column 'AD XXX' not found
         at com.thortech.xl.dataaccess.tcDataSet.getColumnIndex(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataSet.getDataType(Unknown Source)
         at com.thortech.xl.dataobj.util.tcAdapterDataMap.getProcessResourceObjectInfo(Unknown Source)
         at com.thortech.xl.dataobj.util.*tcAdapterDataMap.getResourceObjectInfo*(Unknown Source)
         at com.thortech.xl.dataobj.rulegenerators.tcBaseRuleGenerator.getRunTimeValue(Unknown Source)
         at com.thortech.xl.dataobj.rulegenerators.adpADPOPULATEMANAGEROU.implementation(adpADPOPULATEMANAGEROU.java:56)
         at com.thortech.xl.dataobj.rulegenerators.tcBaseRuleGenerator.run(Unknown Source)
         at com.thortech.xl.dataobj.rulegenerators.tcAdapterExecuter.executeRuleGenerators(Unknown Source)
         at com.thortech.xl.dataobj.util.tcPrePopulateUtility.setDataFromAdapter(Unknown Source)
         at com.thortech.xl.dataobj.util.tcPrePopulateUtility.prePopulate(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.prepopulateProcessForm(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.prepopulateProcessForm(Unknown Source)
         at com.thortech.xl.ejb.beans.tcFormInstanceOperationsSession.prepopulateProcessForm(Unknown Source)
         at com.thortech.xl.ejb.interfaces.EJSRemoteStatelesstcFormInstanceOperations_3fa3c79b.prepopulateProcessForm(Unknown Source)
         at com.thortech.xl.ejb.interfaces._tcFormInstanceOperations_Stub.prepopulateProcessForm(_tcFormInstanceOperations_Stub.java:1963)
         at Thor.API.Operations.tcFormInstanceOperationsClient.prepopulateProcessForm(Unknown Source)
    at com.thortech.xl.dataobj.util.tcAdapterDataMap.getResourceObjectInfo(Unknown Source)
         at com.thortech.xl.dataobj.rulegenerators.tcBaseRuleGenerator.getRunTimeValue(Unknown Source)
         at com.thortech.xl.dataobj.rulegenerators.adpADPOPULATEMANAGEROU.implementation(adpADPOPULATEMANAGEROU.java:56)
         at com.thortech.xl.dataobj.rulegenerators.tcBaseRuleGenerator.run(Unknown Source)
         at com.thortech.xl.dataobj.rulegenerators.tcAdapterExecuter.executeRuleGenerators(Unknown Source)
         at com.thortech.xl.dataobj.util.tcPrePopulateUtility.setDataFromAdapter(Unknown Source)
         at com.thortech.xl.dataobj.util.tcPrePopulateUtility.prePopulate(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.prepopulateProcessForm(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.prepopulateProcessForm(Unknown Source)
         at com.thortech.xl.ejb.beans.tcFormInstanceOperationsSession.prepopulateProcessForm(Unknown Source)
         at com.thortech.xl.ejb.interfaces.EJSRemoteStatelesstcFormInstanceOperations_3fa3c79b.prepopulateProcessForm(Unknown Source)
         at com.thortech.xl.ejb.interfaces._tcFormInstanceOperations_Stub.prepopulateProcessForm(_tcFormInstanceOperations_Stub.java:1963)
         at Thor.API.Operations.tcFormInstanceOperationsClient.prepopulateProcessForm(Unknown Source)
    Thanks

    - Verify that the AD XXX RO exists in the system , if its there , then re do the mappings once more .
    I did the same and it worked for me
    Thanks
    Suren

  • Develop pre-populate adapter in request dataset in OIM 11G

    Hi Friends,
    I have a field say UD_TEMP_FORM_FIELDA on the process form which is going to be populated based on the value of a field SAY UD_TEMP_FORM_FIELDB on the request dataset.
    So my request dataset will have only one field which is UD_TEMP_FORM_FIELDB.
    And my process form will have two fields UD_TEMP_FORM_FIELDA and UD_TEMP_FORM_FIELDB.
    And I developed a pre-populate adapter on the process form to populate UD_TEMP_FORM_FIELDA field based on the value of UD_TEMP_FORM_FIELDB during provisioning. But pre-population is not at all getting triggered during provisioning. I believe I need to put UD_TEMP_FORM_FIELDA also on the request dataset and pre-populate its value in request dataset itself and pass the value from request data set to process form. Is this correct?
    If so, as per the documentation, we need to create a request dataset with pre-pop adapter in the below format.
    <AttributeReference name="Domain" attr-ref="domain" available-in-bulk="true" type="String" length="20" widget="text">
    <PrePopulationAdapter classname="oracle.iam.request.DomainPrepopulateAdapter"/>
    </AttributeReference
    As we are specifying only the class name in the above statement,
    1) How to pass the value of UD_TEMP_FORM_FIELDB to this class.
    2) Which method in the class will execute
    3) How to Registert this class.
    Can you please provide me some steps/urls for the above requirement?
    Thanks,
    Mike

    Hi Nishith,
    Thanks for your response.
    As per my requirement I am going to keep UD_TEMP_FORM_FIELDA (Group Owner) and UD_TEMP_FORM_FIELDB (AD Group Name) in the child forms and I am going to use the below pre-populate adapter code to get the value for UD_TEMP_FORM_FIELDA based on value of UD_TEMP_FORM_FIELDB.
    My question is:
    If I raise a request with only one value in the child form, then the below code will code work. But, If I add more than one value say AD groups in the child form while raising a request, this code is going to retrieve same owner value for all AD groups as it will go by FOR loop.
    How to pre-populate the individual owner for the individual AD group given in the child form? Please let me know.
    public class PrepopEBSRespValue implements PrePopulationAdapter {
    public Serializable prepopulate(RequestData requestData) throws RequestServiceException,
    tcAPIException,
    tcInvalidLookupException,
    tcColumnNotFoundException {
    List<Beneficiary> beneficiaries = null;
    List<RequestBeneficiaryEntity> benEntities = null;
    List<RequestBeneficiaryEntityAttribute> benAttrs = null;
    String ownerValue="";
    beneficiaries = requestData.getBeneficiaries();
    if (beneficiaries != null && !beneficiaries.isEmpty())
    for (oracle.iam.request.vo.Beneficiary beneficiary : beneficiaries)
    benEntities = beneficiary.getTargetEntities();
    if (benEntities != null && benEntities.size() > 0)
    for (oracle.iam.request.vo.RequestBeneficiaryEntity benEntity : benEntities)
    benAttrs = benEntity.getEntityData();
    if (benAttrs != null && benAttrs.size() > 0)
    for (oracle.iam.request.vo.RequestBeneficiaryEntityAttribute benAttr : benAttrs)
    if(benAttr.hasChild())
    java.util.List <oracle.iam.request.vo.RequestBeneficiaryEntityAttribute> list = benAttr.getChildAttributes();
    java.util.Iterator iterator = list.iterator();
    while(iterator.hasNext())
    oracle.iam.request.vo.RequestBeneficiaryEntityAttribute attribute =(oracle.iam.request.vo.RequestBeneficiaryEntityAttribute)iterator.next();
    String attrName=attribute.getName();
    if (attrName.equalsIgnoreCase("Owner"))
    String lookupName="Lookup.Owner.values";
    System.out.println("Getting decoded value for the given code key..");
    String attrValue=attribute.getValue().toString();
    HashMap searchcriteria = new HashMap();
    searchcriteria.put("Lookup Definition.Lookup Code Information.Decode", attrValue);
    Thor.API.Operations.tcLookupOperationsIntf lookupIntf=Platform.getService(Thor.API.Operations.tcLookupOperationsIntf.class);
    tcResultSet result = lookupIntf.getLookupValues(lookupName,searchcriteria);
    for(int i=0;i<result.getRowCount();i++)
    result.goToRow(i);
    ownerValue = result.getStringValue("Lookup Definition.Lookup Code Information.Code Key");
    System.out.println("Decoded Value::"+ownerValue);
    return (Serializable) ownerValue;
    }

  • Pre populate adapter in AD

    Hi everyone, I need to change the value of ID user, how can I change this in AD prepolulate login user, I can´t trace where it´s looking this information.
    Thanks.

    Yes I know how to create a pre-pop adapter, but How the existing pre-pop adapter can get the UserLogin , they can get , right ? So when I create the pre-pop adapter I will create a jar with the method concat(String,String) and pass the the FirstName and LastName , right ?
    I receive this error.
    08/02/27 11:40:10 java.lang.Exception: Error getting run-time variables.
    08/02/27 11:40:10       at com.thortech.xl.dataobj.util.tcAdapterMappingUtility.getRunTimeVariableMappings(Unknown Source)
    08/02/27 11:40:10       at com.thortech.xl.dataobj.rulegenerators.tcBaseRuleGenerator.getRunTimeValue(Unknown Source)
    08/02/27 11:40:10       at com.thortech.xl.dataobj.rulegenerators.adpADPREPOPULATEUSERLOGIN.implementation(adpADPREPOPULATEUSERLOGIN.java:51)
    08/02/27 11:40:10       at com.thortech.xl.dataobj.rulegenerators.tcBaseRuleGenerator.run(Unknown Source)
    08/02/27 11:40:10       at com.thortech.xl.dataobj.rulegenerators.tcAdapterExecuter.executeRuleGenerators(Unknown Source)
    08/02/27 11:40:10       at com.thortech.xl.dataobj.util.tcPrePopulateUtility.setDataFromAdapter(Unknown Source)
    08/02/27 11:40:10       at com.thortech.xl.dataobj.util.tcPrePopulateUtility.prePopulate(Unknown Source)
    08/02/27 11:40:10       at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.prepopulateProcessForm(Unknown Source)
    08/02/27 11:40:10       at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.prepopulateProcessForm(Unknown Source)
    08/02/27 11:40:10       at com.thortech.xl.ejb.beans.tcFormInstanceOperationsSession.prepopulateProcessForm(Unknown Source)
    08/02/27 11:40:10       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    08/02/27 11:40:10       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    08/02/27 11:40:10       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    08/02/27 11:40:10       at java.lang.reflect.Method.invoke(Method.java:585)
    08/02/27 11:40:10       at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    08/02/27 11:40:10       at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    08/02/27 11:40:10       at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    08/02/27 11:40:10       at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    08/02/27 11:40:10       at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    08/02/27 11:40:10       at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    08/02/27 11:40:10       at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
    08/02/27 11:40:10       at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    08/02/27 11:40:10       at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    08/02/27 11:40:10       at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    08/02/27 11:40:10       at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    08/02/27 11:40:10       at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    08/02/27 11:40:10       at tcFormInstanceOperations_RemoteProxy_6ocop18.prepopulateProcessForm(Unknown Source)
    08/02/27 11:40:10       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    08/02/27 11:40:10       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    08/02/27 11:40:10       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    08/02/27 11:40:10       at java.lang.reflect.Method.invoke(Method.java:585)
    08/02/27 11:40:10       at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
    08/02/27 11:40:10       at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    08/02/27 11:40:10       at java.lang.Thread.run(Thread.java:595)

  • Pre populate adapter in OIM 11gr2 not triggered in database

    Hello,
    Folowing is the steps for creation of pre populated adapter in OIM
    ** we have created one form in OIM which is provisioned to Database**
    Steps
    · Installed GTC connector for Database Web App 9.*
    · Created new user and Table in Database
    · Created IT resource for Database
    · Created Sandbox, App Instance and Form, published sandbox
    · Started catalog synchronization job scheduler
    · Created user and and request account to app instance.
    * select application instance to catalog and checkout.
    ** we have created adapter as per the following link
    http://idmrockstar.com/blog/2009/08/how-to-create-a-prepopulate-adapter-in-oim/
    create a pre populated adapter that will populate the firstname of user in email using java class
    source code:
    public class AdapterClass{
    public String email( String fname )
    return fname;
    Steps:
    1) In the design console I have open the Adapter Factory and create a new adapter name :firstname
    adapter type: pre-populate rule generator
    click on save
    2) select variable list tab:
    variable name:Firstname
    type:String
    Map to : Resolve at runtime
    click on save
    3) select Adapter Task tab
    * click add and select logical task
    * select SET VARIABLE and click continue
    * Operand Type:variable
    * Operand Qualifier : FIrstname
    click save and save the adapter
    4) compile the java class into jar file and move the jar file into OIM_HOME\server\JavaTasks
    5)Create a new Adapter with the following"
    Adapter name:Email
    Adapter type: Pre-populate rule Generator
    click save
    6) select variable list tab:
    variable name: var1
    Type:String
    Map to:Resolve at runtime and click save
    7) select Functional Task tab:"
    select java click continue
    select the following information:
    Task name:email
    Api source: JavataskJar:Adapterclass.jar( the jar file which you have create)
    application api: adapteclass
    click save
    8) In the Application method parameters,select the first input: String
    Cange Map to:Adapter variables
    Set the name to:var1 and click save
    9) select the output:STring
    change map to:Adapter variables
    set name to: return variable
    10) click save and save the adapter and click on Build
    Adapter is now build the next step isto join it to the form
    ** join the adapter to the form**
    Steps:
    1) click on form designer and search the related form which we have created
    2) In the respective form click on create a new version and create a new version
    3) and then click on Pre populate tab and click on ADD
    4)select adapter field to firstname
    Rule : default
    Adapter : Firstname
    and click on save
    5) In the adapter variable field click on firstname and fill the following
    map to: Process data
    Qualifier : firstname
    6) Repeat steps 3 to 5 to map the email adapter
    7) click on save.
    Now we have done with all the steps and now we have created one User submit the user
    we have click on request acounts ---> search the catalog and select the application instance (select the app instance "database provisioning") ---> add to cart ---> and check out ---> fill the form leaving email field --> ready to submit ---> submit
    now we have check this user in database but still pre populated fields are not reflected. since this not working so we have found the other three links
    Re: OIM 11gR2 - Prepopulate Field Empty Problem
    http://fusionsecurity.blogspot.in/2013/01/populating-request-attributes-in-oim.html
    http://identityandaccessmanager.blogspot.in/2011/07/prepopulate-adapter-in-oim-11g.html
    according to these links they mention to implements the prepopulationadapter interface into the java class and create the plugin.xml for the class which we have used in jar.
    so we prepared a plugin.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <plugins pluginpoint="oracle.iam.request.plugins.PrePopulationAdapter">
    <plugin pluginclass= "com.oracle.demo.iam.prepop.plugin.UserLoginPrePop" version="1.0" name="UserLoginPrePop">
    <metadata name="PrePopulationAdapater">
    <value> My_users::email</value>
    </metadata>
    </plugin>
    </plugins>
    </oimplugins>
    and the java class which implements "PrePopulationAdapter".
    they mention to put that jar into one directory named "lib"and paste the xml and lib folder into the OIM_HOME\server\plugin
    BUt we stuck on how to configure the adapter or what is the next steps for the above process. or there is something that we have missed in the process
    please do reply its urgent
    Regards,
    Tushar Palekar

    hii i have followed all your steps regarding the pre populated adapter ,but no luck.
    java code :
    package com.oracle.demo.iam.prepop.plugin;
    import java.io.Serializable;
    import oracle.iam.request.plugins.PrePopulationAdapter;
    import oracle.iam.request.vo.RequestData;
    public class Userfname implements PrePopulationAdapter {
    public Serializable prepopulate(RequestData requestData){
    String fname = "xyz";
    System.out.println("Returning fname ==== " + fname );
    return fname ;
    2)i have create a jar for this code and paste it into lib folder.
    3) i have create a plugin.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <*plugins pluginpoint="oracle.iam.request.plugins.PrePopulationAdapter">*
    *<plugin pluginclass= "com.oracle.demo.iam.prepop.plugin.Userfname" version="1.0" name="Userfname">*
    *<metadata name="PrePopulationAdapater">*
    *<value>register::LAST_NAME</value>*
    *</metadata>*
    *</plugin>*
    *</plugins>*
    *</oimplugins>*
    4)i register the plugin using ant -f  pluginregistration.xml register
    5)i have restartthe oim server and then i create a user using the same app instatnce in which i have create the form(ie.register),and
    request acount-->select app instance ---> add to cart
    but the last name xyz as per the java code is not reflected in the dadbase table.
    please help
    tushar palekar

  • Pre-populate adapter for setting the Active Directory OU for a user

    Hi All
    I created a pre-populate adapter that set the Active Directory OU for a user...
    In the end the status of the resource is still showing "provisioning"..
    It must be "Provsioned"..did I miss something ?
    The logs speak as below :-
    08:01:12,678 INFO [STDOUT] Running Create User
    08:01:12,678 INFO [STDOUT] Before appending Root Context:OU=Human Resources,
    08:01:12,678 INFO [STDOUT] tcUtilLDAPController.java : hierString : OU=Human Resources,dc=mydomain,dc=com
    08:01:13,553 ERROR [ACTIVEDIRECTORYCONTROLLER] Problem creating object: javax.naming.OperationNotSupportedException: [LD
    AP: error code 53 - 0000001F: SvcErr: DSID-031A0FC0, problem 5003 (WILL_NOT_PERFORM), data 0
    ]; remaining name 'cn=ASYMONDS'
    08:03:18,756 INFO [[xlWebApp]] action: LogonAction: User 'XELSYSADM' logged on in session 8116CBC0FA1481D06A207A1941B9
    E096
    08:22:31,256 ERROR [WEBAPP] Class/Method: ProvisionedResourcesForUserAction/confirmEnableSelection encounter some proble
    ms: No checkbox was checked.

    Just verify the OU value is correctly populated , first try doing the provisioning by manually giving OU and everything .
    Is it successful ?
    Then we can check if something wrong going with pre pop.
    Thanks
    Suren

  • How to reuse a pre-populate adapter

    Hi OIM gurus,
    I have a pre-pop rule gen adapter that computes the value of a process form attribute based on business logic applied to a OIM user form attribute. Now, if the OIM user form attribute changes I want this pre-pop to run again and update the process form attribute. It is not happening by default. Is there any setting for this to re-invoke or should I write the same business logic again in a process task adapter and link it to the "Change Attribute" trigger?
    Thanks
    SK

    Hi,
    OIM pre-pop work only once at the time of initial provisioning.It does not update process form attribute when OIM user profile attribute is changed. You need to add Change attribute task in provisioning process and update the form using setProcessFormData method of tcFormInstanceOperationsIntf .
    Let me know if you have any questions.
    Regards
    Nitesh

  • Problem in creating pre populated adapter in oim

    HI ,
    I have created one adapter with type "*Pre-Populate Rule Generator*", as per the link i follow::
    http://idmrockstar.com/blog/2009/08/how-to-create-a-prepopulate-adapter-in-oim/
    in this i want to pre populate the email id with firstname.lastname. i have successfully done the all the steps and mapping as per the link,but the emailid fileds in db tables has not reflected any changes with lastname.firstname.
    i found that the note mention that " *To make the field be auto-populated, the Auto-populate*
    *checkbox for the iPlanet Resource must be checked. Otherwise the*
    *Prepopulate button on the form has to be clicked for the field to update.*
    *To test the adapter, provision someone to iPlane"* but i'm not able to find such check box anywhere.please help as i'm new in oim.where exactly this check box is present.
    thanx in advance .

    No, my user has got provisioned, but my pre populate adapter is not in effect.
    I have created this pre populated adapter for concatinating the firstname and lastname and get populated in email.
    i have created one form using Generic Technology connectors that is provisioned with DB.
    here are steps which i have followed:
    1) create gtc for provisioning .
    2)created it resources with type : database.
    3)i created sandbox
    4)create application instatnce
    5)publish sandbox
    6) thenn i run the schedular catlog synchronization job.
    7) then i create the users
    8) then i add that user to the application instatnce by adding to cart.
    9) then get appear with a process form.
    then by submiting the state is converted to provisioned.
    then this form table i map with that adapter but still not refled any changes..
    is there any mistake in the above sequence or something wrong.please help.it is very urgent.
    thanks

  • Server 2012 R2 - The system failed to register host (A or AAAA) resource records (RRs) for network adapter

    We seem to be having an issue recently after introducing new Windows Server 2012 R2 servers where they fail to register DNS correctly. The Windows Firewall is off and the servers are on the same VLAN with no firewalls between them.
    When I do an ipconfig /registerdns or wait 24 hours for the system to try we get the following error:
    The system failed to register host (A or AAAA) resource records (RRs) for network adapter
    with settings:
               Adapter Name : {4A0ECF05-193F-4BEA-AA46-BEC593BA752B}
               Host Name : SRV-DATA
               Primary Domain Suffix : internal.local
               DNS server list :
    192.168.0.50, 192.168.0.42
               Sent update to server : <?>
               IP Address(es) :
                 192.168.0.99
    The reason the system could not register these RRs was because the DNS server contacted refused the update request. The reasons for this might be (a) you are not allowed to update the specified DNS domain name, or (b) because the DNS server authoritative
    for this name does not support the DNS dynamic update protocol.
    To register the DNS host (A or AAAA) resource records using the specific DNS domain name and IP addresses for this adapter, contact your DNS server or network systems administrator.
    On our DNS server we have set for the internal.local zone Secure Updates only so that looks good because it is Active Directory that should be handling this authentication to update the record I assume. Just to mention that when also doing an ipconfig /regsiterdns
    the update fails within a few seconds. 
    Source: DNS Clients Events
    Event ID: 8018
    User: NETWORK SERVICE
    This issue is only affecting Windows Server 2012 R2 clients and testing with Windows Server 2008 R2 clients works no issues. So is this a mis-configuration or a bug with Windows 2012 R2? I have checked all DNS settings on client / server which all look good
    to me so reaching out now to see if anyone has any ideas?
    Environment:
    - Windows Server 2012 R2 Domain Controllers (Forest/Domain Levels 2012 R2)
    - Windows Server 2012 R2 Client machines (Physical and Virtual)
    - Windows Server 2008 R2 Client machines (Physical and Virtual)

    The zone is configured as "Secure Only"
    The PDC is the SOA for the zone
    I dont have a packet capture from the DC, only the client. 
    The query you asked me to run is too long to paste in here, however this is the DNS zone it cannot update:
    NotifyServers                     : 
    SecondaryServers                  : {10.2.0.3, 10.2.0.5}
    AllowedDcForNsRecordsAutoCreation : 
    DistinguishedName                 : DC=internal.local,cn=MicrosoftDNS,DC=ForestDnsZones,DC=internal,DC=local
    IsAutoCreated                     : False
    IsDsIntegrated                    : True
    IsPaused                          : False
    IsReadOnly                        : False
    IsReverseLookupZone               : False
    IsShutdown                        : False
    ZoneName                          : internal.local
    ZoneType                          : Primary
    DirectoryPartitionName            : ForestDnsZones.internal.local
    DynamicUpdate                     : Secure
    IsPluginEnabled                   : False
    IsSigned                          : False
    IsWinsEnabled                     : False
    Notify                            : NoNotify
    ReplicationScope                  : Forest
    SecureSecondaries                 : TransferToSecureServers
    ZoneFile                          : 
    PSComputerName                    : 
    CimClass                          : root/Microsoft/Windows/DNS:DnsServerPrimaryZone
    CimInstanceProperties             : {DistinguishedName, IsAutoCreated, IsDsIntegrated, IsPaused...}
    CimSystemProperties               : Microsoft.Management.Infrastructure.CimSystemProperties

  • Using the OIM logger in a Pre-populate adapter

    I am having problems getting the logger to show any output from my java code. This same logic works for a scheduled task, but not in a pre-populate adapter. I am even trying to use a logging class that I see is already in the logs.
    Code snippet:
    import com.thortech.util.logging.Logger;
    public class MyPrePop {
    private static Logger logger = Logger.getLogger("XELLERATE.ADAPTERS");
    public String doSomething(String userid) {
    logger.info("Using "+userid);
    return "COMPLETE"
    Any help is greatly appreciated!
    Kerry

    Have you added all the filelds in prepoluate tab of the process form which all you want to prepopulate and assigned them the "iPlanet PP String" adapter if you want to just copy the values from OIM to LDAP.

  • Capturing Hosts,cluster,ad Resource information of hosts using SPF REST API

    Hi,
    We are using SCVMM 2012R2 to integrate Hyper-V VMM with java using SPF REST API.For this I am using tenant API. 
    I am able fetch all the entities in VMM using GET query in SPF URL,but I am unable to fetch hosts,cluster and resource information for hosts.
    Can anyone please tell me how will I fetch this information with REST API or does there any other way exists.
    If so please tell  me with the example.
    Thank you.

    Hi ,
    SPF only covers Tenant actions and information. There is no information about hosts and clusters that can be get from SPF.

  • LOV Decode value returned by Pre-populate Adapter

    Hi,
    I have a lot of UDFs of type LOV, in particular System LOV( that point to custom Lookup Field definitions).
    My problem is to get and return not the Lookup Decode value and not the Lookup Code Key (default OIM behavior) by a Pre-populate adapter.
    May you help?
    Thanks and regards,
    Gabriele.

    Hi Kevin,
    may you provide a sample code fro that?
    What you said it's true for UI/RequestTemplate that is: the Lookup Decode value it's displayed; but it's not true for a Pre-populate adapter mapped on a Provisioning Form.
    In particular my custom pre-populate adapter is like the following:
    CUSTOM Prepopulate Field Value
    Adapter Name: CUSTOM Prepopulate String Field Value
    Adapter Type: Pre-populate Rule Generator
    Description: return input field value (String)
    [Save]
    [Variable List]
    [Add]
    Variable Name: string_field_value
    Description: string_field_value
    Type: String
    Map to: Resolve at runtime
    [Adapter Tasks]
    [Add]
    Logical Task + SET VARIABLE
    Variable Name: Adapter Return Variable
    Operand Type: Variable
    Operand Qualifier: string_field_value
    [Build] (Compile Status = OK)
    [Save]
    and it is mapped on AD Provisioning Form (Form Designer - UD_ADUSER - Pre-Populate):
    Field Name: Description
    Rule: Default
    Adapter: CUSTOM Prepopulate String Field Value
    [Save]
    [Map] string_field_value
    Map to: User Definition
    Qualifier: <UDF LOV attribute>
    where the <UDF LOV attribute> it's my custom sttribute type System LOV. It returns the Code Key value not the Decode value.

  • Generating Manager field in OID by using Pre-populate Adapter

    Hi All,
    I created a pre-populate Adapter that uses First name and Last name of user and add the manager field to OID during provisioning.
    But during provisioning i am getting Naming Exception.
    This is what i found in JBoss application server.
    09:30:58,828 INFO [STDOUT] Running CONCATENATEVARS
    09:30:58,828 INFO [STDOUT] Target Class = StringUtil
    09:30:58,921 INFO [STDOUT] Running CONCATENATEVARS
    09:30:58,921 INFO [STDOUT] Target Class = StringUtil
    09:30:59,640 INFO [STDOUT] Running GetTargetAttributeMapping
    09:30:59,703 INFO [STDOUT] Running GetProcessData
    09:30:59,859 INFO [STDOUT] Running SHOULDUSEXLORG
    09:30:59,875 INFO [STDOUT] Target Class = java.lang.Boolean
    09:30:59,875 INFO [STDOUT] Running SHOULDUSESSL
    09:30:59,875 INFO [STDOUT] Target Class = java.lang.Boolean
    09:30:59,875 INFO [STDOUT] Running CREATEUSER
    09:31:00,203 INFO [STDOUT] Target Class = com.thortech.xl.integration.OID.tcUtilOIDUserOperations
    09:31:00,250 INFO [OID] Parameter Variables passed into com.thortech.xl.integration.OID.tcUtilOIDUserOperations:tcUtilOIDUserOperations(s,s,s,s,s,o,o,b): are sServ
    sPort = 3060, sPrincipalDN = cn=orcladmin,
    09:31:00,281 INFO [OID] Parameter Variables passed into com.thortech.xl.integration.OID.util.tcUtilLDAPOperations:tcUtilLDAPOperations(): Login Variables are:: are
    = cn=orcladmin, sProviderURL = ldap://192.168.109.140:3060,
    09:31:00,281 INFO [OID] Parameter Variables passed into com.thortech.xl.integration.OID.tcUtilOIDUserOperations:createUser(S,S,S,S,S): are sContainerDN = cn=users,
    ER8,
    09:31:00,343 INFO [OID] com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : connectToAvailableOID() : SSL option is not selected in ITResource
    09:31:00,359 INFO [OID] Parameter Variables passed into com.thortech.xl.integration.OID.tcUtilOIDUserOperations:formatOrgDN(s,s): are sOrgDN = cn=users, sRootDN =
    09:31:00,359 INFO [OID] Parameter Variables passed into com.thortech.xl.integration.OID.tcUtilOIDUserOperations:isObjectExists(S,S): are sContainerDN = cn=users,dc
    09:31:00,375 INFO [OID] Parameter Variables passed into com.thortech.xl.integration.OID.util.tcUtilLDAPOperations:search(S,S,b,S[]): are pSearchBase = cn=users,dc=
    09:31:00,390 INFO [OID] Parameter Variables passed into com.thortech.xl.integration.OID.util.tcUtilLDAPOperations:createObject(S,A): are pObjDN = cn=TESTUSER8,cn=u
    .BasicAttributes$IDEnumImpl@1217a79,
    09:31:00,515 ERROR [OID] ====================================================
    09:31:00,515 ERROR [OID] ERROR in OID:com.thortech.xl.integration.OID.util.tcUtilLDAPOperations:createObject(S,A) NamingExceptionUnable to create object
    09:31:00,515 ERROR [OID] ====================================================
    09:31:00,531 ERROR [OID] ====================================================
    09:31:00,531 ERROR [OID] cn=TESTUSER8,cn=users,dc=orademo,dc=com: [LDAP: error code 34 - Invalid DN Syntax]
    09:31:00,546 ERROR [OID] ====================================================
    09:31:00,546 ERROR [OID] ====================================================
    09:31:00,562 ERROR [OID] ERROR in com.thortech.xl.integration.OID.tcUtilOIDUserOperations:createUser(S,S,S,S,S) NamingExceptionError while connecting to target
    09:31:00,562 ERROR [OID] ====================================================
    09:31:00,578 ERROR [OID] ====================================================
    09:31:00,578 ERROR [OID] com.thortech.xl.integration.OID.util.tcUtilLDAPOperationsUnable to create objectNamingExceptioncn=TESTUSER8,cn=users,dc=orademo,dc=com: [LDA
    09:31:00,578 ERROR [OID] ====================================================
    09:31:00,593 ERROR [OID] ====================================================
    09:31:00,593 ERROR [OID] com.thortech.xl.integration.OID.util.tcUtilLDAPOperationsUnable to create objectNamingExceptioncn=TESTUSER8,cn=users,dc=orademo,dc=com: [LDA
    09:31:00,609 ERROR [OID] ====================================================
    Can anyone help me to come out of this.
    Thanks & Regards,
    Rajesh.

    Hi Rajiv,
    I am generating the value to the manager field in OID.I found this value getting generated in the OID user form.But this value is not provisioning during provisioning the user.
    In the OID Configuration Lookup table i found the manager is mapped to ldapManager.But when i connected to OID through ldap browser i didn't find this attribute.The manager attribute is not there.
    So can you help me to solve this.
    Thanks & Regards,
    Rajesh.

  • Pre-Populate adapter for Oracle connector

    Hi ,
    We are using OIM to manage Oracle and AD users. I have a requirement to provision users to both the target system , For AD connector, predefine pre-populate adapters are available for populating login id , first name , last name etc…from OIM user form, but in case of Oracle I didn’t see any such pre-populated adapter. How can I populate a value in the Person_uid field for the oracle user what ever the value will given in the OIM user form.Should i need to write any custom code for pre-populate adapter.
    Version details
    OIM – 9.1.0.1
    Oracle Connector 9.1
    Regards,
    Poorna

    I hope that Kevin has explained but I am writing once again for your convenience
    Create an adapter of type pre-populate
    Add a variable, X, of type String and set the Map To to Resolve at Runtime.
    Add a logical task SET VARIABLE.
    Map Adapter Return value with variable X
    Compile the adapter
    Just attach this adapter with your fields on process form and map the variable with User Definition Fields like first name, last name etc.
    It will work for you but keep in mind that it will populate String Fields of User Definition.
    For Date and other fields you have to create a similar adapter

  • Problem in pre populated adapter in OIM 11 g R2

    hii i have followed following steps regarding the pre populated adapter ,but no luck.
    java code :
    package com.oracle.demo.iam.prepop.plugin;
    import java.io.Serializable;
    import oracle.iam.request.plugins.PrePopulationAdapter;
    import oracle.iam.request.vo.RequestData;
    public class Userfname implements PrePopulationAdapter {
    public Serializable prepopulate(RequestData requestData){
    String fname = "xyz";
    System.out.println("Returning fname ==== " + fname );
    return fname ;
    2)i have create a jar for this code and paste it into lib folder.
    3) i have create a plugin.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <*plugins pluginpoint="oracle.iam.request.plugins.PrePopulationAdapter">*
    *<plugin pluginclass= "com.oracle.demo.iam.prepop.plugin.Userfname" version="1.0" name="Userfname">*
    *<metadata name="PrePopulationAdapater">*
    *<value>register::LAST_NAME</value>*
    *</metadata>*
    *</plugin>*
    *</plugins>*
    *</oimplugins>*
    4)i register the plugin using ant -f  pluginregistration.xml register
    5)i have restartthe oim server and then i create a user using the same app instatnce in which i have create the form(ie.register),and
    request acount-->select app instance ---> add to cart
    but the last name xyz as per the java code is not reflected in the dadbase table.
    please help
    tushar palekar

    Hii,
    I found that there is exception during registraion of plugin.xml in oim.
    -**register-to-wls-server:**
    **[java] Java Result: 1**
    **[delete] Deleting: c:\yash\Oracle\Middleware\Oracle_IDM1\server\plugin_utility\20130417160129.tmp**
    **[echo] Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jrf/PortabilityLayerException**
    +*[echo] at oracle.iam.platformservice.utils.PluginUtility.main(PluginUtility.java:210)*+*
    +*[echo] Caused by: java.lang.ClassNotFoundException: oracle.jrf.PortabilityLayerException*+*
    **[echo] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)**
    **[echo] at java.security.AccessController.doPrivileged(Native Method)**
    **[echo] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)**
    **[echo] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)**
    **[echo] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)**
    **[echo] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)**
    **[echo] ... 1 more**
    **[echo] classpath=C:\yash\Oracle\Middleware\Oracle_IDM1\server\ext\spring.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\ext\jakarta-commons\commons-logging.jar;C**
    **\iam-platform-context.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\platform\iam-platform-utils.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\platform\iam-platfor**
    **DM1\server\platform\iam-platform-pluginframework.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\client\oimclient.jar;C:\yash\Oracle\Middleware\wlserver_10.3\server\li**
    **[echo]**
    **[echo]**
    **[echo] was_home=null**
    **[echo]**
    **[echo]**
    **[echo] client_home=null**
    **[echo]**
    **[echo]**
    **[echo] xl_home=null**
    **[echo]**
    **[echo]**
    **[echo] mw_home=null**
    **[echo]**
    **[echo]**
    **[echo] newClasspath=C:\yash\Oracle\Middleware\Oracle_IDM1\server\ext\spring.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\ext\jakarta-commons\commons-logging.ja**
    **orm\iam-platform-context.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\platform\iam-platform-utils.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\platform\iam-plat**
    **e_IDM1\server\platform\iam-platform-pluginframework.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\client\oimclient.jar;C:\yash\Oracle\Middleware\wlserver_10.3\server**
    **null/ext/ucp.jar:null/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar:null/lib/oimclient.jar:null/server/lib/wlfullclient.jar:null/ext/jakarta-commons/commons-loggin**
    **ar:null/ext/spring.jar:null/server/lib/webserviceclient+ssl.jar:null/platform/iam-platform-utils.jar:null/server/lib/wlclient.jar:null/server/lib/weblogic.jar:null/plat**
    **features-system-configuration.zip:null/features/iam-features-identity.zip:null/features/iam-features-platformservice.zip:null/ext/log4j-1.2.8.jar:null/lib/XellerateClie**
    **/lib/xlVO.jar:null/lib/xlUtils.jar:null/lib/xlCrypto.jar:null/lib/xlAuthentication.jar:null/lib/xlDataObjectBeans.jar:null/ext/oscache.jar:null/ext/javagroups-all.jar:n**
    **jrf-api.jar:null/oracle_common/modules/oracle.jrf_11.1.1/jrf-api.jar:null/ext/jrf-api.jar:null/oracle_common/webservices/wsclient_extended.jar:null/oracle_common/module**
    **on/modules/oracle.jmx_11.1.1/jmxspi.jar:null/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar**
    **BUILD SUCCESSFUL**
    **Total time: 1 minute 21 seconds**
    please help as it is very urgent
    Thnks ,
    Tu$har
    Exception:

Maybe you are looking for

  • Read more than one attribute from list of values record

    Hi, I am using Jdev 11.1.1.3.0. I have the following situation, have defined a read only view (schools information) which is a list of values for schools information ( schoolId, school name and school code) , I have to execute Query for that view as

  • "Page View"?

    I like Pages, but the biggest obstacle for me to contemplate a serious switch is the look of the window. In Word, there's a "Page View" option that creates gray space around the workspace when you have the window open beyond a certain point. That phy

  • Problem when printing from the browser

    The report is displayed in the browser properly. We are using rwcgi to view the reports in the browser. But when printed using the print option of the browser, the page setup is taken from the browser's page setup. How do we set the browser's page se

  • Switching GeForce Mode

    I cannot seem to find where you switch between the video modes on the new MacBook (2008 Al). Any help would be appreciated. Thanks Ivan

  • Calling UNIX command from PL/SQL Procedure

    Is there a way to call a UNIX command (exa. ls) from within a PL/SQL stored procedure? Looking through the various packages, I didn't see anything that would give me this ability. I also looked through all the previous questions and nothing looked en