Connecting Oracle RDB through ODBC

I have my Oracle RDB running in OpenVMS environment. Below is my server configuration.
SQLSRV> show server;
Server Version: 7.3
Server Platform: HP OpenVMS IA64
Max Shared Mem Size: 8000 Kb
Config file: SYS$SYSROOT:[SYSMGR]SQLSRV_CONFIG_FILE73.DAT;1
Log path: SYS$MANAGER:
Dump path: SYS$MANAGER:
Proc start time: <none>
Proc shut time: <none>
Network Ports: (State) (Protocol)
DECnet object DBS_SERVER Running Native
TCP/IP port 2200 Running Native
Current shared memory usage:
Allocation unit: 65536 bytes
Total memory: 8192000 bytes (125 units)
Free memory: 7864320 bytes (120 units)
Partly allocated: 262144 bytes ( 4 units)
Log File: SYS$SYSROOT:[SYSMGR]SQS_I64V82_SQLSRV_MON_0073.LOG;
Dump File: SYS$SYSROOT:[SYSMGR]SQS_I64V82_SQLSRV_73.DMP;
Below are my services.
SQLSRV> show services;
C l i e n t s E x e c u t o r s
Name State Per-Exec Max Active Min Max Running
OCI_SAMPLE RUNNING 1 10 0 1 10 1
RMU_SERVICE RUNNING 1 100 0 4 100 4
GENERIC RUNNING 1 10 0 2 10 2
SQLSRV_MANAGE RUNNING 100 0 1 0 0 0
I have the below shown dispatchers.
SQLSRV> show dispatcher;
Dispatcher SQLNET_DISP
State: INACTIVE
Autostart: on
Max connects: 100 clients
Idle User Timeout: <none>
Max client buffer size: 5000 bytes
Network Ports: (State) (Protocol)
SQL*Net listener LISTENER1 Unknown SQL/Services
Log path: SYS$MANAGER:
Dump path: SYS$MANAGER:
Dispatcher OCI_DISP
State: INACTIVE
Autostart: off
Max connects: 100 clients
Idle User Timeout: <none>
Max client buffer size: 5000 bytes
Network Ports: (State) (Protocol)
SQL*Net listener oci_listener Unknown OCI clients
Log path: SYS$MANAGER:
Dump path: SYS$MANAGER:
Dispatcher RMU_DISP
State: RUNNING
Autostart: on
Max connects: 100 clients
Idle User Timeout: <none>
Max client buffer size: 5000 bytes
Network Ports: (State) (Protocol)
DECnet object RMU_DISP Running Native
TCP/IP port 1571 Running Native
Log path: SYS$MANAGER:
Dump path: SYS$MANAGER:
Log File: SYS$SYSROOT:[SYSMGR]SQS_I64V82_RMU_DISP00873.LOG;
Dump File: SYS$SYSROOT:[SYSMGR]SQS_I64V82_RMU_DISP008.DMP;
Dispatcher SQLSRV_DISP
State: RUNNING
Autostart: on
Max connects: 101 clients
Idle User Timeout: <none>
Max client buffer size: 5000 bytes
Network Ports: (State) (Protocol)
SQL*Net listener LISTENER1 Running SQL/Services
TCP/IP port 119 Running SQL/Services
DECnet object 81 Running SQL/Services
Log path: SYS$MANAGER:
Dump path: SYS$MANAGER:
Log File: SYS$SYSROOT:[SYSMGR]SQS_I64V82_SQLSRV_DIS00373.LO
G;
Dump File: SYS$SYSROOT:[SYSMGR]SQS_I64V82_SQLSRV_DIS003.DMP;
My generic service has the below configuration.
SQLSRV> show service generic full;
Service GENERIC
State: RUNNING
Owner: APFQA1
Owner Password: <not specified>
Protocol: SQL/Services
Default Connect Username: APFQA1
Default Connect Password: <not specified>
SQL version: 7.2
Autostart: on
Process init: <not specified>
Attach: ATTACH 'FILENAME SYS$COMMON:[SYSHLP.EXAMPLES.RDB72
]PERSONNEL.RDB'
Schema: <not specified>
Reuse: SESSION
Database Authorization: CONNECT USERNAME
dbsrc file: <not specified>
SQL init file: <not specified>
Appl Transaction Usage: SERIAL
Idle User Timeout: <none>
Idle Exec Timeout: 1800 seconds
Min Executors: 2
Max Executors: 10
Running Executors: 2
Clients Per Executor: 1
Active Clients: 0
Access to service GENERIC
Granted to users:
Default Connect Username 'APFQA1'
PUBLIC PRIVILEGED_USER 'APFQA1' 'SQLSRV$DEFLT'
Now when i try to connect to server using Oracle RDB ODBC driver, it says that connection is refused. I am able to ping to my server machine from client.
Below is my ODBC configuration
DataSource Name = Oracle RDB
Transport            =  2=tcp/ip
Server                 = 10.60.255.37
Service                = generic
UserID                 = apfqa1
*Attach Statement = ATTACH 'FILENAME SYS$COMMON:[SYSHLP.EXAMPLES.RDB72]PERSONNEL.RDB*
and this is the error that i get
FAILED: Service Connection test
rc=-1
SQLState=08S01
*[Oracle][ODBC][Rdb] Connect Ret -1 Err#10061 WSAECONNREFUSED Connection refused*
And when i try using Microsoft ODBC driver it says
Details:
*SQL Error: [Microsoft][ODBC driver for Oracle][Oracle]ORA-12541: TNS:no list*
ener
SQL State: NA000 from SQLConnect
SQL Native Code : 12541
Can you please let me where I am going wrong and what needs to be done to configure the connection using both Microsoft ODBC and Oracle RDB ODBC drivers.

