Callback function is called with sys user context.

1. Create AQ Queue table
2. Create AQ Queue "MyQueue"
3. Start Queue "MyQueue"
4. Register "Subscriber1"
5. Register "MyQueue"."Subscriber1" with Notification URL : PLSQL:\\Mypackage.SP_Callback
Till here everything is fine...
6. Enqueue message into "MyQueue" with "Subscriber1" as recipient.
7. Now AQ notification is fired and as a result Its calling "Mypackage.SP_Callback".
Here the problem is "Mypackage.SP_Callback" is called from SYS user context. i.e if i capture the dbuser its "SYS" who is invoking the AQ notification call back method, "Mypackage.SP_Callback".
Do i have any settings so that "Mypackage.SP_Callback" is called with a specific user account instead of "SYS".
Please help me...
Edited by: user13421038 on Jun 30, 2011 5:06 AM

Hello,
From what is mentioned in this thread this issue is the same as that discussed in Note 552771.1. The issue should be resolved in 10.2.0.4 and 11.1.0.6 onwards.
Thanks
Peter

Similar Messages

  • Function module call with destination

    Hi,
    how can check if a function module call with destination works or not ?
    How can I debug.
    What can be the reason if it is not calles
    regards
    ertas

    * to chcek the rfc Destination By pass RFC destination name and Connection Type..
    RFC_CHECK_DESTINATION
    or
    RFC_CHECK_DESTINATION_ID
    or
    You can use this FM RFC_VERIFY_DESTINATION if your release is greater than 4.6C.
    Check this sample code from Craig Cmehil's weblog.
    CALL FUNCTION 'RFC_VERIFY_DESTINATION'
      EXPORTING
        DESTINATION = TMP
            TIMEOUT = 10
      EXCEPTIONS
        INTERNAL_FAILURE           = 1
        TIMEOUT                    = 2
        DEST_COMMUNICATION_FAILURE = 3
        DEST_SYSTEM_FAILURE        = 4
        UPDATE_FAILURE             = 5
        NO_UPDATE_AUTHORITY        = 6
        OTHERS                     = 7.
      IF SY-SUBRC EQ '0'.
        "* Do code here
      ENDIF.
    Prabhu

  • IPod updates 2 touch with the new software, and from the update they are not connected with Time phase. They appear calling but never they enter the calls. I make calls with other users and if one connects but in these two not from the update

    iPod updates 2 touch with the new software, and from the update they are not connected with Time phase. They appear calling but never they enter the calls. I make calls with other users and if one connects but in these two not from the update

    I use Firefox 95% of the time, and there's no problem with flash content (and I'm still at .55 - downloaded .64 last week but I haven't got round to making the change yet). At the rate they've been changing it recently it may well be out of date already .
    I've been trying it in Safari, too with no problems apart from You Tube, but that's because I'm blocking Google cookies.
    One thought does occur - if your Flash preferences are set to block all Local Storage, it may be that the problem site is trying to use Flash cookies (LSOs). I had this problem recently with the BBC iPlayer streaming content. Little Snitch notified an attempt to connect to a new URL - emp.bbci.co.uk.
    If I disallowed it, no streaming; when I allowed the connection, it still wouldn't stream, so I did a bit of digging and came to the conclusion that it was trying to set a Flash cookie. When I unblocked, lo and behold - streaming resumed as normal.
    I now have LSOs blocked in a more subtle way that lets the site think it's being set (but it ain't) and the streaming still works.
    As for permissions repair - always repair from local; the permissions on the original disc will have been superceded by updates and new installations of Apple software.
    DU needs to be reading the packages on the HD, not the (now out of date) install disc.
    The recurring repair messages are normal and don't mean anything's wrong. As long as the final message is 'repair complete' there's no need to dwell on it.
    http://support.apple.com/kb/TS1448 (for Leopard and Snow Leopard - Lion no doubt has it's own set).

  • Fail to logon with SYS user: ORA-01031: insufficient privileges

    Hello,
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    OS: CentOS 5.5
    I fail to log on with SYS user through PL/SQL Developer. I receive the error: ORA-01031: insufficient privileges. PL/SQL Developer is installed on Windows 7 Professional. Oracle Client Version is 11.2.0.1.0. However I logon successfully with SYSMAN and SYSTEM.
    For those who might ask whether I try to connect "as sysdba" when I use SYS user, the answer is YES, I do.
    Besides I think the name of the tool (PL/SQL Developer) doesn't matter because I think I'll face the same error with any other tool (but I mentioned it just in case).
    On server side I have no issues with SYS user. I can connect through SQLPlus with connect / as sysdba or connect "/as sysdba" faultlessly.
    The initialization parameter sec_case_sensitive_logon is set to FALSE
    SQL> show parameter sensi
    NAME TYPE VALUE
    sec_case_sensitive_logon boolean FALSE
    I'm using local naming to connect and on client side I've a tnanames.ora file. The sqlnet.ora file looks like this:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)I read in this forum (another thread) about using a password file. I created a password file using orapwd this way:
    orapwd file=orapwDB11G2 entries=100 ignorecase=y password=a_passwordwhere I replaced "a_password" with the SYS password.
    Actually I'm not sure the client is influenced by the password file anyway because I tell it to use local naming.
    Any clues?
    Thank you very much!

    Verdi wrote:
    Hello, Chinar, AlexeyDev,
    ORACLE_SID variable is:
    [oracle@localhost bin]$ echo $ORACLE_SID
    planetThe directory $ORACLE_HOME/dbs:
    [oracle@localhost ~]$ ls -l $ORACLE_HOME/dbs
    total 28020
    -rw-rw---- 1 oracle oinstall    1544 Apr 10 12:43 hc_DBUA0.dat
    -rw-rw---- 1 oracle oinstall    1544 Apr 27 18:02 hc_planet.dat
    -rw-r--r-- 1 oracle oinstall    2851 May 15  2009 init.ora
    -rw-r--r-- 1 oracle oinstall    2966 Apr 26 16:33 initplanet.ora
    -rw-r----- 1 oracle oinstall      24 Apr  1 18:22 lkPLANET
    -rw-r----- 1 oracle oinstall 9519104 Apr 27 18:43 ora_control1
    -rw-r----- 1 oracle oinstall 9519104 Apr 27 18:43 ora_control2
    drwx------ 2 oracle oinstall    4096 Apr 10 12:43 peshm_DBUA0_0
    drwx------ 2 oracle oinstall    4096 Apr  1 18:19 peshm_planet_0
    -rw-r----- 1 oracle oinstall 9519104 Apr  8 11:25 snapcf_planet.f
    -rw-r----- 1 oracle oinstall    2560 Apr 27 18:41 spfileplanet.oraThe value of the parameter remote_login_passwordfile is:
    *.remote_login_passwordfile='EXCLUSIVE'
    I start up the instance using the spfile.As a side observation, it appears you have two control files also in this directory. That is risky, and goes against the intent of having multiplexed the control file. Ideally they would be on separate disk devices - including separate controllers, but at the very least they should be in directories that are separate all the way back to the root directory. If you can't protect against hardware failure, at least protect against human failure.

  • OEM 11g login error with sys user.

    I have two database in my local host. one is created with dbca and another is manually created.
    i am not able to login ONLY with "sys" user in OEM 11g but i can login in sqlplus with the same user(only in database created manually ).

    yes m giving correct pwd as i mentioned i am bale to login with the same in sqlplus . below is the log details :
    C:\Users\jatrived>emca -deconfig dbcontrol db
    STARTED EMCA at Apr 25, 2013 12:33:20 PM
    EM Configuration Assistant, Version 11.2.0.0.2 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: cgdb
    Do you wish to continue? [yes(Y)/no(N)]: y
    Apr 25, 2013 12:33:29 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at D:\oracle\cfgtoollogs\emca\cgdb\emca_2013_04_25_12_33_19.log.
    Apr 25, 2013 12:33:30 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Apr 25, 2013 12:34:12 PM
    C:\Users\jatrived>emca -config dbcontrol db
    STARTED EMCA at Apr 25, 2013 12:34:29 PM
    EM Configuration Assistant, Version 11.2.0.0.2 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: cgdb
    Listener port number: 1521
    Listener ORACLE_HOME [ D:\oracle\product\11.2.0\dbhome_1 ]:
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Password for SYSMAN user: Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ D:\oracle\product\11.2.0\dbhome_1
    Local hostname ................ ***********.corp.****.com
    Listener ORACLE_HOME ................ D:\oracle\product\11.2.0\dbhome_1
    Listener port number ................ 1521
    Database SID ................ cgdb
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: y
    Apr 25, 2013 12:35:12 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at D:\oracle\cfgtoollogs\emca\cgdb\emca_2013_04_25_12_34_29.log.
    Apr 25, 2013 12:35:16 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    Apr 25, 2013 12:36:26 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Uploaded configuration data successfully
    Apr 25, 2013 12:36:33 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
    INFO: Software library is already configured.
    Apr 25, 2013 12:36:33 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
    INFO: EM_SWLIB_STAGE_LOC (value) will be ignored.
    Apr 25, 2013 12:36:33 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
    INFO: Deploying Provisioning archives ...
    Apr 25, 2013 12:37:29 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
    INFO: Provisioning archives deployed successfully.
    Apr 25, 2013 12:37:29 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Securing Database Control (this may take a while) ...
    Apr 25, 2013 12:37:36 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Database Control secured successfully.
    Apr 25, 2013 12:37:37 PM oracle.sysman.emcp.util.DBControlUtil startOMS
    INFO: Starting Database Control (this may take a while) ...
    Apr 25, 2013 12:38:23 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
    INFO: Database Control started successfully
    Apr 25, 2013 12:38:23 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
    INFO: >>>>>>>>>>> The Database Control URL is https://***********.corp.****.com:5500/em <<<<<<<<<<<
    Apr 25, 2013 12:38:25 PM oracle.sysman.emcp.EMDBPostConfig invoke
    WARNING:
    ************************ WARNING ************************
    Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted. The encryption key has been pl
    aced in the file: D:/oracle/product/11.2.0/dbhome_1/***********.corp.****.com_cgdb/sysman/config/emkey.ora. Please ensure this f
    ile is backed up as the encrypted data will become unusable if this file is lost.
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Apr 25, 2013 12:38:25 PM
    portlist details :
    here now two db having same port , how to remove or change ?
    D:\oracle\product\11.2.0\dbhome_1\install>more portlist.ini
    Enterprise Manager Console HTTP Port (ORA10) = 5500
    Enterprise Manager Agent Port (ORA10) = 1830
    Enterprise Manager Console HTTP Port (jai) = 1158
    Enterprise Manager Agent Port (jai) = 3938
    Enterprise Manager Console HTTP Port (test) = 1158
    Enterprise Manager Agent Port (test) = 1830
    Enterprise Manager Console HTTP Port (cgdb) = 5500
    Enterprise Manager Agent Port (cgdb) = 1831

  • DB_DBT_MALLOC was set when secondary db's callback function was called!

    I have a secondary db associated with a primary db,when i insert some test records into primary db
    ,i saw my sdb_callback was called twice!the first call with the correct data,but the seocond call
    was with wrong data,data.size was wrong ,with a big value and flags was set to DB_DBT_MALLOC ,
    what should i do when the callback was called twice?just return DB_DONOTINDEX?
    i modified the example code from source code/example_c/bench_001.c,make the bulk_fill the DB to
    have a secondary as following
    int sdb_callback(DB sdbp,          / secondary db handle */
                                  const DBT pkey,   / primary db record's key */
                                  const DBT pdata,  / primary db record's data */
                                  DBT skey)         / secondary db record's key */
         if(pdata->flags & DB_DBT_MALLOC)
              fprintf(stderr,"DB_DBT_MALLOC fired size:%d ksize:%d \r\n",pdata->size,pkey->size);
              return DB_DONOTINDEX;
         }else
              return DB_DONOTINDEX;
    FOR work WITH secondary db,i comment following out
         //if ((ret = dbp->set_flags(dbp, DB_DUP)) != 0) {
         //     dbp->err(dbp, ret, "set_flags");
         //     goto err;
         char sdb_filename[256];
         sprintf(sdb_filename, "s_%s",DATABASE );
         if ((ret = db_create(&sdbp, dbenv, 0)) != 0) {
              dbp->err(dbp, ret, "crate");
              exit(EXIT_FAILURE);
         /* set page size */
         if((ret = sdbp->set_pagesize(sdbp, pagesize)) != 0){
              dbp->err(dbp, ret, "crate");
              exit(EXIT_FAILURE);
         /* allow sorted duplicates. */
         /* try to open db*/
         ret = sdbp->open(sdbp, NULL, sdb_filename, NULL, DB_BTREE, DB_CREATE, 0664);
         if(ret != 0)
              dbp->err(dbp, ret, "%s: sdb open", DATABASE);
         dbp->associate(dbp, NULL, sdbp, sdb_callback, 0);
    then i run bulk_fill test,DB_DBT_MALLOC was OFTEN fired,but not every put!
    Edited by: feiman on May 23, 2010 4:35 AM

    following are codes from example_c bench_001.c
    i run ./a.out -B
    then it appears that when one record input to main db,secondary db's callback was called twice,except the FIRST record!!!
    #include <sys/types.h>
    #include <sys/time.h>
    #include <assert.h>
    #include <stdlib.h>
    #include <string.h>
    #ifdef _WIN32
    extern int getopt(int, char * const *, const char *);
    #else
    #include <unistd.h>
    #endif
    #include <db.h>
    #define     DATABASE     "bench_001.db"
    int     bulk_fill(DB_ENV *, DB *, int, u_int, int, int, int *, int *);
    int     compare_int(DB *, const DBT *, const DBT *);
    DB_ENV db_init(char , char *, u_int, int);
    int     main(int, char *[]);
    void     usage(void);
    const char
         progname = "bench_001";          / Program name. */
    int
    sdb_callback(DB sdbp,          / secondary db handle */
                                  const DBT pkey,   / primary db record's key */
                                  const DBT pdata,  / primary db record's data */
                                  DBT skey)         / secondary db record's key */
         skey->data = pkey->data;
         skey->size = pkey->size;
    fprintf(stderr,"callback called size:%d ksize:%d \r\n",pdata->size,pkey->size);
         return 0;
    * db_init --
    *     Initialize the environment.
    DB_ENV *
         db_init(home, prefix, cachesize, txn)
         char home, prefix;
    u_int cachesize;
    int txn;
         DB_ENV *dbenv;
         u_int32_t flags;
         int ret;
         if ((ret = db_env_create(&dbenv, 0)) != 0) {
              dbenv->err(dbenv, ret, "db_env_create");
              return (NULL);
         dbenv->set_errfile(dbenv, stderr);
         dbenv->set_errpfx(dbenv, prefix);
         (void)dbenv->set_cachesize(dbenv, 0,
              cachesize == 0 ? 50 * 1024 * 1024 : (u_int32_t)cachesize, 0);
         flags = DB_CREATE | DB_INIT_MPOOL;
         if (txn)
              flags |= DB_INIT_TXN | DB_INIT_LOCK;
         if ((ret = dbenv->open(dbenv, home, flags, 0)) != 0) {
              dbenv->err(dbenv, ret, "DB_ENV->open: %s", home);
              (void)dbenv->close(dbenv, 0);
              return (NULL);
         return (dbenv);
    * bulk_fill - bulk_fill a db
    *     Since we open/created the db with transactions (potentially),
    * we need to populate it with transactions. We'll bundle the puts
    * UPDATES_PER_BULK_PUT to a transaction.
    #define     UPDATES_PER_BULK_PUT     3
    int
         bulk_fill(dbenv, dbp, txn, datalen, num, dups, countp, iterp)
         DB_ENV *dbenv;
    DB *dbp;
    u_int datalen;
    int txn, num, dups;
    int countp, iterp;
         DBT key, data;
         u_int32_t flag = 0;
         DB_TXN *txnp;
         struct data {
              int id;
              char str[1];
         } *data_val;
         int count, i, iter, ret;
         void ptrk, ptrd;
         int iCnt = 0;
         time_t now,then;
         time(&now);
         time(&then);
         * Insert records into the database, where the key is the user
         * input and the data is the user input in reverse order.
         txnp = NULL;
         ret = 0;
         count = 0;
         iter = 0;
         ptrk = ptrd = NULL;
         data_val = malloc(datalen);
         memcpy(data_val->str, "0123456789012345678901234567890123456789",
              datalen - sizeof(data_val->id));
         memset(&key, 0, sizeof(DBT));
         memset(&data, 0, sizeof(DBT));
         * Need to account for proper buffer size,
         * The buffer must be at least as large as the page size of
         * the underlying database, aligned for unsigned integer
         * access, and be a multiple of 1024 bytes in size.
         key.ulen = (u_int32_t)UPDATES_PER_BULK_PUT *
              sizeof(u_int32_t) * datalen * 1024;
         key.flags = DB_DBT_USERMEM | DB_DBT_BULK;
         key.data = malloc(key.ulen);
         data.ulen = (u_int32_t)UPDATES_PER_BULK_PUT *
              (u_int32_t)datalen * 1024;
         data.flags = DB_DBT_USERMEM | DB_DBT_BULK;
         data.data = malloc(data.ulen);
         if (dups)
              flag |= DB_MULTIPLE;
         else
              flag |= DB_MULTIPLE_KEY;
         DB_MULTIPLE_WRITE_INIT(ptrk, &key);
         if (dups)
              DB_MULTIPLE_WRITE_INIT(ptrd, &data);
         for (i = 0; i < num; i++) {
              if (txn != 0 && (i+1) % UPDATES_PER_BULK_PUT == 0) {
                   if (txnp != NULL) {
                        ret = txnp->commit(txnp, 0);
                        txnp = NULL;
                        if (ret != 0)
                             goto err;
                   if ((ret =
                        dbenv->txn_begin(dbenv, NULL, &txnp, 0)) != 0)
                        goto err;
              data_val->id = 0;
              do {
                   if (dups) {
                        DB_MULTIPLE_WRITE_NEXT(ptrk, &key,
                             &i, sizeof(i));
                        assert(ptrk != NULL);
                        DB_MULTIPLE_WRITE_NEXT(ptrd, &data,
                             data_val, datalen);
                        assert(ptrd != NULL);
                   else {
                        DB_MULTIPLE_KEY_WRITE_NEXT(ptrk,
                             &key, &i, sizeof(i), data_val, datalen);
                        assert(ptrk != NULL);
                   if ((i+1) % UPDATES_PER_BULK_PUT == 0) {
                        switch (ret = dbp->put(dbp, txnp, &key, &data, flag)) {
                        case 0:
                             iter++;
                             free (key.data);
                             free (data.data);
                             memset(&key, 0, sizeof(DBT));
                             memset(&data, 0, sizeof(DBT));
                             key.ulen =
                                  (u_int32_t)UPDATES_PER_BULK_PUT *
                                  sizeof(u_int32_t) * datalen * 1024;
                             key.flags = DB_DBT_USERMEM|DB_DBT_BULK;
                             key.data = malloc(key.ulen);
                             data.ulen =
                                  (u_int32_t)UPDATES_PER_BULK_PUT *
                                  (u_int32_t)datalen * 1024;
                             data.flags =
                                  DB_DBT_USERMEM|DB_DBT_BULK;
                             data.data = malloc(data.ulen);
                             DB_MULTIPLE_WRITE_INIT(ptrk, &key);
                             if (dups)
                                  DB_MULTIPLE_WRITE_INIT(ptrd, &data);
                             break;
                        default:
                             dbp->err(dbp, ret, "Bulk DB->put");
                             free (key.data);
                             free (data.data);
                             goto err;
                   count++;
              } while (++data_val->id < dups);
         if ((num % UPDATES_PER_BULK_PUT) != 0) {
              switch (ret = dbp->put(dbp, txnp, &key, &data, flag)) {
              case 0:
                   iter++;
                   free (key.data);
                   free (data.data);
                   break;
              default:
                   free (key.data);
                   free (data.data);
                   dbp->err(dbp, ret, "Bulk DB->put");
                   goto err;
         if (txnp != NULL)
              ret = txnp->commit(txnp, 0);
         printf("%d\n", count);
         *countp = count;
         *iterp = iter;
         return (ret);
    err:     if (txnp != NULL)
                   (void)txnp->abort(txnp);
              return (ret);
    int
         main(argc, argv)
         int argc;
    char *argv[];
         extern char *optarg;
         extern int optind;
         DB dbp,sdbp;
         DB_ENV *dbenv;
         DB_TXN *txnp;
         struct timeval start_time, end_time;
         double secs;
         u_int cache, datalen, pagesize;
         int biter, ch, count, dups, env, init, iter, num;
         int ret, rflag, txn, bulk, delete;
         txnp = NULL;
         datalen = 20;
         iter = num = 100;
         env = 1;
         dups = init = rflag = txn = bulk = delete = 0;
         pagesize = 65536;
         cache = 1000 * pagesize;
         while ((ch = getopt(argc, argv, "c:d:EIi:l:n:p:RTBD")) != EOF)
              switch (ch) {
              case 'c':
                   cache = (u_int)atoi(optarg);
                   break;
              case 'd':
                   dups = atoi(optarg);
                   break;
              case 'E':
                   env = 0;
                   break;
              case 'I':
                   init = 1;
                   break;
              case 'i':
                   iter = atoi(optarg);
                   break;
              case 'l':
                   datalen = (u_int)atoi(optarg);
                   break;
              case 'n':
                   num = atoi(optarg);
                   break;
              case 'p':
                   pagesize = (u_int)atoi(optarg);
                   break;
              case 'R':
                   rflag = 1;
                   break;
              case 'T':
                   txn = 1;
                   break;
              case 'B':
                   bulk = 1;
                   break;
              case 'D':
                   delete = 1;
                   break;
              case '?':
              default:
                   usage();
         argc -= optind;
         argv += optind;
         /* Remove the previous database. */
         if (!rflag) {
              if (env)
                   (void)system("rm -rf BENCH_001; mkdir BENCH_001");
              else
                   (void)unlink(DATABASE);
         dbenv = NULL;
         if (env == 1 &&
              (dbenv = db_init("BENCH_001", "bench_001", cache, txn)) == NULL)
              return (-1);
         if (init)
              exit(0);
         /* Create and initialize database object, open the database. */
         if ((ret = db_create(&dbp, dbenv, 0)) != 0) {
              fprintf(stderr,
                   "%s: db_create: %s\n", progname, db_strerror(ret));
              exit(EXIT_FAILURE);
         dbp->set_errfile(dbp, stderr);
         dbp->set_errpfx(dbp, progname);
         if ((ret = dbp->set_bt_compare(dbp, compare_int)) != 0) {
              dbp->err(dbp, ret, "set_bt_compare");
              goto err;
         if ((ret = dbp->set_pagesize(dbp, pagesize)) != 0) {
              dbp->err(dbp, ret, "set_pagesize");
              goto err;
         if (dups && (ret = dbp->set_flags(dbp, DB_DUP)) != 0) {
              dbp->err(dbp, ret, "set_flags");
         goto err;
         if (env == 0 && (ret = dbp->set_cachesize(dbp, 0, cache, 0)) != 0) {
              dbp->err(dbp, ret, "set_cachesize");
              goto err;
         //if ((ret = dbp->set_flags(dbp, DB_DUP)) != 0) {
         //     dbp->err(dbp, ret, "set_flags");
         //     goto err;
         if (txn != 0)
              if ((ret = dbenv->txn_begin(dbenv, NULL, &txnp, 0)) != 0)
                   goto err;
         if ((ret = dbp->open(
              dbp, txnp, DATABASE, NULL, DB_BTREE, DB_CREATE, 0664)) != 0) {
                   dbp->err(dbp, ret, "%s: open", DATABASE);
                   if (txnp != NULL)
                        (void)txnp->abort(txnp);
                   goto err;
         char sdb_filename[256];
         sprintf(sdb_filename, "s_%s",DATABASE );
         if ((ret = db_create(&sdbp, dbenv, 0)) != 0) {
              dbp->err(dbp, ret, "crate");
              exit(EXIT_FAILURE);
         /* set page size */
         if((ret = sdbp->set_pagesize(sdbp, pagesize)) != 0){
              dbp->err(dbp, ret, "crate");
              exit(EXIT_FAILURE);
         /* allow sorted duplicates. */
         /* try to open db*/
         ret = sdbp->open(sdbp, NULL, sdb_filename, NULL, DB_BTREE, DB_CREATE, 0664);
         if(ret != 0)
              dbp->err(dbp, ret, "%s: sdb open", DATABASE);
         dbp->associate(dbp, NULL, sdbp, sdb_callback, 0);
         if (txnp != NULL)
              ret = txnp->commit(txnp, 0);
         txnp = NULL;
         if (ret != 0)
              goto err;
              if (bulk) {
                   /* Time the get loop. */
                   (void)gettimeofday(&start_time, NULL);
                   if ((ret = bulk_fill(dbenv, dbp, txn, datalen,
                        num, dups, &count, &biter)) != 0)
                        goto err;
                   (void)gettimeofday(&end_time, NULL);
                   secs =
                        (((double)end_time.tv_sec * 1000000 +
                        end_time.tv_usec) -
                        ((double)start_time.tv_sec * 1000000 +
                        start_time.tv_usec))
                        / 1000000;
                   printf("%d records put using %d batches",
                        count, biter);
                   printf(" in %.2f seconds: ", secs);
                   printf("%.0f records/second\n", (double)count / secs);
         /* Close everything down. */
         if ((ret = dbp->close(dbp, rflag ? DB_NOSYNC : 0)) != 0) {
              fprintf(stderr,
                   "%s: DB->close: %s\n", progname, db_strerror(ret));
              return (1);
         return (ret);
    err:     (void)dbp->close(dbp, 0);
         return (1);
    int
         compare_int(dbp, a, b)
         DB *dbp;
    const DBT a, b;
         int ai, bi;
         dbp = dbp;                    /* Lint. */
         * Returns:
         *     < 0 if a < b
         *     = 0 if a = b
         *     > 0 if a > b
         memcpy(&ai, a->data, sizeof(int));
         memcpy(&bi, b->data, sizeof(int));
         return (ai - bi);
    void
         usage()
         (void)fprintf(stderr, "usage: %s %s\n\t%s\n",
              progname, "[-EIRTBE] [-c cachesize] [-d dups]",
              "[-i iterations] [-l datalen] [-n keys] [-p pagesize]");
         exit(EXIT_FAILURE);
    }

  • Prob With SYS user...

    Hi All,
             I m installing oracle 9i..but at last whn it will create database at tht time it will ask for oracle sys and system pass..but whn i m starting oracle i can do login using system user not with sys login ..but both pass is same ..and i m getting error in sap 4.7 installation..at Oracle Pre load action...so please help me to complete my installation...its urgent...
    Thx..

    In this step i m stop...
    Following  is log file....at last error is indicated....:---
    INFO 2008-02-17 13:03:01
    Processing of host operation t_HostInfo_SHARED succeeded.
    INFO 2008-02-17 13:03:14
    The 'saploc' share exists at directory 'D:\usr\sap'. Choosing drive D: as SAP System drive.
    INFO 2008-02-17 13:03:27
    Copying file E:/NT/COMMON/OraVolatileDatabaseParameters.xml to: OraVolatileDatabaseParameters.xml.
    INFO 2008-02-17 13:03:27
    Creating file D:\SAPinst ORACLE KERNEL\OraVolatileDatabaseParameters.xml.
    INFO 2008-02-17 13:04:28
    Copying file C:/sap-source/exp1/DB/ORA/DBSIZE.XML to: DBSIZE.XML.
    INFO 2008-02-17 13:04:28
    Creating file D:\SAPinst ORACLE KERNEL\DBSIZE.XML.
    INFO 2008-02-17 13:04:28
    Copying file system node C:\sap-source\exp1/DB/ORA/DBSIZE.XML with type NODE to DBSIZE.XML succeeded.
    INFO 2008-02-17 13:04:28
    Processing of all file system node operations of table tORA_filecopy succeeded.
    INFO 2008-02-17 13:04:29
    Copying file C:/sap-source/exp1/DB/DDLORA.TPL to: DDLORA.TPL.
    INFO 2008-02-17 13:04:29
    Creating file D:\SAPinst ORACLE KERNEL\DDLORA.TPL.
    INFO 2008-02-17 13:04:29
    Copying file system node C:\sap-source\exp1/DB/DDLORA.TPL with type NODE to DDLORA.TPL succeeded.
    INFO 2008-02-17 13:04:29
    Processing of all file system node operations of table tORA_filecopy succeeded.
    INFO 2008-02-17 13:04:29
    Moving file D:/SAPinst ORACLE KERNEL/DDLORA.TPL to: orig_ddl_ora_tmp.tpl.
    INFO 2008-02-17 13:04:29
    Moving file D:/SAPinst ORACLE KERNEL/changed_ddl_ora_tmp.tpl to: DDLORA.TPL.
    INFO 2008-02-17 13:04:29
    Removing file D:/SAPinst ORACLE KERNEL/orig_ddl_ora_tmp.tpl.
    INFO 2008-02-17 13:05:14
    Package table created
    PHASE 2008-02-17 13:05:49
    SAP R/3 Enterprise 4.70 for Oracle
    PHASE 2008-02-17 13:05:49
    SAP Web Application Server
    PHASE 2008-02-17 13:05:49
    Request common parameters of SAP System
    PHASE 2008-02-17 13:05:49
    Create operating system accounts
    INFO 2008-02-17 13:05:50
    Copying file D:/SAPinst ORACLE KERNEL/keydb.xml to: D:/SAPinst ORACLE KERNEL/keydb.1.xml.
    INFO 2008-02-17 13:05:50
    Creating file D:\SAPinst ORACLE KERNEL\keydb.1.xml.
    INFO 2008-02-17 13:05:51
    Copying file D:/SAPinst ORACLE KERNEL/OraVolatileDatabaseParameters.xml to: D:/SAPinst ORACLE KERNEL/OraVolatileDatabaseParameters.1.xml.
    INFO 2008-02-17 13:05:51
    Creating file D:\SAPinst ORACLE KERNEL\OraVolatileDatabaseParameters.1.xml.
    INFO 2008-02-17 13:05:51
    Copying file D:/SAPinst ORACLE KERNEL/DBSIZE.XML to: D:/SAPinst ORACLE KERNEL/DBSIZE.1.XML.
    INFO 2008-02-17 13:05:51
    Creating file D:\SAPinst ORACLE KERNEL\DBSIZE.1.XML.
    INFO 2008-02-17 13:05:51
    Changing account ACCOUNTID=S-1-5-21-1993962763-1454471165-725345543-1004 ACCOUNTNAME=nainesh\SAP_LocalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Local Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2008-02-17 13:05:51
    Changing account ACCOUNTID=S-1-5-21-1993962763-1454471165-725345543-1005 ACCOUNTNAME=nainesh\SAP_O02_LocalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Local Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2008-02-17 13:05:51
    Changing account ACCOUNTID=S-1-5-21-1993962763-1454471165-725345543-1006 ACCOUNTNAME=nainesh\SAP_O02_GlobalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Global Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2008-02-17 13:05:51
    Changing account ACCOUNTID=S-1-5-21-1993962763-1454471165-725345543-1007 ACCOUNTNAME=ORA_O02_DBA ACCOUNTTYPE=GROUP CONDITION=YES DESCRIPTION=Database Operator Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2008-02-17 13:07:20
    File system node D:\oracle\O02/sapdata2\roll_1 exists already. Nothing to do.
    INFO 2008-02-17 13:07:20
    File system node D:\oracle\O02/sapdata3\temp_1 exists already. Nothing to do.
    INFO 2008-02-17 13:07:20
    File system node D:\oracle\O02/sapdata1\system_1 exists already. Nothing to do.
    INFO 2008-02-17 13:07:20
    Processing of all file system node operations of table tORA_SapdataNodes succeeded.
    INFO 2008-02-17 13:07:20
    Processing of all file system node operations of table tORA_DatabaseServerNodes succeeded.
    INFO 2008-02-17 13:07:21
    Processing of all file system node operations of table tORA_SapdataNodes succeeded.
    INFO 2008-02-17 13:07:22
    Removing file D:/ORACLE/O02/917/database/initO02.ora.bak.
    INFO 2008-02-17 13:07:22
    Moving file D:/ORACLE/O02/917/database/initO02.ora to: D:\ORACLE\O02\917/database/initO02.ora.bak.
    INFO 2008-02-17 13:07:22
    Creating file D:\ORACLE\O02\917\database\initO02.ora.
    INFO 2008-02-17 13:07:24
    Removing file D:/ORACLE/O02/917/database/initO02.sap.bak.
    INFO 2008-02-17 13:07:24
    Moving file D:/ORACLE/O02/917/database/initO02.sap to: D:\ORACLE\O02\917/database/initO02.sap.bak.
    INFO 2008-02-17 13:07:24
    Creating file D:\ORACLE\O02\917\database\initO02.sap.
    INFO 2008-02-17 13:07:26
    Removing file D:/ORACLE/O02/917/database/initO02.dba.bak.
    INFO 2008-02-17 13:07:26
    Moving file D:/ORACLE/O02/917/database/initO02.dba to: D:\ORACLE\O02\917/database/initO02.dba.bak.
    INFO 2008-02-17 13:07:26
    Copying file E:/NT/COMMON/INSTALL/INITSID.DBA to: D:\ORACLE\O02\917/database/initO02.dba.
    INFO 2008-02-17 13:07:26
    Creating file D:\ORACLE\O02\917\database\initO02.dba.
    INFO 2008-02-17 13:07:27
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata1/o02_1/o02.data1.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata2/o02_2/o02.data2.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata2/o02_3/o02.data3.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata2/o02_4/o02.data4.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata3/o02_5/o02.data5.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata3/o02_6/o02.data6.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata4/o02_7/o02.data7.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata4/o02_8/o02.data8.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata1/o02620_1/o02620.data1.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata1/o02620_2/o02620.data2.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata1/o02620_3/o02620.data3.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata2/o02620_4/o02620.data4.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata2/o02620_5/o02620.data5.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata3/o02620_6/o02620.data6.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata3/o02620_7/o02620.data7.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata4/o02620_8/o02620.data8.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata4/o02620_9/o02620.data9.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata4/o02620_10/o02620.data10.
    INFO 2008-02-17 13:07:20
    File system node D:\oracle\O02/sapdata2\roll_1 exists already. Nothing to do.
    INFO 2008-02-17 13:07:20
    File system node D:\oracle\O02/sapdata3\temp_1 exists already. Nothing to do.
    INFO 2008-02-17 13:07:20
    File system node D:\oracle\O02/sapdata1\system_1 exists already. Nothing to do.
    INFO 2008-02-17 13:07:20
    Processing of all file system node operations of table tORA_SapdataNodes succeeded.
    INFO 2008-02-17 13:07:20
    Processing of all file system node operations of table tORA_DatabaseServerNodes succeeded.
    INFO 2008-02-17 13:07:21
    Processing of all file system node operations of table tORA_SapdataNodes succeeded.
    INFO 2008-02-17 13:07:22
    Removing file D:/ORACLE/O02/917/database/initO02.ora.bak.
    INFO 2008-02-17 13:07:22
    Moving file D:/ORACLE/O02/917/database/initO02.ora to: D:\ORACLE\O02\917/database/initO02.ora.bak.
    INFO 2008-02-17 13:07:22
    Creating file D:\ORACLE\O02\917\database\initO02.ora.
    INFO 2008-02-17 13:07:24
    Removing file D:/ORACLE/O02/917/database/initO02.sap.bak.
    INFO 2008-02-17 13:07:24
    Moving file D:/ORACLE/O02/917/database/initO02.sap to: D:\ORACLE\O02\917/database/initO02.sap.bak.
    INFO 2008-02-17 13:07:24
    Creating file D:\ORACLE\O02\917\database\initO02.sap.
    INFO 2008-02-17 13:07:26
    Removing file D:/ORACLE/O02/917/database/initO02.dba.bak.
    INFO 2008-02-17 13:07:26
    Moving file D:/ORACLE/O02/917/database/initO02.dba to: D:\ORACLE\O02\917/database/initO02.dba.bak.
    INFO 2008-02-17 13:07:26
    Copying file E:/NT/COMMON/INSTALL/INITSID.DBA to: D:\ORACLE\O02\917/database/initO02.dba.
    INFO 2008-02-17 13:07:26
    Creating file D:\ORACLE\O02\917\database\initO02.dba.
    INFO 2008-02-17 13:07:27
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata1/o02_1/o02.data1.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata2/o02_2/o02.data2.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata2/o02_3/o02.data3.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata2/o02_4/o02.data4.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata3/o02_5/o02.data5.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata3/o02_6/o02.data6.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata4/o02_7/o02.data7.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata4/o02_8/o02.data8.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata1/o02620_1/o02620.data1.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata1/o02620_2/o02620.data2.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata1/o02620_3/o02620.data3.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata2/o02620_4/o02620.data4.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata2/o02620_5/o02620.data5.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata3/o02620_6/o02620.data6.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata3/o02620_7/o02620.data7.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata4/o02620_8/o02620.data8.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata4/o02620_9/o02620.data9.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata4/o02620_10/o02620.data10.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata4/o02usr_1/o02usr.data1.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata2/roll_1/roll.data1.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata3/temp_1/temp.data1.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata1/system_1/system.data1.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/sapdata1/cntrl/cntrlO02.dbf.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/saparch/cntrl/cntrlO02.dbf.
    INFO 2008-02-17 13:07:36
    Removing file D:/oracle/O02/origlogA/cntrl/cntrlO02.dbf.
    INFO 2008-02-17 13:07:37
    Moving file D:/ORACLE/O02/917/database/initO02.ora to: orig_init_ora_tmp.txt.
    INFO 2008-02-17 13:07:37
    Moving file D:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: D:\ORACLE\O02\917\database\initO02.ora.
    INFO 2008-02-17 13:07:37
    Removing file D:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    INFO 2008-02-17 13:07:38
    Creating file D:\SAPinst ORACLE KERNEL\oradim.log.
    INFO 2008-02-17 13:07:38
    See 'D:\ORACLE\O02\917/bin/oradim -new -sid O02 -STARTMODE auto' output in 'D:\SAPinst ORACLE KERNEL\oradim.log'.
    INFO 2008-02-17 13:07:38
    'D:\ORACLE\O02\917/bin/oradim -new -sid O02 -STARTMODE auto' returned with '20'.
    INFO 2008-02-17 13:07:39
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:07:40
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:07:49
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:08:35
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:08:39
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:09:44
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:09:49
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:14:33
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:14:38
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:14:40
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:14:41
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:14:42
    Moving file D:/ORACLE/O02/917/database/initO02.ora to: orig_init_ora_tmp.txt.
    INFO 2008-02-17 13:14:42
    Moving file D:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: D:\ORACLE\O02\917\database\initO02.ora.
    INFO 2008-02-17 13:14:42
    Removing file D:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    INFO 2008-02-17 13:14:43
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:14:43
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:15:58
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:15:59
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:17:11
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:17:12
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:18:24
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:18:25
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:19:03
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:19:04
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:20:15
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:20:16
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:21:29
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:21:30
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:22:43
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:22:44
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:23:58
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:23:58
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:25:11
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:25:12
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:26:32
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:26:35
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:27:17
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:27:20
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:28:32
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:28:35
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:29:46
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:29:49
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:31:02
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:31:05
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:32:16
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:32:19
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:33:31
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:33:34
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:34:46
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:34:46
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:36:00
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:36:01
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:36:04
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:36:05
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:36:31
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:36:32
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:36:44
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:36:45
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:36:46
    Moving file D:/ORACLE/O02/917/database/initO02.ora to: orig_init_ora_tmp.txt.
    INFO 2008-02-17 13:36:46
    Moving file D:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: D:\ORACLE\O02\917\database\initO02.ora.
    INFO 2008-02-17 13:36:46
    Removing file D:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    INFO 2008-02-17 13:36:47
    Creating file D:\SAPinst ORACLE KERNEL\lsnrctl.log.
    INFO 2008-02-17 13:36:50
    See 'D:\ORACLE\O02\917/bin/lsnrctl stat' output in 'D:\SAPinst ORACLE KERNEL\lsnrctl.log'.
    INFO 2008-02-17 13:36:50
    'D:\ORACLE\O02\917/bin/lsnrctl stat' returned with '3'.
    INFO 2008-02-17 13:36:50
    Creating file D:\SAPinst ORACLE KERNEL\lsnrctl.log.
    INFO 2008-02-17 13:36:51
    See 'D:\ORACLE\O02\917/bin/lsnrctl start' output in 'D:\SAPinst ORACLE KERNEL\lsnrctl.log'.
    INFO 2008-02-17 13:36:51
    'D:\ORACLE\O02\917/bin/lsnrctl start' returned with '0'.
    INFO 2008-02-17 13:36:56
    Copying file E:/NT/COMMON/INSTALL/ORADBUSR.SQL to: ./oradbusr.sql.
    INFO 2008-02-17 13:36:56
    Creating file D:\SAPinst ORACLE KERNEL\oradbusr.sql.
    INFO 2008-02-17 13:36:57
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    INFO 2008-02-17 13:36:57
    Changed working directory to D:\SAPinst ORACLE KERNEL.
    ERROR 2008-02-17 13:37:02
    CJS-00084  SQL Statement or Script failed. Error Message: Executable D:\ORACLE\O02\917/bin/sqlplus.exe returns 3.
    ERROR 2008-02-17 13:37:02
    FJS-00012  Error when executing script.
    above is log file of my error ..so please help me....
    thx...

  • Ajax:callback function not called for every readystatechange of the request

    Author: khk Posts: 2 Registered: 2/17/06
    Feb 17, 2006 11:04 PM
    Hi
    I am working with an ajax program.
    In that i have defined a callback funtion
    but that function is not being called for every readystatechange of the request object for the first request .
    but it is working fine from the second request.
    function find(start,number){
    var nameField=document.getElementById("text1").value;
    var starting=start;
    var total=number;
    if(form1.criteria[0].checked) {
    http.open("GET", url + escape(nameField)+"&param2="+escape("exact")+"&param4="+escape(starting)+"&param5="+escape(number));
    else if(form1.criteria[2].checked) {
    http.open("GET", url + escape(nameField)+"&param2="+escape("prefix")+"&param4="+escape(starting)+"&param5="+escape(number));
    http.onreadystatechange = callback2;
    http.send(null);
    function callback2(){
    if (http.readyState == 4) {//request state
    if(http.status==200){
    var message=http.responseXML;
    alert(http.responseText);
    Parse2(message);
    }else{
    alert("response is not completed");
    }else{
    alert("request state is :-"+http.readyState);
    }

    Triple post.
    You have been answered here: http://forum.java.sun.com/thread.jspa?threadID=709676

  • File Adapter Issue: Not functioning when used with BIC user modules

    Hi! ALL
    We have been experiencing issue with file adapter, when we SeeBurger BIC user modules in sender file - FTP communication channel.
    The regular FTP functionality is working fine if do not have BIC user modules defined under the module tab.However, when put in BIC user module parameters it is not picking up the file.
    Also, we do not see any error logs; even the communication channel monitoring does not show any error log....only show the polling interval success, without the file being picked up.
    This issue started appearing once we deployed our new sda file....as we changed our BIC mapping.
    We can try doing back to our previous sda file....to see it fixes the problem.
    But, before doing that ....we would like to know where the cause of this issue....Can you point us to any error logs we can find on the PI server.
    Your help is greatly appreciated!!
    Thank you,
    Patrick.

    If you configured your logging correctly you should find in the log folders
    ./applications/com.seeburger.jucon/
    ./applications/com.seeburger.bicxiadapter/
    Try to scan those for recent errors - if the no log files can be found you should check the defaultTrace.

  • RFC function is called with null paremeters on SAP side

    I used the new version of .Net Connector 2.0.1.
    I created a simple client called RFC function with one table parameter and simple RFC function inserts record to simple table on SAP side.
    If I call this RFC function from SAP side the record is inserted to my table with correct value.
    If I call this RFC function from NET side the record is inserted with null value.
    What's wrong ?
    Could anybody help me ?
    Code :
    SAP side
    FUNCTION ZRVFRFCNV.
    *"  TABLES
    *"      ITDATA STRUCTURE  ZRVNAMEVALUE
    insert into ZRVNAMEVALUE values ITDATA.
    ENDFUNCTION.
    Net side                    
    ZRVNAMEVALUE nam_val2 = new ZRVNAMEVALUE();
    nam_val2.Name = "100";
    nam_val2.Value = "NORD";
    ZRVNAMEVALUETable tblTest = new ZRVNAMEVALUETable();
    tblTest.Add(nam_val2);
    // for testing : dataGrid show correct values
    dataGrid1.SetDataBinding(tblTest, "");
    this.sapProxy11.Zrvfrfcnv(ref tblTest);

    The problem was in insert statement. I changed insert to modify on SAP side and solved it.

  • GRANT ACCESS with sys user

    hi
    i have an user with objects, tables, views and procedures but it doesn't´t have dba privileges... how can i grant access to all the user to these objects? (with the sys or system user).
    thanks for your help.
    alex

    Hello,
    Every user in database has its objects and DBA privileges are not for everyone.
    how can i grant access to all the user to these objects? (with the sys or system user)<<<<<<Can explain these lines ?? What's your requirment ?? Please state clearly...
    As far as i got your problem, you require that all other users of databse should be able to access the objects of user (lets say A) which you specified in first line.
    For this purpose create public synonyms for all objects of user A and grant. So, everyone can use the objects of "A's" schema.
    Please update..... if you got the point or not...

  • Dynamic Function Module call with table parameter?

    Hi All,
    I'm trying to call FMs dynamically with PARAMETER-TABLE. These FMs are mainly about searching data from inputs and returning internal table as outputs. I managed to pass data into import parameters as query conditions, but still failed to set tables parameter. The code is like below, could you please help me check what's the problem? Thank you very much!!
    data: lv_val type RS38L_TYP value 'ls_service_para-fmparam'.
    data: lt_interface TYPE rsfbintfv,
               ls_import_para TYPE rsfbpara,
               ptab TYPE abap_func_parmbind_tab,
               ptab_line TYPE abap_func_parmbind,
               ref_wa type ref to data.
    Field-symbols: <fs> type any,
    CALL METHOD cl_fb_function_utility=>meth_get_interface
           EXPORTING
             im_name             = LV_FM          "FM name
           IMPORTING
             ex_interface        = lt_interface
           EXCEPTIONS
             error_occured       = 1
             object_not_existing = 2
             OTHERS              = 3.
    ***loop IMPORT parameters and fill in data from lt_params***
    loop at  lt_interface-import into ls_import_para.
         read table lt_params into ls_param with key key = ls_import_para-parameter.  "check if exists query value
        if sy-subrc = 0 and ls_param-value is not initial.
              assign (lv_val) to <fs>.
               <fs> = ls_param-value.
              create data ref_wa type (ls_import_para-STRUCTURE).
              assign ref_wa->* to <fs2>.
               <fs2> = <fs>.  UNASSIGN: <fs>,<fs2>.
               ptab_line-name = ls_import_para-PARAMETER.
               ptab_line-value = ref_wa.
               ptab_line-kind = abap_func_exporting.
              insert ptab_line into table ptab.
         endif.
    endloop.
    ***loop at TABLE parameters to retrieve data from FM***
    loop at lt_interface-TABLES into ls_import_para.
         create data ref_wa type (ls_import_para-STRUCTURE).
          ptab_line-tables_wa = ref_wa.     "set data type
          ptab_line-name = ls_import_para-PARAMETER.
          ptab_line-kind = abap_func_tables.
         insert ptab_line into table ptab. "if commented, no exception occurs,but I cannot get any dataset.
    endloop.
    CALL FUNCTION LV_FM PARAMETER-TABLE ptab.
    if I execute the code, when there has TABLES parameter defined in the FM, I get CX_SY_DYN_CALL_PARAM_MISSING exception with runtime error DATREF_NOT_ASSIGNED. But in debug mode, as shown in the screen shot attached, I did see the field TABLES_WA has correct type. So maybe I misunderstand the usage of PARAMETER-TABLE. Does anyone has experience on it?
    Best Regards,
    Jeff

    Hi Rama,
    Yes, I'm not passing value to the table parameter, but that parameter is where I want to retrieve data from FM, not pass value to, so I don't assign any value to ptab_line-value for that parameter.
    BTW, I just did some test to pass value to the parameter using the following code and still got CALL_FUNCTION_PARM_MISSING exception:
    FM: ZLEAD_CONTACT
    parameters:
    IMPORT:  I_PARTNER TYPE BUT000-PARTNER mandatory
    TABLES: OT_CONT LIKE ZLEAD_INFO_S optional (here ZLEAD_INFO_S is a flat structure)
    ptab_line-name = ls_import_para-PARAMETER.
    ptab_line-kind = abap_func_tables.
    create data ref_type type table of (ls_import_para-STRUCTURE).
    ptab_line-tables_wa = ref_wa.
    ptab_line-value = ref_type.
    The detail of ptab:
    VALUE
    TABLES_WA
    KIND
    NAME
    ->2000000025
    {A:initial}
    10
    2000000025
    ->Standard Table[0x10(588)]
    ->Structure: flat & not charlike
    30
    OT_CONT
    And the same error if I set parameter using below code:
    create data ref_wa type RS38L_TYP.
    assign ref_wa->* to <fs>.
    <fs> = ls_import_para-STRUCTURE.
    ptab_line-tables_wa = ref_wa.
    The detail of ptab:
    VALUE
    TABLES_WA
    KIND
    NAME
    ->2000000025
    {A:initial}
    10
    2000000025
    ->Standard Table[0x10(588)]
    ->ZLEAD_INFO_S
    30
    OT_CONT
    Regards,
    Jeff

  • Facetime calling with other users

    Is there a way to know that another contact has Facetime capability also? I have a contact set up but do not know if they have Facetime also to use the Facetime feature. If I make a call to a a contact who does not have Facetime, what happens? Do they see it as a normal call or do you simply get disconnected?

    Not unless you know a contact has an iPhone 4. The iPhone includes an iPhone label for a contact's phone number in addition to the standard mobile label for a cell phone.
    Since FaceTime can be done over wi-fi only, if trying to initiate a FaceTime call without placing a regular call first and the person you are calling is not an iPhone 4 user or if an iPhone 4 user with their iPhone not connected to an available wi-fi network at the time, nothing happens on the other end.
    Best to place a regular call first and ask - do you have an iPhone 4 and if so, change the label for the contact's mobile phone number entry to iPhone with the contact's info, and then ask are you connected to an available wi-fi network. If the answer is yes to both, you can switch to FaceTime from the regular call.

  • Query or script for calls with federated users

    Hi all,
    Is there a query or script that can be run in SQL or Lync that gives us a report on calls between our Lync users and federated users?

    Hi,
    There is not native report to achieve this.
    If you want to write a query, the following table is helpful to you:
    http://technet.microsoft.com/en-us/library/gg398589.aspx
    http://technet.microsoft.com/en-us/library/gg412791.aspx
    http://technet.microsoft.com/en-us/library/gg412950.aspx
    Best Regards,
    Lisa Zheng
    Lisa Zheng
    TechNet Community Support

  • Cant create group call with 2 users (they are on p...

    PLS HELP! 
    When I add 1 man in group call other one gets kicked! 
    sitting from mac os x maverick 
    This happens after new version! 

    Hi,
    Right Click (Control Click) your Buddy and then select Info Card and see if it says the same things as your Other Buddies in the Profile tab.
    8:59 PM Monday; March 1, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

Maybe you are looking for

  • Waiting components some time to be rendered after login

    Hi all, I have an ADF application with a login page. When I run the application for the first time with integrated weblogic server and click the login button ,go to the second page after login, it takes about 5 seconds for the all components to be re

  • Remove "Send As" Permisson

    We want to remove the ablility to 'Send As' from all shared mailboxes, only allowing 'send on behalf of'.  Granting a user full mailbox rights and 'send of behalf of' permissions will grant 'send as' if the user creates an Outlook profile for that ma

  • QS41 - Code Group update couldn't save Long Text

    Hi All, I am using the t-code QS41 to update the catalog type 'T', i.e. defect code.  We are required to enter some information using the long text.  After we input the long text information, save the catalog and create a transport, we found that the

  • Error in BusinessRootBjectCore.login in MSA during writing in Outboundqueue

    Hello CRM Gurus, i need your help.  We use CRM5 clients in the field. And we use the save-method for an specific user to create entries in the outboundqueue. It works all fine. But now I have a client, which get the error "BusinnesRootObjectCore.Logi

  • Can't activate PS CS6 on my desktop

    I installed Photoshop CS6 Student on my laptop and now I put it on my desktop. Tried to activate it there, logged in, put in the serial number and nothing happens... Window just disappears, no way to activate it...