Date: Thu, 18 Feb 1999 14:52:04 +0200 (EET)
From: Harun Uguz <harun@eniac.cc.selcuk.edu.tr>
To: java-security@java.sun.com
Subject: netscape.security.PrivilegeManager...
Hi,
I want to reach to Oracle Database from java.
I am using JDK1.1.5,Oracle Server 8.0.3,Netscape 4.0.4 and Windows NT
Server 4.0.
According to Oracle JDBC drivers documentation :
Connecting to a database with the JDK1.0.2, you must set up the
Connection
Manager and make settings on CMAN.ORA file.
I am not using the Connection Manager.(According to doc. JDK 1.1.1 and
Oracle8
don't need Connection Manager)
When I tried the Oracle examples (jdbc\samples\thin\jdbcapplet.java) the
OTHER machine, the
applet gives an error like :
ERROR: NO MORE DATA TO READ FROM SOCKET.
DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
Connnection conn =DriverManager.getConnection
("jdbc:oracle:thin:@193.140.141.3:1521:orcl","scott",
"tiger");
the Applet's HTML code;
<applet
codebase="."
archive="http://193.140.141.3/samples/thin/classes111.zip"
code="JdbcApplet.class" width=500 height=200>
</applet>
Oracle Driver is loading but is not connection.and applet gives an error
like :
ERROR: NO MORE DATA TO READ FROM SOCKET.
What does causing this error?
Oracle's JDBC documents also says
netscape.security.PrivilegeManager.enablePrivilege("UniversalConnect");
Does the this ERROR occured from
netscape.security.PrivilegeManager.....
If occured, What is the solution?
Thank you....