Connections to target databases and directories

Hi All,
I'm creating a few custom provisioning connectors to databases and directories using the GTC framework -- http://download.oracle.com/docs/cd/E10391_01/doc.910/e10360/custom_prov.htm#Toc153968045.
I'm using the initialize() method in the Transport Provider to do a few things including establishing a connection to the target system. The sendData() is used to actually update the target.
Unfortunately, every time a task in the process definition is called, a new instance of the Transport Provider is created, which means the initialize() method will be called. This becomes an issue when you have a huge number of users being updated in OIM because for each user at least one new connection will be created and destroyed and creating new connections is generally an expensive operation.
So I'm wondering if there's any way to keep a persistent class within OIM that would hold the connection to the target system so it wouldn't have to be recreated with every change.
Thanks

If you do not perform the full list of tasks for every action, then you will need to bulk load the users. For OIM, every instance of a task runs independent of other tasks. So if you have 500 new users being onboarded, you will get 500 instances of the Create User. You cannot change this.
If you want to customize the connector, you could possibly create a JDBC connection pool to be used instead but then you are on your own for the custom coding and everything.
-Kevin

Similar Messages

  • Regarding connection to target database

    hi guys
    i want to create my dr database(standby)
    the sys password of target database is pcc$111 and db name is pccdb and tw instances are pccdb1 pccdb2
    the database name of standby database is pccdb and instances are scc1 scc2
    now when i am giving command as
    $rman target sys/pcc$111@pccdb1 auxiliary /
    it gives error
    00554--initialisation of internal recovery manager package failed
    rman -01017 invalid username/password
    another way i am doing is
    $rman target pccdb1 auxiliary /
    rman>duplicate target database for standby;
    rman--05502-target database must be mounted when issuing duplicate command
    so please clear is in this way it is connecting to target database and my target database is open

    >
    the sys password of target database is pcc$111 and db name is pccdb and tw instances are pccdb1 pccdb2
    the database name of standby database is pccdb and instances are scc1 scc2
    now when i am giving command as
    $rman target sys/pcc$111@pccdb1 auxiliary /
    it gives error
    00554--initialisation of internal recovery manager package failed
    rman -01017 invalid username/password
    You didn't give your exact release of Oracle, but with some releases there are issues with case sensitive passwords for privileged connections. This can be related to whether you used the ignorecase switch when you created your password files.
    John Watson
    http://skillbuilders.com

  • Unable to connect my target database

    I am trying to create a clone of my database named proddb using my production RMNA backup,
    so when i export ORACLE_SID=proddb
    and then try to connect to my rman using
    rman target /
    its showing connected to target database clonedb
    i have checked the servicxes and there are no services named clonedb and their is no entry in my tnsnames or listner as clonedb......

    user9038728 wrote:
    oracle@localhost ~]$ export ORACLE_SID=proddb
    [oracle@localhost ~]$ export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1/
    [oracle@localhost ~]$ rman target sys/password
    Recovery Manager: Release 11.2.0.1.0 - Production on Fri Jan 6 11:27:13 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: CLONEDB (not mounted)
    RMAN>
    this is the output which i am getting.......Your target/source/Production database should be in OPEN status & your new/clone/auxiliary instance should be in started/not mounted status.
    You have to connect as below
    $rman target sys/*****@prod auxiliary /
    Then target will be production, you have to export SID of auxiliary and test the TNS connectivity to primary.

  • Getting ORA-01031 while connecting to target database

    I have created RMAN catalog. While connecting to target database i am getting ORA-01031: insufficient privileges. What could be the reason. I have added entry of both the databases in listner.ora as well as tnsnames.ora, but still facing the same problem. Please help
    [oracle@dbapool ~]$ rman catalog=rman/pass@sdn target=sys/pass@sdn1
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Apr 30 23:49:46 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-01031: insufficient privileges

    Issue got resolved. The problem was with password file.

  • "Please connect to one database and try again."

    "Please connect to one database and try again."
    That is the error message that comes up when I launch Apple Mail. I have not made any changes to my Apple Mail in 8 months. Not one.
    Has anyone seen this error message before? I'm not even sure what is failing as all of my mail (at least in a quick check) seems to be working (a few IMAP and a few POP accounts).
    Thanks for any info regarding this... strange....

    Well, all of a sudden it's gone now... probably some strange IMAP occurance, but who knows.
    Thanks.

  • I want to know the ways of connecting 9iAS to Database and clients to database through 9iAS as middleware.

    My question was about the necessity of implementing OID or any other version of LDAP.
    We have a new 9iAS and 8.1.7 database implementation and i have a doubt about their networking architecture.
    I want to know the ways of connecting 9iAS to Database and clients to database through 9iAS as middleware. We are debating if OID is compulsory or if we can go ahead with this implementation with out OID.
    Can you please help me and provide me couple of implementation designs(i.e connecting clients to database through 9iAS). It would be great if any one can provide me the implementation's with and with out OID.
    -Thanks

    Hi ,
    For all delta and full DTP loads you can get  information in table  RSICCONT .Check table  RSMONICDP  this will give you detail information .Here you will get all the information with timestamp and request id .
    Hope these tables will serve your purpose .
    Regards,
    Jaya

  • 10204 catalog database 112 target database and OEM

    catalog database is 10.2.0.4 on server CSERV
    OEM server is 10.2.0.4 OSERV
    target database is 11.2 on server TSERV
    I ran the RMAN command from RSERV (v10204) and registered target database (v112) without error
    I went into OEM->TARGET page ->Maintenance->Recovery Catalog Settings->
         selected Use recovery catalog
         (the correct catalog was listed in the drop down (CSERV:1521:RMANUSER-rman_schema1
         added the OS username/password for TSERV
         pressed 'OK'
    The error that was returned was:
    "Recovery catalog scheme version 10.02 is not compatible with this version of RMAN."
    I'm sure i'm doing something stupid, but would really appreciate any help.....
    Regards,
    Susan

    Hi Susan,
    Probably you used a 10g rman client on the command line to connect to both the target (11.2) and the catalog (10.2.0.4) during registration.
    (according to the compatibilty matrix this works).
    Be aware:
    When using an older version of the RMAN client with a newer version of the database, you do not get the features of the newer version.According to your own information Grid uses the 11gr2 software.
    added the OS username/password for TSERVWhich is incompatible with the 10.2 catalog.
    Unfortunately, we can't upgrade the catalog at this time.You can upgrade the catalog schema without upgrading the catalog rdbms (but probably you do not want to execute any change during xmas and new year).
    Please check:
    http://download.oracle.com/docs/cd/B28359_01/backup.111/b28273/rcmsynta052.htm
    Regards,
    Tycho

  • Trying to connect to target database...ORA-01994: GRANT failed: password

    I am trying to connect to a target database which on linux from a catalog database which is on Windows. I was initially having problems with our DEV database but eventually got it working. Now I have to register the QA database and I'm running into the same problems. Below is a list og things that I have tried:
    C:\>rman
    Recovery Manager: Release 10.2.0.3.0 - Production on Thu May 10 17:01:51 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN> connect target sys/password@fprcqa
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-01031: insufficient privileges
    2. So I went to the target database (FPRCQA) and I checked the following:
    SYS@FPRCQA> select * from v$pwfile_users;
    no rows selected
    SYS@FPRCQA> grant sysdba to sys;
    grant sysdba to sys
    ERROR at line 1:
    ORA-01994: GRANT failed: password file missing or disabled
    3. Then I checked the passwordfile
    SYS@FPRCQA> show parameter pass
    NAME TYPE VALUE
    remote_login_passwordfile string[b] EXCLUSIVE
    4. Then I created a passwordfile in $ORACLE_HOME/dbs because it did not exist.
    [oracle@rh-staging dbs]$ orapwd file=orapwdFPRCQA password=password entries=300
    -rw-r----- 1 oracle oinstall 8385 Sep 11 1998 init.ora
    -rw-r--r-- 1 oracle oinstall 12920 May 3 2001 initdw.ora
    -rw-rw---- 1 oracle oinstall 1552 May 8 14:09 hc_FPRCQA.dat
    -rw-rw---- 1 oracle oinstall 24 May 8 14:09 lkFPRCQA
    drwxr-xr-x 63 oracle dba 4096 May 8 15:12 ..
    drwxr-x--- 2 oracle oinstall 4096 May 10 16:10 .
    -rw-r----- 1 oracle oinstall 5632 May 10 16:10 spfileFPRCQA.ora
    -rwSr----- 1 oracle oinstall 39424 May 10 16:14 orapwdFPRCQA
    5. Then I tried again to grant sysdba to sys and it gave me the same error as before.
    ALSO, I cannot connect to the the target database from the catalog database through sqlplus...as I get the same error of insufficient privs:
    C:\>set ORACLE_SID=fprcqa
    C:\>sqlplus /nolog
    SQL*Plus: Release 10.1.0.3.0 - Production on Thu May 10 17:11:41 2007
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> connect sys/password@fprcqa as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    Can anyone help please?

    Hello all;
    I created the files with following command in $ORACLE_HOME/dbs/
    orapwd file=orapwRCVDB password=sys entries=20
    remote_login_passwordfile=EXCLUSIVE
    $ ls -ltr orapw*
    -rwxrwxrwx 1 oracle dba 3584 Dec 22 15:29 orapwRCVDB
    but still I am facing similar error ..
    SQL> grant sysdba to system;
    ORA-01994: GRANT failed: password file missing or disabled
    so i checked ...
    SQL> select * from v$pwfile_users;no rows selected
    can anyone tell me where I am doing mistakes ? It's urgent !!
    atul.

  • Connectivity between Oracle database and client...

    Hi guys,
    I was asked to make a connection between oracle client and database via internet so that our clients can access the database from different parts of the country, and the data that is transmitted in the internet does not require security consideration. And I have successfully implemented this.
    But later onwards they asked me to structure it in such a way so that clients must be able to select, insert, update and delete data offline, in case there is online connectivity problem.
    So my question is, are there any possibilities in oracle to temporarily store data that are available in the oracle database to the client side and then later onwards transfer those datas once the clients are available online. Or are there any other alternative ways...
    Additional Information - Client access the database through an application created by VB.
    Please do help me on this project.
    Thanks in advance for your help.
    Asif.

    user11000521 wrote:
    Hi guys,
    I was asked to make a connection between oracle client and database via internet so that our clients can access the database from different parts of the country, and the data that is transmitted in the internet does not require security consideration. And I have successfully implemented this.
    But later onwards they asked me to structure it in such a way so that clients must be able to select, insert, update and delete data offline, in case there is online connectivity problem.
    So my question is, are there any possibilities in oracle to temporarily store data that are available in the oracle database to the client side and then later onwards transfer those datas once the clients are available online. Or are there any other alternative ways...
    Additional Information - Client access the database through an application created by VB.
    Please do help me on this project.
    Thanks in advance for your help.
    Asif.You probably should do a cost/risk analysis. Where you are headed might be able to be done (but it will require that the "clients" also have their own copy of the database) but it won't be easy and it certainly won't be cheap, either in initial implementation or in on-going maintenance. The alternative is to take a hard look at your network connections and see if it wouldn't be cheaper/easier to be able to ensure that it is reliable. Remember "the internet" won't break, it is highly redundant. If you have connectivity issues, they will almost certainly be in your own equipment and configurations, so your (your organization) will have the ability to address and fix any issues there.

  • Connection to the database and session

    Friends I am developing a JSP based application ,and I am storing Connection (to the database) info in a session variable in my main menu , and then I retrieve the connection session in all the pages that I navigate to.
    But a friend of mine told me it is not a good programming practice.He adviced me to use the connection pooling to make effecient use of the connection.
    So using session for storing connection to the database is a bad idea ?
    I thought it is bad idea to get connected to the database everytime a jsp is thrown ...hence I was using session variable.
    Please give ur thought about this.
    Thanks.

    Well.
    You are using a kind of connection pooling already, since you make a connection and reuse it along every jsp page in a session but reusability is at the cut&paste level here.
    And what would you do if you needed to share a connection between sessions (scope:application)
    Or how would you resolve the need to connect to 2 databases in one JSP page ?? Duplicate the code from the "main menu" ?
    If you have let's say 5 applications written as you described and the connection data (ip address, SID, host) changes as someone moves the database to another machine (for example :-))) you will have to manually correct all 5 applications. So it's not much of flexibility in this kind of code.
    Connection pooling as I understood it (I might be wrong :-))) is placing the code in a bean or servlet and the parameters in a txt (or better xml) file so when something changes you don't rewrite applications, just rewrite one txt (xml) file and you are done.
    If you use a connection pool as a bean you have the bean scopes you can choose from and so on.....
    Visit
    http://www.codestudio.com/index.shtml
    for an example of a very well written connection pool. Maybe there you will find other issues to help you decide.
    Hope this helps!
    Bye

  • Unix Script to connect to Portal Database and move the files to XI Server

    Hi all,
    we have a requirement where the source BW system is placing files in Content Management in the link http://xxx:50100/irj/go/km/docs/documents/Public%20Documents/HFM.
    XI needs to read the files from the above location.Since the files are stored in Portal database,we cant do FTP to this location.
    So we have been asked to write a script which connect to this location and moves the files to XI directory.
    Can someone plz help me with this script?

    The concern has been discussed earlier at
    here and should be helpful to check the database size and free available space in exchange server.
    This blog has also good explained about "how to count mailbox per database in exchange 2010". Please check this :
    http://blog.powershell.no/2010/11/21/retrieve-number-of-mailboxes-per-database-in-exchange-server-2010/

  • A problem to connect to my database and to insert a line into it.

    I can't connect to my database there's an error
    in my index file i have written this code:
    <?php
    mb_http_input("iso-8859-1");
    mb_http_output("iso-8859-1");
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
    <head>
           <title>Formulaire</title>
           <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
                 <link rel="stylesheet" media="screen" type="text/css" title="Miseenforme" href="Miseenforme.css" />
                 <style type="text/css">
                 @import url("ModuleStyleSheets.css");
           </style>
                 <link href="CSS/colors5.css" rel="stylesheet" type="text/css" />
                 <style type="text/css">
                 h1 {
              font-size: xx-large;
           #corps form p {
              font-size: 24px;
              text-align: left;
              font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
           #corps form p br {
              font-family: Palatino Linotype, Book Antiqua, Palatino, serif;
              font-size: 24px;
           #corps form p label {
              text-align: left;
           #corps form p label {
              text-align: left;
           </style>
                 <link href="CSS/styles.css" rel="stylesheet" type="text/css" />
    </head>
       <body>
       <div id="corps">
       <form action="creation.php" method="post" enctype="multipart/form-data">
       <p><!-- #BeginDate format:fcAm1 -->Friday, August 23, 2013<!-- #EndDate -->
       </p>
       <p> </p>
       <table width="500" border="1" align="center" cellpadding="2" cellspacing="2">
         <tr>
           <th width="500" align="center" bgcolor="#66FFFF" scope="row">SAISIE DES DONNEES ADMINISTRATIVES DU FIDELE</th>
         </tr>
       </table>
       <p> </p>
       <p>
          <label>Nom</label>  
                  <input type="text" name="Nom"/> <br/>
                   <label>Prenom</label>             : <input type="Prenom:" name="Prenom"/> <br/>
                <label>Adresse</label> :</br> <textarea type="text" name="Adresse" rows="8" cols="25"></textarea> <br/>
          <label>codepostal</label> : <input type="codepostal" name="codepostal"><br>
                <label>Ville</label> : <input type="text" name="Ville"/> <br/>
                <label>Commentaires</label> : <textarea type="text" name="Commentaires" rows="8" cols="25"></textarea> <br/>
          <label>Don</label>: <select name="don">
            <option value="chabat">chabat</option>
            <option value="rochhachana">roch hachana</option>
            <option value="kippour">kippour</option>
            <option value="souccot">souccout</option>
            <option value="simhatthorah">simhat thorah</option>
            <option value="pessah">simhat thorah</option>
            <option value="chavouot">chavouot</option>
          </select>
       </p>
       <p>Montant :
         </label><input   type="number" name="montant" style="color:#33C; background-color:#F60;
         font-size:36px"/> <br/>
       </p>
              <p>
              <input name="Submit" type="submit" value="Submit" /> <input type="reset"/>
              </p>
              </form>
              </div>
              </body>
              </html>
    and in my creation.php which is the name of the action form there's the following code:
    creation.php:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
              <head>
                        <title> Envoie des données </title>
                               <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
                 <link rel="stylesheet" media="screen" type="text/css" title="Miseenforme" href="Miseenforme.css" />
              </head>
              <body>
    <p>
    <?php
    define('DB_SERVER', 'localhost'); // serveur mysql
    define('DB_SERVER_USERNAME', 'localhost@localhost'); // nom d utilisateur
    define('DB_SERVER_PASSWORD', ''); // mot de passe
    define('DB_DATABASE', fideles); // nom de la base
    $Nom=$_POST['Nom'];
    $Prenom=$_POST['Prenom'];
    $Adresse=$_POST['Adresse'];
    $Lien=$_POST['Lien'];
    $Image=$_FILES['Image'];
    $Ville=$_POST['Ville'];
    $Cd_post=$_POST['Cd_post'];
    $Commentaires=$_POST['Commentaires'];
    $montantT=$_POST['Montant'];
    $db=mysql_connect("localhost","localhost@localhost","")or die("Erreur de connexion au serveur");
    mysql_select_db("fideles",$db)or die ("Erreur de connexion à la base FIDELES");
    $MonSql="INSERT INTO 'fideles'(F_NOM, F_PRENOM,F_ADRESSE, F_CD_POST, DON,F_comment, F_VILLE,F_MONTANT) VALUES('$Nom','$Prenom','$Adresse','$Cd_post','$Don','$Commentaires','$Ville','$Montant') ";
    $res=mysql_query($MonSql);
    if (!$res && mysql_errno() == 1062)
       echo 'Ce titre existe déjà, l\'enregistrement a échoué.';
    mysql_close($db);
    ?>
    <a href="Formulairemodif.php">Creation d un &eacute;v&egrave;nement </a>
    <table border="4" color="black">
    <caption>Fiche</caption>
    <thead>
    <tr border="5">
        <th width="100">Nom</th>
              <th width="141">Prenom</th>
              <th width="102">Adresse</th>
              <th width="78">Don</th>
              <th width="77">Code postal</th>
              <th width="79">Ville</th>
              <th width="139">Commentaires</th>
        <th width="104">Montant</th>
    </tr>
    </thead>
    <tbody>
    <tr>
    </tr>
    </tbody>
    </table><br/>
    <h3><a href="Formulairemodif.php"> Modifier un évènement </a></h3> <h3><a href="supprimer.php"> Supprimer un évènement </a></h3>
    </p>
    </body>
    </html>
    Tell me where is my error
    Thank you

    >I can't connect to my database there's an error
    What error?
    Also, this post belongs in the app dev forum.

  • How to select from drop-down menu connected to SQL database and then autofill?

    Hello,
    I am in the process of creating a series of forms and I need some help if working out how to do the following.
    I have already set up a data connection to an SQL database, and I have three fields connected: Job Number, Job Name and Customer Name.
    What I want to do is have it so that the Job Number is a dropdown box, so they can select the number, and then the other two fields, Job Name and Customer Name, are autofilled to the information corresponding to the Job Number.
    Is anyone able to help me do this please??
    Thank you!!

    The 101 of database connections from LiveCycle Designer can be found in Stefan Camerons blog.
    This is the right place to start.
    http://forms.stefcameron.com/2006/09/18/connecting-a-form-to-a-database/
    http://forms.stefcameron.com/2006/12/18/databases-inserting-updating-and-deleting-records/
    http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/
    http://forms.stefcameron.com/2006/10/12/displaying-all-records-from-an-odbc-data-connectio n/

  • Itext connect to the database and put values in a table

    Hi, I have a problem because I can't find any tutorial that would connect to the database using the itext servlet and then update the table. I have found a source code that is transferring the database items on the list package of itext. I need an example that is dynamically creating a table. Can anyone please help me with these problem. I need it to for my reports or could anyone suggest an easy to use library rather than itext. THANKS

    tr3k wrote:
    Guys, need your help...I just want to populate a resultSet on an itext table.I don't know what it means to "populate a ResultSet on an iText table". I guess the tool you are using to translate your question to English isn't very good.
    Does it mean you have an iText table (whatever that is) and you want to create a ResultSet that allows you to extract data from it? Or do you really have a table in your database, and you want to use a ResultSet based on that table to create something in iText? Or what?

  • Connecting to Catalog & Target Database

    I am trying to register a target database with a recovery catalog. RMAN database and the catalog table space were created. When trying to connect to target with the SID set to the instance name and simply connecting as username/password, I am getting connected to the target. If I try to connect using the connect string, I get the following error
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database: ORA-12154: TNS:could not resolve service name
    But the TNS names have been properly configured and I am able to connect from sql*plus using the connect string.
    Similarly I set the SID to RMAN database and try to connect catalog with username/password I am able to connect to Catalog and if I use connect string for the target, I am getting the same error as mentioned above.
    I really do not know, How to resolve this and to connect to Target and RMAN databases simultaneously.

    I suggest you do the following to see if the connect strings are really working, either:
    1) Change ORACLE_SID to be of the catalog database, now do:
    % sqlplus "<user>/<pwd>@<target string> as sysdba"
    Does that work? If as I suspect it does not work or connects you to the catalog database (not the target), then it is a missconfiguration of the network files.
    2) Do the same for connection to the catalog, set ORACLE_SID to be the one of the target database and do:
    % sqlplus "<user>/<pwd>"
    Does that connects you to the catalog?

Maybe you are looking for

  • MIgrate SQL 2008 R2 to SQLExpress 2012

    I have a website with a 2008 R @ database. I am trying to move from that host to another host. The new host has 2012 databases. I have a copy of my 2008 database on my local machine that I restore with back-ups from my production DB. I am having prob

  • Can't Paste in Dreamweaver C3 from Office 2008

    Howdy there, I am running OS X 10.5.1 on a Macbook with Dreamweaver CS3 and I just bought and installed MS Office 2008. Previously I used to use Word 2004 to write the text for my website and copy and paste it in Dreamweaver CS3 and it woudl keep the

  • Graphics legend colors

    Does anyone know how to customize the colors displayed in a graphics legend. I've created a column chart with customized bar colors by using a format trigger and using og_set_fillcolor. But my legend doesn't reflect these custom changes. Is there an

  • Reconciliation key PYPPD2012021 not defined for Payment lotf

    i am trying to post document in event 20 of FICA module  so there i am getting following error Reconciliation key PYPPD2012021 not defined for Payment lotf i am confused whether document posting is possibel in event 20 or not as the function module w

  • Get rid of security questions

    Everybody knows these questions can be hacked easily (no data is secret in these days, and especially not "normal" questions"). Forcing them on me is an added layer of security that just makes me want to stop using apple. I feel secure with my kong c