DB2 to Oracle Connection . . .

Dears
How can i connect from DB2 ( Under windows ) to Oracle ( Under Linux )?
Thanks&Best regards,,
Edited by: user4520487 on Apr 19, 2009 1:15 AM

Hi,
Regarding to connect from Oracle to DB2:
Is this link helpful? http://download.oracle.com/docs/cd/B19306_01/gateways.102/b16222/toc.htm
No, as this link is for installing the software on IBM iSeries OS/400
And from where can i download the gateway software?Have a look at this thread.
Transparent Gateway software download
Transparent Gateway software download
Regards,
Hussein

Similar Messages

  • Connect to DB2 from oracle 11g on windows 2008 server

    Hi Folks,
    I want to conenct to DB2 from oracle 11g using DB link.
    DB2 :
    user : db2user
    pwd : db2pwd
    database : db2database (OSBLDEV)
    able to connect to db2 server (installed on machine M1) using db2 client with above details from machine M2 (where oracle is installed).
    Oracle :
    user : orauser
    pwd : orapwd
    host : orahost
    port : 1521
    service : oraservice
    able to connect to oracle server using oracle sql developer with above details on Machine M2 (windows 2008 server)
    when i execute the query with database link
    select row_id from siebel.s_org_ext@OSBLDEV;
    I get the message : ORA-12154: TNS:could not resolve the connect identifier specified.
    could you pls check and let me know whether the below enteries are correct or not.
    Pls share if you have step by step connectivity from DB2 to oracle using DB link.
    1. I have created the Data source for DB2 - test successful
    create database link OSBLDEV
    connect to "db2user"
    identified by "ldb2pwd"
    using 'OSBLDEV';
    1. I have made the following entry in E:\oracle\product\11.1.0\db_1\hs\admin\initosbldev.ora
    HS_FDS_CONNECT_INFO = OSBLDEV
    HS_FDS_TRACE_LEVEL = 0
    2. I have made the following entry in E:\oracle\product\11.1.0\db_1\NETWORK\ADMIN\tnsnames.ora
    OSBLDEV =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=orahost)(PORT=1521))
    (CONNECT_DATA=(SID=OSBLDEV))
    (HS=OK)
    3. I have made the following entry in E:\oracle\product\11.1.0\db_1\NETWORK\ADMIN\listener.ora and releoaded the listner (lsnrctl reload)
    LISTENER =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=orahost)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_LISTENER=
    (SID_LIST=
         (SID_DESC = # this is the entry for HSODBC
         (SID_NAME = OSBLDEV)
         (ORACLE_HOME = e:\oracle\product\11.1.0\db_1)
         (PROGRAM = hsodbc)
    Thanks in advance.

    1. My listener.ora is placed at the below location:
    E:\oracle\product\11.1.0\db_1\NETWORK\ADMIN
    2. I have modifed the listener and removed the entry - hsodbc
    3. stop and start the listener.
    still can't see the service entry in listener status.
    C:\>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.1.0.7.0 - Production on 19-JUL-2010 02:27
    :08
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.1.0.7.0 - Produ
    ction
    Start Date 19-JUL-2010 02:21:17
    Uptime 0 days 0 hr. 5 min. 52 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File e:\oracle\diag\tnslsnr\DALDEVDBCRM1\listener\alert\log
    .xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=daldevdbcrm1.corp.nai.org)(PORT=1521
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+asm1", status READY, has 1 handler(s) for this service...
    Service "+ASM_XPT" has 1 instance(s).
    Instance "+asm1", status READY, has 1 handler(s) for this service...
    Service "ARIBADEV" has 1 instance(s).
    Instance "ariba", status READY, has 1 handler(s) for this service...
    Service "ARIBADEV_XPT" has 1 instance(s).
    Instance "ariba", status READY, has 1 handler(s) for this service...
    Service "ARIBAXDB" has 1 instance(s).
    Instance "ariba", status READY, has 1 handler(s) for this service...
    Service "aiad.corp.nai.org" has 2 instance(s).
    Instance "aiad1", status READY, has 2 handler(s) for this service...
    Instance "aiad2", status READY, has 1 handler(s) for this service...
    Service "aiadXDB.corp.nai.org" has 2 instance(s).
    Instance "aiad1", status READY, has 1 handler(s) for this service...
    Instance "aiad2", status READY, has 1 handler(s) for this service...
    Service "aiad_XPT.corp.nai.org" has 2 instance(s).
    Instance "aiad1", status READY, has 2 handler(s) for this service...
    Instance "aiad2", status READY, has 1 handler(s) for this service...
    Service "aianew" has 1 instance(s).
    Instance "aianew", status READY, has 1 handler(s) for this service...
    Service "aianewXDB" has 1 instance(s).
    Instance "aianew", status READY, has 1 handler(s) for this service...
    Service "aianew_XPT" has 1 instance(s).
    Instance "aianew", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\>

  • Connecting db2 from oracle

    hi,
    i)what is the cwbcfg program to be executed you have mentioned.
    ii) I executed caths.sql
    iii) In tnsnames.ora how to specify the dsn that you create for db2 database.
    for example if I have created a dsn for db2 naming it kishore_dsn, how do i specify that in tnsnames.ora file.
    and by what sid is the iniths_sid.ora to be created. is it the dsn you create for db2 database. for ex. if dsn name is kishore_dsn, should the file be initkishore_dsn.ora, or it should be the name of local oracle database service.
    DESIGN.FORESEEINDIA.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = compaq6)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = design)
    KISHORE_DSN =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = compaq6)(PORT = 1521))
    (CONNECT_DATA = (SERVICE_NAME = KISHORE_DSN)
    (HS = OK)
    I am getting ora-12154 tns could not resolve service name, while tring to access db2 after creating public links.
    I would appreciate if you can send me step by step generic connectivity ,connecting db2 from oracle.
    Prabhath.

    Hi Tak,
    Thanks for your response.
    My odbc data source name is : kishore_dsn
    driver : ibm db2 odbc driver
    I am connecting db2 8 on windows from oracle 9i on windows.
    MY iniths_sid.ora file is initdesign.ora
    initdesign.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = KISHORE_DSN
    HS_FDS_TRACE_LEVEL = 0
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    I created listener.ora in network/admin
    # LISTENER.ORA Network Configuration File: c:\disk1\software\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC5))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = compaq6)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = c:\disk1\software)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = design)
    (ORACLE_HOME = c:\disk1\software)
    (SID_NAME = design)
    (SID_DESC =
    (SID_NAME = design)
    (ORACLE_HOME = c:\disk1\software)
    (PROGRAM = hsodbc) )
    my tnsnames.ora is
    # TNSNAMES.ORA Network Configuration File: c:\disk1\software\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    INST1_HTTP.FORESEEINDIA.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = compaq6)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    EXTPROC_CONNECTION_DATA.FORESEEINDIA.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC5))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    DESIGN1.FORESEEINDIA.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = compaq6)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = design)
    DESIGN.FORESEEINDIA.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = compaq6)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = design)
    KISHORE.FORESEEINDIA.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = compaq6)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = design)
    (HS = OK)
    My sqlnet.ora file
    # SQLNET.ORA Network Configuration File: c:\disk1\software\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DEFAULT_DOMAIN = foreseeindia.com
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    Before creating these files I had run caths.sql from sys user.
    After all the configuration
    I logged into database with service name : kishore
    user : scott
    I created a db link
    create database link custard
    connect to scott identified by tiger
    using 'kishore';
    I issued a select * from addr@custard; where addr is in remote db2 database.
    I am getting the following error
    ERROR at line 1:
    ORA-28546: connection initialization failed, probable Net8 admin error
    ORA-28511: lost RPC connection to heterogeneous remote agent using
    SID=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=compaq6)(PORT=1521))
    )(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=design)))
    ORA-02063: preceding 2 lines from CUSTARD
    I am struck with this for the past 1 week, so kindly help.
    If someone can access a tar from metalink and post it also, as currently we donot have the support.
    Regards,
    PrabhathG

  • IBM DB2 to Oracle Database Migration Using SQL Developer

    Hi,
    We are doing migration of the whole database from IBM DB2 8.2 which is running in WINDOWS to Oracle 11g Database in LINUX.
    As part of pre-requisites we have installed the Oracle SQL Developer 4.0.1 (4.0.1.14.48) in Linux Server with JDK 1.7. Also Established a connection with Oracle Database.
    Questions:
    1) How can we enable the Third Party Database Connectivity in SQL Developer?
    I have copied the files db2jcc.jar and db2jcc_license_cu.jar from the IBM DB2 (Windows) to Oracle (Linux)
    2) Will these JAR files are universal drivers? will these jar files will support in Linux platform?
    3) I got a DB2 full privileged schema name "assistdba", Shall i create a new user with the same name "assistdba" in the Oracle Database & grant DBA Privillege? (This is for Repository Creation)
    4) We have around 35GB of data in DB2, shall i proceed with ONLINE CAPTURE during the migration?
    5) Do you have any approx. estimation of Time to migrate a 35 GB of data?
    6) In-case of any issue during the migration activity, shall i get an support from Oracle Team (We have a Valid Support ID)?
    7) What are all the necessary Test Cases to confirm the status of VALID Migration?
    Request you to share the relevant metalink documents!!!
    Kindly guide me in-order to go-ahead with the successful migration.
    Thanks in Advance!!!
    Nagu
    [email protected]

    Hi Klaus,
    Continued with the above posts - Now we are doing another database migration from IBM DB2 to Oracle, which is very less of data (Eg: 20 Tables & 22 Indexes).
    As like previous database migration, we have done the pre-requirement steps.
    DB Using SQL Developer
    Created Migration Repository
    Connected with the created User in SQL Developer
    Captured the Source Database
    Converted Captured Model to Oracle
    Before Translation Phase we have clicked on the "Proceed Summary"
    Captured Database Objects & Converted Database Objects has been created under PROJECT section.
    Here while checking the status of captured & converted database objects, It's showing the below chart as sample:
    OVERVIEW
    PHASE               TABLE DETAILS          TABLE PCT
    CAPTURE               20/20                              100%
    CONVERT               20/20                              100%
    COMPILE                 0/20                                   0%
    TARGET STATUS
    DESC_OBJECT_NAME
    SCHEMANAME
    OBJECTNAME
    STATUS
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:ARG_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H0INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H1INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H2INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H3INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H4INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H4INDEX02:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H5INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H7INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H7INDEX02:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPIREP1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPISWIFT1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPITRAN1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:OBJ_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:OPR_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:PRD_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:S1TABLE01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:STMT_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:STM_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:X0IAS39:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    We have seen only "Missing" in the chart, also we couldn't have any option to trace it in Log file.
    Only after the status is VALID, we can proceed with the Translation & Migration PHASE.
    Kindly help us how to approach this issue now.
    Thanks
    Nagu

  • For DB2 to Oracle conversion best practices

    My company is enhancing existing application adding newly J2ee web interface and database as DB2.I am new to J2EE. In future if we want to migrate my database to Oracle,which are the best things to do it now.
    Which J2EE framework is good in respecte JDBC connectivity and future migration of DB2 to Oracle? (Minimal changes at Migration Time)
    It is medium size application with 5000 users.Which are other best practises to follow in development keeping the migration in Mind. Thanks..

    Yes, you should login as system, create a user, appowner, or what ever you call it, and assign that user a default tablespace of 'USERS' or whatever tablespace you decide. Then, grant that user all the privileges to create objects, i.e., create table, create procedure, create synonym, etc, etc.
    Then, logout as system, login as appowner, and do all your object creation from there.
    A user is a set of credentials that allow you access to the system. It defines your identity and your privileges and authority to do various things. A schema is the set of objects owned by a particular user. As soon as a user owns at least one object, that implicitly defines his schema. It's not possible for a user to own or control multiple schemas. If you want multiple schemas, that's fine, but you'll need multiple users, and each user will manage his own schema.
    Hope that's clear,
    -Mark
    PS I strongly suggest you review the Concepts Guide, it really is quite good. It can be found here: http://download.oracle.com/docs/cd/E11882_01/server.112/e10713/toc.htm

  • RE: (forte-users) Forte not letting go of Oracle connections+ RE: (fort

    The bug was just reported yesterday so they might not have it available to
    the public for a while. I am guessing this bug has been around since 3.M.?
    and its very easy to verify it if its happening in your environment. Also I
    have been talking to other user that are not using Oracle (Sybase instead)
    who are also seen the same problem. I think this is a problem across all
    database because there is some fundamental event or process that is not
    taking place to close database connections. But just to be safe verify it
    in your test environment before moving to 3.5. To verify if its happening
    in your Forte version just create a small application that connects to the
    database and run it in debug mode. Log into the database and then stop the
    debug session. The connection will still be open. This will also occur
    when you use the running man or in a deployed application.
    ka
    -----Original Message-----
    From: Labeaux Schiek [mailto:DHSV017dhs.state.il.us]
    Sent: Thursday, March 01, 2001 7:21 AM
    To: kamran.aminlendware.com; Forte-userslists.xpedior.com
    Subject: RE: (forte-users) Forte not letting go of Oracle connections +
    RE: (forte-users) SQL Server Maximum DB Processes already allocated.
    Hi Kamran,
    I just looked up bug # 54610 in Cyber Support and it is not there yet, so a
    question.
    In your opinion, does this effect all databases? We are using DB2 and
    considering going to 3.5 . Are we going to see the same problems you have
    had with Oracle?
    -thanks
    -labeaux
    "Amin, Kamran" <kamran.aminlendware.com> 02/28/01 05:28PM >>>Update on my problem. Well now its everybody's problem. Forte has
    conformed the bug. Bug number 54610 for your reference.
    thanks to everybody for the help..
    ka
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    The bug was just reported yesterday so they might not have it available to
    the public for a while. I am guessing this bug has been around since 3.M.?
    and its very easy to verify it if its happening in your environment. Also I
    have been talking to other user that are not using Oracle (Sybase instead)
    who are also seen the same problem. I think this is a problem across all
    database because there is some fundamental event or process that is not
    taking place to close database connections. But just to be safe verify it
    in your test environment before moving to 3.5. To verify if its happening
    in your Forte version just create a small application that connects to the
    database and run it in debug mode. Log into the database and then stop the
    debug session. The connection will still be open. This will also occur
    when you use the running man or in a deployed application.
    ka
    -----Original Message-----
    From: Labeaux Schiek [mailto:DHSV017dhs.state.il.us]
    Sent: Thursday, March 01, 2001 7:21 AM
    To: kamran.aminlendware.com; Forte-userslists.xpedior.com
    Subject: RE: (forte-users) Forte not letting go of Oracle connections +
    RE: (forte-users) SQL Server Maximum DB Processes already allocated.
    Hi Kamran,
    I just looked up bug # 54610 in Cyber Support and it is not there yet, so a
    question.
    In your opinion, does this effect all databases? We are using DB2 and
    considering going to 3.5 . Are we going to see the same problems you have
    had with Oracle?
    -thanks
    -labeaux
    "Amin, Kamran" <kamran.aminlendware.com> 02/28/01 05:28PM >>>Update on my problem. Well now its everybody's problem. Forte has
    conformed the bug. Bug number 54610 for your reference.
    thanks to everybody for the help..
    ka
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • Not able to connect to DB2 using generic connectivity

    Hi
    We are trying to connect to DB2 using Oracle Generic connectivity and we are getting ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from ODB2
    Log file is not even generated even though we set the parameter to debug. We are using Oracle 10g on Linux and Neon Shadow direct to connect to db2.
    The following are the setup we had done in our oracle db side
    initdb2.ora
    HS_FDS_CONNECT_INFO=NEON_dev_conn
    HS_FDS_TRACE_LEVEL=DEBUG
    HS_FDS_SHAREABLE_NAME=/home/NEON/Shadow/lib/libscodbc_r.so
    added below entry in listener.ora
    (SID_DESC =
    (PROGRAM = hsodbc)
    (ENVS=LD_LIBRARY_PATH=/home/oracle/product/10.2.0/lib:/home/NEON/Shadow/lib)
    (SID_NAME = db2)
    (ORACLE_HOME = /home/oracle/product/10.2.0)
    added below entry in tnsnames.ora
    DB2ODBC =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = test.db.com)(PORT =1523))
    (CONNECT_DATA =
    (SERVICE_NAME = db2)
    (HS = OK)
    Please suggest on this.
    Regards
    S. Senthil

    No gateway log information generated even with setting trave level to DEBUG indcates that the listener cannot start the gateway process.
    Please check the listener.log for details on the failure. Secondly, what kind of Linux is it? 32- or 64-bit?
    Regards,
    Ed

  • How Do I.... DB2 To Oracle Daily Loads

    I need to upload DB2/AS400 data daily. This would be a piece of cake in SQL Server using DTS. But I don't know where to start in the Oracle world.
    I DONT want to export files daily from DB2 side & then FTP them to the Oracle/Sun box; it's been tried & there are too many failure points. Also, that would require tracking dozens of files (one for each query).
    I see some threads about database links using ODBC, but I'm on a Sun box. Is it still possible? Are there other connectivity options?
    Thanks much in advance

    John,
    DB2 to Oracle on a daily basis has different options, each with their own advantages/disadvantages:
    - Use Oracle's transparent gateways, that make the DB2 database look like an Oracle database to your Oracle database. Biggest pro: good performance. Biggest con: transparent gateways are seperately priced options on the database.
    - Use ODBC to connect Oracle to DB2. Biggest pro: free at the Oracle side. Biggest 2 cons: relatively slow performances and manual effort to set it up.
    - Generate files from DB2 and load those into Oracle. Biggest pro: simple. Biggest 2 cons: requires at least one more staging step, causing slower performance and is more difficult to manage.
    Hope this helps,
    Mark.

  • How to Create a DataSource to DB2 in Oracle App Server 10g

    Dear All
    I have to connect to DB2 from Oracle Application Server 10g.
    If anyone knows how to connect to DB2 from Oracle App Server 10g.
    Pls advice me..
    With Regards
    Suresh

    Hi,
       Once u created a data source. go to respective application component which u have assigned ducring creatinon of DS in RSO2 and right click on it and use replicate metadata.
    a popup with options 1. as data source
                                   2. as 3.x data source will come u select 2 one here and go on.

  • DB2 to Oracle conversion using SQL Developer Migration Wizard - different schemas

    I am performing a conversion between DB2  to Oracle 11 XE, using the SQL Developer Migration Wizard. Specifically I am trying to migrate the DB2User schema over to Oracle.
    Using the migration wizard, when I pick the Oracle target connection to be the same schema ( DB2User schema ) the migration is successful and all data is converted.
    However if I pick a different Oracle target connection ( say OracleUser ) , I run into issues.
    Firstly , the table schema is not created. When I check the project output directory, the .out file has the following errors:
       CREATE USER DB2User IDENTIFIED BY DB2User DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
            SQL Error: ORA-01031: insufficient privileges
            01031. 00000 -  "insufficient privileges"
        connect DB2User/DB2User
        Error report:
        Connection Failed
        Commit
        Connection created by CONNECT script command disconnected
    I worked around this by manually executing the .sql in the project output directory using the OracleUser id  in the new DB.
    Then I continue with the migration wizard and perform the Move Data step.
    Now - the message appears as succuessful, however, when I review the Migrationlog.xml file, i see errors as follows:
    <level>SEVERE</level>
      <class>oracle.dbtools.migration.workbench.core.logging.MigrationLogUtil</class>
      <message>Failed to disable constraints: Data Move</message>
      <key>DataMove.DISABLE_CONSTRAINTS_FAILED</key>
      <catalog>&lt;null&gt;</catalog>
      <param>Data Move</param>
      <param>oracle.dbtools.migration.workbench.core.logging.LogInfo@753f827a</param>
      <exception>
        <message>java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist</message>
      <level>WARNING</level>
      <class>oracle.dbtools.migration.datamove.online.TriggerHandler</class>
      <message>ORA-01031: insufficient privileges
    </message>
    I think what is happening is that the wizard is attempting to perform the 'move data' process using the DB2User id.
    How do I tell the wizard that the target schema is different than my source schema.
    My requirement is that I need to be able to migrate the DB2User schema to different schemas in the same Oracle database
    ( since we will have multiple test environments under the same database ) .
    Thanks in advance .
    K.

    Perhaps the following from the SQL Developer documentation is helpful for you:
    Command-Line Interface for Migration
    As an alternative to using the SQL Developer graphical interface for migration operations, you can use the migration batch file (Windows) or shell script (Linux) on the operating system command line. These files are located in the sqldeveloper\sqldeveloper\bin folder or sqldeveloper/sqldeveloper/bin directory under the location where you installed SQL Developer.
    migration.bat or migration.sh accepts these commands: capture, convert, datamove, delcaptured, delconn, delconverted, driver, generate, guide, help, idmap, info, init, lscaptured, lsconn, lsconverted, mkconn, qm, runsql, and scan. For information about the syntax and options, start by running migration without any parameters at the system command prompt. For example:
    C:\Program Files\sqldeveloper\sqldeveloper\bin>migration
    You can use the -help option for information about one or more actions. For the most detailed information, including some examples, use the -help=guide option. For example:
    C:\Program Files\sqldeveloper\sqldeveloper\bin>migration -help=guide
    Regards
    Wolfgang

  • Oracle Connection Pool failure in COM+

    I am having some trouble trying to get a specific database to work with an application that makes use of a COM+ Application. When we point the application at the UAT database everything seems fine, but when we point it to the production database after a few successful calls it ends up failing at the COM+ application recycles. The event viewer provides the following information:
    Event Type:     Error
    Event Source:     COM+
    Event Category:     Unknown
    Event ID:     4786
    Date:          8/5/2007
    Time:          12:54:46 PM
    User:          N/A
    Computer:     APPL_SERVER
    Description:
    The system has called a custom component and that component has failed and generated an exception. This indicates a problem with the custom component. Notify the developer of this component that a failure has occurred and provide them with the information below.
    Component Prog ID: Oracle Connection Pool - tnsnames_alias
    Method Name: IDispenserDriver::CreateResource
    Server Application ID: {30A93CB3-25EB-4258-8C88-5AE103B7B86F}
    Server Application Instance ID:
    {A57C513E-519F-45BD-B46D-DC54B285F534}
    Server Application Name: COM+ Application Name
    The serious nature of this error has caused the process to terminate.
    Exception: C0000005
    Address: 0x7C8327F9
    Call Stack:
    + 0x7c8327f9
    ntdll!RtlFindActivationContextSectionGuid + 0x7d2
    ntdll!RtlInitializeSListHead + 0x175
    ntdll!RtlFindActivationContextSectionGuid + 0x1b7
    msvcrt!malloc + 0x6c
    oracommon9!sktsfMalloc + 0x14
    orageneric9!kpummapg + 0x58
    orageneric9!kghalo + 0xabb
    orageneric9!kghalf + 0x102
    orageneric9!kopo2cpc + 0x61
    orageneric9!kopeini + 0x1d
    orageneric9!kopo2cpc + 0xd2
    orageneric9!kopopgi + 0x117
    OraClient9!koudpnp + 0x712
    OraClient9!koudpnp + 0x101
    OraClient9!kpuinit0 + 0xb19
    OraClient9!kpuinit + 0x38
    OraClient9!OCIEnvInit + 0x1c
    oramts!kpntsrvr::kpntsrvr(class kpntdbid *) + 0x80
    oramts!kpntdbid::allocNewSrvr(struct SIDAND_ATTRIBUTES *) + 0x138
    oramts!kpntdbid::GetSrvr(class kpntsvrl * *,unsigned long) + 0x7df
    oramts!kpntdisp::getNet8conn(class kpntsvrl * *,unsigned long) + 0x41
    oramts!kpntsess::initOCI(void) + 0xec
    oramts!kpntsess::sessionBegin(void) + 0x17b
    oramts!kpntdisp::CreateResource(unsigned long,unsigned long *,long *) + 0xc4
    COMSVCS!DispManGetContext + 0xa3d
    COMSVCS!DispManGetContext + 0x1fee
    oramts!kpntdisp::allocateConnection(class kpntsess * *,unsigned long,class kpntrtyp *) + 0x3c4
    oramts!_kpntsvcgetex + 0x183
    oramts!_kpntsvcget + 0x25
    oramts!kpntctra::getConnectionAndHandles(class kpntrtyp *,struct OCISvcCtx * *,struct OCITrans * *,struct OCIError * *) + 0x87
    oramts!kpntctra::abortBranch(struct xid_t &,class kpntbrnch *,struct BOID *,int,struct BOID *) + 0x15a
    oramts!kpntctra::doAbort(struct BOID *,int,struct BOID *) + 0x454
    oramts!kpntajob::doJob(void) + 0x27
    oramts!kpntjobq::serviceRequest(class kpntjob *) + 0x3e
    oramts!workerThread(void *) + 0xd0
    msvcrt!_endthreadex + 0xa3
    kernel32!GetModuleFileNameA + 0xeb
    Not being an expert in Oracle, I have been able to dig up a little bit of information that might be of use ...
    a) Our tnsnames.ora indicates that the connections are to be DEDICATED and running Toad bares this out -- dllhost ends up with a single connection.
    b) most of the database initial set of parameters seem to be very similar. The only difference I noticed was that the archive log mode and db_cache_advice are ON for production.
    c) We have little control over how the connection strings are being created internally in this COM+ application, but however they are created it works for UAT and doesn't for PROD.
    d) When we go into our web application and hit a page that makes use of the COM+ component to render, it will work the first time but when I do a simple browser refresh it will usually fail on the 2nd or 3rd time. Almost like it is trying to expand the connection pool size and the oracle server is throwing up.
    If I didn't mention earlier the two database instances run on different servers but the application server is exactly the same. We only change the alias we are using for the database (both are defined in tnsnames) and the password used to make its connection.
    Does anyone have any clues on this one? I am really spinning my wheels trying to figure out what could cause this type of situation. Anything at all would be very helpful.

    It appeared to us that the problem was with the Oracle server and that it might have been failing when we were trying to expand our application connection pool size or basically obtain more connections.
    The biggest indicator of this is that we run the same application code against two different databases and one works and one does not work. Having said this, I suppose the problem could be rooted in a data error instead of an oracle server error ...
    Is there a specific trace file on the oracle server that would help me point to any error that is truly an oracle server error? Sorry I am very new to Oracle.

  • Crystal report - and oracle connections

    hi to everyone
    i installed client  of oracle
    and after that - the crystal report 2008 sp3
    when i open new (blank page) - and looking for a oracle connection
    its look like he doesnt exist.
    please if someone know why i cant see the connection to oracle/
    yossi bar

    Hello,
    CR looks for the Oracle \bin folder in the PATH statement. If it can't find it then the option to select Oracle native driver will not show.
    Thank you
    Don

  • JDBC-ORACLE CONNECTIVITY ISSUE WITYH OCI8 DRIVER using oracle 11g client..

    JDBC-ORACLE CONNECTIVITY ISSUE WITYH OCI8 DRIVER using oracle 11g client..
    I am getting below error when i m trying to access oracle db using oracle 11g client. It works with earlier oracle client versions. how do i resolve this. is there any issue with version of ojdbc6.jar that i am using??? I cant use thin driver since its an old application for which i dont have source files.
    Apr 6, 2013 1:00:59 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:992)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:262)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:346)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at PettyCash.SysDate.getSysSubSys(SysDate.java:232)
    at org.apache.jsp.PettyCash.index_jsp._jspService(org.apache.jsp.PettyCash.index_jsp:186)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Code is as follow for reference
    import oracle.jdbc.driver.*;
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    conn = DriverManager.getConnection ("jdbc:oracle:oci8:@" + database,db_user, db_pass);
    eNVIRONMENT VARIABLES set are as follows:
    classpath
    C:\Program Files\apache-tomcat-5.5.12\common\lib\servlet-api.jar;C:\Program Files\apache-tomcat-5.5.12\webapps\ROOT\WEB-INF\lib\classes12.jar;C:\Program Files\apache-tomcat-5.5.12\webapps\ROOT\WEB-INF\lib\ojdbc6.jar;
    JAVA_HOME
    C:\Program Files\Java\jdk1.5.0_04
    PATH
    C:\Program Files\Java\jdk1.5.0_04\bin
    ORACLE_HOME
    D:\Oracle11\product\11.2.0\client_1\BIN

    Apr 8, 2013 5:24:06 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
         at org.apache.jsp.abc.index_jsp._jspService(org.apache.jsp.abc.index_jsp:280)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)

  • Oracle Connection Manager

    Hi,
    i'm having a problem configuring Oracle Connection Manager. It does start the instance of connection manager
    Summary of my environment is
    10g Application server and infrastructure machine OS: Windows 2003
    9i Database Server: Windows 2003
    Client : Java Applet
    JDBC driver type : THIN
    Installed: 10g Infra first and then 10g midiier(portal and wireless) in seperate oracle homes on the same machine. Eveything is up and running as i was able to login seperately in infra and midtier enterprise managers.
    Final Goal : Trying to connect to an Oracle 9i database on a differnt machine than the appserver using an applet, thin drivers and Oracle Connection Manager
    Problem : Connection manager instance not started however cmanADMIn service started.
    CMCTL:CMAN_oracle9-app> administer cmanOracleAS
    Current instance cmanOracleAS is not yet started
    Connections refer to (address=(protocol=tcp)(host=10.10.1.101)(port=1610)).
    The command completed successfully.
    CMCTL:cmanOracleAS> startup
    Service Oracleoracle_infraCMAdmincmanOracleAS already running.
    TNS-04012: Unable to start Oracle Connection Manager instance.
    CMCTL:cmanOracleAS>
    Steps done to configure Oracle Connection manager
    1. Copied 4 .exe (CMADMIN, CMCTL,CMGW,CMMIGR) files to bin folder of Appserver or midtier's main ORACLE_HOME/BIN folder.
    2) created a cman.ora file and copied in appservers /NETWORK/ADMIN directory
    3) On cammand prompt type CMCTL...ADMINISTER cman_OracleAS where cman_OracleAS is the name of cman instance used in cman.ora file.
    My cman.ora file is as follows
    # Copyright (c) 2001,2002, Oracle Corporation. All rights reserved.
    # NAME
    # cman.ora
    # DESCRIPTION
    # Sample CMAN configuration file that the user can modify for their
    # own use.
    # NOTES
    # 1. Change <fqhost> to your fully qualified hostname
    # 2. Change <lsnport> to the listening port number
    # 3. Change <logdir> and <trcdir> to your log and trace directories
    # MODIFIED (MM/DD/YYYY)
    # asankrut 10/05/2002 - Added Rule List Specifications
    # asankrut 06/11/2002 - Modified to add new parameters; added comments.
    # asankrut 12/31/2001 - Creation.
    # CMAN Alias
    cmanOracleAS =
    (configuration=
    # Listening address of the cman
    (address=(protocol=tcp)(host=appserver_name)(port=1610))
    # Configuration parameters of this CMAN
    (parameter_list =
    # Need authentication for connection?
    # Valid values: boolean values for on/off
    (aso_authentication_filter=off)
    # Connection statistics need to be collected?
    # Valid values: boolean values for on/off
    (connection_statistics=yes)
    # Log files would be created in the directory specified here
    (log_directory=D:\GAV\OracleAS10\NETWORK\log)
    # Logging would be in done at this level
    # Valid values: OFF | USER | ADMIN | SUPPORT
    (log_level=ADMIN)
    # Maximum number of connections per gateway
    # Valid values: Any positive number (Practically limited by few 1000s)
    (max_connections=256)
    # Idle timeout value in seconds
    # Valid values: Any positive number
    (idle_timeout=0)
    # Inbound connect timeout in seconds
    # Valid values: Any positive number
    (inbound_connect_timeout=0)
    # Session timout in seconds
    # Valid values: Any positive number
    (session_timeout=0)
    # Outbound connect timeout in seconds
    # Valid values: Any positive number
    (outbound_connect_timeout=0)
    # Maximum number of gateways that can be started
    # Valid values: Any positive number (Practically limited by
    # system resources)
    (max_gateway_processes=16)
    # Minimum number of gateways that must be present at any time
    # Valid values: Any positive number (Practically limited by
    # system resources)
    # max_gateway_processes > min_gateway_processes
    (min_gateway_processes=2)
    # Remote administration allowed?
    # Valid Values: Boolean values for on/off
    (remote_admin=on)
    # Trace files would be created in the directory specified here
    (trace_directory=D:\GAV\OracleAS10\NETWORK\trace)
    # Trace done at this level
    # Valid values: OFF | USER | ADMIN | SUPPORT
    (trace_level=ADMIN)
    # Is timestamp needed with tracing?
    # Valid values: Boolean values for on/off
    (trace_timestamp=on)
    # Length of the trace file in kB
    # Valid values: Any positive number (Limited practically)
    (trace_filelen=1000)
    # No. of trace files to be created when using cyclic tracing
    # Valid values: Any positive number
    (trace_fileno=1)
    # Maximum number of CMCTL sessions that can exist simultaneously
    # Valid values: Any positive number
    (max_cmctl_sessions=4)
    # Event logging: event groups that need to be logged
    (event_group=init_and_term,memory_ops)
    # Rule list
    # Rule Specification:
    # src = Source of connection; '*' for 'ANY'
    # dst = Destination of connection; '*' for 'ANY'
    # srv = Service of connection; '*' for 'ANY'
    # act = Action: 'accept', 'reject' or 'drop'
    # Action List Specification:
    # aut = aso_authentication_filter
    # moct = outbound_connect_timeout
    # mct = session_timeout
    # mit = idle_timeout
    # conn_stats = connect_statistics
    (rule_list=
    (rule=
    (src=*)(dst=databaseIP)(srv=*)(act=accept)
    (action_list=(aut=off)(moct=0)(mct=0)(mit=0)(conn_stats=on))
    (rule=
         (src=appserverIP)(dst=127.0.0.1)(srv=cmon)(act=accept)
    Please help
    Thanks
    Atul Jain
    [email protected]

    Forgot to mention that
    cmanOracleAS.log file i.e connection manger log file is as follows.
    It says does not currently know of service 'cmon' but i have the rule which
    allows cmctl to conect locally with 127.0.0.1 .
    TNSLSNR for 32-bit Windows: Version 10.1.0.3.0 - Production on 17-MAR-2005
    12:17:53
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    System parameter file is D:\GAV\oracle_infra\network\admin\sqlnet.ora
    Command-line specified parameter file is D:\GAV\oracle_infra\network\admin\
    cman.ora
    Log messages written to D:\GAV\OracleAS10\NETWORK\log\cmanoracleas1_924.log
    Trace information written to D:\GAV\OracleAS10\NETWORK\trace\
    cmanoracleas1_924.trc
    Trace level is currently 6
    Started with pid=332
    Running in PROXY mode
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.1.101)
    (PORT=1610)))
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    17-MAR-2005 12:22:07 * (connect_data=(service_name=cmon)(pid=ctl)) *
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.1.101)(PORT=4589)) * establish * cmon *
    12514
    TNS-12514: TNS:listener does not currently know of service requested in
    connect descriptor
    17-MAR-2005 12:22:10 * (connect_data=(service_name=cmon)(pid=ctl)) *
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.1.101)(PORT=4596)) * establish * cmon *
    12514
    TNS-12514: TNS:listener does not currently know of service requested in
    connect descriptor
    17-MAR-2005 12:23:31 * (connect_data=(service_name=cmon)(pid=ctl)) *
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.1.101)(PORT=4782)) * establish * cmon *
    12514
    Thanks
    Atul jain

  • PHP & ORACLE Connectivity on Solaris

    Hi all,
    You can check this site for PHP and Oracle connection tutorial. It is intended to installing Apache and PHP with Oracle support and connecting and using Oracle via PHP.
    Page URL :
    http://gokmen.selcuk.edu.tr/tutor/orasol/ociphp.php
    Additionally, You will see an alternative way escaping from ORA-12154 and ORA-12545 errors while Oracle connection via PHP.
    Hope you find useful...
    Mustafa GOKMEN

    Hello,
    My developers have changed all the API´s to OCI8 and the code is able to connect with oracle 10g with php4 but, i am still getting this warning .i.e
    Warning: ocifreestatement(): supplied argument is not a valid OCI8-Statement resource in /apache/htdocs/English/tender_list.php on line 340
    i am unable to figure it out, every thing is working fine but still i am getting it ?
    thanks

Maybe you are looking for

  • Java class can't be edit in NWDS?

    I can view source code of java class :com.sapportals.wcm.control.collaboration.discussion.flex.SingleDiscLayoutController in Package Explor but I can't edit? How should i do if I really want to change the java class Please throw some lights on this!!

  • No Thumbnails For NEF's from Mem Card or CD

    Hello, I have a problem that just started in Bridge(never happened before). When I try to preview NEF files in Bridge I get a Photoshop icon and no thumbnail preview. I can't open these images from Bridge either. If I copy the files to my harddrive I

  • Background missing when export to PDF CS5.5

    Hi, I have seen some similar posts (all non-current) to the one I am writing however, my issues are not solved by the solutions posted in previous discussions. My problem is that when I am exporting an IND file to PDF, when I open the PDF all of my b

  • OPEN SALESORDER

    Hi all, i am uploading sales order using BAPI_SALESORDER_CREATEFROMDAT2, how to upload the address related data for one time shipto customers in the sales orders using this bapi. thanks, deepthi n

  • Purchase fail cause I used to pay by credit card

    purchase fail cause I used to pay by credit card .Itunes card is danger, I don't like to pay with that method. Can iTunes gift card can't pay in-app ?