Home » Developer & Programmer » JDeveloper, Java & XML » Io Exeption: SO Exception was generated AND no ocijdbc9
Io Exeption: SO Exception was generated AND no ocijdbc9 [message #91692] Sat, 11 January 2003 04:44 Go to next message
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 #91828 is a reply to message #91692] Wed, 12 March 2003 08:46 Go to previous messageGo to next message
Frank
Messages: 7901
Registered: March 2000
Senior Member
You need to set LD_LIBRARY_PATH point to $ORACLE_HOME/lib
Re: Io Exeption: SO Exception was generated AND no ocijdbc9 [message #91840 is a reply to message #91692] Wed, 02 April 2003 21:54 Go to previous messageGo to next message
darrin
Messages: 2
Registered: April 2003
Junior Member
I am having the same problem, but setting LD_LIBRARY_PATH doesn't work. I am using Oracle 8i, on Windows 2000.
Re: Io Exeption: SO Exception was generated AND no ocijdbc9 [message #92236 is a reply to message #91840] Fri, 30 April 2004 05:48 Go to previous messageGo to next message
SD
Messages: 16
Registered: March 2000
Junior Member
gee - that's too bad
Re: Io Exeption: SO Exception was generated AND no ocijdbc9 [message #92496 is a reply to message #91828] Sun, 15 August 2004 08:07 Go to previous messageGo to next message
Arthur
Messages: 9
Registered: May 2002
Junior Member
Set the vairable does not solve the problem

I got exactly same problem, I use Oracle 10g with Tomcat 4.1 and Apache 2.0.48. Please let me know if anyone of you know the solution.
Re: Io Exeption: SO Exception was generated AND no ocijdbc9 [message #92497 is a reply to message #92496] Sun, 15 August 2004 11:35 Go to previous messageGo to next message
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 Go to previous message
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
Previous Topic: xml syntax
Next Topic: Package javax.servlet.http not found in import
Goto Forum:
  


Current Time: Mon Nov 25 20:38:07 CST 2024