Can I connect to Oracle server7.1  through Java-JDBC using the latest thin drivers???

Hey Gurus,
Please help me .
MY Current requirement is to connect to multiple oracle 7.1( and other variants) servers running on different operating systems, through Java/JDBC.
My FIrst question is, can i connect to older versions of database using latest drivers?
I could connect to the server running on SCO-oracle 7.1 using SQLNet8.1.7 under windows. But the same is not happening when the client is on Linux.But I need to connect from linux
It says ORA-03113 - End of communication channel.
What may be th problem.
If any one could show some pointers where I can get more information about this problem would be helpfull
THanks
Lokesh

I tried the classpath suggestion above (not the one modifying the .xml file) , but it didnt work for me , I am using WLI 10.3.1 and trying to connect DB on 8.1.7 V . I downloaded the classes12.jar and the ojdbc14.jar file from the oracle and placed in lib and the even included the classpath , but i again got the same exception .
All this while i was selecting the option Oracle Driver Thin from the DataBase Driver when creating the connection pool from console . I tried with "BEA Oracle Driver (Type 4)" and it worked for me .. Although the option "BEA Oracle Driver (Type 4)" lists only the DBs from 9.0.1 to 11 G , but in my case using this driver i am able to connect to Oracle DB 8.1.7 . So all you guys if it classpath doesnt fix the issue try out by selecting Driver , "BEA Oracle Driver (Type 4)" .
Manoj , this will fix the Connection pool part of the ques, but for the java part Try to load the Driver class "weblogic.jdbc.oracle.OracleDriver" before connecting to DB with Class.forName.
Thx
Yatin Mehta