user12874786 wrote:
Ok. I got confused. Let me explain my actual requirement...
Nice breakdown. Much easier to try to help out from posts like that.
As per our last discussion, I have downloaded Instant Client Downloads
there is an application 'adrci.exe', Forget adrci. (it's just an extraneous tool)
Follow installation instructions. (should include copying oci.dll and oraociei11.dll to a new folder of your choice)
Finding the right doc in this case might be a little tricky, so try this:
http://docs.oracle.com/cd/E11882_01/appdev.112/e10646/oci01int.htm#i423362
If that does not help, call back with a description of what you tried from what document.
If anything needs to set in environment variable, please let me know, how to do. I haven't worked on environment variables.Depends on your OS.
But try:
Windows key / Start button, type in env, choose Edit system environemnt variables.
Click Environment Variables.... In System variables section in bottom half, scroll down to Path. Select Path line and click Edit...
In the front of value, add the instantclient folder. E.g. c:\oracle\instantclient;<here comes rest of PATH>
>
Also, the same thing happens with PL/SQL Developer, i'm using PL/SQL Developer version: 9.0.6.1665, when I entered username/password/database. The following message occuredYes, it also complains since 32-bit software pieces are missing.
Edited by: orafad on Sep 19, 2012 11:08 PM

Similar Messages

  • How to connect oracle data through BlazeDS in flex 4

    How to connect oracle data through BlazeDS in flex 4

    Hi
                   If u want to connect to the database oracle just paste the Ojdbc14.jar file into the lib folder of blazeds project..
                             Normally blazeds distribution version contains blazeds.war file... upload that war file to the tomcat or any other application server..
                          u will get the build path and in lib folder paste the ojdbc14.jar file to connect to the oracle and do u r stuff at server side java ....
                      if this will reslove ur problem please mark as answered..

  • Connect PostgreSQL to Oracle 10g through ODBC: can't read all_tables

    Oracle 10g is not able to read the database table names (all_tables and all_objects, es. select * from all_tables@hspostgresodbc) from PostgreSQL using ODBC (v. 08.01.0200). This functionality is essential to be able to use Oracle Warehouse Builder and import external database definitions (heterogeneous services).
    However, Oracle (SQL*Plus) is able to retrieve records when the table name is stated in the SQL query (es. select * from “my_table”).
    The problem seems to be specifically with the PostgreSQL ODBC because Oracle is able to read schemes from other databases through ODBC. I’ve done some tests with Access dbs just to be sure that the problem is not with my system (Windows XP SP2).
    The problem appears both with ANSI and UNICODE PostgreSQL drivers.
    Any suggestion of how workaround this problem?
    thanks in advance,
    Raoni

    Dear all,
    I’ve tried different tracing levels with out success. The log file does not seem to be created by Oracle.
    Looking closer to the debug and comm logs from the driver 8.01.0200, I’ve found out that the problem was generated after a table wasn’t found (the driver seems to search for the all_tables table, and just afterwards to query the scheme pg_catalog). In this case the all the following queries returned with the error “ERROR: current transaction is aborted, commands ignored until end of transaction block”. Maybe this problem is related with the bug [#1000641] http://pgfoundry.org/tracker/index.php?func=detail&aid=1000641&group_id=1000125&atid=538
    Following the Postgres odbc developers suggestion, I’ve installed the psqlODBC v 08.02.0002 and I’ve got a completely different result.
    As before, the simple query “select * from my_table@hsodbc” returns the result using SQL*Plus clearly faster than before.
    Doing the query “select * from all_tables@hsodbc” the result is OK (the name of 56 tables) but the process is very slow and burdensome. The file paging memory in the machine running Oracle and the SQL*Plus jumps from the normal 700 MB to 1.7 GB, and the query takes about 20 minutes to complete.
    Also the 1.7 GB remains allocated and the query process halted in PostGreSQL even after the on screen result of the query. The memory is freed and the process terminated after the logging out SQL*Plus.
    Probably as result of this memory explosion, the system runs out of memory and Oracle Warehouse Builder selecting data base link -> schema, after some minutes get an error similar to: “can’t read from memory address XXXXX”
    All those test where done with PostGreSQL 8.0.1 (on Linux Suse 9.0) and Oracle 10g (Windows XP SP2).
    To be sure that the problem was not related to the PostGreSQL version, we updated the server to the 8.1.3 (running in Linux Suse 9.0 with psqlODBC v 08.02.0002 ) and OWB couldn’t see any table as before and doing Select * from all_tables@hsodbc we’ve got the message:
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]
    ORA-02063: preceding 2 lines from HSPG
    no rows selected
    On the other hand, with the same configuration as before (Oracle 10g under Windows XP SP1, psqlODBC v 08.02.0002) but with PostGreSQL 8.1.3 under Windows XP SP1, OWB can read table names (same tables imported from Linux PostgreSQL) but not all_tables (a minor problem, because what is important for us is to make OWB work with PostgreSQL).
    The encoding for all DBs is UTF8.
    Any ideas of where could be the problem?
    regards,
    R.

  • How to connect Oracle database  through Microsoft ODBC?

    My ODBC Configuration:
    DSN name is :db
    Username : india
    Server :db.world
    Now, i am trying to connect with oracle database through SQL*plus or TOAD.
    But, it is giving the following error.
    ORA-03121: no interface driver connected - function not performed
    Database version : 9.2.0.1.0
    Operating System : Microsoft Windows XP
    ODBC Version : 2.575.1117.00
    I am trying to connect with the database like this:
    Username : india
    Password : india
    Database : ODBC:db
    Can i connect like this otherwise whether i need install any other supporting driver?

    Now, i am trying to connect with oracle database
    through SQL*plus or TOAD.
    But, it is giving the following error.
    ORA-03121: no interface driver connected -
    function not performed
    I am trying to connect with the database like this:
    Username : india
    Password : india
    Database : ODBC:db
    As already stated, you can not use the DSN in SQL*Plus (nor TOAD, afaik)!
    I can reproduce the error message with the following:
    C:\>sqlplus a/b@ODBC:c
    SQL*Plus: Release 11.1.0.6.0 - Production on Mon Aug 4 21:34:58 2008
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    ERROR:
    ORA-03121: no interface driver connected - function not performedLooking up the message, it says:
    Cause: A SQL*Net version 1 prefix was erroneously used in the connect string
    Looks like this has nothing to do with your DSN - it is more a matter of not using a proper connection string.
    If 'Test Connection' works then you should probably proceed to work with Crystal Reports, using the DSN in question.
    However, you should note that the old MS ODBC driver for Oracle was designed for OCI 7 (and for databases 7.x-8.x) and is now considered obsolete by both MS and Oracle.
    Deprecated MDAC components and MS KB Article 244661.
    Use the Oracle ODBC driver included with a supported Client version instead.
    Edit:
    Clarifying and adding references.
    Message was edited by:
    orafad

  • Need to Connect oracle database through EP

    Hi,
    my requirement is trying to connect oracle database and getting values from oracle database and displaying in portal (through EP)
    i created driver name called - sapdirect and import the jars like pOracle.jar in the driver and then i'll try to create datasource with the following configurations
    Name : sapdsn
    Aliases : sapalias
    Driver name: selected whatever i created before (ex: sapdirect)
    class : com.sap.portals.jdbc.oracle.OracleDriver
    url : jdbc:sap:oracle://10.145.4.171:1521;RAMS
    user name :scott
    password :tiger
    But the datasource can't create , the follwing error shown,
    Please gimme Solution for this.
    Even, all the services running oracle m/c.
    im wating for solution,
    Thanks in advance
    Bye for now
    Vasu
    Error:
    java.rmi.RemoteException: Error occurred while starting application in whole cluster and wait.; nested exception is:
    com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Clusterwide execption: server ID 3739150:Exception while preparing start of application sap.com/JDBCConnector_sapdsn.xml.
    at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:679) at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:661) at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.startApplication(DataSourceManagerImpl.java:562) at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.deploy(DataSourceManagerImpl.java:261) at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.createDataSource(DataSourceManagerImpl.java:317) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58) at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289) at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944) at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288) at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:400) at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340) at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330) at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287) at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:157) at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:220) at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:803) at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102) at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61) at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:291) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37) at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Clusterwide execption: server ID 3739150:Exception while preparing start of application sap.com/JDBCConnector_sapdsn.xml.
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.sleepClientThread(ParallelAdapter.java:232) at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:113) at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:214) at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4601) at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:677) ... 31 more

    Go to System Administration
    -> System Configuration
    -> System Landscape
    -> select a Folder where you want to store your system object
    -> right click -> New System
    -> in the wizard, select JDBC System
    -> enter values
    -> edit
    Then fill in the correct values as stated here:
    http://help.sap.com/saphelp_nw04/helpdata/en/84/d5df3df2ad685ae10000000a11405a/frameset.htm
    Then assign an Alias and enter some usermapping data for the system.
    You then can use the ConnectorService to get a native sql connection and fire statements. I'm sure you can find some examples here.
    Regards, Karsten

  • Visual Studio 2010 64bit cann't connect Oracle database through 64bit ODBC Driver

    Hi,
    I am developing an 64bit And-In software. My OS is windows7 64bit Ultimate. Developer tool is
    Microsoft  Visual Studio 2010 Ultimate 64bit any-CUP.
    Server is SUN server and Oracle database 10.2.0.5 64bit enterprise edition.
    I have installed instantclient-odbc-win64-10.2.0.5 on my computer.
    I am able to connect through the command line sqlplus user/pass@server.
    In date source(c:\windows\system32\odbcad32.exe), ODBC Driver connection successful.
    But in VS2010 C#, use Tools -> Connect Database,I get an error 193 (Oracle in
    instantclient10_2,c:\ora10_64\SQORA32.dll) cann't be loaded.
    SQORA32.dll is 32bit ODBC Driver or 64bit ODBC Driver?
    How can I connect database with vs2010 64bit?
    Regards

    There is no Visual Studio 2010 Ultimate 64bit as far as I know.  It's a 32 bit app.    Generally you'd need to install a 32 bit client to use the 32 bit tools.
    Hope it helps,
    Greg

  • Connect to oracle database through ODBC

    Hi,
    I have oracle installed on my linux machine. I need to establish connection to the oracle database from windows.
    Regards
    Bobs

    user12119634(bobs) wrote:
    Hi,
    I have oracle installed on my linux machine. I need to establish connection to the oracle database from windows.
    Regards
    BobsNeeding to connect from a windows client does NOT automatically mean you need odbc. It depends on what app you are using.
    And please note that ODBC is NOT a substitution for the Oracle client software, it is in addition to it.

  • OWB connection to teradata through ODBC driver

    Hi:
    I am seeking answers to my OWB connection settings. I have installed OWB 10.2.0.4 on Windows 2003 server. The Oracle 10g database is on the same server. Right now, I want to configure ODBC connection for OWB to source database (all on teradata) on my windows 2003 server. However, I found from control panel
    /Adminstrative tool/Data source (ODBC), there is no teradata driver in ODBC administrator. (It is available on windows XP). How can I solve this problem?
    OWB perform ETL workflow through OWB server and source database. The connection between OWB server and source database must be set up. If no teradata ODBC driver, is there any other way to work around. Or should I update windows 2003 server to patch teradata ODBC driver to it? Please give me your idea and your thoughts. Thanks in advance.

    Hi,
    look at this thread
    SQLServer access from AIX Warehouse builder
    What is the problem with installing Teradata ODBC driver to your Windows2003 server?
    Regards,
    Oleg

  • Sys User cannot connect to DataBase10g through ODBC

    Hi guys ,
    am making ODBC connection of Oracle 10g2 with sys user from xp administrative tools(Data sources ODBC) but it's giving me error.
    ORA-01017:invalid username/password ;login denied.
    with the same user /password i connect many times at sql* plus.
    Please guide me why its all happening.
    Note=ODBC connection with other user HR/Scott have no problem.

    Using sql can very well mislead. See below,
    E:\Documents and Settings\aristadba>sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.6.0 - Production on Wed Jan 13 10:22:00 2010
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> sqlplus shakeel/khan as sysdba
    SP2-0734: unknown command beginning "sqlplus sh..." - rest of line ignored.
    SQL> connect shakeel/khan as sysdba
    Connected.
    SQL> connect tom/kyte as sysdba
    Connected.
    SQL> conn aman/sharma as sysdba
    Connected.
    SQL>So would suggest that change the password while being connected as Sys from sqlplus (easiest way) or through recreating the password file and retry the connection.
    HTH
    Aman....

  • Error connecting oracle 11g through SQL Developer

    i am using SQL Developer to connect to oracle 11g which is installed to another machine in same network
    means i am using a client machine to get connected to oracle installed to host machine through SQL Developer
    iam getting this error
    network adapter could not establish the connection
    vendor code 170002
    my listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = his-zoheb.PCSTECH.COM)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    my tnsnames.ora
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = his-ansari.pcstech.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl)
    iam not understanding what is problem
    please somebody help

    I would say it's vendor code 17002 (not 170002). And such a message is thrown by SQL Developer , unfortunately very generic for any kind of connection problems.
    Start sqlplus and try to connect, very likely you get a better error message.
    Recently I had such a connection problem and the reason was - No Listener.
    Werner

  • CCX7.0 Database Integration with Oracle 10g through ODBC

    Good Day…
    We are up to integrate CCX7.0 with Oracle 10g, CCX7.0 documents show the way to integrate the CCX7.0 with SQL server, but mention nothing about Oracle 10g, anyway...
    I tried to check the ODBC options, there were many options, I tried to select any Oracle related choice, just to find out Oracle should supply the driver for it. In the forums, people say it’s an Oracle Client, but what will this client do? Am I going to connect though it to the oracle database server or is it going to query the database to my CCX server? What am I going to use in this case, user DSN or system DSN?
    If there any tips or recommendations I will be grateful, as it is my first database integration.
    Thanks
    AT

    Hi Aaron
    Thanks Aaron for the information, and yes you are right, I am not a database person.
    I have here some questions, sorry if some of them sounds silly
    1)       Is there a certain Oracle Client version? or and Oracle Client will work for me?
    2)       Do you recommend system DSN on user DSN?
    3)       “…. available to any device on the system” as you said in your reply, what do you mean by "device" and "system"? Sorry, but this will help to clear the picture to me
    4)       What will this Oracle Client exactly do? Is it going to build an SQL table on my CCX server that query the information from the Oracle Server?
    5)       My customer has already implemented database integration with IPCC3.5, how can I check the current configuration of the Oracle Client, and what things else should I check before proceeding with the integration?
    The reason I want to understand this because there is a lot of database integration is requested from us, the CCX scripts can be used to query data from SQL tables, I read a lot about this –waiting for the implementation phase- the lucky me, the first integration I faces is with Oracle.
    Anyway, who said learning is easy.
    Thanks Aaron for your time, waiting your answers.
    AT

  • Connecting Oracle DataBase through WebDynpro

    Hi,
    I created a Dynamic table, now I should display the data from Oracle Database. I tried in many various ways to connect to database, but the data is not retrieving.
    Can u explain the reasons and give necessary coding to retrieve the data.
    Its very very urgent.

    Hi
    I think you can do using the APIs provided by SAP.
    Check this link
    JDBC Reference
    or
    Try connectinc using lookup.
    try{
    InitialContext ctx=new InitialContext();
    javax.sql.DataSource ds=(javax.sql.DataSource)ctx.lookup("jdbc/SAPJ2EDB");
    java.sql.Connection con=ds.getConnection();
    java.sql.Statement stmt=con.createStatement();
    con.close();
    catch(Exception e)
    wdComponentAPI.getMessageManager().reportException("Exception "+e,true);
    Check this thread moreuseful.
    WebDynpro and Oracle Connection
    Please Check these threads
    Re: I need a j2ee code for getting data from oracle database
    Re: oracle connection
    Re: problem with displaying records from the database in a table ui element
    See this sample application and help
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/f0b0e990-0201-0010-cc96-d7ecd2e51715
    I hope these links will help u resolve your problem.
    All The Best
    Priyanka
    Do Reward Points

  • Not able to connect Oracle through PHP

    Hello All ,
    I am trying to connect Oracle DB through PHP script . But I am not able to do so .
    My code is :
    <?php
    echo "PRASHANT" ;
    include 'include/odb.php';
    include 'include/ReadConfig.php';
    $conn=OrclConnect('orcl');
    $conn->SetFetchMode(ADODB_FETCH_BOTH);
    echo "DWIVEDI" ;
    ?>
    But when I ran this script throgh command prpmpt , I am getting the first echo message .. But not the last one ( echo "Dwivedi") .
    I am not able to connect Oracle DB through this script .
    Please some one help me out where I am wrong with script .
    Thanks
    Prashant Dwivedi

    Below is my source code
    <?php
    $ORACLE_HOME = 'D:\\oracle\\product\\10.2.0\\parag';
    $ORACLE_SID = 'parag';
    $LD_PRELOAD ='';
    $LD_LIBRARY_PATH ='';
    $TNS_ADMIN = 'D:\\oracle\\product\\10.2.0\\parag\\NETWORK\\ADMIN';
    $NLS_LANG = 'AMERICAN_AMERICA.WE8MSWIN1252';
    $username='spd';
    $password='spd';
    $db='(DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = parag)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = parag)))';
    echo "here1";
    echo "$TNS_ADMIN";
    $conn = oci_connect($username,$password,$db);
    echo "$ORACLE_HOME";
    if (!$conn) {
    $e = oci_error();
    print htmlentities($e[' message']);
    exit;
    ?>
    But still i am getting the same error message

  • Connect to Oracle through ODBC - TNS: No Listener Error

    Hi All,
    I've been trying to chase this problem down for over a month now and I have had no luck. When I try to connect to an Oracle server through MS Access I get the TNS: No Listener error. The kicker is when I go to the odbc data source administrator in windows I am able to connect to the oracle server. My computer is windows 2007 and I have Oracle 11.2 installed. Could anyone assist?
    When I type lsnrctl start in the command prompt it says it has been already started.
    Here is my tnsnames.ora:
    ORMANRPT.WORLD=
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (HOST=bspz1565.bhdc.att.com)
    (PORT=1521)
    (CONNECT_DATA=
    (SID=ORMANRPT)
    Here is my sqlnet.ora:
    AUTOMATIC_IPC = OFF
    TRACE_LEVEL_CLIENT = OFF
    names.directory_path = (TNSNAMES)
    names.default_domain = world
    name.default_zone = world
    names.default_domain=world
    here is my listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\cb260e\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\cb260e\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = C:\app\cb260e

    1009773 wrote:
    I used this computers IP and name. Is this what my listener should look like?
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\cb260e\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\cb260e\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = 144.158.355.240)(HOST = ilcdf44v.itservices.ms.com)(PORT = 1521))Line above is WRONG!
    I suggest you move, remove, rename, delete or otherwise move the listener.ora file out of the way.
    listener.ora is NOT required to start or utilize the listener
    open Command Window after doing as directed above then issue the OS commands below
    lsnrctl stop
    lsnrctl start
    lsnrctl status
    # now wait 60+ seconds before issuing the next command below
    lsnrctl service
    COPY the results from all above, then PASTE all results back here.

  • ODBC connectivity for ORACLE RDB

    Hi,
    I am trying to configure ODBC Agent with oracle to access ORACLE RDB.
    I have installed ORACLE RDB ODBC driver and created SYSTEM DSN named
    "dcprdb".
    My configuration files are as follows
    inithsodbc.ora (at E:\oracle\ora81\hs\admin)
    HS_FDS_CONNECT_INFO = dcprdb
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_TRACE_FILE_NAME = hsodbc.trc
    tnsnames.ora (at E:\oracle\ora81\network\ADMIN)
    hsodbc =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ip_address)(PORT = 1527))
    (CONNECT_DATA =
    (SID = hsodbc)
    (HS=)
    listener.ora (at E:\oracle\ora81\network\ADMIN)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = hsodbc)
    (ORACLE_HOME = E:\oracle\ora81)
    (PROGRAM = hsodbc)
    CONNECT_TIMEOUT_LISTENER = 0
    I restarted the TNS Listener service. Then, I have created DB link using the following command:
    CREATE DATABASE LINK hsodbc
    CONNECT TO <user_name> IDENTIFIED BY <password>
    USING 'hsodbc';
    When I executed the following query, I am getting the following error message:
    select * from model@hsodbc;
    Error Message:
    select * from modl@hsodbc
    ERROR at line 1:
    ORA-02068: following severe error from HSODBC
    ORA-28511: lost RPC connection to heterogeneous remote agent using
    SID=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=207.53.38.129)(PORT=
    1527)))(CONNECT_DATA=(SID=hsodbc)))
    I am using Windows 2000 OS and Oracle8i Enterprise Edition Release 8.1.7.0.0
    When I executed "tnsping dcprdb" at E:\oracle\ora81\bin, it works well. (see, below)
    E:\oracle\ora81\bin>tnsping dcprdb
    TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 20-JAN-20
    04 19:41:06
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=ip_address)(PORT=1527))
    OK (810 msec)
    E:\oracle\ora81\bin>
    Thanks in Advance
    Thiru

    try to write into file
    tnsnames.ora (at E:\oracle\ora81\network\ADMIN)
    hsodbc =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ip_address)(PORT = 1527))
    (CONNECT_DATA =
    (SID = hsodbc)
    (HS=OK) --this is important

Maybe you are looking for

  • Assets Transfer

    Hi Gurus, My client want to  transfer the assets from the company code, (we are having only one company code)  but with out other company code. We have tried with t-code ABAON but some error we are facing.  And we are not ready to create a one more d

  • Smartforms doubts

    1.HOW TO USE IF CONDITIONS IN SMARTFORMS? 2.HOW TO DRAW BOXES IN SMARTFORMS I TRIED TO DRAW BOX WITH FOLLOWING POSITION  XORIGIN 5 CH YORIGIN 12 LN SIZE WIDTH 15 CH HEIGHT 2 LN BOX FRAME 10 TW INTENSITY 10 DONT KNOW WHY ITS NOT WORKING 3.How can I ma

  • Album or Track Data

    I have the Apple Audio/Video dock hooked up to my stereo and TV. I can see the iPod video. Is it possible to see track information (Album art, time info) on the TV also? Thanks.

  • Creating a Java game for Windows

    Does anyone know a website or tutorial that provides information to Java developers, regarding the production of games? I would like to create my own chess game in Java for use on a Windows platform. Thanks

  • How can I generate a smooth continuous sine wave

    I am trying to build a single frequency active noise control system to control a tonal acoustic disturbance. In order to do this I need to be able to drive a set of loudspeakers with a single frequency waveform which will be continuously adapting at