Driver problem to connect the oracle database

sir
i want to use oracle 8.0 database at the backend in my project
i want that it is platform indpendent but
so i access that it is achive when i am not use the odbc driver
In xp the oracle not connect with my application
and in win98 some time it is connected to the application by
the odbc driver.
can it is possible that i use oracle database with out use of ODBC bridge in all Microsoft opertaing system types that is win 98,2000,XP
and NT
if yes how please help me and where i found the driver for oracle
with no price.
also how can i made the connection with my application.
thanks in advance

First:
post this in the approriate forum. This is for Swing questions, not for database driver questions. You have more luck in the JDBC forum, but still this isn't really a Java/JDBC question.
Second:
try to use the search before posting a question. Questions regarding the ODBC bridge are posted about 5 times a day (in the JDBC forum)!
Third:
to answer your question: download the Type 4 JDBC driver from otn.oracle.com. You can use it with every JDK on every platform.

Similar Messages

  • OBIEE 11g not connect the Oracle database

    Hi All,
    We installed 11.1.1.6.0 version on Linux 64 bit it works fine after some reason we delete that one and re install on same Linux box,we place old catalog and rpd.
    But when you login all reports is showing errors bellow
    In log file..........
    [nQSError: 43119] Query Failed:
    [2013-10-19T19:47:24.000+00:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: 24cef0e6e960bda3:-7f74eefb:141d239504e:-8000-0000000000000d97] [tid: 44b5a940]  [nQSError: 17014] Could not connect to Oracle database. [[
    [nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified
    at OCI call OCIServerAttach.
    [nQSError: 43119] Query Failed:
    [nQSError: 43113] Message returned from OBIS.
    In report level
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)
    Pls help thanks in advance.

    There are 2 places you need to keep TNS names.ora file for OBIEE to connect.
    1. Oracle client which is in your machine
    2. OBIEEhome>Oracle_BI1\network\admin
    I'm sure you would have it in your oracle client. Copy paste the same TNS names in this path too.
    Then open rpd and right click on any table in physical layer and click view data. You should see the results.
    if this doesn't work check your credentials.
    mark if this helps

  • Problems with connection with Oracle Database (Dreamweaver)

    I'm trying to create a connection with a oracle database, with JDBC.
    In order to do that, I've downloaded the classes12.zip driver in my machine. This is the driver from Oracle.
    I've put this file into directory c:\Program Files\Macromedia\Dreamweaver MX\Configuration\JDBCDrivers.
    So, I've gone to Window -> Application -> Databases menu into Dreamweaver MX, clicked in the plus (+) signal and choosed Oracle thin Driver (Oracle).
    I've filled thin window with the following values:
    Connection name: conn1
    Driver: oracle.jdbc.driver.OracleDriver
    URL: jdbc:oracle:thin:@machinename:1521:SID
    Username: ....
    Password: ...
    When I click in the Test button into this window, the following success message appears:
    Connection was made successfully!
    But when I go to Bindings window to build a Recordset, the connection doesn't get the tables, and the following error message appears:
    Unable to retrieve tables from this connection, click on 'Define...' button to test this connection.
    Does somebody know the answer for this problem?
    Thank you.

    Don't bother with a loopback adapter unless you are using a laptop that needs Oracle to work whether connected or unconnected to the business network. Much simpler to just arrange for DHCP to assign you a fixed IP address (a lease reservation).
    It's the change of IP address which trips Oracle up, not the existence of DHCP. So if you can make sure your IP address will be the same, no matter how you acquire it, that's all you have to do.
    Installing a loopback adapter which isn't the primary interface at the point you install Oracle will mean your installation will get very confused as to whether to address things via the 127... address or the "normal" IP address. And yes, at that point, you'll not be able to connect to instances, or run listeners or do all sorts of other things reliably.
    If it were me, I'd uninstall the mess you probably now have as far as Oracle goes, install something like VirtualBox (free) or VMware Workstation (costs) and enjoy your Oracle experience inside the confines of a virtual machine whose networking setup you can configure and control to your heart's content, without it screwing up your real machine's ability to connect to your work's network when it needs to.

  • Problem in connecting Non Oracle Database from Oracle

    Hi:
    I want to access "MS ACCESS" from Oracle 10g (10.2.0.1) using Windows XP.
    I tried my best, applied all proper instructions I found from books and from Internet, but getting an error.
    Here is what I did:
    My Oracle database is called "ORCL" and "MS ACCESS" is called "access_1".
    There is only one table "Employees" in "access_1".
    1. Accessed ODBC from Start | Control Panel | Administrative Tools.
    2. Clicked on Users DSN | "access_1" | Add.
    3. Clicked on "Drive do Microsoft Access (*.MDB)" .
    4. Hit Finish.
    5. Entered at DATA SOURCE NAME "ODBC1" and at DESCRIPTION "Connect Oracle to MS Access". Also I clicked on SELECT and chose the "Access_1.mdb" which is located at "C:\Documents and Settings\Muhammad\My Documents" folder. Clicked OK. and clicked on OK again.
    6. Now I went to Oracle side and configured listener as follows: (Only portion is shown here)
    # listener.ora Network Configuration File: C:\oracle\product\orcl\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\orcl)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = hsodbc)
    (ORACLE_HOME = C:\oracle\product\orcl)
    (PROGRAM = hsodbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = RIYAZDESKTOP)(PORT = 1521))
    7. Configuring the hs file located at C:\oracle\Product\Orcl\hs|admin as follows:
    # HS init parameters
    # HS_FDS_CONNECT_INFO = <odbc data_source_name>
    # HS_FDS_TRACE_LEVEL = <trace_level>
    HS_FDS_CONNECT_INFO = odbc1
    HS_FDS_TRACE_LEVEL = OFF
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    8. The TNSNAMES.ORA File is located at C:\:\oracle\product\orcl\network\admin\ and has the following text (only the related text is shown here):
    # tnsnames.ora Network Configuration File: C:\oracle\product\orcl\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools
    access_db.world =
    (DESCRIPTION =
    (Address = (PROTOCOL = TCP) (HOST = RIYAZDESKTOP) (PORT = 1521))
    (CONNECT_DATA = (SID = hsodbc))
    (HS=OK)
    9. The database link is created as follows:
    SQL> create database link access_db USING 'access_db.world';
    Database link created.
    SQL>
    10. Now the test and selection:
    SQL> select * from employees@access_db;
    select * from employees@access_db
    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 ACCESS_DB
    OH! I HAVE TO RELOAD THE LISTENER AND I DID IT HERE.
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\oracle\product\orcl\BIN>lsnrctl reload
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 17-NOV-2006 17:51:26
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    The command completed successfully
    C:\oracle\product\orcl\BIN>
    SQL> select table_name from all_tables@access_db;
    select table_name from all_tables@access_db
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (SQL State: IM002; SQL Code: 0)
    ORA-02063: preceding 2 lines from ACCESS_DB
    I HAVE DONE IT EXACTLY WHAT YOU PROVIDED ME BUT GOT THE SAME RESULT.
    ANY SOLUTION!
    THANKS.

    see Connect 9i to Microsoft Access Database

  • ORACLE not available!problem in connecting the oracle-xe-10g.

    SQL> conn
    Enter user-name: chris
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    SQL>

    Hi,
    I have the same problem during XE installation on Windows 2003 R2 SP 2 Enterprise edition. I have uninstall the oracle xxe and the result still the same. Finally I uninstall the windows and start all over again, surprisingly the result still the same. FYI, we normally has no issue during installation because this is part of our system we sell to our customer which require oracle xe. This is the first time we have seen this issue.
    ORA-01034 : Oracle Not available
    ORA-27101 : Shared memory realm doesn't exist.
    Oracle XE and listener services is started in the windows services.
    if we try to do startup the following message occured.
    SQL> connect /as sysdba
    Connected to an idle instance.
    SQL> startup
    ORA-44412: XE edition memory parameter invalid or not specified
    SQL>I can send you the oracle_xe log, init ora, and OpsBuildAll.log to create the database.
    When we compare with the working installation, we saw that the size of oraclexe folder is less, it's just 233MB while the working one is over 1GB. After investigation, found out that the .dbf files is not avaiable in the oradata folder, i have tried to copy those files from the working one but the problem stay the same, probably there are a lot of files more missing.
    Appreciate your help on this.
    Thanks,
    Agus

  • I was facing problem while connecting to oracle database.Can some one help me soon!!!!!

    Hi all,
    I was facing problem from last week.Suddenly i was getting ora-12505 error while connecting to the database through toad.I tried to change tnsnames.ora & listener.ora in multiple ways,but no luck...Inspite i was getting different errors like ora - 01034: ORACLE not available / ora - 27101: shared memory realm does not exist...When i try to connect using sys / sys as sysdba,connection is establishing and when issue the command startup it was throwing the error ORA-01821: date format not recognized......Fed up solving these issues....Can some one help me out...It's very very urgent..
    Thanks in advance,
    pavankumar.

    Well, the obviously solution is to use separate Apple ID's for iCloud.

  • How to config the oracle database connection pool in IAS

    Hi,
    Does anyone who hows to config the oracle database connection pool in IAS?
    Thanks so much!!!
    [email protected]
    Jacky

    Jacky,
    You need do the following for oracle type4 driver:
    1) register the driver:
    $IAS_HOME/bin/jdbcsetup
    Driver Identifier: Oracle_Type4_816 (whatever name you like)
    Driver Classname: oracle.jdbc.driver.OracleDriver
    Driver Classpath: .../classes12.zip (install this this zip file somewhere
    and add this zip into the Classpath later).
    2) DataSource Setup:
    start iAS Administration Tool (iASAT)
    Choose Database, unfold iAS1 (your app server instance),
    choose External JDBC Datasource -> add: DataSource Registration
    JNDI Name: yourPoolName
    Driver Type: Oracle_Type4_816 (select what you just register)
    DataSource Url: jdbc:oracle:thin:@hostName:portName:dbName
    Username: your_user_name
    Password: your_passwd
    (Datasource Pool: using defaults for now): you can also customrize the
    parameters for the pool.
    3. Add classes12.zip into CLASSPATH.
    In your application, you can use JNDI lookup to get the DataSource from
    which you get the connection from the pool.
    Hope this helps.
    Good luck.
    Xuran
    "Jacky Yan" <[email protected]> wrote in message
    news:9m0tmp$[email protected]..
    Hi,
    Does anyone who hows to config the oracle database connection pool in IAS?
    Thanks so much!!!
    [email protected]
    Jacky

  • Could not connect to Oracle database. (HY000): BI Answers Problem

    Hi,
    I am using OBIEE 11g and 11g admin client tool is installed in my machine. I created one rpd and I deploy that rpd in the server through Enterprise manager fusion middleware control. But when try to run the analysis from BI answers it throws and error like
    "TNS:could not resolve the connect identifier specified at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)".
    In the rpd I use OCI default (10g/11g) and cheked that connection is successful and also when I click on view data option in the physical layer I am able to see the data. I cheked with DBAs and correct TNS entries are also there in the server. Could not understand where is the problem.
    Please help.
    Thanks
    Titas

    Try like this
    Call Interface: Default (OCI 10g/11g)
    Data source Name->localhost:1521/XE
    BTW: Whats the client bit version 32/64 bit, if you have 64bit and above is not working try with Oracle client 32bit.
    Pls mark correct/helpful if helps

  • NetBean, I can't establish the oracle database connection with version 9i.

    In NetBean, I can't establish the oracle database connection with version 9i.
    I have create the datasource and it is fine.
    when i try to access the tables i get a message
    "Unable to refresh children, connection is broken, unsupported feature"
    in netbeans.
    Does netbeans support oracle 9i version.
    Thanks,
    VKK

    In NetBean, I can't establish the oracle database connection with version 9i.
    I have create the datasource and it is fine.
    when i try to access the tables i get a message
    "Unable to refresh children, connection is broken, unsupported feature"
    in netbeans.
    Does netbeans support oracle 9i version.
    Thanks,
    VKK

  • How do i connect to the oracle database

    I just downloaded oracle 9i from your website. I wanted to know how do I receive or create my own username and password so I can access the oracle database.

    Hi,
    Two user accounts are automatically created with the database:
    SYS (default password: CHANGE_ON_INSTALL)
    SYSTEM (default password: MANAGER)
    (More info at : http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96521/dba.htm#852)
    Both these accounts are database adminstrators. You can use either of these to connect to your database and create more users.
    To create new users use this SQL command after connecting to your database
    SQL> CREATE USER <username> IDENTIFIED BY <password>
    SQL> GRANT CREATE SESSION TO <username>
    For more information on creating users refer to http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96521/users.htm#16513
    Hope this helps.
    Sujatha.

  • What is the logic behind the oracle database connections....

    Hi,
    We have crontab alerts are enabled for the oracle database client connection.
    For Production databases the alerts are coming continuously until it gets connected.
    For QA databases it will throw the message that the oracle client connection fails and again it will prompt whenever it gets connected.
    Please let me know the logic behind these scnerions.
    Pavan..
    Edited by: dm_ptldba on Feb 14, 2012 6:45 AM

    Hi,
    Thanks for the update, Sorry the question was not clear. let me put it in a clear way.
    Following is our crontab which alerts us if any database/listener goes down. But it alerts us only once for one successful/unsuccessful connection. For Eg: If the crontab not able to connect to the database for once then it throws an alert only once and waits for a successful connection.
    I would like to change the logic in this crontab in such a way that, it should keep on alerting us for all the unsuccessful connections and once or twice for successful connection.
    . /home/oracle/.bash_profile
    . /opt/oracle/cron/cron_email
    sidfile=/home/oracle/scripts/db-list.txt
    dboutfile=/home/oracle/scripts/dboutfile.tmp
    echo $ORACLE_HOME
    TNS_DIR=$ORACLE_HOME/network/admin
    ORA_BIN=$ORACLE_HOME/bin
    cat $sidfile | while read SIDNAME
    do
    $ORA_BIN/sqlplus -s system/******@$SIDNAME 2> /dev/null >> $dboutfile <<EOF
    @/home/oracle/scripts/db_up.sql
    EOF
    if [ $? -eq 0 ]
    then
    STATUS=1
    if [ -f /home/oracle/scripts/${SIDNAME}-down.txt ]
    then
    /bin/mail -s "Alert :Oracle database instance \"${SIDNAME}\" is up & connected..." [email protected] </dev/null
    rm -rf /home/oracle/scripts/${SIDNAME}-down.txt
    fi
    else
    if [ -f /home/oracle/scripts/${SIDNAME}-down.txt ]; then
    echo "";
    else
    touch /home/oracle/scripts/${SIDNAME}-down.txt
    echo ${SIDNAME} "not Connected ..."
    /bin/mail -s "Alert :Oracle database instance \"${SIDNAME}\" is down......" [email protected] </dev/null
    fi
    fi
    done
    Thank you.
    PTLDBA

  • How database block in forms is connecting to the oracle database

    how is oracle forms connecting to oracle database?

    Thru tnsnames.ora file present in c:\orant\net80\admin and c:\orant\network\admin.
    Hope this helps u.
    Ritika.

  • Help needed in connecting to oracle database in unity

    Hi,
    I have been trying to connect to Oracle database in my codes. I have tried using OdbcConnection and OleDbconnection. But both did not allowed me to connect to the database. The database, testDb, can be accessed using SQL plus as well as the SQL developer. I even tested the connection successful using ODBC data source administrator.
    the following is my code for the connection string:
    OdbcConnection connectionString = "Driver={Oracle ODBC Driver};Server=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP )(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SID=Te stDb)));Uid=scott;Pwd=password;";
    the error i got is [ODBC Driver Manager] Data Source name not found and no default driver specified.
    for the driver parameter, i have tried using "Microsoft ODBC for Oracle". It gives me another error stating that the oracle and network components are not installed.
    I even tried "Oracle in OraDb11g_home1" which was specified in the ODBC Data Source Administrator. The same error came out.
    Below are some of my specifications:
    Platform: Windows 7 64bit
    Oracle: Oracle Database 11g Release 2 (64bit)
    Unity: 4.1.2
    Can someone please help me with this? What is it that i have done wrong?
    Thanks.

    1008737 wrote:
    Hi,
    I have been trying to connect to Oracle database in my codes. I have tried using OdbcConnection and OleDbconnection. But both did not allowed me to connect to the database. The database, testDb, can be accessed using SQL plus as well as the SQL developer. I even tested the connection successful using ODBC data source administrator.
    the following is my code for the connection string:
    OdbcConnection connectionString = "Driver={Oracle ODBC Driver};Server=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP )(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SID=Te stDb)));Uid=scott;Pwd=password;";
    whenever localhost (127.0.0.1) is used, this means that no remote client can ever connect to this system
    The problem involves ODBC configuration & has nothing to do with Oracle.

  • Unable to connect to oracle database 10.1.0.2.0 from jdeveloper 11.1.2.1.0

    Hello,
    I am trying to connect to oracle database 10.1.0.2.0 from jdeveloper 11.1.2.1.0 to develop an ADF application.
    But it is giving me the error
    Test failed: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    connection type:oracle(JDBC)
    Role :SYSDBA
    Driver:thin
    Host:localhost
    JDBC port:1521
    SID:webaid
    I am able to connect to the database using SQL*Plus with the same credentials.
    Any help is appreciated!

    I take it you solved this problem, since you posted this: installing Oracle 10.1.0.2.0 (32 bit)  on windows 2003 server

  • Problem in connecting with Oracle

    hi everybody
    I have a problem in connecting with Oracle express 10g. I got an error that doesn't allow me to connect. hope anyone can help me and solve this problem
    --------------------Configuration: test - JDK version 1.6.0_20 <Default> - <Default>--------------------
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at DB.dbConnect(test.java:36)
    at test.main(test.java:18)
    this is the code that I'm following
    import java.io.*; import java.sql.*; public class test2 {   public static void main(String[] args) {     try {       Connection con=null;       Class.forName("oracle.jdbc.driver.OracleDriver");       con=DriverManager.getConnection(         "jdbc:oracle:thin:@PLANET:1521:ORCL",         "scott",         "tiger");       Statement s=con.createStatement();       s.execute("INSERT INTO BOOKS VALUES('A Tale of Two Cities','William Shakespeare',4567891231,'05-JAN-1962')");             s.close();       con.close();   } catch(Exception e){e.printStackTrace();} } }
    Edited by: Vantasia on Nov 12, 2010 10:18 AM

    1. Is the connection url correct?
    "jdbc:oracle:thin:@PLANET:1521:ORCL" is fine.
    2. Is the TNS listener started?
    c:\oracle\product\ora10\bin> lsnrctl status
    3. Is a firewall between client and database server?
    Connection url with firewall would be different.
    http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/jdbcthin.htm#i1004276

Maybe you are looking for

  • HTTP POST and Internet Explorer

    Sorry for the cross post, but after reading through this newsgroup, it           seems that this audience is better suited to answer this question...           ===========================           We're running across a very strange bug that is happ

  • Audigy NX 2 ASIO in Cub

    <IMG height= src="http://grou ps. google.com/img/dot_clear.gif" width=2><B><FONT color=#ffffff></B> I have a problem loading ASIO drivers with my Audigy 2 NX / USB sound card. My PC is a HP Pavillion ZD8000 laptop, with 52Mb RAM and a 60GB dri've,Win

  • Updated Ipod and lost all music

    Has anyone else recently update an Ipod touch using Itunes and then lost all your music?  That is what happened to my daughter's.  We updated to version 4.21 and all music was wiped out.  Didn't have all the music in our Itunes library so can't get i

  • For ... in loop giving me an "implicit coercion" error--but describeType says I've got right type?

    Hi All, I've got the following code: var currentStateIndex:int = 0; for (var index:int in this.states){      if(this.currentState == this.states[index].name){           currentStateIndex = index;           break; I'm trying to identify the index of t

  • Error message 150:30 in pse 8.

    Photoshop Elements will not open due to licensing stopped working error: 150:30. Do not have FlexNet Publisher to trash as Adobe says to do. Did look in correct Library.  Did do Time Machine restore last week due to a different problem. Running 10.8.