Io Exeption: SO Exception was generated AND no ocijdbc9 [message #91692] |
Sat, 11 January 2003 04:44 |
kake
Messages: 2 Registered: January 2003
|
Junior Member |
|
|
My database version is oracle8.15,
I use jdk1.4 so I download new jdbc driver from oracle website.Its version is Oracle9i Release 2 (9.2.0.1).
1. When connect in thin mode, I set the classpath include ojdbc14_g.jar,ocrs12.zip, and nls_charset12.zip, but the error occured: Io Exeption: SO Exception was generated
2. When connect in oci mode, I set the classpath include ojdbc14_g.jar,ocrs12.zip,nls_charset12.zip, and oci_nt.tar. The error occured: no ocijdbc9. But I have include the oci_nt in the classpath and this ocijdbc9 is just in the oci_nt.tar.
How to solve these two problem. Please help me.Thanks
|
|
|
|
|
|
|
Re: Io Exeption: SO Exception was generated AND no ocijdbc9 [message #92497 is a reply to message #92496] |
Sun, 15 August 2004 11:35 |
Arthur
Messages: 9 Registered: May 2002
|
Junior Member |
|
|
I finally got the thin driver working. My code is as follow:
private final static String JDBC_CONNECT_STRING =
"jdbc:oracle:thin:@LION:1521:ORCL";
private final static String JDBC_USER_NAME = "xxxxx";
private final static String JDBC_PASSWORD = "12345";
/********************************************/
OracleDataSource ods = new OracleDataSource();
ods.setUser(JDBC_USER_NAME);
ods.setPassword(JDBC_PASSWORD );
ods.setURL(JDBC_CONNECT_STRING);
conn = (OracleConnection)ods.getConnection();
|
|
|
Re: Io Exeption: SO Exception was generated AND no ocijdbc9 [message #92564 is a reply to message #92497] |
Sat, 18 September 2004 14:17 |
JOHN
Messages: 182 Registered: April 1998
|
Senior Member |
|
|
I have the same problem:
I want to create a connection pool from Weblogic 7.0 console and when I select target server (which is say, MyServer) and click button "create" and failed, the error message sth like:
...
Io Exeption: SO Exception was generated
...
Could someone tell me? thank in advance !!
John
|
|
|