Connecting oracle database with sql*net via VIP on Ace

Is there any way to get oracle Database traffic working only via the ACE Blade instead of using a firewall to do packet inspection.
The case is we have application servers in a DMZ wich should connect via a VIP to a Oracle database on port 1521.
Normally oracle negotiates the tcp ports wich it will use and a normal firewall will do an inspect and opens up the dynamic channel.
However on the Ace there is still no Inspect for Sql*net.
Everthing on routing and connection level works fine tnspings telnet to 1521 works fine. Only when using the application stack the dynamic ports needs to be used.
In our design a firewall in between this node's is at this moment impossible.
Any Ideas or examples how to solve this...

ORA-27140: attach to post/wait facility failedThis is to do with filesystem permissions on $ORALCE_HOME/bin
Login as the 'oracle' account (or the account with which oracle binaries are installed.
goto $ORACLE_HOME/bin
chmod 6751 account_used_to_install

Similar Messages

  • Connect Oracle Database with help of sql server storedprocedure

    Hii,
              Is there Any way to connect Oracle Database Using sql server storedprocedure.I want access oracle database and take some data and insert into my sql server database.so is there any way to connect in one
    stored procedure to connect oracle database and take some data and insert in to my sql server database.
    Nikunj Nandaniya

    Hello,
    I am getting below error when i kust Clic k on Test Connection in SSMS:
    TITLE: Microsoft SQL Server Management Studio
    The test connection to the linked server failed.
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracle" for linked server "test".
    OLE DB provider "OraOLEDB.Oracle" for linked server "test" returned message "ORA-12154: TNS:could not resolve the connect identifier specified". (Microsoft SQL Server, Error: 7303)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.4000&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476
    BUTTONS:
    OK
    Can you please guide is there any other setting i need to do after install Oracle Client ?
    Best Regards,
    Tushar Malvi

  • To connect oracle database with ms access database

    i want to connect oracle database with ms access database
    i have follow the following steps
    1. create ms access database.
    2. create system dsn.
    3. make change in listener.ora.
    4. make change in hs folder.
    5.change the tnsname.ora.
    6. lsnrctl stop and lsnrct start.
    7. create database link in oracle sql*plus.
    8.select the table of ms access
    but i have return the foloowing error.
    ORA-12154: TNS:could not resolve the connect identifier specified
    using window 2000, oracle 10g

    Have a look on ths thread, may it helps ...
    Re: copy access data into oracle with form builder 9i

  • How to connect oracle database with JAVA

    how to connect oracle database with JAVA....
    using j2sdk and Jcreator . which connector to use .. what are the code for that ..

    PLEASE .... Ask in an Oracle Java forum.
    And read the documentaiton. There is a whole document devoted to doing that. http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm has examples.
    PLEASE ... do not ask product questions in a forum which clearly has a title saying it is devoted to assisting with download problems.

  • TNS: connection closed error with SQL*net

    Hi all,
    I've got a new installation of Oracle 11.1.0.6.0 enterprise (Linux). It works fine with direct sqlplus connections but I'm having problems with SQL*net and JDBC thin client connections.
    The database is built correctly and works fine:
    user@cthulhu bash[61]: sqlplus user/pwd
    SQL*Plus: Release 11.1.0.6.0 - Production on Mon Aug 4 12:59:53 2008
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE 11.1.0.6.0 Production
    TNS for Linux: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    SQL>
    but if I try to connect using SQL*net I get errors. I have my TNS listener configured and it starts without errors, reporting the database as a service, and tnsping is fine:
    user@cthulhu bash[62]: tnsping cthulhu_mar
    TNS Ping Utility for Linux: Version 11.1.0.6.0 - Production on 04-AUG-2008 13:02:07
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.2.30)(PORT=1521)) (CONNECT_DATA=(SID=mar)))
    OK (10 msec)
    user@cthulhu bash[63]: sqlplus user/pwd@cthulhu_mar
    SQL*Plus: Release 11.1.0.6.0 - Production on Mon Aug 4 13:02:41 2008
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    ERROR:
    ORA-12537: TNS:connection closed
    Enter user-name:
    In listener.log:
    Mon Aug 04 13:02:41 2008
    04-AUG-2008 13:02:41 * (CONNECT_DATA=(SID=mar)(CID=(PROGRAM=sqlplus)(HOST=cthulhu)(USER=marbur))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.30)(PORT=41754)) * establish * mar * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Linux Error: 32: Broken pipe
    This is a new instance of Oracle so there is no problem with listener.log being too large (as I've seen elsewhere). I've also tried increasing PROCESSES and SESSIONS in the initSID.ora file without any impact. The listener ports are open through the firewall (and disabling it temporarily makes no difference).
    Any suggestions?!
    Thanks, Matt

    This means nothing to me, but it could to someone else......
    from listener trace:
    2008-08-04 16:19:05.135381 : nlpcaini:env[161] = OLDPWD=/u01/app/oracle/product/11.1.0/db_1
    2008-08-04 16:19:05.135407 : nlpcaini:env[162] = ORA_NET2_DESC=12,15
    2008-08-04 16:19:05.135432 : nlpcaini:env[163] = ORACLE_SPAWNED_PROCESS=1
    2008-08-04 16:19:05.135465 : nlpcaini:exit
    2008-08-04 16:19:05.135498 : nsc2addr:normal exit
    2008-08-04 16:19:05.135536 : nsbeqaddr:entry
    2008-08-04 16:19:05.135566 : nsbeqaddr:connecting...
    2008-08-04 16:19:05.135603 : nsopen:entry
    2008-08-04 16:19:05.135633 : nsmal:entry
    2008-08-04 16:19:05.135667 : nsmal:1012 bytes at 0x81a8538
    2008-08-04 16:19:05.135694 : nsmal:normal exit
    2008-08-04 16:19:05.135722 : nsopenmplx:entry
    2008-08-04 16:19:05.135749 : nsmal:entry
    2008-08-04 16:19:05.135779 : nsmal:2020 bytes at 0x81a8930
    2008-08-04 16:19:05.135804 : nsmal:normal exit
    2008-08-04 16:19:05.135831 : nsiorini:entry
    2008-08-04 16:19:05.135861 : nsbal:entry
    2008-08-04 16:19:05.135889 : nsbgetfl:entry
    2008-08-04 16:19:05.135918 : nsbgetfl:normal exit
    2008-08-04 16:19:05.135966 : nsmal:entry
    2008-08-04 16:19:05.135995 : nsmal:84 bytes at 0x81b3dd8
    2008-08-04 16:19:05.136020 : nsmal:normal exit
    2008-08-04 16:19:05.136057 : nsbal:normal exit
    2008-08-04 16:19:05.136085 : nsiorini:exit (0)
    2008-08-04 16:19:05.136112 : nscpxget:entry
    2008-08-04 16:19:05.136139 : nscpxget:normal exit
    2008-08-04 16:19:05.136168 : nsopenalloc_nsntx:nlhthput on mplx_ht_nsgbu:ctx=81a8538, nsntx=81a8930
    2008-08-04 16:19:05.136196 : nsopenmplx:normal exit
    2008-08-04 16:19:05.136225 : ntpcon:entry
    2008-08-04 16:19:05.136253 : ntpcon:toc = 6
    2008-08-04 16:19:05.136283 : ntpcon:exit
    2008-08-04 16:19:05.136313 : nsopen:opening transport...
    2008-08-04 16:19:05.136341 : ntpcon:entry
    2008-08-04 16:19:05.136367 : ntpcon:toc = 1
    2008-08-04 16:19:05.136404 : sntpcall:entry
    2008-08-04 16:19:05.157048 : sntpcall:detaching from parent with additional fork
    2008-08-04 16:19:05.157304 : sntpcall:hdl[IR]=17, hdl[IW]=16
    2008-08-04 16:19:05.157350 : ntpcon:exit
    2008-08-04 16:19:05.157390 : nserror:entry
    2008-08-04 16:19:05.157428 : nsoptions:entry
    2008-08-04 16:19:05.157459 : nsoptions:lcl[0]=0x0, lcl[1]=0x2006, gbl[0]=0x0, gbl[1]=0x0, cha=0x0
    2008-08-04 16:19:05.157488 : nsoptions:Vectored IO not supported.
    2008-08-04 16:19:05.157518 : nsoptions:lcl[0]=0xf4ffe9ff, lcl[1]=0x6016, gbl[0]=0xe881, gbl[1]=0x0
    2008-08-04 16:19:05.157545 : nsoptions:normal exit
    2008-08-04 16:19:05.157574 : nsnainit:entry
    2008-08-04 16:19:05.157603 : nsnainit:normal exit
    2008-08-04 16:19:05.157642 : nsopen:global context check-in (to slot 6) complete
    2008-08-04 16:19:05.157675 : nsopen:lcl[0]=0xf4ffe9ff, lcl[1]=0x6016, gbl[0]=0xe881, gbl[1]=0x0, tdu=4096, sdu=8192
    2008-08-04 16:19:05.157706 : nsfull_opn:entry
    2008-08-04 16:19:05.157735 : nsfull_opn:cid=6, opcode=65, bl=0, what=0, uflgs=0x0, cflgs=0x0
    2008-08-04 16:19:05.157761 : nsfull_opn:nsctx: state=7, flg=0x4001, mvd=0
    2008-08-04 16:19:05.157790 : nsfull_opn:normal exit
    2008-08-04 16:19:05.157816 : nsopen:normal exit
    2008-08-04 16:19:05.157854 : nsevreg:entry
    2008-08-04 16:19:05.157884 : nsevreg:begin registration process for 6
    2008-08-04 16:19:05.157912 : nsevregPrePost:entry
    2008-08-04 16:19:05.157940 : nsevregPrePost:normal exit
    2008-08-04 16:19:05.157968 : nsevreg:sgt=0, evn=1, evt[2]=0x0
    2008-08-04 16:19:05.157996 : nsevreg:begin notification process for 6
    2008-08-04 16:19:05.158022 : nsevregAffectNotif:entry
    2008-08-04 16:19:05.158050 : nsevregAffectNotif:exit (0)
    2008-08-04 16:19:05.158078 : nsevreg:rdm=0, sgt=0, evt[0]=0x800, [1]=0x800, [2]=0x0, nrg=0
    2008-08-04 16:19:05.158105 : nsevreg:registering for 0x800
    2008-08-04 16:19:05.158135 : ntpctl:entry
    2008-08-04 16:19:05.158162 : ntpctl:exit
    2008-08-04 16:19:05.158203 : nsevreg:normal exit
    2008-08-04 16:19:05.158260 : nsbeqaddr:error exit
    2008-08-04 16:19:05.158289 : nsbequeath:error exit
    2008-08-04 16:19:05.158342 : nsglhe:exit

  • Connect ORACLE database with sysdba privileges

    Hi Guru,
    I am connecting to my ORACLE database with my VB application.
    I have problem with connecting to the database with SYSDBA privileges. i.e it is not connecting to the database with SYSDBA privileges.
    If I connect my db from SQLPLUS. Its worked like this..
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL> select Name from v$datafile;
    select Name from v$datafile
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> connect as sysdba;
    Enter user-name: user_1
    Enter password: ****
    Connected.
    SQL> select Name from v$datafile;
    NAME
    C:\NEW\ORADATA\ITPL\SYSTEM01.DBF
    C:\NEW\ORADATA\ITPL\UNDOTBS01.DBF
    C:\NEW\ORADATA\ITPL\CWMLITE01.DBF
    C:\NEW\ORADATA\ITPL\DRSYS01.DBF
    C:\NEW\ORADATA\ITPL\EXAMPLE01.DBF
    C:\NEW\ORADATA\ITPL\INDX01.DBF
    C:\NEW\ORADATA\ITPL\ODM01.DBF
    C:\NEW\ORADATA\ITPL\TOOLS01.DBF
    C:\NEW\ORADATA\ITPL\USERS01.DBF
    C:\NEW\ORADATA\ITPL\XDB01.DBF
    10 rows selected.
    SQL>
    Now in my VB application if I am using following string to connect the database.
    m_adoCnn.ConnectionString = Provider=MSDAORA;Password=pass;User ID=user_1;DBA Privilege=SYSDBA;Data Source=ITPL
    It will connect properly to the database but gives error while executing the query select Name from v$datafile;
    as,
    ORA-00942: table or view does not exist
    Can any body help me in this or provide me proper connection string.

    Hello,
    I am getting below error when i kust Clic k on Test Connection in SSMS:
    TITLE: Microsoft SQL Server Management Studio
    The test connection to the linked server failed.
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracle" for linked server "test".
    OLE DB provider "OraOLEDB.Oracle" for linked server "test" returned message "ORA-12154: TNS:could not resolve the connect identifier specified". (Microsoft SQL Server, Error: 7303)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.4000&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476
    BUTTONS:
    OK
    Can you please guide is there any other setting i need to do after install Oracle Client ?
    Best Regards,
    Tushar Malvi

  • Connect to database with SQL*Plus: is TNSNAMES.ORA used?

    Hi ,
    we have a local database called DEV01 and a duplicate of this database in a datacenter. To be able to connect to both databases the TNSNAMES.ORA
    on the local database server (not the one in the datacenter) has the following entries:
    /* Entry for local database */
    DEV01_local, DEV01_local.WORLD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = server01)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SID= DEV01)
    /* Entry for database in datacenter */
    DEV01,DEV01.WORLD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = server02)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SID = DEV01)
    When I connect to the local database server I set the Oracle-environment as follows:
    export ORACLE_SID=DEV01
    export PATH=/opt/oracle/app/oracle/product/9.2.0/bin:$PATH
    export ORACLE_HOME=/opt/oracle/app/oracle/product/9.2.0
    Now I start SQL*Plus as follows:
    oracle#> sqlplus user/user
    SQL> select instance_name, host_name from v$instance;
    INSTANCE_NAME    HOST_NAME
    DEV01            server01
    Since the SID is on both databases the same (DEV01) I really do not understand how Oracle decides to which database SQL*Plus connects to.
    Is it a matter of the entries in the TNSNAMES.ORA?
    But when I start SQL*Plus as follows:
    oracle#> sqlplus user/user@DEV01_local
    SQL> select instance_name, host_name from v$instance;
    INSTANCE_NAME    HOST_NAME
    DEV01            server01
    or
    oracle#> sqlplus user/user@DEV01
    SQL> select instance_name, host_name from v$instance;
    INSTANCE_NAME    HOST_NAME
    DEV01            server02
    everything is as expected.
    Does anybody know which database gets chosen when just connect with "sqlplus user/user" (without @DEV01 or @DEV01_local)?
    Any help will be appriciated!
    Rgds
    Jan

    Both databases have the SID=DEV01.
    The ORACLE_SID is set to DEV01 - but when connecting I end up at
    oracle#> sqlplus user/user
    SQL> select instance_name, host_name from v$instance;
    INSTANCE_NAME    HOST_NAME
    DEV01            server01
    which is the database with the TNSNAMES.ORA entry "DEV01_local, DEV01_local.WORLD = ..."
    In your case the one defined by ORACLE_SID environment variable => but which from both is it?

  • I have problem to connect oracle DB with SQL developer

    I try connect to my oracle db with oracle SQL developer and received that message:
    http://ioj.com/v/camkp
    (pictures 1 and 2)
    if i try connect with sql plus, all well.
    command : select userenv('LANGUAGE') from dual; result: Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> select userenv('LANGUAGE') from dual;
    *USERENV('LANGUAGE')
    RUSSIAN_RUSSIA.CL8MSWIN1251*
    in SQL DEVELOPER: (picture 3)
    check\uncheck "Skip NLS Settings", nothing changed.
    what the issue is?

    Then apparently it's still not getting the OS settings right; try to add these to \sqldeveloper\bin\sqldeveloper.conf (maybe region is enough):
    AddVMOption -Duser.language=en
    AddVMOption -Duser.country=US
    AddVMOption -Duser.region=USHope that helps,
    K.

  • Connecting Oracle DB with SQL server

    I need to connect an Oracle Data Base to a SQL Server throught a BPEL process. Somebody knows about a TUTORIAL or maybe other guide.....pls this is urgent.
    Thanks

    Reading you post, I asssume you want to select data from an Oracle database and pass this information to a BPEL processs. This process will store the data into a SQL Server database.
    Create BPEL process, with two partner links, using the DB adapater. One partner link is using the Oracle databas, the other one SQL Server.
    Therefore you must add/change your oc4j-ra.xml, to add an Oracle DB connection and an SQL Server connection: The file can be found at
    $ORACLE_HOME\j2ee\OC4J_BPEL\application-deployments\default\DbAdapter
         <connector-factory location="eis/DB/SampleSQLServerConnection" connector-name="Database Adapter">
              <config-property name="driverClassName" value="com.microsoft.jdbc.sqlserver.SQLServerDriver"/>
              <config-property name="connectionString" value="jdbc:microsoft:sqlserver://localhost\\sql2000:1433;SelectMethod=cursor;databasename=NAME"/>
              <config-property name="userName" value="NAME"/>
              <config-property name="password" value="password"/>
              <config-property name="minConnections" value="5"/>
              <config-property name="maxConnections" value="5"/>
              <config-property name="minReadConnections" value="1"/>
              <config-property name="maxReadConnections" value="1"/>
              <config-property name="usesExternalConnectionPooling" value="false"/>
              <config-property name="dataSourceName" value=""/>
              <config-property name="usesExternalTransactionController" value="false"/>
              <config-property name="platformClassName" value="oracle.toplink.internal.databaseaccess.SQLServerPlatform"/>
              <config-property name="usesNativeSequencing" value="true"/>
              <config-property name="sequencePreallocationSize" value="50"/>
              <config-property name="tableQualifier" value=""/>
              <config-property name="defaultNChar" value="false"/>
              <config-property name="usesBatchWriting" value="true"/>
         </connector-factory>

  • Connecting oracle database with weblogic7.0

    Hi,
    Can some one tell me Is it necessary to have Oracle Client installed
    on machine where weblogic is installed ? to make connection with
    remote Oracle DB.
    Right now i have weblogic on my machine and oracle on remote
    machine.When i am trying to connect and getting following error :-
    QUOTE
    D:\bea\weblogic700\samples\server\stage\examples\clientclasses>java
    examples.jdb
    c.oracle.batchUpdate -user anjali -password anjali -server 172.16.1.40
    Starting Loading jDriver/Oracle .....
    Exception was thrown: System.loadLibrary(weblogicoci38) threw
    java.lang.Unsatisf
    iedLinkError: no weblogicoci38 in java.library.path
    UNQUOTE
    Any help on above will be higly appreciated.
    Looking forward for a reply from someone ?........

    It is not necessary to have client installed on same machine where
    weblogic is installed. However, you have to point to right libraries in
    path and classpath if you are using windos ops. You should also point to
    oci817_8( whatever version of database you are using) in your path.
    weblogicoci38.dll might reside there in that directory. Before even
    starting a server you should do following before starting the server.
    java utils.dbping oracle uid passwd dbname
    If you receive succssful than you are ready to go.
    Thanks,
    Mitesh
    deepak wrote:
    Hi,
    Can some one tell me Is it necessary to have Oracle Client installed
    on machine where weblogic is installed ? to make connection with
    remote Oracle DB.
    Right now i have weblogic on my machine and oracle on remote
    machine.When i am trying to connect and getting following error :-
    QUOTE
    D:\bea\weblogic700\samples\server\stage\examples\clientclasses>java
    examples.jdb
    c.oracle.batchUpdate -user anjali -password anjali -server 172.16.1.40
    Starting Loading jDriver/Oracle .....
    Exception was thrown: System.loadLibrary(weblogicoci38) threw
    java.lang.Unsatisf
    iedLinkError: no weblogicoci38 in java.library.path
    UNQUOTE
    Any help on above will be higly appreciated.
    Looking forward for a reply from someone ?........

  • How to connect oracle database with mvc3 either can use connection string or dbcontext??? please help me

    hi can anyone please help me??

    Are you using the Oracle ODBC driver? If so, which version?
    Are you writing your own VB application? What API are you using-- ADO? Can you post the code that's making a connection and the exact text of the error message?
    Justin

  • How to connect Oracle database into Visual basic 6.0

    Hi. I am using Oracle I Enterprise version 9.2.0.1, I have a problem for connecting oracle database into VB. I use a ODBC to connect oracle database with VB. By testing connection. Message tells me that "connection successfully", but I can not have a record display in VB. It tells me that can not publish a connection with ODBC. Please tell me why

    Are you using the Oracle ODBC driver? If so, which version?
    Are you writing your own VB application? What API are you using-- ADO? Can you post the code that's making a connection and the exact text of the error message?
    Justin

  • Connect to oracle database with php script

    Hello!
    How can I connect to an Oracle database with a PHP script? I read about it at www.php.net:
    "Oracle 8 functions; These functions allow you to access Oracle8 and Oracle7 databases. It uses the Oracle8 Call-Interface (OCI8). You will need the Oracle8 client libraries to use this extension."
    Where can I get these libraries from?
    Who knows more about the issue?
    Thanks a lot for your help!
    Martin
    null

    Hello
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by mheibel([email protected]):
    Hello!
    How can I connect to an Oracle database with a PHP script? I read about it at www.php.net:
    "Oracle 8 functions; These functions allow you to access Oracle8 and Oracle7 databases. It uses the Oracle8 Call-Interface (OCI8). You will need the Oracle8 client libraries to use this extension."
    Where can I get these libraries from?
    Who knows more about the issue?
    Thanks a lot for your help!
    Martin<HR></BLOCKQUOTE>
    Install and put working a sqlnet working client (install the Oracle Client option of the Oracle Database CD ROM). Than compile php with the --oci option. Than try the samples in php.net (oci function in the help).
    These are the steps... Put everything working is a little more complicated...
    FS
    null

  • Unable to connect to my Oracle Database with Microsoft's ODBC for Oracle driver

    I am unable to connect to my Oracle Database with Microsoft's ODBC for Oracle driver vers.2.573.4202.00 on a Win98 computer.
    First, I create a "Net Service Name" in order for the ODBC Driver to find the Oracle server. I then created a System DSN in the ODBC Data Source Administrator and assigned the "Net Server Name" as the server in the "Microsoft ODBC for Oracle Setup". But when I test this DSN with Oracle's provided "Oracle ODBC 32Bit Test vers.2.5.3.1.0" I get an error:
    SQLSTATE: NA000
    Native Error Code:0
    Driver Message:[Microsoft][ODBC driver for Oracle][Oracle]
    This error occurred on all three Win98 computers I have tried. It does however, seem to work fine on WinNT 4.0, and believe it or not, on the two Win95 computers I have tried.
    Does anyone have any fixes, recomendations, or advice?
    Thank you,
    Eric Edwards
    null

    Why are yu not using the Oracle ODBC driver - these can be downloaded from OTN.
    Have you set up a tnsnames.ora entry for the Oracle database you want to connect to? Does this name have a domain name added to it? Check %ORACLE_HOME%\network\admin\tnsnames.ora for the service name. If it is a name of the form :
    name.domain.subdomain
    then you should try using this full name when configuring the ODBC data source.
    null

  • How Connect to oracle database with java

    i have trouble with my program
    i use oracle 8i to my database and java for interface
    this mycode :
    import java.sql.*;
    class TestThinApp {
    public static void main (String args[])
    throws ClassNotFoundException, SQLException {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    // or you can use:
    // DriverManager.registerDriver(
    // new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:thin:@dssw2k01:1521:orcl","scott","tiger");
    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery(
    "select 'Hello Thin driver tester '||USER||'!' result from dual");
    while(rset.next())
    System.out.println(rset.getString(1));
    rset.close();
    stmt.close();
    conn.close();
    i have trouble , becouse i can connect my database with java (JDK)
    if any one can help me pls?
    arif

    PLEASE .... Ask in an Oracle Java forum.
    And read the documentaiton. There is a whole document devoted to doing that. http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm has examples.
    PLEASE ... do not ask product questions in a forum which clearly has a title saying it is devoted to assisting with download problems.

Maybe you are looking for