OIM API help.

Is there any api to get Reconciliation Field mapping for particular Process Definition like 'AD user' or 'Xellerate User'
There is always an alternative of direct querying DB before it just wanted to make sure.

You have used ALWAYS in your statement. Remove that word & you'll get solution. :-)

Similar Messages

  • OIM API Help in VBS Call.

    Guys,
    I am calling vbs from my java code for exchange server. My VBS then calls to powershell. I need a java code to get response from powershell. Because my current code is always returns me success (because its returns me vbs response). do anyone have suce code snippet.
    Cheers,
    Hemant.

    Hi Hemant,
    What is the version of connector you are using?
    But i guess, we need to handle error codes in you VBS script and return a code (say numeric code) for each error you encounter in the VBS script.
    Give me you email Id, i will send you a snippet.
    Thanks
    Sid

  • Need help on OIM API's

    Hi All,
    Do we have any OIM API to validate the challenge questions and challenge responses specifically?
    I was trying to do reset password functionality using OIM API resetForgottenPassword(). But, for the first time it was resetting the password perfectly then onwards from 2nd time... it is giving an error message as mentioned below.
    ERROR,13 Apr 2010 06:16:55,982,[XELLERATE.SERVER],Class/Method: tcUSR/changePasswordForSelf Error :User password cannot be changed.
    ERROR,13 Apr 2010 06:16:55,984,[XELLERATE.SERVER],Class/Method: tcUnauthenticatedOperationsBean/resetForgottenPassword encounter some problems: Error occurred while resetting the password.
    ERROR,13 Apr 2010 06:16:55,984,[XELLERATE.SERVER],Class/Method: tcUnauthenticatedOperationsBean/resetForgottenPassword encounter some problems: Error occurred while resetting the password.
    Thor.API.Exceptions.tcAPIException: Error occurred while resetting the password.
    at com.thortech.xl.ejb.beansimpl.tcUnauthenticatedOperationsBean.resetForgottenPassword(Unknown Source)
    at com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession.resetForgottenPassword(Unknown Source)
    at com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_EOImpl.resetForgottenPassword(tcUnauthenticatedOperationsSession_j7uqe_EOImpl.java:77)
    at com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
    Can anybody please help me on thing. Or else please suggest any workaround for this.
    Thanks in Advance.
    Siva Pokuri.

    Try fetching the challengequestions based on the user key. Try the following code snippet if it works.
    public HashMap getChallengeQuestions(final String userId) {
              tcUserOperationsIntf userObj;
              final HashMap responseMap = new HashMap();
              final HashMap questionAnswersMap = new HashMap();
              ArrayList list = null;
              try {
              final tcUtilityFactory utilFact = AppContext.getUtilityFactory();
                   userObj = (tcUserOperationsIntf) utilFact
                             .getUtility("Thor.API.Operations.tcUserOperationsIntf");
                   final HashMap map = new HashMap();
                   map.put("Users.User ID", userId);
                   final tcResultSet usrRS = userObj.findUsers(map);
                   long userKey = -1;
                   if (usrRS.getRowCount() > 0) {
         userKey = usrRS.getLongValue("Users.Key");
                             return map;
                   final tcResultSet rs = userObj.getChallengeValuesForUser(userKey);
                   final int rowCount = rs.getRowCount();
                   if (rowCount > 0) {
                        list = new ArrayList();
                   for (int i = 0; i < rowCount; i++) {
                        rs.goToRow(i);
                        final String question = rs.getStringValue("Users.Password Challenge Question.Question");
                        final String answer = rs.getStringValue("Users.Password Challenge Question.Answer");
    //try validating here with custom logic
                        list.add(question);
                        questionAnswersMap.put(question, answer);
    }

  • Error while initializing OIM API in 11G

    I am trying to deploy a webservice exposing some of the OIM API's in 11G[11.1.1.5]. I am using the OIMClient API to initialize the API's. The following code works fine when I run with in the eclipse but doesnt work when it is deployed on the weblogic server[10.3.5]. This is a standalone server where no other web app is deployed. Has anyone faced this issue before. Any pointers on this would be helpful. Thnaks in advance.
    System.setProperty("java.security.auth.login.config", "./authwl.conf");
    Hashtable<String, String> env = new Hashtable<String, String>();
                   env.put(OIMClient.JAVA_NAMING_PROVIDER_URL, providerURL);
                   env.put(OIMClient.JAVA_NAMING_FACTORY_INITIAL, OIMClient.WLS_CONTEXT_FACTORY);
                   oimClient = new OIMClient(env);
    oimClient.login(userName, password.toCharArray());
    The exception is :
    java.lang.IllegalArgumentException: No Configuration was registered that can handle the configuration named xellerate
    java.lang.IllegalArgumentException: No Configuration was registered that can handle the configuration named xellerate
    at com.bea.common.security.jdkutils.JAASConfiguration.getAppConfigurationEntry(JAASConfiguration.java:130)
    at javax.security.auth.login.LoginContext.init(LoginContext.java:243)
    at javax.security.auth.login.LoginContext.<init>(LoginContext.java:403)
    at Thor.API.Security.LoginHandler.weblogicLoginHandler.login(weblogicLoginHandler.java:58)
    at oracle.iam.platform.OIMClient.login(OIMClient.java:134)
    at oracle.iam.platform.OIMClient.login(OIMClient.java:129)
    at au.com.suncorp.oim.custom.spml.SuncorpOIMOperations.getInitializedOIMClient(SuncorpOIMOperations.java:113)
    at com.suncorp.test.oim.custom.spml.OIMWebServiceSoapBindingImpl.identitySearchByName(OIMWebServiceSoapBindingImpl.java:41)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3717)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Edited by: vindla on 16-Feb-2012 01:10
    Edited by: vindla on 16-Feb-2012 01:14

    1) please ensure that the war file which you deploy in WLS is pointing to the authwl.conf file on the machine hosting the war.
    2) apart from that make sure you have the following jars added to the calss path or added to the lib folder of the war.
    commons-logging-1.1.1.jar;
    oimclient.jar;
    spring.jar
    try removing extra libraries and jars from the war file. it sometimes give errors.
    i have done exactly the same thing and it works fine.
    rest it looks fine
    ======code snippet====
    System.setProperty("java.security.auth.login.config","/path/authwl.conf");
    System.setProperty("OIM.AppServerType", "weblogic");
    env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    env.put(Context.PROVIDER_URL, "t3://host:14000/oim");
    try {
    oimClient.login("xelsysadm", "password");
    } catch (LoginException e) {
    e.printStackTrace();
    OIMClient oimClient = new OIMClient(env);

  • External Calls to OIM API

    I am using OIM 9.1.0.1 as a standalone system.
    i want to call OIM API to create user.
    I have a created a custom JSP page.
    How can i call OIM API to create user in OIM.
    Thanks.

    {color:#000080}You can use the following to invokel OIM APIs from external WebApps:
    {color} private static tcUtilityFactory _util = null;
    static {
    ConfigurationClient.ComplexSetting config = ConfigurationClient
    .getComplexSettingByPath("Discovery.CoreServer");
    try {
    final Hashtable env = config.getAllSettings();
    _util = new tcUtilityFactory(env, "xelsysadm", &lt;pwd&gt;);
    } catch (Exception e) {
    e.printStackTrace();
    public Object getObjectReference(String qualifiedObjectName) {       
    return util == null ? null : (tcUtilityOperationsIntf) util
    .getUtility(qualifiedObjectName);
    {color:#000080}Create an instance of the above class and invoke 'getObjectReference(...)'{color}
    E.g.:
    tcUserOperationsInft _usrOpRef = (tcUserOperationsIntf) )new &lt;ClassName&gt;().getObjectReference("Thor.API.Operations.tcUserOperationsIntf");and then invoke any of the methods from user API class
    {color:#000080}Hope this helps{color}
    Now for creating user, all you have to do is:

  • How to create a Connection to UDB Database through OIM APIs.?

    Hi,
    In our OIM (9.1.0.2) implementation, there is a need to connect to a UDB database to execute some select queries and get the data. Is there any way in which I can do this?
    I tried creating an ITResource to have all static database related information, but I was not able to use that ITResource and create an actual database connection in the java code.
    As far as possible, I don't want to use any JDBC code to create the connection but want to know if there are any inbuilt OIM APIs which can help me in creating a database connection to point to the UDB database.
    (We don't have the DBUM connector deployed.)
    Please get back with your views/info on this.
    Thanks,
    Kulesh...

    Here is a constructor code for connecting to a database:
         public DatabaseConnection(String hostname, String port, String driver, String sid, String admin, String password) throws ClassNotFoundException, SQLException{
              log.info(CLASS_NAME + " -----> inputs=hostname[" + hostname +
                        "]port[" + port +
                        "]driver[" + driver +
                        "]sid[" + sid +
                        "]admin[" + admin +
                        "]password[********]");
              Properties connectionProps=new Properties();
         connectionProps.setProperty("user", admin);
         connectionProps.setProperty("password", password);     
         String url = "jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=" + hostname +
              ")(PORT=" + port +
              "))(CONNECT_DATA=(SID=" + sid + ")))";
         Class.forName(driver);
              con = null;     
         con = DriverManager.getConnection(url, connectionProps);
    If you want to use SSL, you will want to configure tcps for jdbc connection to the database, or any other form of connection and update your URL string for it.
    -Kevin

  • Accessing OIM APIs remotely

    Hi all,
    I am trying to access the OIM API remotely from OAM and I am getting the following error.
    Please help.
    Thor.API.Exceptions.tcAPIException: unread block data
         at Thor.API.tcUtilityFactory.getPropertyValue(Unknown Source)
         at Thor.API.tcUtilityFactory.<init>(Unknown Source)
         at OIMUserPwdResetClientSelf.main(OIMUserPwdResetClientSelf.java:174)
    Thanks,
    M

    You certainly can, if you use Back to My Mac, a feature of OS X "Lion" and later:
    Setting up and using Back to My Mac with an AirPort base station or Time Capsule

  • Creating form using OIM API

    Hi
    can anyone help me in creatig a form and assigning it to a resource object.
    please tell what all should i mention in the map which is to be passed to createForm() method.
    Thank you

    Hi all
    what attributes i need to to map to create a from using OIM API
    createForm Method?
    I have tried with this but did not work:The form is getting created , i.e I am seeing an entry in DB.
    At the same time I am aslo getting an exception which is whown below:
    formMap.put("Structure Utility.Table Name", "SAM");
              formMap.put("Structure Utility.Description", "TESTING API USAGE FOR FORM");
    The Exceptions I get are :
    Thor.API.Exceptions.tcInvalidNameException
         at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.createForm(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.createForm(Unknown Source)
         at com.thortech.xl.ejb.beans.tcFormDefinitionOperationsSession.createForm(Unknown Source)
    09:05:13,772 ERROR [DATABASE] Class/Method: tcDataBase/writeStatement encounter
    some problems: ORA-02089: COMMIT is not allowed in a subordinate session
    java.sql.SQLException: ORA-02089: COMMIT is not allowed in a subordinate session
    09:05:13,819 ERROR [ADAPTERS] Event: Adding Columns to SDC. has encountered an error.
    09:05:13,819 ERROR [SERVER] Class/Method: tcDataObj/runEvent Error :EVT Fatal Rejection Occured
    09:05:13,819 ERROR [APIS] Class/Method: tcFormDefinitionOperationsBean/createForm encounter some problems: maoErrors:Error Adding Column.
    How can i resolve this?
    When and where can I view the form that I have created?
    Thank you

  • Transaction Management - OIM API

    We wanted to know how to handle transaction from OIMClient, when we make OIM API call.
    eg:
    from a java client, we invoke create organization and provision resource to that organization.
    i.e we end up calling two OIM api calls
    1)
        organizationManager.create(organizationObj);
    2)
    tcOrganizationOperationsIntf.provisionObject(orgKey,resourceKey);
    Now, if 2nd one fails, then transaction should be rolled back and organization create should be rolled back. we wanted single unit of work to be achieved.
    how can this be achieved?
    how do we control transaction from OIMClient/API?
    public String createOrganization(OrganizationVO ovo) {
      String result = "";
      OrganizationManager omgr = null; // OIMClient API
      Organization org = null; // OIMClient API
      try { 
      omgr=ULMServiceLocator.getInstance().getOrganizationManager();
      org = new Organization();
      org.setAttribute("Organization Name", ovo.getOrgName());
      org.setAttribute("Organization Customer Type", ovo.getOrgType());
      result = omgr.create(org);
      tcUtilityFactory ioutilityFactory = ULMServiceLocator.getInstance().getcUtilityFactory();
      //TODO
      tcOrganizationOperationsIntf utilityFactory1 = (tcOrganizationOperationsIntf) ioutilityFactory
      .getUtility("Thor.API.Operations.tcOrganizationOperationsIntf");
      long l1 = utilityFactory1.provisionObject(Long.parseLong(result),
      123l);
      } catch (oracle.jrf.UnknownPlatformException e) {
      e.printStackTrace();
      } catch (Exception e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
      return result;

    Hi Abhay,
    <b>If there is another way to add a record to Main table and Lookup/Qualified/Hierarchy table simultaneously then there is no need of Transaction.</b>
    There are no direct methods currently(as of MDM 5.5SP3) available in MDM API.
    You have to build your own logic to implement.
    Regarding the Transaction management, I guess you are talking aboout two phase commit scenarios. I would say you can achieve this using EJB's in which u write the business logic (In this case the MDM API code).
    For Example:
    Adding a record to Main table,
    Let say 2 fields
    1. Free text field.
    Its straight forward method, use A2iFiled object and assign some value to it.
    2. Lookup field.
    For this.
    First get the Record id for the value, which you are trying to add, from the lookup table.
    If the lookup table does not find the value in the table, it return zero or some negative value(which I am not sure).
    Based on the return value you can add the value into the lookup table and then into the main table.
    Just putting a sample scenario. Hope this helps.
    Thanks and regards
    Subbu

  • Provisioning OIM user using OIM APIS

    Hi All,
    Could anyone help me out on how to provision a User using OIM APIS.
    Thanks and Regards,
    Vaasu.

    public class GetGroups {
    tcUtilityFactory utilFactory = null;
    tcSignatureMessage moSignature = null;
    tcUserOperationsIntf moUserUtility = null;
    tcResultSet userResultSet,userSet = null;
    ConfigurationClient.ComplexSetting myConfig = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    final Hashtable env = myConfig.getAllSettings();
    Map v = new HashMap();
    public void UserGroups(String userid) {
    try {
    System.out.println(" I am in TRY");
    moSignature = tcCryptoUtil.sign("xelsysadm", "PrivateKey");
    utilFactory = new tcUtilityFactory(env, moSignature);
    moUserUtility =
    (tcUserOperationsIntf) utilFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
    v.put("Users.User ID", userid);
    userSet = moUserUtility.findAllUsers(v);
    long user_key = userSet.getLongValue("Users.Key");
    System.out.println( " Group Name " + grpName );
    } catch(Exception e){
    e.getMessage();
    Like that
    moobjIntf =
    *(tcObjectOperationsIntf) utilFactory.getUtility("Thor.API.Operations.tcObjectOperationsIntf");*
    Map objmap =new HashMap(0;
    objmap.put("Objects.Name", "AD User") \\ just hardcoding this AD User you can pass it as variable also
    tcResultSet moResultSet = moobjIntf.findObjects(objmap);
    long obj_key = moResultSet.getLongValue("Objects.Key");

  • How to Integrate OIM API with the Application in NetBeans

    Hi All,
    I'm Facing problems to Integrate OIM API with the Application. I'm using Netbeans IDE. Can anyone please let me know the steps to do so?? any documents will also help me.
    Thanks

    Hey,
    Helpful links for you:
    1- http://www.youtube.com/watch?v=Yccl0HqfA3o
    2- http://www.youtube.com/watch?v=ZdMTLRF7P_4
    Let me know if it helps you. I hope so.
    Thiago Leoncio Guimaraes

  • FormData Information updation with OIM APIs

    Hey Guys,
    I try to use the OIM APIs to update a custom field that is present on a formdata.
    e.e: in the web base ui, you search for a user, go to resource profile, and then I have my OID provisioned resource, when I click on view, I have the a formdata that popups with fields taht I want to update.
    I've done the following until now:
    - search the user with the findUsersFiltered API to retreive the User.key
    - search the object associated to the user by using getObjects with the User.Key retreived
    This search return a list of objects AND I can identify my provisioned Object:
    The informations that seems usefull are:
    * Users-Object Instance For User.Key-value
    * Object Instance.Key-value
    * Objects.Key-value
    * Process Definition.Process Form Key-value
    I'm block there, I'm not sure the different options for:
    - reading the form data field for this resource
    - updating some form data for this resource
    Any help would be great !

    I've done it,
    For information it was with using Process Definition.Process Form Key-value

  • How to call OIM API from external app?

    Hi,
    I have an java application and I would like to call OIM API to accept a request. The application resides in separate server than OIM.
    My questions:
    *1.* What to do to call OIM API from external application (import any OIM jars etc.)?
    *2.* Which method to use, setRequestResponse , closeRequest or any other?
    I appreciate any help, thanks.
    Edited by: m.m. on Feb 2, 2010 5:33 AM

    Hello,
    If it is an external client, you need to provide the "login" and "password" details explicitly in the code (something like this), before getting any other Interface control to invoke the OIM APIs -
    public class OIMAPIClientTest {
    public static void main(String[] args) {
    try{
    System.out.println("Starting...");
    ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    Hashtable env = config.getAllSettings();
    tcUtilityFactory ioUtilityFactory = new tcUtilityFactory(env,"xelsysadm","abcd1234");
    System.out.println("Getting utility interfaces...");
    Regards,
    Amit
    Edited by: amitKumar on Feb 2, 2010 5:29 AM

  • Calling OIM API from a remote system

    Hi.
    I have OIM 9031 server installed on a computer HostA. And I have multiple copies of the 3rd party java program installed on HostB, HostC and so on.
    I need to be able to call some OIM API from that custom java program (for example, receive the list of active users from OIM server).
    According to OIM documentation, I can use Remote manager to manage users on non-network awared systems.
    But what if I use Remote manager for calling remote OIM API ? Is that possible?
    Or are there any easier ways to achieve my goal ?

    The installer in the AD sync connector is provided because in addition to having the OIM API client, there is a DLL that needs to be installed and registered to capture the plaintext password. It is not necessary to have an installer, but it might be be a convenience if you are deploying to many machines.
    Here is some code to get you started:
    import Thor.API.tcUtilityFactory;
    import com.thortech.xl.util.config.ConfigurationClient;
    import java.util.Hashtable;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    public class TcUtilFactory {
    Log log = LogFactory.getLog("OIMCLIENT.UTILITY");
    private tcUtilityFactory factory = null;
    private Hashtable env = null;
    public TcUtilFactory() throws Exception {
    // you can also set these system properties on the command line
    System.setProperty("XL.HomeDir", "/opt/oimclient);
    System.setProperty("java.security.policy", "config/xl.policy");
    System.setProperty("log4j.configuration", "config/log.properties");
    System.setProperty("java.security.auth.login.config", "config/auth.conf");
    ConfigurationClient.ComplexSetting configClient = ConfigurationClient
    .getComplexSettingByPath("Discovery.CoreServer");
    env = configClient.getAllSettings();
    try {
    factory = new tcUtilityFactory(env, "xlsysadm", "xelsysadm");
    } catch (Exception e) {
    // handle exceptions thrown by tcUtilityFactory constructor
    From here you can write whatever methods you need going against tcUtilityFactory. Also note that you will need many of the jars from your lib directory as well as the properly configured xl.config and other files in the config directory that the design console client uses (I usually just copy them from that install). Last you will need to make sure you have the required jars specific to you app server (the ones you need to copy over during the design console install)

  • Enabling a User through OIM API

    Hi I am trying to enable a user through OIM API, However the end date is already passed for that user, I am setting up a new end date through the Program (showm below). However the update user is not working (i am not sure).
    Map usermap = new HashMap();
    usermap.put("Users.User ID", User_id );
    Map grpmap = new HashMap();
    grpmap.put("Groups.Group Name", Group_Name);
    tcResultSet ts = userClient.findUsers(usermap); //find all users
    String existing_end_date = ts.getStringValue("Users.End Date");
    tcResultSet tg = groupClient.findGroups(grpmap); //find requireq group
    long ukey = ts.getLongValue("Users.Key");
    long gkey = tg.getLongValue("Groups.Key"); //find group key
    // ENABLE THE USER
    java.util.Date new_end_date = new java.util.Date(111,1,1);
    Calendar cal = Calendar.getInstance();
    cal.setTime(new_end_date);
    DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
    String Str1 = dateFormat.format(cal.getTime());
    String Str2 = existing_end_date + " 12:00:00";
    System.out.println(User_id+" OLD End Date:" + Str2 + " New End Date: " + Str1);
    Map usermap2 = new HashMap();
    usermap2.put("Users.User ID", User_id );
    usermap2.put("Users.End Date", Str1);
    userClient.updateUser(ts,usermap2);
    userClient.enableUser(ukey);
    I am getting the following error:
    U0000018 OLD End Date:2009-09-30 12:00:00 New End Date: 2011-02-01 12:00:00
    2/12/2010 15:02:53 oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    WARNING: Exception returned by remote server: {0}
    Thor.API.Exceptions.tcAPIException: The user cannot be enabled because the end date is passed.
    Not sure why it is happening. It looks like the Updateuser is not working, or something else?
    Please advise. Thanks in advance.

    Hi Suren,
    thanks for the note.
    I found that as soon as I enable the user, I am getting the followimg messages in the opmn logs:
    INFO,06 Dec 2010 10:55:41,841,[XELLERATE.JAVACLIENT],System Event Handler: Validating Organization for an User.
    INFO,06 Dec 2010 10:55:41,944,[XELLERATE.JAVACLIENT],System Event Handler: Triggering Processes related to User.
    INFO,06 Dec 2010 10:55:42,402,[XELLERATE.JAVACLIENT],System Event Handler: Enabling the User
    INFO,06 Dec 2010 10:55:42,421,[XELLERATE.JAVACLIENT],System Event Handler: Validating Organization for an User.
    INFO,06 Dec 2010 10:55:42,427,[XELLERATE.JAVACLIENT],System Event Handler: Triggering Processes related to User.
    INFO,06 Dec 2010 10:55:42,439,[XELLERATE.JAVACLIENT],System Event Handler: Changing application data based on Organization change.
    INFO,06 Dec 2010 10:55:42,442,[XELLERATE.JAVACLIENT],System Event Handler: Auto-Group Membership Event.
    INFO,06 Dec 2010 10:55:43,715,[XELLERATE.JAVACLIENT],System Event Handler: Evaluating User Policies
    So, the access policies are getting evaluated, triggering provisioning processes.
    What I am planning to do is, to disable the access policies and try to run the Program.
    Because of this issue, my Program is throwing an error (until I looked into the opmn logs, it doesn't make sense).
    6/12/2010 10:55:50 oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    WARNING: Exception returned by remote server: {0}
    Thor.API.Exceptions.tcAPIException: Error occurred enabling Xellerate User instance.
    Regards
    Vijay Chinnasamy

Maybe you are looking for

  • Nano won't connect

    I have a customer that own's a 2012 GMC Terrain with the basic touch screen radio. When we plug into the USB port the Nano will charge, but will not function thru the radio or steering wheel controls. I used an Ipod 5th Gen and it works fine. Also go

  • RV042G Log Email and other issues

    The RV042G manual said to use this site for support so here goes.  After owning and operating the RV082 for many years, I recently upgraded to the RV042G V01.  Overall the RV042G hardware appears to function pretty good.  The RV042G has faster throug

  • Eth0 cold plug = ok but eth0 hotplug = no carrier

    Hello, I have a Lenovo ThinkPad Edge 13, i3 380UM. I have netcfg installed, but I only use it for wifi with wifi-select in my rc.conf I have: eth0="dhcp" INTERFACES=(eth0) DAEMONS=( @microcode @syslog-ng @network @crond @dbus @slim @alsa @laptop-mode

  • Palm Desktop 4.01 Issue with finding user folders before Syncing

    Hello, Im using the palm desktop ver 4.01 alone and not syncing to a handheld device. When I create a new user, it nots creating a new user folder. Does the desktop version store the info in a different files than the info thats sync to the handheld

  • Making the "white" template look like the "darkroom" template

    my current podcast page is built from the "white" template, but I am re-designing the rest of the site from the "darkroom" template. i do not want to change the template of my podcast page because i don't want to mess with the template on each indivi