DBAsupport.com Forums - Powered by vBulletin
Results 1 to 7 of 7

Thread: Java connectivity to ORacle 816

  1. #1
    Join Date
    Nov 2000
    Posts
    224

    Question

    I installed on Oracle 816 on one of our server, our Java program which is working fine with ORacle 805 server doesn't work with Oracle 816.

    I get this error.

    java.sql.SQLException: No more data to read from socket
    [DBConnection.class] Error! Could not establish connection.
    java.lang.NullPointerException:

    What may be probable cause of this error.

    Is their any change I have to make to 816 server.

    Thanks.

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Are you using the updated 8.1.6 client and JDBC?
    Jeff Hunter

  3. #3
    Join Date
    Nov 2000
    Posts
    224
    I am not sure what to answer your question Jeff.

    I did new installation of Oracle 816, created the schema and trying to access the database.

    I am using Oracle thin driver in Java Application

    jdbc:oracle:thin:scott/tiger@112.11.16.18:1521:ORCL

    Same works fine, if I change the IP address of server that has Oracle 805.
    The error occurs in getconnection object.

    con = DriverManager.getConnection("jdbc:oracle:thin:" .......)

    Thanks.

  4. #4
    Join Date
    Nov 2000
    Posts
    224

    Need Immediately

    Please Help me in resolving this problem.

  5. #5
    Join Date
    Dec 1999
    Posts
    1
    Please make sure that you have included classes12.zip in your CLASSPATH.

  6. #6
    Join Date
    Nov 2000
    Posts
    224
    I have classess111.zip and classes12.zip in my CLASSPATH.

    ;c:\oracle816\jdbc\lib\classes12.zip


  7. #7
    Join Date
    Feb 2001
    Posts
    17
    Please check the tnsnames.ora file to find the

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width