Similar Messages

  • Since uploading Firefox 4 I get error messages saying it can't update and I should be sure I am using the latest version. I am, so why will updates not load?

    The question is in the title. I have had no updates to Firefox 4, just error messages saying they can't be loaded and I should check that I am using the latest version. I have downloaded Firefox 4 again to be sure my copy is up to date but it makes no difference. I still get the error message.

    Remove the files in the updates and updates\0 folder.<br />
    You may need to delete active-update.xml and updates.xml as well if present.
    C:\Users\&lt;user&gt;\AppData\Local\Mozilla\Firefox\Mozilla Firefox\updates
    (%LOCALAPPDATA%\Mozilla\Firefox\Mozilla Firefox)
    * http://kb.mozillazine.org/Software_Update (Software Update not working properly)

  • Can't connect to Oracle XE instance from Java web application

    I'm a long-time Java developer but can't figure this out.
    I've been pouring over the forum for over a week and can't
    find the solution that will let me connect.
    Hardware: Intel/Vista.
    DB: Oracle Express 10G.
    Application: Java web application (Jakarta Struts)
    Application Server: Tomcat 5.5
    I copied the latest JDBC driver from OTN into my app server's "/LIB" directory.
    I get no driver errors. ("ojdbc14.JAR)"
    I can connect locally from my TOAD client, using SYSTEM/PASSWORD/XE.
    My listeners seem to be OK.
    Depending on which connection string I use from my Java application,
    I get one of two messages.
    "ORA-01017: invalid username/password; logon denied"
    OR
    "Io exception: The Network Adapter could not establish the connection"
    ------------ lsnrctl status ---------------------------------------------------
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    ------------ SOURCE CODE ------------------------------------------------------
    OracleDataSource ods = new OracleDataSource();
    ods.setURL(" jdbc:oracle:thin:@localhost");
    conn = ods.getConnection("system", "password");
    //ods.setURL("jdbc:oracle:thin:@rsosborn-PC:1521:XE");
    //conn = ods.getConnection("system", "password");
    String query = "select * from books;";
    Statement st = conn.createStatement();
    ResultSet rs = st.executeQuery(query);

    Using the code you supplied I was able to reproduce your errors. I've adjusted it accordingly and can connect to one of my 10.2 test databases.
    import java.sql.*;
    import oracle.jdbc.*;
    import oracle.jdbc.pool.*;
    class Conn {
      public static void main (String args []) throws SQLException
        Connection conn = null;       
        OracleDataSource ods = new OracleDataSource();
        // ods.setURL(" jdbc:oracle:thin:@localhost:1521:TEST");
        // conn = ods.getConnection("scott", "tiger");
        ods.setURL("jdbc:oracle:thin:@localhost:1521:TEST");
        conn = ods.getConnection("scott", "tiger");
        Statement stmt = conn.createStatement();
        ResultSet rset = stmt.executeQuery("select BANNER from SYS.V_$VERSION");
        while (rset.next())
            System.out.println (rset.getString(1));   // Print col 1
        stmt.close();
    }There are several different ways to configure OracleDataSources:
    http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/urls.htm#BEIDBFDF
    So, hopefully it's just a mismatch config.

  • Can I connect my old mac to my new mac using the thunderbolt to ethernet adapter

    I've got a lot of data to transfer from one mac to another, one with thunderbolt and one without. I was wondering if by using the thunderbolt to ethernet adapter I could connect the two macs in a target mode kinda way.
    I know people will answer with a lot of other options in how to do this, but I am specifically interested in whether or not this option is possible.
    Thanks!

    you can use the adapter with any Thunderbolt-equipped Mac running OS X Lion 10.7.4 or later, but you'll want to install the Thunderbolt Software Update 1.2.1 after having the 10.7.4 upgrade
    10.7.4
    http://support.apple.com/kb/DL1524

  • Can I process Xbox 360 controller commands through a cRIO using the USB port?

    Hi everyone,
    I am building a robotic control system on cRIO -9114 Chassis. Currently I have the xbox controller connected to the PC and I am interpreting the xbox commands in my gui and then transmiting the commands to the RIO. I would like to be able to move the xbox controls from the PC to the RIO is there any way that anyone knows to do this?
    Thanks in Advance,
    Carter Schultz
    Square One Systems Design

    carter12s,
    Check out the document on our website, Can I Control a USB Device with NI-VISA on a CompactRIO Controller?, as it may provide some helpful information on this topic.
    Have a great day!
    Ben Sisney
    FlexRIO V&V Engineer
    National Instruments

  • I've got OSX 10.5.8 and have just got the new i phone 5. how can i upgrade to an OS that enables me to use the latest version of i tunes?

    how do i upgrade my OSX 10.5.8 so i can use my i phone bloody 5???

    First step is upgrade to Snow Leopard, 10.6, by calling Apple at 1-800-MY-APPLE and order the SL DVD for $20.  Then update on-line via software update to 10.6.8.  If you want to go further, to Lion, you can purchase a download code for $20 from that same number and download 10.7.5, or go directly to the Mac App Store and purchase/download 10.8.2 provided your computer is on the compatible hardware list at http://www.apple.com/osx/specs

  • WHY I CAN'T BACK UP MA IPHONE 4 ? I'M USING THE LATEST VERSION OF ITUNES , WIN 7 ?, WHY I CAN'T BACK UP MA IPHONE 4 ? I'M USING THE LATEST VERSION OF ITUNES , WIN 7 ?

    PLEASE I NEED HELP
    I want to back up my iphone 4 but when i press "back up" itunes say : ( itunes couldn't back up because a session couldn't be started with iphone !!!!
    knowing that i'm using win 7 & i,ve red almost all topics about this problem , nothing works out.
    i,ve tried to delete the old back ups , the problem wasn't solved .
    does any one have eny ideas ?

    roaminggnome
    I've used one of the methods in there. it worked perfectly
    Ooh man, you made my day.
    Thank you very very very very very very very very very very very very much.

  • How can I connect to Oracle and SQL server at the same time?

    I have been trying to find a way to connect to Oracle Database through the developer 2000 and SQL server at the same time. I need to return some data from Oracle Database and some from the Sql Server Database. And update both through SQL. I find there is such a thing as the Oracle Transparent Gateway for SQL server. I can't find it on any of my CD's or through OTN downloadable files. If anyone can point me where to get this. Or tell of another way this can be accomplished I would appreciate it. TIA.
    [email protected]

    I have been trying to find a way to connect to Oracle Database through the developer 2000 and SQL server at the same time. I need to return some data from Oracle Database and some from the Sql Server Database. And update both through SQL. I find there is such a thing as the Oracle Transparent Gateway for SQL server. I can't find it on any of my CD's or through OTN downloadable files. If anyone can point me where to get this. Or tell of another way this can be accomplished I would appreciate it. TIA.
    [email protected]
    As far as I know you have 3 options depending on your specifications. I don't think option #3 will work if you need to actually join a
    SQL Server table to an Oracle table.
    1. Oracle Transparent Gateway. I haven't used the Oracle Transparent Gateway but my understanding is that Oracle gateways are
    separate purchased products from Oracle. I've never seen any free/development versions of it anywhere. You'll need to contact
    your Oracle sales rep about it.
    2. Heterogeneous Connectivity. There's something called Heterogeneous Connectivity that could work for you - depends on what
    version of Oracle you're on and what OS. You basically set up an ODBC data source on the Oracle server and modify the listener.ora
    and tnsnames.ora files. You can then create a database link to SQL Server just like you would to any other Oracle database. You can
    check your Oracle documentation for how this works. There's also some very good documents on Metalink that tell you how to do this
    as well as a Heterogeneous Connectivity forum on this site.
    3. Use the exec_sql package available in Developer 2000. This allows you to open and execute cursors to remote databases within
    Developer. We have an account validation process that uses this - when a person enters an account number in a form while logged
    into Oracle it validates the account is valid in our main accounting DB2 database. We also pull HR information from DB2 into Oracle
    this way. If you're using Forms 6i exec_sql is a built-in command, in Forms 5.0 and 5.5 you have to add it as an attached library to
    the form. I think you also need the OCA options installed from the Developer software to have access to the library in Forms 5.0 and
    5.5. The library will be in the $ORACLE_HOME\oca20\plsqllib directory for these versions. The Developer documentation should have
    additional information.
    HTH

  • Can't connect to local MySQL server through socket '/var/mysql/mysql.sock'

    I'm using the pre-installed versions of php and mysql under Mac OS X Server 10.4.4 running on a G4 and am unable to get anything involving mysql to work.
    I ssh to the server and enter various commands in Terminal:
    on typing "mysql" I get
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)
    and on typing "mysqladmin version" I get
    mysqladmin: connect to server at 'localhost' failed
    error: 'Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)'
    Check that mysqld is running and that the socket: '/var/mysql/mysql.sock' exists!
    On typing "sudo mysqld_safe" I get
    Starting mysqld daemon with databases from /var/mysql
    STOPPING server from pid file /var/mysql/MyServer.local.pid
    070722 16:06:05 mysqld ended
    /var/mysql/MyServer.local.err contains
    070722 16:06:04 mysqld started
    070722 16:06:04 [Warning] Setting lowercase_tablenames=2 because file system for /var/mysql/ is case insensitive
    070722 16:06:04 InnoDB: Database was not shut down normally!
    InnoDB: Starting crash recovery.
    InnoDB: Reading tablespace information from the .ibd files...
    InnoDB: Restoring possible half-written data pages from the doublewrite
    InnoDB: buffer...
    070722 16:06:05 InnoDB: Starting log scan based on checkpoint at
    InnoDB: log sequence number 0 43634.
    /var/mysql has permissions 775.
    The line
    mysql.default_socket = /var/mysql/mysql.sock
    is in /etc/php.ini
    whereis mysqladmin ->
    /usr/bin/mysqladmin
    whereis mysql ->
    /usr/bin/mysql
    ls /var/mysql ->
    MyServer.local.err
    ib_logfile1
    mysql
    ib_logfile0
    ibdata1
    test
    Can't find my.cnf or my.ini anywhere
    Can't find mysql.sock anywhere
    I'm trying to get a bug database running (mantis) under Mac OS X Server 10.4.4 that I can access from local clients.
    I'm trying to follow directions at http://www.mantisbugtracker.com/manual/manual.installation.php
    without knowing anything about mysql or php and I'm stuck on step 3:
    "Next we will create the necessary database tables and a basic configuration
    file."
    I get a message saying
    "Does administrative user have access to the database? ( Lost connection to MySQL server during query )"
    I don't even know if following the mantis directions has resulted in the creation of a database or not. Where would it be?
    Thanks for any help.
    Intel iMac   Mac OS X (10.4.10)  

    I've just done a clean install of OSX Server and added the latest MYSQL packaged installer. Afterwards I found the lock file in /private/tmp/mysql.lock
    The easiest way to solve this problem is to create a symbolic link so that the lock file appears to be in right place.
    e.g.
    cd /var
    sudo mkdir mysql <== this assumes the directory is missing
    cd mysql
    sudo ln -s /private/tmp/mysql.sock mysql.sock
    After this msql commands should work fine, and you've not fiddled with the security settings on users/groups.
    HTH
    Christian

  • "Can't connect to local MySQL server through socket '/tmp/mysql.sock'"

    Data Services=3.1
    Repository=12.2.2.0000
    Red Hat Enterprise 5
    Designer,Job Server,Job Engine=12.2.2.3
    After an unscheduled server reboot with DS up and running when trying to start a job in either Data Services Management Console or DS Designer getting the following:
    "Can't connect to local MySQL server through socket '/tmp/mysql.sock'"
    The mysql.sock have never been in /tmp and on the production server it does not exist there and the production server is up and running correctly. If a link is created to mysql.sock(/home/user/boedge31/bobje/mysql) the job will start but return this message: 
    "Cannot retrieve <Version> from the repository. Additional database information: <SQL submitted to ODBC data source <localrepo> resulted in error <MySQL ODBC 3.51 Driver mysqld-5.0.46-enterprise No database selected>. The SQL submitted is <select VERSION, SECURITYKEY, GUID from AL_VERSION where NAME = 'Repository Version'"
    I checked and AL_VERSION and the Version field exist. 
    Before the shut down DS was working correctly and had no issues.  My best guess is a part of the repository was corrupted during the unscheduled shut down.  It seems like DS has "forgotten" some of the settings.  
    Any suggestions on a possible solution?

    The issue has been solved. 
    There was a bad path in $LD_LIBRARY_PATH.
    Removed the path and DS started working again.

  • TS1373 how can i connect my iphone to computer through usb using windows 8?

    how can i connect my iphone to computer through usb using windows 8?

    If iTunes is installed, you just connect the iPhone to USB.
    http://support.apple.com/kb/HT1386
    You can also sync to iTunes using WiFi.

  • Can we connect to oracle 9i using vb6.0 in 64 bit machine.

    Can we connect to oracle 9i using vb6.0 in 64 bit machine.
    Code i have written is
    dim conn as new ADODB.Connection
    conn.open("Provider=MSDAORA.1;password=pw;user id=usname;data source=dbname;Persist Security info=false")
    but it is throwing an error saying
    "Connection not open"
    But the same code is working in vb.net.
    Do we need to install any providers for 64 bit machine?

    I have had no luck doing this in the 64-bit ODAC or otherwise. If anybody succeeds I would love to hear about it. My experience follows for those interested:
    I am trying to migrate some working VB6 code from Windows 2000 Server to 64-bit Windows Server 2003 but can't get the OLEDB connection to Oracle to work.
    In the working code (x86 environment), I am using ADO 2.8 and Microsoft OLEDB Provider for Oracle (MSDAORA). Since the Microsoft OLEDB provider for Oracle is no longer supported or available on Windows Server 2003 x64, I tried to use the 32-bit Oracle OLEDB provider in ODAC 10.2 but may have run into the parsing bug posted on MSDN (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=159581). Next, I successfully installed the beta 64-bit version of ODAC 10.2, but when I try to open the connection I receive "Error 3706 Provider cannot be found. It may not be properly installed." However, I can successfully TNSPing the data source.
    Windows Server 2003 x64 (not Itanium)
    Oracle Enterprise 9.2
    Microsoft Visual Basic 6
    Microsoft ADO 2.8 (Objects & Recordset references)
    Oracle OLEDB Provider (ODAC 10.2, 64-bit)
    Code Snippet:
    Set m_dbConn = New ADODB.Connection
    With m_dbConn
    .ConnectionString = "Provider=OraOLEDB.Oracle;Data Source=oplprod; User ID=myid; Password=mypwd;"
    .ConnectionTimeout = 10
    .CursorLocation = adUseClient
    .Open
    End With

  • Can FDMEE connect to oracle table as source system?

    Can FDMEE connect to oracle table as source system?

    Hi Experts ,
    I am new to FDMEE .
    I am loading data from Oracle RDBMS to Essbase/Planning using Open Interface Adapter , as per the steps mentioned in the Erpi_admin guide , i have populated the AIF_OPEN_INTERFACE table with data and configured FDM stuffs ( Mappings , Import Format , Location , Data Rule etc ) . During IMPORT getting the error "
    2014-01-28 17:45:24,018 FATAL [AIF]: Error in CommData.insertImportProcessDetails
    Traceback (most recent call last): File "<string>", line 2304, in insertImportProcessDetailsRuntimeError: No periods were identified for loading data into table 'TDATASEG'."
    Just to confirm that i have done the Period Mapping as well .
    Please guide me to load the data using Open interface adapter .
    Thanks,
    Amit

  • Oracle 6i Forms can't connect to Oracle XE Database(Linux)

    What is the problem, I can't connect my Oracle 6i Forms to Oracle XE Database that installed on Linux(Fedora Core 4/Ubuntu 6.06), but no problem when I try to connect to Oracle XE Database that installed on Windows.
    Thanks,

    See this thread, seem me interesting
    Re: Trouble to start Oracle XE listener
    on forms 10g it's work:
    using Database XE and Forms 10g
    and see too:
    http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html
    http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm
    http://www.oracle.com/technology/tech/linux/install/xe-on-kubuntu.html
    Regards

  • ./mysqlshow: Can't connect to local MySQL server through socket '/tmp/mysql

    hi all ,I install mysql on Solaris 10 at first it work fine , but after I restart my PC and go back again I got error on
    ./mysqlshow: Can't connect to local MySQL server through socket '/tmp/mysql
    I google , but still not sure how to deal with it
    Thank you

    I've just done a clean install of OSX Server and added the latest MYSQL packaged installer. Afterwards I found the lock file in /private/tmp/mysql.lock
    The easiest way to solve this problem is to create a symbolic link so that the lock file appears to be in right place.
    e.g.
    cd /var
    sudo mkdir mysql <== this assumes the directory is missing
    cd mysql
    sudo ln -s /private/tmp/mysql.sock mysql.sock
    After this msql commands should work fine, and you've not fiddled with the security settings on users/groups.
    HTH
    Christian

Maybe you are looking for

  • Bluetooth not available in Windows 8.1 for ProBook 6360b

    Installed Windows 8.1 64-bit on ProBook 6360b, however I am unable to turn on  bluetooth in Windows. In Wireless devices section in the pictur below, there should be "Bluetooth" to turn on/off, but it is completelly missing. Checked in BIOS - Bluetoo

  • How do i deleate firefox from my computer?

    dont like it..my landline has buzzing sound since i downloaded firefox

  • Bill of Lading field in VL06I

    Dear MM Gurus, I am capturing the Bill of Lading Number in the 'Header > Shipment > Bill of Lading field', T/code: VL31N.  But when I execute the report VL06I the field Bill of Lading is not available.  Can anybody please advise how to bring the fiel

  • Converting Movie for iPod

    So, I have an .MPG file that i want to work on an ipod... but when i do the whole Advanced > Convert Selection for iPod thing which turns it in to an .MP4 file... the sound of the movie goes away. Is there a way to fix it so it doesnt... or is there

  • Merging data with the cloud

    Backed up on the cloud, I have my latest data, however on my iphone I have Notes data that is not in the cloud. How can I merge the Notes with the data on the cloud so that everything is the latest information and data ? Thanks