File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and Relational Databases and the fly likes Is it the error of oci8?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Is it the error of oci8??" Watch "Is it the error of oci8??" New topic
Author

Is it the error of oci8??

Shiyori Okahashi
Greenhorn

Joined: Dec 17, 2001
Posts: 3
Hello. Excuse me, please let me know.
When performed using oci8 connection, the following errors came out at the time of DB connection.

--------------------------------------------------------------
Error!!
java.rmi.ServerException: RemoteException occurred in server.; nested exception
is:
java.rmi.RemoteException: make_c_state
java.rmi.RemoteException: make_c_state
<<no stack trace available>>
--------------------------------------------------------------
What thing can be considered as a cause?
Please give a professor.
[ Edited by Dave to fix code, and < problems ]
[This message has been edited by David O'Meara (edited December 18, 2001).]
Stanley Tan
Ranch Hand

Joined: May 17, 2001
Posts: 243
I just spent the last couple of days with the same problem. I think the problem is that the JREs are not in sync with each other. Oracle 8 comes with JRE 1.1.1 and you may be using JDK1.3, for example.
To make life easier, just use the thin drivers
Shiyori Okahashi
Greenhorn

Joined: Dec 17, 2001
Posts: 3
Thank you.
I am sorry when it is an elementary question.
What is it in JRE 1.1.1?
Incidentally, JDK1.3 is used.
Shiyori Okahashi
Greenhorn

Joined: Dec 17, 2001
Posts: 3
I am often sorry.
What kind of meaning is 'make_c_state' to add and which is an error message?
Thank you for your cooperation.

Stanley Tan
Ranch Hand

Joined: May 17, 2001
Posts: 243
The JRE 1.1.1 is the version before 1.3. It is very old.
Originally posted by Shiyori Okahashi:
Thank you.
I am sorry when it is an elementary question.
What is it in JRE 1.1.1?
Incidentally, JDK1.3 is used.

Stanley Tan
Ranch Hand

Joined: May 17, 2001
Posts: 243
It means that something isn't right. The state of the machine (?) just isn't correct.
Try using the Oracle thin drivers instead of the OCI drivers. I did that and it worked for me
Originally posted by Shiyori Okahashi:
I am often sorry.
What kind of meaning is 'make_c_state' to add and which is an error message?
Thank you for your cooperation.


 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Is it the error of oci8??