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:

Similar Messages

  • 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

  • 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

  • Facing problem in iplanet pre populate adapter in OIM 11g r2

    We have deafult iplanet prepop adapter as iPlanet PP String. the default fields, i.e First Name, Last Name, email is getting populated from user form to process form. But we have a number of other attributes as well whose values need to be pre populated from user to process form. So I created an user in OIM with First Name, Last Name, email and some of the additional attributes, for eg Comapny Code. S while provisioning a user to the target system, only the user is getting provisioned to the target system with First Name, Last Name, email . Company Code is not getting populated, Although the mapping is correctly done.
    Kindly suggest.
    Edited by: 918071 on Oct 31, 2012 7:08 AM

    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.

  • 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

  • Pre populated Adapters

    Hi everyone!
    Hope you are having a great time. We would like to know what is the API or class or package that we can use in order to get the information from a user that is being created in OIM 11g. Based on the following scenario:
    We have a new user/employee, an HR system (PeopleSoft to be precise) process their corresponding data and sends a message to OIM. There's a Listener that catchs the message from PS and process the data in order to create a new user in OIM. According to the user's role we have to create some Resources (AD, Exchange, etc) and assign them to the user.
    We are trying to acomplish that trough a prepopulated adapter.
    (Is that correct?)
    Assuming that's the correct aproach, we must create the username for the AD Resource based on some of the user's informaiton (like first letter from the name, second from the last name and so on). So we are guessing that when PeopleSoft create the user in OIM, the pre-populated adapter is triggered and then we have to use the corresponding API in order to get the username and lastname from OIM and build the username for the AD Resource.
    We hope you can help us with that, Or if you think we are messing something up please, we will be glad to hear for suggestions.

    Thank you for the answer. Now we have a better perspective, yet, wouldn't be necessary, when creating the AD pre-populated to get the User info (from OIM) in order to create the username, pass, etc, that would be provisioned to AD?
    And that takes us to the first question.
    We would like to know what is the API or class or package that we can use in order to get the information from a user that is being created in OIM 11g
    So when we run the provisioning process, the Resource get created the way we want.

  • Problem pre-populating a combo box

    Hello,
    I am having problems pre-populating a combo box from a process.
    This combo box field exists in the OIM User Form and in another process form.
    Both combo box fields are populated from the same Lookup Definition: Lookup.Jazztel.TipoDeDocumento which looks like this:
    Code Key Decode
    1      DNI (NIF)
    2     Pasaporte
    4     Visado
    6     Nº Identificación de Extranjero
    9     C.I.F.
    I've tried these methods to pre-populate the combo box:
    * Using an adapter with a SET VARIABLE Logic Task (this adapter returns the code key that is selected in the OIM User form).
    * Using an adapter that returns the decode field from the code key and pass it to the Process combo box.
    In these cases, the process form combo box is not pre-populated correctly. It always shows C.I.F.
    I tried modifying the combo box in the following way:
    Code Key Decode
    DNI (NIF)      DNI (NIF)
    Pasaporte      Pasaporte
    Visado     Visado
    Nº Identificación de Extranjero Nº Identificación de Extranjero
    C.I.F. C.I.F.
    and it get pre-populated correctly.
    I need the code keys to be numbers. Does anyone know how can a combo like this be pre-populated?
    Moreover and curiously, the process form combo box appears ordered alphabetically (according to the decode fields):
    Code Key Decode
    9     C.I.F.
    1      DNI (NIF)
    6     Nº Identificación de Extranjero
    2     Pasaporte
    4     Visado
    and the OIM User Form Combo box, appears ordered numerically (according to the code key numerical order):
    Code Key Decode
    1      DNI (NIF)
    2     Pasaporte
    4     Visado
    6     Nº Identificación de Extranjero
    9     C.I.F.
    Does anyone know why?
    Thank you very much

    Try prepopulate combobox by lookup code.
    But it must displayed as decode.

  • 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.

  • 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-populating numeric AD attribute

    Hi,
    Maybe I've missed something really obvious, but I can't figure out how to pre-populate a numeric attribute in AD. Text attributes work fine. I've got a numeric UDF that I want to push in the UniqueID AD attribute. I've added a new field in the UD_ADUSER form and created a new adapter by using the adapter factory. This adapter has an integer parameter and uses it as the return value. I've finally added a pre-populate adapter that uses my new adapter to populate my new UD_ADUSER form field with the value contained in my UDF. I far as I know, that's the standard way of dealing with pre-populate adapters and it works fine with all my other text fields. However, for some reason, it does not work with this numeric field. I've also tried configuring my adapter so it returns an hard-coded value, but it still doesn't work. Since assigning a default value to the new UD_ADUSER form field or manually modifying it with the web interface does work, I know that my form field is properly mapped with the AD field.
    Any ideas?
    Thanks,
    --jtellier

    It helps a bit, but does not solve my problem. I've changed my adapter's variable type to long. Now, if I map it to a literal long value, it works. However, if I resolve the value at runtime and pass it the value of my numeric UDF, I get this exception:
    [2013-07-19T09:56:37.465-04:00] [oim_server2] [ERROR] [] [XELLERATE.SERVER] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 7cb409e4451203b6:-5d5e999b:13ff72b73a7:-8000-0000000000000528,0] [APP: oim#11.1.2.0.0] Class/Method: tcBaseRuleGenerator/run encounter some problems: java.lang.String[[
    java.lang.ClassCastException: java.lang.String
            at com.thortech.xl.dataobj.rulegenerators.adpADIDCPOPULATEINTFORMFIELD.implementation(adpADIDCPOPULATEINTFORMFIELD.java:51)
            at com.thortech.xl.dataobj.rulegenerators.tcBaseRuleGenerator.run(tcBaseRuleGenerator.java:177)
            at com.thortech.xl.dataobj.rulegenerators.tcAdapterExecuter.executeRuleGenerators(tcAdapterExecuter.java:266)
            at com.thortech.xl.dataobj.util.tcPrePopulateUtility.setDataFromAdapter(tcPrePopulateUtility.java:1077)
            at com.thortech.xl.dataobj.util.tcPrePopulateUtility.prePopulate(tcPrePopulateUtility.java:377)
            at com.thortech.xl.dataobj.util.tcOrderPackages.computeProcessFormData(tcOrderPackages.java:865)
            at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(tcOrderPackages.java:428)
            at com.thortech.xl.dataobj.util.tcOrderPackages.orderPackageForUser(tcOrderPackages.java:180)
            at com.thortech.xl.dataobj.tcOIU.provision(tcOIU.java:639)
    [2013-07-19T09:56:37.467-04:00] [oim_server2] [ERROR] [] [XELLERATE.SERVER] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 7cb409e4451203b6:-5d5e999b:13ff72b73a7:-8000-0000000000000528,0] [APP: oim#11.1.2.0.0] Class/Method: tcAdapterExecuter/executeRuleGenerators encounter some problems: java.lang.ClassCastException: java.lang.String[[
    java.lang.Exception: java.lang.ClassCastException: java.lang.String
            at com.thortech.xl.dataobj.rulegenerators.tcAdapterExecuter.executeRuleGenerators(tcAdapterExecuter.java:280)
            at com.thortech.xl.dataobj.util.tcPrePopulateUtility.setDataFromAdapter(tcPrePopulateUtility.java:1077)
            at com.thortech.xl.dataobj.util.tcPrePopulateUtility.prePopulate(tcPrePopulateUtility.java:377)
            at com.thortech.xl.dataobj.util.tcOrderPackages.computeProcessFormData(tcOrderPackages.java:865)
            at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(tcOrderPackages.java:428)
            at com.thortech.xl.dataobj.util.tcOrderPackages.orderPackageForUser(tcOrderPackages.java:180)
            at com.thortech.xl.dataobj.tcOIU.provision(tcOIU.java:639)
            at com.thortech.xl.dataobj.tcOIU.eventPostInsert(tcOIU.java:360)
    I don't understand what string it's tryiing to cast. In the DB, my UDF is declared as NUMBER(10,0) and has a value of "1".
    Thanks,
    --jtellier

  • 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

  • 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.

  • 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 get the pre-population on modify account page?

    Hi,
    I am working on OIM 11g R2 PS1 and have a following requirement :
    User has to modify his existing email id through a request. User goes to modify account page, where all other fields from process form is hidden and only 'Email Address' field is displayed to the user to modify.
    I have to pre-populate the 'Email Address' attribute with some system generated logic on this modify account page. How to achieve that? (either a system generated dynamic label or system generated logic on the email address attribute itself)
    Any idea? As per my knowledge we cannot have pre-population on modify page, like we have on create page.
    Kindly suggest how to achieve this requirement.
    Thanks,
    Neha Gupta

    Hi,
    Let me explain in this way:
    1) User got some default email address first time, this is not through any request.[e.g [email protected]]
    2) Now the user got married and she wants to change her email address as per her new lastname(through a request).[First name: Neha , Last Name : pqr]
    3) So she will go to the modify account of the resource and will change her email id, here we have to display an oim suggested email address which is available, on modify page, this logic we will generate through java code.
         [oim suggested email address: [email protected]]
    That's why we want only on modify page not on create page, as creation of email address is not requestable.
    Thanks,
    Neha

  • Pre-Populating the JSP file

    IM following Validtaion.xml for my field level validations
    The problem is...i have a comboBox...and that combo box shoudl get prepopulated on the load ..
    When i click a link..for example : from the menu...the call will actually fire the actionTag that is coupled with the struts-config file and will fire a action class.
    Now once the execute method is called...i have to populate that combo from the same class which will set the attribute in teh request.
    So for the first time...my combo box is getting populated using that atttribute values...but when i click on any button , the populated values are getting lost due to the validation.xml gets activated, and the request attributes are lost ...
    Since i have a Validtaion frame work...as when i click the submit button ,the control invokes the validation frame work and looses all the pre populated values..
    Is thr any one to guide me why this is happening and how to come out of thios pain full situvation.
    Any luck..pls mail me to [email protected]
    Thanks in ADVANCE
    Ganesh

    Have you declared the backing beans where the values of the combo box are stored at session scope ?

Maybe you are looking for