JDBC for Oracle 8i (8.1.5)in JRE 1.2
I'm trying to connect to Oracle 8i dbms (8.1.5) thru an applet.
In JDeveloper 2.0 environment (with JDK1.2) it works fine, but
at netscape 4.5 with JRE plug-in version 1.2, it throws an
exception from oracle connection "No Suitable Drive".
I've read the FAQ regarding the issue and tried to use the
following JDBC versions, facing the same problem:
JDBC for 8.0.5 (classes111.zip)
JDBC for 8.1.5 (classes111.zip)
JDBC for 8.1.6 (classes12.zip)
JDBC for 8i - 8.1.5 (of Jdeveloper 1.1)
BTW, All of the above JDBC versions connects fine under netscape
to oracle 7.3, oracle 8.0.5.
(I've tried JRE 1.2.2 as well but no success)
PLEASE HELP !!!!
null
Have you tried setting the CLASSPATH and related JDBC environment
variables so that your JDBC app recognizes the Driver that you're
calling when registering? Have you done a version string check
on that driver's class itself from the command line?
(java jdbc.xxxx.Driver)
HTH
Avi (guest) wrote:
: I'm trying to connect to Oracle 8i dbms (8.1.5) thru an applet.
: In JDeveloper 2.0 environment (with JDK1.2) it works fine, but
: at netscape 4.5 with JRE plug-in version 1.2, it throws an
: exception from oracle connection "No Suitable Drive".
: I've read the FAQ regarding the issue and tried to use the
: following JDBC versions, facing the same problem:
: JDBC for 8.0.5 (classes111.zip)
: JDBC for 8.1.5 (classes111.zip)
: JDBC for 8.1.6 (classes12.zip)
: JDBC for 8i - 8.1.5 (of Jdeveloper 1.1)
: BTW, All of the above JDBC versions connects fine under
netscape
: to oracle 7.3, oracle 8.0.5.
: (I've tried JRE 1.2.2 as well but no success)
: PLEASE HELP !!!!
null
Similar Messages
-
Where can i find the Oracle JDBC for Oracle RDBMS 8.1.7 ? Thanks.
Where can i find the Oracle JDBC for Oracle RDBMS 8.1.7 ? Thanks.
http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html
-
Hello folks,
I have this issue:
i develop a java application using JBUILDER 9 under windows where the application use jdbc for connection to oracle,i add the jdbc package from the tools>configure jdk...... and so, under windows everything works fine.
what i want is to run my program under unix, also when trying to compile the program under unix i got the error on the jdbc package, please can anyone help with how to import the jdbc package, where i must put it on unix under which folders, and how to import to my class, a small example will help a lot, and thank you...Just make sure your Oracle JDBC is on your class path!
-
How to install JDBC for Oracle 8.0.5
Dear Friends,
I am quite troubled in how to install JDBC Driver for Oracle 8.0.5 in Turbo Linux 7.0.
I have got the file jdbc8052-sol.zip(class102.zip,class111.zip & liboci805jdbc.so), and extracted them into the /usr/lib.
Setup the CLASSPATH and execute the ldconfig command, but the ldconfig is not executed well. Errors is :
following "/usr/lib/liboci805jdbc.so" is not a shared object file.
What should I do can setup the JDBC? Help!
If you can, my friends, please answer here or write to me : [email protected]
Jacky.
Feb 4. 2002Dear Amardeep,
The OP opened 2 threads, one how to clone and other one how to rename a database 8. The article I send show how to clone the DB (one of the steps in the clone article is how to rename the DB from"PROD" to "Test"). ;)
This is the other thread:
easy way to clone database
Cheers,
Francisco Munoz Alvarez
www.oraclenz.com -
hi,
ive downloaded the Oracle JDBC-drivers for Oracle 8.05 and
JDK1.1 from the oracle homepage.
but there are NO install instructions.
the oracle installer wont install the drivers cause it is not
a .prd file.
it is a .zip file including 2 zip files (classes111/102.zip and
two dlls:oci805Jdbc.dll and oci805Jdbc_g.dll)
why dont they deliver a manual?? im going crazy i really have to
install this drivers but ive no idea what to do.
and: do i have to uninstall jdk1.3 before i install 1.1?
plz helpI have posted a bunch of useful Oracle links before at:
http://forum.java.sun.com/thread.jsp?forum=48&thread=187964&start=0&range=15#608968
specifically for installation instructions:
http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/a83728/05confi3.htm#1003460
note: I would suggest that you download the latest jdbc drivers( for Oracle 8.1.7) because they are backward compatible and have solved many bugs that may be lurking in an older version. The download link is provided in my first link above. Also classes12.zip is the latest set of jdbc drivers and it looks like your installation didn't come with them.
Jamie -
JDBC for Oracle 8.1.5
Hello Guys,
I have oracle 8.1.5 with java 1.2.2. But, the problem is that i cann't connect to oracle through jdbc. Problem is that it cann't create the jdbc. Can any one help me?As far as I am aware - and I may be wrong - there is a bug in 8.1.5 with JDBC.
Apparently there is a patch around somewhere for it... -
OIM 9.1.0.2 - Weblogic JDBC Multi Data Sources for Oracle RAC
Does OIM OIM 9.1.0.2 BP07 support Weblogic JDBC Multi Data Sources (Services>JDBC>Multi Data Sources) for Oracle RAC instead of inserting the "Oracle RAC JDBC URL" on JDBC Data Sources for xlDS and xlXADS (Services>JDBC>Data Sources> xlDS|xlXADS > Connection Poll> URL) ?
If yes, is there are any other modifications that need to be made on OIM, or just changing the data sources?Yes, it's supported. You install against one instance directly of the Rac Server. Then you update the config.xml file and the jdbc resource in your weblogic server with the full rac address. It is documented for installation against RAC. http://docs.oracle.com/cd/E14049_01/doc.9101/e14047/database.htm#insertedID2
-Kevin -
JDBC drivers for oracle 8.0.5 on HP UX 11.0
Where do I find JDBC drivers for oracle 8.0.5 on HP UX 11.0?
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by greg freda ([email protected]):
Where do I find JDBC drivers for oracle 8.0.5 on HP UX 11.0?<HR></BLOCKQUOTE>
Did you find out where you can find the drivers for Oracle 8.0.5 HP-Unix ?? -
JDBC for JDK1.1 connection with Oracle 8.0.5
I have a client running Oracle 8.0.5 on an NT machine. I have downloaded the 8.0.5 OCI8 and thin JDBC from Oracle web site.
Using the JdbcChecker.java sample code, I am unable to make a connection to the Oracle DB. I tested JDK1.1.8 with the new jdbc and also with the jdbc that originally came with Oracle (orant\jdbc\lib) but to no avail. I tested JDK1.2.2 with the 8.1.5 jdbc, also no luck. I compiled and ran the code each time, using
DriverManager.getConnection("jdbc:oracle:thin:@" + database, username, password);
where database is a.b.c.d:port_no:sid
The error that came out for jdk1.1.8 was:
(after printing out 'connecting...')
java.sql.SQLException: Refused: ROR=(CODE=12505) (EMFI=4)))) ....
Is there a daemon or something that is not running? I am new to Oracle but not to jdbc. My client has used Oracle a lot but not doing any java programming with it.
What am I missing here?
Thanks.Could you verify that the listener for the database is configured properly and that it is running?
-
How to set JDBC Data Sources in Oracle MapViewer for Oracle database 12c Release 1 (12.1.0.1)?
The following is my configuration in the conf\mapViewerConfig.xml:
<map_data_source name="mvdemo12"
jdbc_host="127.0.0.1"
jdbc_sid="orcl12c1"
jdbc_port="1522"
jdbc_user="mvdemo"
jdbc_password="7OVl2rJ+hOYxG5T3vKJQb+hW4NPgy9EN"
jdbc_mode="thin"
number_of_mappers="3"
allow_jdbc_theme_based_foi="true"
editable="true"/>
<!-- **** -->
But it does not work.
After use "sqlplus mvdemo/[email protected]:1522/pdborcl", it connected to the Oracle database 12c.
Does anyone know it?
Thanks,For 11.1.1.7.1 use the syntax for jdbc_sid, i.e.
//mypdb1.foo.com as described in the README,
- MapViewer native (non-container) data sources can now use database service name in place of SID. To supply a db service name, you will use the same jdbc_sid attribute, but specify the service name with double slashes in front, such as follows:
<map_data_source name="myds"
jdbc_host="foo.com"
jdbc_sid="//mypdb1.foo.com"
jdbc_port="1522"
/>
For 11.1.1.7.0 use a container_ds instead.
i.e. instead of using
<map_data_source name="my_12c_test"
jdbc_host="mydbinstance"
jdbc_sid="pdborcl12c"
jdbc_port="1522"
jdbc_user="mytestuser"
jdbc_password="m2E7T48U3LfRjKwR0YFETQcjNb4gCMLG8/X0KWjO00Q="
jdbc_mode="thin"
number_of_mappers="6"
allow_jdbc_theme_based_foi="false"
editable="false"
/>
use
<map_data_source name="my_12c_test"
container_ds="jdbc/db12c"
number_of_mappers="6"
allow_jdbc_theme_based_foi="false"
editable="false"
/>
In my case the Glassfish 3.1.2.2 JDBC connection pool definition was
Property
url jdbc:oracle:thin:@mydbinstance:1522/pdborcl12c.rest_of.service.name
Uncheck the Wrap JDBC Objects option in Advanced panel, i.e. the Edit JDBC Connection Pool Advanced properties page.
Add a JDBC resource for that newly created pool
Use that in mapviewerconfig.xml as above -
Does j2me support jdbc for Palm Oracle Lite(8i/9i)
I have a requirement to develop an application in Java for PALM OS with Oracle Lite 8i/9i connectivity. does j2me support jdbc for Palm Oracle Lite(8i/9i). Please help me to know what all java VM available in the market which have oracle connectivity(jdbc/odbc/whatever) for Oracle Lite for PALM.
thanks
dkPleae some one reply, if j2me/kvm supports jdbc/odbc connectivity to oracle lite 9i/8i on palm
thanks
dk -
Required appropriate OCI JDBC driver for Oracle 9i
Required appropriate OCI JDBC driver for Oracle 9i Enterprise Edition Release 9.2.0.6.0.
Stick to one thread please.
http://forum.java.sun.com/thread.jspa?messageID=9552360 -
Required appropriate JDBC driver for Oracle 9i
Required appropriate JDBC driver for Oracle 9i Enterprise Edition Release 9.2.0.6.0.
And?
Download them from the Oracle website or get them from your Oracle client application's jdbc directory. -
Choosing jdbc driver for Oracle 9.0.1 with sdk 1.4.1?
Hi all experts...
I am really beating my head over this... I had java sdk 1.3.1 installed and i am writing an application for oracle database 9.0.1 The driver i had was a classes12.zip file that i included in the classpath to run the application.
Now, i have upgraded my java to 1.4.1 but my application is not picking up the zip file anymore! I am getting No suitable driver:08001 error and NoClassDefFoundError. I checked the oracle website, they dont have a 9.0.1 driver for sdk 1.4.
Is my current driver compatible?
Do i have to upgrade my oracle DB to 9.2 and use another driver?
Or is just one of those classpath problems?
Part of my code is given below:
private static Statement createStatement(String driver, String url, String user, String password)throws IllegalArgumentException, SQLException, ClassNotFoundException
if (url == null || driver == null)
throw new IllegalArgumentException("No database specified");
try
Class.forName(driver);
catch(ClassNotFoundException e)
System.out.println("Class not found: "+driver);
conn = DriverManager.getConnection(url, user, password);
return conn.createStatement();
CLASSPATH=C:\projects\MauiWSxml\resources\classes12.zip;
I will be grateful to any help ...Pleeeeessseeee
Thanks in advanceGreat progress! Excellent!
I'd recommend that you get rid of that CLASSPATH system variable immediately. Don't use it anymore.
I don't know what code you're using, but I KNOW that what I'm posting next will work:
import java.sql.*;
import java.util.*;
public class DataConnection
public static final String DEFAULT_DRIVER = "sun.jdbc.odbc.JdbcOdbcDriver";
public static final String DEFAULT_URL = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\\Edu\\Java\\Forum\\DataConnection.mdb";
public static final String DEFAULT_USERNAME = "admin";
public static final String DEFAULT_PASSWORD = "";
/** Database connection */
private Connection connection;
* Driver for the DataConnection
* @param command line arguments
* <ol start='0'>
* <li>SQL query string</li>
* <li>JDBC driver class</li>
* <li>database URL</li>
* <li>username</li>
* <li>password</li>
* </ol>
public static void main(String [] args)
DataConnection db = null;
try
if (args.length > 0)
String sql = args[0];
String driver = ((args.length > 1) ? args[1] : DEFAULT_DRIVER);
String url = ((args.length > 2) ? args[2] : DEFAULT_URL);
String username = ((args.length > 3) ? args[3] : DEFAULT_USERNAME);
String password = ((args.length > 4) ? args[4] : DEFAULT_PASSWORD);
db = new DataConnection(driver, url, username, password);
Object result = db.executeSQL(sql);
System.out.println(result);
else
System.out.println("Usage: db.DataConnection <sql> <driver> <url> <username> <password>");
catch (SQLException e)
System.err.println("SQL error: " + e.getErrorCode());
System.err.println("SQL state: " + e.getSQLState());
e.printStackTrace(System.err);
catch (Exception e)
e.printStackTrace(System.err);
finally
if (db != null)
db.close();
db = null;
* Create a DataConnection
* @throws SQLException if the database connection fails
* @throws ClassNotFoundException if the driver class can't be loaded
public DataConnection() throws SQLException,ClassNotFoundException
this(DEFAULT_DRIVER, DEFAULT_URL, DEFAULT_USERNAME, DEFAULT_PASSWORD);
* Create a DataConnection
* @throws SQLException if the database connection fails
* @throws ClassNotFoundException if the driver class can't be loaded
public DataConnection(final String driver,
final String url,
final String username,
final String password)
throws SQLException,ClassNotFoundException
Class.forName(driver);
this.connection = DriverManager.getConnection(url, username, password);
* Clean up the connection
public void close()
try
this.connection.close();
catch (Exception e)
; // do nothing; you've done your best
* Execute ANY SQL statement
* @param SQL statement to execute
* @returns list of row values if a ResultSet is returned,
* OR an altered row count object if not
* @throws SQLException if the query fails
public Object executeSQL(final String sql) throws SQLException
Object returnValue = null;
Statement statement = this.connection.createStatement();
boolean hasResultSet = statement.execute(sql);
if (hasResultSet)
ResultSet rs = statement.getResultSet();
ResultSetMetaData meta = rs.getMetaData();
int numColumns = meta.getColumnCount();
List rows = new ArrayList();
while (rs.next())
Map thisRow = new LinkedHashMap();
for (int i = 1; i <= numColumns; ++i)
String columnName = meta.getColumnName(i);
Object value = rs.getObject(columnName);
thisRow.put(columnName, value);
rows.add(thisRow);
rs.close();
statement.close();
returnValue = rows;
else
int updateCount = statement.getUpdateCount();
returnValue = new Integer(updateCount);
return returnValue;
}Put this code in a directory with your classes12.zip. Type:
javac -d . -classpath classes12.zip DataConnection.javaYou should get a DataConnection.class file in that directory. Then type:
java -classpath classes12.zip DataConnection <sql> oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@<host>:1521:<database> <username> <password>where <sql> is any SQL statement that will work against your Oracle instance, <host> is the database server, <database> is the Oracle instance, <username> and <password> give you access to Oracle. (DON'T type the chevons <> - I just included them for illustration.)
If that won't connect, change the name of classes12.zip to classes12.jar and try again.
This WILL work. - MOD -
Oracle JDBC Thin Driver for oracle 9.2.0.4
Hi,
It would be nice if someone please guide me to the download of Oracle JDBC Thin Driver for oracle 9.2.0.4.
Thanks in anticipationuser566773,
As far as I know, all Oracle JDBC drivers are meant to be backward compatible.
According to the table on the following Web page, the latest Oracle JDBC driver can be used with Oracle 9.2.0.x DBMS.
http://www.oracle.com/technology/tech/java/sqlj_jdbc/index.html
Good Luck,
Avi.
Maybe you are looking for
-
Mini Displayport to DVI Adapter not sending signal to DVI Monitor
I have a dell monitor connected to my Thunderbolt Display that will not get a signal. The component string looks like this MBP - Thunderbolt Display- Mini Displayport to DVI adapter- Dell 22" DVI monitor. I would like to use this monitor as a third
-
Error in XSLT Mapping when special character is passed through
Hi Experts, We have used the XSLT mapping. When ever any special character like é is being passed, then the below mentioned error is displayed in the Integration engine. Error occurred during XSLT mapping of the application It is working fine with no
-
SharePoint 2010 Allow User to Add Comments to Files in a Library and to the Header of the Web-Page
(1) I need to allow an end-user to be able to add comments to files either when they are added to a library or after they are added. I didn't see a Column available for adding to a Document Library for "Comments". (2) I need the same user to be able
-
Finding SQL Server licensing information for 2005 and above.
I can use SELECT serverproperty('LicenseType'), serverproperty('NumLicenses') on SQL Server 2000 but these server properties are no longer being returned in SQL Server 2005 and later. This information doesn't seem to be recorded in the registry for
-
Problem installing Sun One DS 5.2
I'm having a little trouble installing the iPlanet Directory Server 5.2 on Solaris 9. I get the error: error: initialization failure:Unable to initialize the NSS subcomponent. Configuration of the Directory Server failed. Error Directory Server confi