Initialize Oracle API

Hi,
Can anybody tell me how to Initialize Oracle API?
Thanks
JDev.....

OpenScript toolbar is always turned 'off' in IE. Each time I launch a new IE browser window I must first manually enable the OpenScript toolbar: IE main menu: View-->Toolbars-->Oracle.OATS.OpenScript.IEToolbar.OpenScriptToolbar. This cannot be the correct behavior.
Playback of scripts fails with the timeout error: "Cannot get a connection from helper after 60 seconds."
Note: OpenScript playback does open a new browser window, but it just sits there until timeout b/c the toolbar is not enabled. Why must I first manually enable this toolbar for each playback?
I have tried:
a. running InstallBrowserHelper.bat
b. running Diagnosis Tool: suggestion to turn off IE Enhanced Security Configuration does not resolve problem
c. locking/unlocking IE toolbars has no effect
It appears there is no way to force IE to make the OpenScript toolbar "sticky".
I am running OpenScript version 9.3.0.0 on Windows 2003 Server (32-bit).
Any suggestions appreciated!
Steve

Similar Messages

  • Couldn't initialize Oracle client library

    Hi,gurus:
    My IDES4.7 installed windows200 with DB oracle9I,it's ok before. but after i repaired the OS after a vital error, once i started the SAPMMC, first it's yellow, after a wile it's green but later the disp+work.exe turned grey.
    the flowing is the log from dev_w2
    Please do me a favor,thanks a lot.
    trc file: "dev_w2", trc level: 1, release: "640"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Wed Jul 02 20:28:15 2008
    B  create_con (con_name=R/3)
    B  Loading DB library 'D:\usr\sap\HFS\SYS\exe\run\dboraslib.dll' ...
    B  Library 'D:\usr\sap\HFS\SYS\exe\run\dboraslib.dll' loaded
    B  Version of 'D:\usr\sap\HFS\SYS\exe\run\dboraslib.dll' is "640.00", patchlevel (0.220)
    B  New connection 0 created
    M sysno      00
    M sid        HFS
    M systemid   560 (PC with Windows NT)
    M relno      6400
    M patchlevel 0
    M patchno    221
    M intno      20020600
    M make:      multithreaded, ASCII
    M pid        2404
    M
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 2 2404) [dpxxdisp.c   1164]
    I  MtxInit: -2 0 0
    M  DpSysAdmExtCreate: ABAP is active

    M Wed Jul 02 20:28:16 2008
    M  DpShMCreate: sizeof(wp_adm)          13312     (832)
    M  DpShMCreate: sizeof(tm_adm)          2379840     (11840)
    M  DpShMCreate: sizeof(wp_ca_adm)          18000     (60)
    M  DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
    M  DpShMCreate: sizeof(comm_adm)          192000     (384)
    M  DpShMCreate: sizeof(vmc_adm)          0     (364)
    M  DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 06DE0040, size: 2672144)
    M  DpShMCreate: allocated sys_adm at 06DE0040
    M  DpShMCreate: allocated wp_adm at 06DE17D8
    M  DpShMCreate: allocated tm_adm_list at 06DE4BD8
    M  DpShMCreate: allocated tm_adm at 06DE4C00
    M  DpShMCreate: allocated wp_ca_adm at 07029C40
    M  DpShMCreate: allocated appc_ca_adm at 0702E290
    M  DpShMCreate: allocated comm_adm_list at 0702FA00
    M  DpShMCreate: allocated comm_adm at 0702FA18
    M  DpShMCreate: allocated vmc_adm_list at 0705E818
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 0705E840
    M  DpShMCreate: allocated wall_adm at 0705E848
    M  ThTaskStatus: rdisp/reset_online_during_debug 0
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 2 initializing ....
    X  Using implementation flat
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.

    M Wed Jul 02 20:28:17 2008
    M  calling db_connect ...
    C  Prepending D:\oracle\ora92 to Path.
    C  got NLS_LANG='AMERICAN_AMERICA.WE8DEC' from environment
    C  *** ERROR => Couldn't initialize Oracle client library,
    please check your installation!
    [dbsloci.c    2015]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c   1282]
    M  in_ThErrHandle: 1
    M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   9696]

    M  Info for wp 2

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server shining_HFS_00 on host shining (wp 2)
    M  *  ERROR       tskh_init: db_connect
    M  *
    M  *  TIME        Wed Jul 02 20:28:17 2008
    M  *  RELEASE     640
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        9881
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   730]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  255]
    M  Entering ThSetStatError
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 2 2404) [dpnttool.c   357]

    Hello Wang,
    > C *** ERROR => Couldn't initialize Oracle client library,
    Have you also restored / re-installed the oracle client libs on your windows system? It seems like the oracle client libs are missing.
    Regards
    Stefan

  • Error in Oracle API  HZ_CUST_ACCOUNT_V2PUB.create_cust_account

    Error in Oracle API HZ_CUST_ACCOUNT_V2PUB.create_cust_account
    Column account_number must have a value.
    why?

    What is the apps version ?
    Have you gone through these notes:
    Using TCA API's Including Examples [ID 201243.1]
    How To Create A Customer Via TCA API [ID 159393.1]

  • Is it a bug in Oracle API ??

    We are implementing an interface between Oracle Mfg and a third party application to transfer BOMs etc. Here is the scenario I am looking to get some input on.... A simple BOM (2 components) was transferred to Oracle manufacturing using the interface which processes BOM data via oracle API and creates an EC in Engineering module. After this transaction was completed, Engineering module showed item sequence numbers of 10 and 20 assigned to 2 components of the BOM. This BOM was revised and one of its components was disabled (one that had item sequence number of 10)and this change was submitted using our interface. ECO in the engineering module showed that the component was disabled but item sequence number assigned to this component was 30 instead of its original number 10. If the same exercise is carried out directly in Oracle engineering module item sequence number for disabled item would show as 10. So Oracle behaviour is different based on whether item in the BOM structure was disabled using API vs directly in Oracle where it should be same in both cases. Could it be a bug ?? Any input on this would be greatly appreciated.

    Hi Sunil,
    This is a bug. There doesn't seem to be a workaround.
    Can you contact me via email or post your email?
    Thanks.

  • Trying to run SQLPlus: Unable to initialize Oracle call interface (again)

    Dear all
    I am trying to install Oracle Instant Client on my powerpc-32bit running Linux. I just obtained these packages:
    instantclient-basic-linuxppc32-10.2.0.2-20060327.zip
    instantclient-sqlplus-linuxppc32-10.2.0.2-20060327.zip
    According to the document <http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ape.htm> these two are enough for me to use.
    I also followed the instruction on the document, by:
    1. Extract everything to /usr/local/instantclient_10_2/
    /usr/local:$ unzip instantclient-basic-linuxppc32-10.2.0.2-20060327.zip
    /usr/local:$ unzip instantclient-sqlplus-linuxppc32-10.2.0.2-20060327.zip
    2. export variables:
    $ export LD_LIBRARY_PATH=/usr/local/instantclient_10_2/
    $ export SQLPATH=/usr/local/instantclient_10_2/
    $ export NLS_LANG=AMERICAN_AMERICA.UTF8
    $ export PATH=/usr/local/instantclient_10_2:$PATH
    ($LD_LIBRARY_PATH and $SQLPATH was empty before I do the above.)
    (I didn't set $ORACLE_HOME because the document didn't require me to do so when I install sqlplus/oracle-client-basic from zip files. However I do tried to set it, doesn't help either.)
    3. run:
    $ sqlplus jxpado/[email protected]/XEXDB
    SP2-1503: Unable to initialize Oracle call interface
    SP2-0152: ORACLE may not be functioning properly
    I looked up causes of SP2-1503:
    Check that the Oracle environment or registry entries are consistent and correct.Yes. Environment is correct (only 3 variables);
    If using the SQL*Plus Instant Client make sure the SQL*Plus
    and Oracle libraries are from the same release. Yes, as you can tell from package zip file names.
    Make sure you have read access to the libraries.True. I am very sure I have read access to all files there.
    So what can I do here? I tried to follow instructions as clear / complete as possible.
    I am sure sqlplus didn't even try to connect to the server at gtz.ods.org because I put a network traffic listener there to monitor access to the server.
    Message was edited by:
    user609663

    Unfortunately there's a bunch of possible reasons for this error combination. I recommend you search metalink for SP2-1503 to get a list.
    Werner

  • Calling oracle API having parameter as record type throughPL/SQL WebService

    Hi All,
    I dont know whether this is the right forum to put this query, but as i am using a pl/sql web service , putting the query on this forum.
    My requirement is to call oracle API which in turh creates a single Invoice(using Ar_Invoice_Api_Pub.create_single_invoice )
    But the issue is this API in turn has some of the input parameters as Record type and table type, my concern is how to pass this data(record type or table type) as parameter thorugh java code .. If i use Collection or Hashmap will it work , I dont think so , some intermediate conversion will require.
    Subsequently the other requirement is fetch this record/table type data and return it to the java code
    Please correct me if i am wrong and suggest a proper solution if anybody is aware off or tried such things before.
    Thanks in advance.
    Regards,
    Anant.

    Hi,I'm new comer of this world,
    I've a pl/sql like this:
    package MY_WS_API is
    type record_set is ref cursor;
    PROCEDURE Get_User_Info(p_user_id VARCHAR2,
    p_rep_id VARCHAR2,
    p_flag out number,
    p_msg out varchar2,
    p_recordset out record_set);
    end MY_WS_API;
    when I using jdeveloper trying to publish it as a webservice, in the step 4 of the wizzard poping me choose the program unit to expose, the PROCEDURE Get_User_Info is not available and told me "Ref cursor Type is not supported due to a jdbc limitation and Ref Cursor Types are only supported for use of return type".
    THE QUESTION is:
    1.the cursor I used is of return type,I'm not very understanding the "why not" message upon.
    2.in such case , need I trans the return cursor into Object[] if have to?
    3.any other limitation for generating WS from PL/SQL using jdeveloper?
    Thanks!

  • Oracle APIs For Contacts and Role Responsibility

    Hello,
    Please, I need a direction on how to proceed about the use of the right API. I'm working with Oracle EBS R12. If this is not the place for this kind of doubt, please let me know the best one.
    I already have a site for a customer, which was created by the ra_customers_interface_all, after loading the data and processing the interface.
    Now I need to create (using Oracle APIs) a contact name, which will have at least a telephone number and an e-mail address.
    I know that the contact name will be in table HZ_PARTIES, but later it will be related to a site. The registry that will be used for this has the Party_Type value equals to 'PARTY_RELATIONSHIP', according to what the customers interface did after being executed.
    Then the telephone number and e-mail address will be in table HZ_CONTACT_POINTS. The Owner_Table_Name of it has to be 'HZ_PARTIES'. The Owner_Table_Id of it will have the value of Party_Id from table HZ_PARTIES, which has Party_Type value equals to 'PARTY_RELATIONSHIP'.
    After this, my main goal is to create a role responsibility to the contact name. So I know there are other two tables involved. They are HZ_CUST_ACCOUNT_ROLES and HZ_ROLE_RESPONSIBILITY.
    And I see there are two more tables involved, which are HZ_RELATIONSHIPS, which will do the PERSON x ORGANIZATION relation, and also table HZ_ORG_CONTACTS, which has the field PARTY_SITE_ID, to finally indicate that this contact is part of a site, which I already have.
    I have all these tables in mind. I just need a tip on how to proceed. I'm able to create a party as PERSON, not yet as PARTY_RELATIONSHIP. I'm able to create a contact point (telephone number). I'm lacking the idea about what to do have this:
    site -> contact name -> telephone number of this contact name inside this site
    I can do this:
    site -> telephone number of this site
    Any help would be great.

    Thanks for the reply but i stil have the problem...............
    My Current machine.config has this to say in that particular section
    <connectionStrings>
    <add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
    <add name="OraAspNetConString" providerName="Oracle.DataAccess.Client" connectionString=" "/>
    </connectionStrings>
    What can be done.........................in this case
    Thanks

  • How to get standard oracle API or Interface package in oracle apps

    Hi guys,
    Need ur help........plz tell me how to find the standard oracle API or other package on server. Actually I need standard Interface package of Requisition Import program API plz give me exact path to finding standard API or interface pkg.......ASAP and also give the interface pkg name of Requisition Import in purchasing.
    it's urgent plz do needful...........................................
    Thanks,
    abh...................
    Edited by: 811373 on Jun 4, 2011 12:54 AM

    I want to find all API related to PO Requisition special Requisition Import conc. program API ...plz tell how can get it.
    Actually I want to design custom interface on the basis of standard Requisition Import api so, plz give me sql script for find those api.From iREP website, navigate to the PO module and check the list of APIs.
    Or, you could enable trace/debug for the concurrent program and generate the TKPROF and this will show you the API used by this program.
    FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
    How To Trace a Concurrent Request And Generate TKPROF File [ID 453527.1]
    Another option is to open the report using reports builder and check the code.
    Thanks,
    Hussein

  • Any Oracle API to Finally close the PO Shipments

    Hi,
    I have the requirement of Finally close the Number of PO shipments,
    I know there is a API (PO_ACTIONS.CLOSE_PO API )can be used to Finally close the PO at header level.
    Is there any sepecific API to finally close the PO shipments or how i can achive this?
    Please pour your thoughts.
    Thanks,
    Subash

    Hi;
    All APIs are listed in Oracle Integration Repository
    http://irep.oracle.com/index.html
    API User Notes - HTML Format [ID 236937.1]
    R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
    Oracle Trading Community Architecture API User Notes, June 2003 [ID 241320.1]
    Technical Uses of Customer Interface and TCA-API [ID 269121.1]
    Pelase also check below:
    Api's in EBS
    Re: Api's in EBS
    http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
    API
    Fixed Asset API
    List of API
    Re: List of APIs
    Oracle Common Application Components API Reference Guide
    download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
    List of APIs and open interface R12
    Re: List of APIs and open interface R12
    Regard
    Helios

  • Any Oracle API to Finally Close, Freeze, Unfreeze and Hold POs or Releases.

    I know there is PO_ACTIONS.CLOSE_PO API which allow us to close the PO. We need to Finally Close, Freeze, Unfreeze and HOLD Pos/Releases.
    Does anyone know the Oracle API which can do this jobs.
    Thanks in Advance.

    PO_CLOSE API alowed me to finally close the PO.
    Here is the script if anybody interested,
    v_result := PO_ACTIONS.CLOSE_PO(
    P_DOCID => v_header_id,
    P_DOCTYP => 'PO',
    P_DOCSUBTYP => 'STANDARD',
    P_LINEID => NULL,
    P_SHIPID => NULL,
    --P_ACTION => 'CLOSE',
    P_ACTION => 'FINALLY CLOSE',
    P_REASON => 'ONP FINALLY CLOSE Request : ' || to_char(v_request_id),
    P_CALLING_MODE => 'PO',
    P_CONC_FLAG => 'N',
    P_RETURN_CODE => v_return_code,
    P_AUTO_CLOSE => 'N',
    P_ACTION_DATE => sysdate,
    P_ORIGIN_DOC_ID => NULL );
    I am going to update the tables directly for HOLD/Freeze and Unfreeze action.

  • Creating an Oracle API

    Hello All,
    I have a question in mind. Is it possible to write an Oracle API? It could be any generic function that is going to be used frequently. As I have read, API's are executed much faster than the Stored Procedures.
    Please do give suggestions if it is possible.
    Regards,
    P.

    API is an abstract concept.
    In Oracle, an API will be implemented as stored procedures (typically in packages).
    In Windows, an API can be written in C/C++/Delphi/etc and implemented as a DLL (dynamic link library).
    In Linux/Unix, an API can be written in C/C++/Pascal/etc and implemented as a SO (shared object library).
    In other words, API is implemented as code. Just like any other software.
    So why should code written to function as an API be faster than code written for an application?
    Why would an API PL/SQL procedure be faster than a normal application procedure?
    Whatever you have read is WRONG, or you have INCORRECTLY understood what you have read.

  • Assigning multiple interfaces for Oracle API Gateway (OAG)

    We are deploying Oracle API Gateway to throttle our incoming API requests. We would like to keep the incoming external API requests separate from the internal configuration management so that they go through different interfaces when accessing the OAG server. This is mainly for security reasons so that the external people won’t have access to the interface used by internal operations team to manage OAG. Based on your experience, is there any standard best practice to accomplish this? We were thinking to perhaps use two of the server’s network interfaces with different IPs, one for the incoming API requests and the other for the internal admin management of OAG. But not sure if this is the best way to do what we need. We are aware of OAG's capability to support two separate ports to handle this situation, but would like a more secure set-up that could completely eliminate external access to the OAG management done by the IT team.
    Would appreciate any thoughts on best practices used regarding multiple interfaces for OAG set-up. Thank you. Oracle Marketing Cloud.

    You are on the right track.
    Here is how you can achieve this:
    You can use multiple network interfaces on the UNIX machine and setup networking/routing in such a way that all external traffic comes on on one card and is routed internally via a different card.
    Segregate difference types of services (i.e to be used by external clients vs internal apps) into difference different "Service Groups". Have each of these service groups listen on different port + NIC card (under Listeners, you can define a port to list to list on a specific network address and port instead of *).
    Setup additional protection for services that will be accessed by external clients. Use "Threatening Content " filter to protect your services.
    Setup 2 way SSL for the interface that will be called by external clients. Setup a DN based authorization check if you want to have both authentication and authorization.
    Hope this helps.
    -Thanks,
    Ankit Kumar

  • Exception caught while trying to initialize Oracle RouteServer

    Hi,
    While starting my application server, i am facing this error.
    05/09/02 14:32:53 Exception caught while trying to initialize Oracle RouteServer
    05/09/02 14:32:53 oracle.spatial.router.engine.RoutingEngineException: [REE-0126: Node reference for start  node 42788087 of
    edge -23202655 is missing in partition 0]
    05/09/02 14:32:53 at oracle.spatial.router.engine.Partition.fillNonBoundaryEdgesWithNodeReferences(Partition.java:183)
    05/09/02 14:32:53 at oracle.spatial.router.engine.Partition.readPartition(Partition.java:110)
    05/09/02 14:32:53 at oracle.spatial.router.engine.PartitionCache.loadPartitionFromDatabase(PartitionCache.java:276)
    05/09/02 14:32:53 at oracle.spatial.router.engine.PartitionCache.obtainPartitionReference(PartitionCache.java:234)
    05/09/02 14:32:53 at oracle.spatial.router.engine.Network.<init>(Network.java:62)
    05/09/02 14:32:53 at oracle.spatial.router.server.RouteServerImplementation.<init>(RouteServerImplementation.java:128)
    05/09/02 14:32:53 at oracle.spatial.router.server.RouteServerServlet.init(RouteServerServlet.java:191)
    05/09/02 14:32:53 at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2094)
    05/09/02 14:32:53 at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4523)
    05/09/02 14:32:53 at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4617)
    05/09/02 14:32:53 at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:765)
    05/09/02 14:32:53 at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:497)
    05/09/02 14:32:53 at com.evermind.server.Application.getHttpApplication(Application.java:886)
    05/09/02 14:32:53 at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:688)
    05/09/02 14:32:53 at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:570)
    05/09/02 14:32:53 at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263)
    05/09/02 14:32:53 at com.evermind.server.http.HttpServer.setSites(HttpServer.java:259)
    05/09/02 14:32:53 at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:160)
    05/09/02 14:32:53 at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2325)
    05/09/02 14:32:53 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1498)
    05/09/02 14:32:53 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
    05/09/02 14:32:53 at java.lang.Thread.run(Thread.java:534)
    Can you suggest something on this..!
    Thanks and Regards
    Ashish Dhawan

    Hi,
    Please refer to the answers for your questions:
    Q) I assume you imported this data, what tables did you import? Was it non-Router schema data that was massaged into the Routers schema? Was is it limited data from another Router schema (NODE, EDGE and SIGN_POST tables)? How was the data exported/imported? Could you run the following query and post the result?
    Ans:) The data had been downloaded from the
    http://www.adci.com/products/navteq/index.html.
    This was a sample oracle 10g data of "pinellas-county"
    Import statments used were:
    1. Create User that will "house" the Spatial data. Should be the same name as the user being exported.
         CREATE USER ADCI PROFILE "DEFAULT"
         IDENTIFIED BY "ADCI" DEFAULT TABLESPACE "USERS"
         TEMPORARY TABLESPACE "TEMP"
         ACCOUNT UNLOCK;
         GRANT "CONNECT" TO "ADCI";
    GRANT imp_full_database, create table, create sequence TO ADCI;
    2. Create directory for import (The directory will be the location of the dump file)
         CREATE DIRECTORY adci_dump_dir AS '<location of dump file>';
         GRANT READ, WRITE ON DIRECTORY adci_dump_dir TO adci;
         ALTER USER adci QUOTA UNLIMITED ON USERS;
    3. Import Tablespace by running the following command. (Modify the datafile location)
         ** Note - You may need to convert the endian format before importing the datafile.
         (The source datafile is from platform id #10 - See below)
         impdp adci@<database alias> DIRECTORY=adci_dump_dir DUMPFILE=tts.dmp TRANSPORT_DATAFILES='<directory location>\adci_data.ora'
         ** Ignore ORA-31684 Errors on MDSYS objects
         Oracle10g Release 1 note:
         Oracle 10g Release 1 may report several errors when importing the transportable tables. These errors can be safely ignored. There are two types of errors:
         ORA-31684: Object type TYPE:"MDSYS"."XXXXX" already exists
         ORA-39083: Object type TYPE failed to create with error:
         ORA-02311: cannot alter with COMPILE option a valid type with type or table dependents
         Failing sql is:
         ALTER TYPE "MDSYS"."XXXXX" COMPILE SPECIFICATION
         and:
         ORA-31684: Object type TYPE_BODY:"MDSYS"."SDO_GEOMETRY" already exists
         At the end of the import, the message will be:
         Job "MAPPER"."SYS_IMPORT_TRANSPORTABLE_01" completed with 11 error(s)
    4. Alter tablespace to be in read write mode.
         ALTER TABLESPACE ADCI_DATA READ WRITE;
    5. Grant unlimited quota on transportable tablespace to user created in step 1
         ALTER USER ADCI QUOTA UNLIMITED ON ADCI_DATA;
    6. Initialize Spatial Indexes as owner of all spatial indexes
         EXEC SDO_UTIL.INITIALIZE_INDEXES_FOR_TTS
    7. Run the following script to build indexes, add metadata
         CONNECT ADCI@<ALIAS NAME>
         INSERT INTO USER_SDO_MAPS SELECT * FROM SDO_MAPS;
         INSERT INTO USER_SDO_THEMES SELECT * FROM SDO_THEMES;
         INSERT INTO USER_SDO_STYLES SELECT * FROM SDO_STYLES;     
         COMMIT;
    8. Collect Schema statistics
         Run following command while connected as a priviledged user.
         exec dbms_stats.gather_schema_stats(ownname=>'ADCI',cascade=>TRUE,estimate_percent=>15);
    Q) select index_name from USER_INDEXES where table_name='EDGE';
    Ans:)
    INDEX_NAME
    EDGE_NAME_IDX
    START_NODE_ID_IDX
    END_NODE_ID_IDX
    EDGE_ID_IDX
    EDGE_SIN
    SYS_IL0000095839C00014$$
    SYS_IL0000095839C00015$$
    Step>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Drop tables:
    drop table EDGE_PART; Table Dropped
    drop table NODE_PART; Table Dropped
    drop table PARTITION; Table Dropped
    drop table NEW_PARTITION; Table doesnot exist
    Step>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> If the delete works, great. If the delete doesn't work drop all of the Router shema tables, reimport the data and try the above delete command again.
    Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
    Processing object type TRANSPORTABLE_EXPORT/TYPE/TYPE_SPEC
    ORA-31684: Object type TYPE:"MDSYS"."NUM_ARRAY" already exists
    ORA-31684: Object type TYPE:"MDSYS"."SDO_ORDINATE_ARRAY" already exists
    ORA-39083: Object type TYPE failed to create with error:
    ORA-02311: cannot alter with COMPILE option a valid type with type or table dependents
    Failing sql is:
    ALTER TYPE "MDSYS"."SDO_ORDINATE_ARRAY" COMPILE SPECIFICATION PLSQL_OPTIMIZE_LEVEL= 2 PLSQ
    L_CODE_TYPE= INTERPRETED PLSQL_DEBUG= FALSE
    ORA-31684: Object type TYPE:"MDSYS"."SDO_ELEM_INFO_ARRAY" already exists
    ORA-39083: Object type TYPE failed to create with error:
    ORA-02311: cannot alter with COMPILE option a valid type with type or table dependents
    Failing sql is:
    ALTER TYPE "MDSYS"."SDO_ELEM_INFO_ARRAY" COMPILE SPECIFICATION PLSQL_OPTIMIZE_LEVEL= 2 PLS
    QL_CODE_TYPE= INTERPRETED PLSQL_DEBUG= FALSE
    ORA-31684: Object type TYPE:"MDSYS"."SDO_POINT_TYPE" already exists
    ORA-39083: Object type TYPE failed to create with error:
    ORA-02311: cannot alter with COMPILE option a valid type with type or table dependents
    Failing sql is:
    ALTER TYPE "MDSYS"."SDO_POINT_TYPE" COMPILE SPECIFICATION PLSQL_OPTIMIZE_LEVEL= 2 PLSQL_CO
    DE_TYPE= INTERPRETED PLSQL_DEBUG= FALSE
    ORA-31684: Object type TYPE:"MDSYS"."SDO_KEYWORDARRAY" already exists
    ORA-31684: Object type TYPE:"MDSYS"."SDO_GEOMETRY" already exists
    ORA-39083: Object type TYPE failed to create with error:
    ORA-02311: cannot alter with COMPILE option a valid type with type or table dependents
    Failing sql is:
    ALTER TYPE "MDSYS"."SDO_GEOMETRY" COMPILE SPECIFICATION PLSQL_OPTIMIZE_LEVEL= 2 PLSQL_CODE
    TYPE=  INTERPRETED    PLSQLDEBUG= FALSE
    Processing object type TRANSPORTABLE_EXPORT/TYPE/GRANT/OBJECT_GRANT
    Processing object type TRANSPORTABLE_EXPORT/TYPE/TYPE_BODY
    ORA-31684: Object type TYPE_BODY:"MDSYS"."SDO_GEOMETRY" already exists
    Processing object type TRANSPORTABLE_EXPORT/TABLE
    Processing object type TRANSPORTABLE_EXPORT/INDEX
    Processing object type TRANSPORTABLE_EXPORT/INDEX_STATISTICS
    Processing object type TRANSPORTABLE_EXPORT/TABLE_STATISTICS
    Processing object type TRANSPORTABLE_EXPORT/DOMAIN_INDEX/TABLE
    Processing object type TRANSPORTABLE_EXPORT/DOMAIN_INDEX/INDEX
    Processing object type TRANSPORTABLE_EXPORT/TTE_POSTINST/PLUGTS_BLK
    Job "ADCI"."SYS_IMPORT_TRANSPORTABLE_01" completed with 11 error(s) at 12:11
    As the data already exists in MDSYS user for the same data, thus these errors have started cropping up. What do you suggest..Now i think the data has crashed completely. What do you suggest...??
    Thanks and Regards
    Ashish Dhawan

  • P2-1503: Unable to initialize Oracle call interface

    version 10.2 on windows, any idea?
    E:\>sqlplus /nolog
    SP2-1503: Unable to initialize Oracle call interface
    SP2-0152: ORACLE may not be functioning properly

    E:\>set
    ALLUSERSPROFILE=C:\Documents and Settings\All Users
    APPDATA=C:\Documents and Settings\agulzar\Application Data
    ASSISTANTS_COMMON_CLASSPATH=E:\oracle\product\10.2.0\assistants\jlib\assistantsC
    ommon.jar
    BALISHARE_CLASSPATH=E:\oracle\product\10.2.0\jlib\share.jar
    CANDLE_HOME=C:\IBM\ITM
    CLASSPATH=E:\oracle\product\10.2.0\jdk\jre\lib\rt.jar;E:\oracle\product\10.2.0\j
    dk\jre\lib\i18n.jar;E:\oracle\product\10.2.0\assistants\dbca\jlib\dbca.jar;E:\or
    acle\product\10.2.0\assistants\jlib\assistantsCommon.jar;E:\oracle\product\10.2.
    0\jlib\ewt3.jar;E:\oracle\product\10.2.0\jlib\ewtcompat-3_3_15.jar;E:\oracle\pro
    duct\10.2.0\jlib\share.jar;E:\oracle\product\10.2.0\jlib\swingall-1_1_1.jar;E:\o
    racle\product\10.2.0\jlib\oracle_ice5.jar;E:\oracle\product\10.2.0\jlib\help4.ja
    r;E:\oracle\product\10.2.0\jlib\jewt4.jar;E:\oracle\product\10.2.0\jlib\kodiak.j
    ar;E:\oracle\product\10.2.0\lib\xmlparserv2.jar;E:\oracle\product\10.2.0\jlib\or
    ai18n.jar;E:\oracle\product\10.2.0\jlib\orai18n-mapping.jar;E:\oracle\product\10
    .2.0\jlib\orai18n-utility.jar;E:\oracle\product\10.2.0\jlib\orai18n-collation.ja
    r;E:\oracle\product\10.2.0\jlib\netcfg.jar;E:\oracle\product\10.2.0\jlib\ojmisc.
    jar;E:\oracle\product\10.2.0\jlib\oraclepki103.jar;E:\oracle\product\10.2.0\jlib
    \ldapjclnt10.jar;E:\oracle\product\10.2.0\jlib\opm.jar;E:\oracle\product\10.2.0\
    jdbc\lib\classes12.zip;E:\oracle\product\10.2.0\jlib\srvm.jar;E:\oracle\product\
    10.2.0\jlib\srvmhas.jar;E:\oracle\product\10.2.0\jlib\srvmasm.jar;E:\oracle\prod
    uct\10.2.0\classes;E:\oracle\product\10.2.0\jlib\oemlt-10_1_0.jar;E:\oracle\prod
    uct\10.2.0\jlib\emca.jar;E:\oracle\product\10.2.0\sysman\jlib\emCORE.jar;E:\orac
    le\product\10.2.0\oc4j\j2ee\home\oc4j.jar;E:\oracle\product\10.2.0\oc4j\j2ee\hom
    e\db_oc4j_deploy.jar;E:\oracle\product\10.2.0\jlib\emConfigInstall.jar;E:\oracle
    \product\10.2.0\oui\jlib\OraInstaller.jar
    CLIENTNAME=WMSTUTCTX02
    ClusterLog=C:\WINDOWS\Cluster\cluster.log
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    COMPUTERNAME=WMSTUTGIS02
    ComSpec=C:\WINDOWS\system32\cmd.exe
    DBCA_CLASSPATH=E:\oracle\product\10.2.0\assistants\dbca\jlib\dbca.jar
    EM_CLASSPATH=E:\oracle\product\10.2.0\classes;E:\oracle\product\10.2.0\jlib\oeml
    t-10_1_0.jar;E:\oracle\product\10.2.0\jlib\emca.jar;E:\oracle\product\10.2.0\sys
    man\jlib\emCORE.jar;E:\oracle\product\10.2.0\oc4j\j2ee\home\oc4j.jar;E:\oracle\p
    roduct\10.2.0\oc4j\j2ee\home\db_oc4j_deploy.jar;E:\oracle\product\10.2.0\jlib\em
    ConfigInstall.jar
    EWT_CLASSPATH=E:\oracle\product\10.2.0\jlib\ewt3.jar;E:\oracle\product\10.2.0\jl
    ib\ewtcompat-3_3_15.jar
    FP_NO_HOST_CHECK=NO
    GDK_CLASSPATH=E:\oracle\product\10.2.0\jlib\orai18n.jar;E:\oracle\product\10.2.0
    \jlib\orai18n-mapping.jar;E:\oracle\product\10.2.0\jlib\orai18n-utility.jar;E:\o
    racle\product\10.2.0\jlib\orai18n-collation.jar
    HELP_CLASSPATH=E:\oracle\product\10.2.0\jlib\help4.jar;E:\oracle\product\10.2.0\
    jlib\jewt4.jar
    HOMEDRIVE=W:
    HOMEPATH=\
    HOMESHARE=\\wmstutfpcb\itdata\users\agulzar
    I18N_CLASSPATH=E:\oracle\product\10.2.0\jdk\jre\lib\i18n.jar
    ICE_BROWSER_CLASSPATH=E:\oracle\product\10.2.0\jlib\oracle_ice5.jar
    INSTALLER_CLASSPATH=E:\oracle\product\10.2.0\oui\jlib\OraInstaller.jar
    JAVA_HOME=C:\java\java5_01\jdk
    JDBC_CLASSPATH=E:\oracle\product\10.2.0\jdbc\lib\classes12.zip
    JRE_CLASSPATH=E:\oracle\product\10.2.0\jdk\jre\lib\rt.jar
    KODIAK_CLASSPATH=E:\oracle\product\10.2.0\jlib\kodiak.jar
    KUIFILEPATH=C:\IBM\ITM\bin\xml
    LIBPATH=C:\IBM\ITM\bin\dll;C:\IBM\ITM\TMAITM6;C:\IBM\ITM\InstallITM
    LOGONSERVER=\\WMSTUTDC01
    NETCFG_CLASSPATH=E:\oracle\product\10.2.0\jlib\netcfg.jar;E:\oracle\product\10.2
    .0\jlib\ojmisc.jar;E:\oracle\product\10.2.0\jlib\oraclepki103.jar;E:\oracle\prod
    uct\10.2.0\jlib\ldapjclnt10.jar;E:\oracle\product\10.2.0\jlib\opm.jar
    NLSLANG=AMERICAN_AMERICA.UTF8
    NLSPATH=C:\Program Files (x86)\IBM\SCM\msg\%L\%N.cat;C:\Program Files (x86)\IBM\
    SCM\msg\C\%N.cat
    NUMBER_OF_PROCESSORS=4
    OH=E:\oracle\product\10.2.0
    ORACLE_HOME=E:\oracle\product\10.2.0
    ORACLE_SID=ARCSERVP
    OS=Windows_NT
    Path=E:\oracle\product\10.2.0\BIN
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PERL5LIB=E:\oracle\product\10.2.0\perl\5.8.3\lib\MSWin32-x86;E:\oracle\product\1
    0.2.0\perl\5.8.3\lib;E:\oracle\product\10.2.0\perl\5.8.3\lib\MSWin32-x86;E:\orac
    le\product\10.2.0\perl\site\5.8.3;E:\oracle\product\10.2.0\perl\site\5.8.3\lib;E
    :\oracle\product\10.2.0\sysman\admin\scripts;
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=EM64T Family 6 Model 15 Stepping 6, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=0f06
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    PROMPT=$P$G
    SCM_CLIENT_INST_DIR=C:\Program Files (x86)\IBM\SCM\client
    SCM_HOME=C:\Program Files (x86)\IBM\SCM
    SDEHOME=E:\ArcGIS\ArcSDE\ora10gexe\
    SESSIONNAME=RDP-Tcp#14
    SRVM_CLASSPATH=E:\oracle\product\10.2.0\jlib\srvm.jar;E:\oracle\product\10.2.0\j
    lib\srvmhas.jar;E:\oracle\product\10.2.0\jlib\srvmasm.jar
    SWING_CLASSPATH=E:\oracle\product\10.2.0\jlib\swingall-1_1_1.jar
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\DOCUME~1\agulzar\LOCALS~1\Temp\3
    TISDIR=C:\Program Files (x86)\IBM\SCM\codeset
    TMP=C:\DOCUME~1\agulzar\LOCALS~1\Temp\3
    TNS_ADMIN=E:\oracle\product\10.2.0\NETWORK\ADMIN
    TSM=C:\Program Files\Tivoli\TSM\baclient\dsmc.exe
    USERDNSDOMAIN=WILLIAMS.COM
    USERDOMAIN=WILLIAMS
    USERNAME=agulzar
    USERPROFILE=C:\Documents and Settings\agulzar
    windir=C:\WINDOWS
    XMLPARSER_CLASSPATH=E:\oracle\product\10.2.0\lib\xmlparserv2.jar

  • SP2-1503: Unable to initialize Oracle call interface

    Hello All,
    I have installed Oracle 10g R1 on my new HP laptop with OS as Windows 7 and the installation was successful.
    But, unfortunately while trying to connect to the DB with the sqlplus /nolog command, the below error is re- occuring
    SP2-1503: Unable to initialize Oracle call interface
    SP2-0152: ORACLE may not be functioning properly.
    Please, let me know if this is an oracle bug and suggest me if i need to install an upgrade patch.
    Regards,
    Oracle

    Hi.. from oracle metalink
    Oracle Database releases "9iR2 (9.2.0.x), 10gR1 (10.1.0.x), 10gR2 (10.2.0.x) and 11gR1 (11.1.0.x)" are not Certified/Supported to install/run on Microsoft Windows 7.
    "Microsoft Windows 7" certification will begin with "Oracle Database 11gR2 (11.2.0.x)". That means, Oracle Database 11gR2 will be the first Oracle Database product certified/supported to install/run on "Microsoft Windows 7".
    *T                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for