-
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.
-
Are you using the updated 8.1.6 client and JDBC?
Jeff Hunter
-
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.
-
Need Immediately
Please Help me in resolving this problem.
-
Please make sure that you have included classes12.zip in your CLASSPATH.
-
I have classess111.zip and classes12.zip in my CLASSPATH.
;c:\oracle816\jdbc\lib\classes12.zip
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|