JDBC/ORACLE7
Hi everyboby,
I am trying to connect to oracle database (version 7.x) via a Oracle driver jdbc).
When I deploy the code as a applet or application, it throws an exception and doesn't recognize the oracle.jdbc.driver.OracleDriver. It fails at the ClassNameFor of the driver. However, the code compiles fine without a problem in all cases. (classes111.zip)
I think this is a CLASSPATH problem as it is not looking in the right place. I tried setting the path to everything possible but still wouldn't work.
Below the error message. Please help me.
Julien Ngoulou
java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
null
Hi
I am having the same problem with
the above two versions but if I use jdk1.1.8
i.e anything below 1.2 I am able to connect to database and execute my JDBC program.
But this is not the solution as I need to use
Jdk 1.2 as I am using the EJB 1.1
If any of u have solved the problem pls let me know.
Ritesh
Similar Messages
-
ORACLE8 SERVER RELEASE 8.0.4 ENTERPRISE EDITION NEW FEATURES
제품 : ORACLE SERVER
작성날짜 : 2004-08-16
Oracle8 Server Release 8.0.4 Enterprise Edition New Features
============================================================
97.12월 Solaris용 Oracle8.0.4가 출시된 것을 필두로 Q3 중에 Major Platform용
Oracle8.0.4가 나올 것으로 예상됩니다.
8.0.4는 Oracle8 최초의 Maintenance Release이고, 각종 Bug Fix를 비롯하여
다음과 같은 영역에서 기능을 보강하였습니다:
Oracle8 and Oracle8 Enterprise Edition product factoring
Time Series Data Cartridge
Visual Image Retrieval Data Cartridge
Legato Storage Manager integration
JDBC drivers
Advanced queuing enhancements
Easing of restrictions on parallel DML operations
Improvements to national character support
Improved automation of tablespace point in time recovery (PITR)
Improved Oracle Parallel Server diagnostics
Oracle Enterprise Manager enhancements
Net8 restrictions lifted
Oracle8 및 Oracle8 Enterprise Edition Product Factoring
Oracle은 두가지의 Oracle8 server로 구분되는데 이는, Oracle8 and Oracle8
Enterprise Edition입니다. 두 제품간의 기능이나 타겟 시장의 차이는 설명않습
니다. 8.0.3과 8.0.4의 가장 중요한 차이는 소위 "Factored"개념이 적용되어
8.0.3을 구매하면 licensing하지 않은 기능과 옵션도 install/use할 수 있던
것이 이제는 licesing한 기능과 옵션만을 사용할 수 있도록 제한된다는 것입니다.
- Error Message가 뜬다고 함. (제품기술실에서는 이 사항에 대해 확인 부탁드
립니다.)
Time Series Data Cartridge
8.0.4에는 새로이 Time Series Data Cartridge가 추가되는데, 이는 Temporal
Data를 데이타베이스에서 관리할 수 있는 것으로, 즉 시계열 데이타 타입을 정의
해서 사용할 수 있다는 것입니다. (예, 캘린더를 사용자 마음대로 정의할 수
있음) 타임 시리즈 카트리지는 관계형과 객체형 인터페이스를 모두 지원하며,
서드 파티는 카트리지에서 제공하는 인터페이스를 통해 솔루션을 개발할 수 있습
니다. (SHYANG BJN, This needs to have some good examples for better
understanding, also)
Visual Information Retrieval (VIR) Cartridge
타임 시리즈 카트리지 이외에 추가되는 또 하나의 카트리지는 VIR(이미지 정보
검색용) 카트리지로서, 이미지의 속성(색깔, 구조, 질감 등)을 이용하여 검색할
수 있도록 해 줍니다.
이는 Virage라는 회사의 이미지 검색 기술-소위 "패턴 매칭 알고리즘"-을 이용한
것으로 "find me objects that look like this one." 과 같은 질의가 가능합
니다.
Legato Storage Manager 통합
8.0.4는 Legato의 Storage Manager가 통합 컴포넌트로 제공됩니다. Legato
Storage Manager는 테이프 저장 매체 관리용 유틸리티로서 이제 Oracle8에서
이를 활용할 수 있습니다. 8.0.3에서는 미디어 관리 레이어(MML:Multimedia
Management Layer)를 제공하지 않았으며, 데이타를 테이프에 백업받기 위해서는
써드파티의 MML을 구매해야 합니다.
8.0.4에서 제공되는 Legato MML은 최대 4개의 테이프 드라이버에 동시 백업이
가능한 Limited Version입니다.
JDBC Drivers
8.0.4에는 두개의 JDBC 드라이버가 포함되는데, 이를 통해 자바 프로그래머들은
Oracle7과 Oracle8에 액세스할 수 있습니다. 이중 하나는 JDBC/OCI 드라이버라고
불리우며 클라이언트/서버 자바 애플리케이션이나 자바 기반 미들티어를 개발하는
개발자들을 타겟으로 합니다. 이 드라이버는 JDBC invocations 을 Oracle Call
Interface [OCI]용 call로 바꿔주어 SQL*Net이나 Net8으로 보내 오라클 데이타
베이스를 액세스하게 합니다.
또 하나는 Thin JDBC driver라고 하는 것으로 자바 애플릿과 자바 애플리케이션
개발자들을 위한 것입니다. 이 드라이버는 자바로 코딩되어 있어 완벽하게 JDBC
표준을 따르고 있습니다. Thin JDBC driver는 대략 150K 의 크기에 (압축되지
않으면300 K) 자바 애플릿과 함께 다운로드 될 수 있습니다. 이는 Oracle8만을
지원하며, Oracle7은 지원않습니다.
두 드라이버 모두 Javasoft의 JDBC 스펙을 따르며 JDK 1.0.2와 JDK 1.1을 지원
합니다. 이들은 현재 상용화 되어있는 대부분의 browsers, tools, 그리고 Java
VMs과 사용될 수 있고, 2 티어 이상의 멀티티어 컨피규레이션을 지원합니다.
Advanced Queuing 개선
8.0.4의 Enterprise Edition은 AQ기능이 보강되었습니다. 즉, remote queuing과
de-queuing, 그리고 OCI interface 등이 추가되었고, 큐의 통계를 제공하며
Oracle Enterprise Manager와 통합되었습니다.
이제 메시지가 로컬 큐로 부터 리모트 큐로 자동 전달되고, 따라서 분산
애플리케이션의 개발과 운영이 한층 용이해졌습니다.
API는 8.0.3에서 PL/SQL API만 제공되던 것이 이제 OCI 인터페이스까지 제공됨에
따라 AQ call 실행이 개선되고, AQ 기능을 활용하는 Pro*C애플리케이션 개발이
한층 용이해졌습니다.
8.0.4에서 제공되는 큐의 통계값은 평균 큐의 길이, 대기중인 메시지의 수, 시간
초과된 메시지의 수 등을 포함하며 테이블로 유지되어 SQL문으로 조회가 가능
합니다.
큐와 관련한 관리작업을 단순화할 수 있도록 OEM이 큐를 사용하는 사용자와
오퍼레이션을 관리합니다. 큐를 생성하고, 큐를 시작하거나 정지시키는 작업, 또는
큐의 사용자를 늘리는 등의 태스크를 이제 OEM을 통해 가능합니다.
Parallel DML Operations 관련 제한 완화
Oracle8 Release 8.0.4 Enterprise Edition은 parallel DML
(Insert/Update/Delete) operations에서 비롯되는 제한 사항을 더욱 완화시켜
줍니다. 8.0.3에서는 하나의 트랜잭션에서 하나의 병렬 DML 오퍼레이션만이 가능
하였으나 8.0.4에서는 복수 개가 허용됩니다.
단 한가지 제약은, 만일 어떤 트랜잭션내에서 테이블을 병렬로 수정하는 DML
오퍼레이션이 실행되면 그 트랜잭션내에서는 더 이상 그 테이블에 대해 조회
하거나 DML을 하지 못한다는 것입니다. (다른 트랜잭션으로 처리해야 함)
National Character Support 개선
Release 8.0.4는 Korean NCHAR character set과 European sort for the
UTF8 character data를 지원합니다.
또한 Tablespace Point in Time Recovery (PITR) 자동화가 개선되었다고
합니다. 본사는 비록 이 기능이 개선되었다고 해도 수행시키는데 필요한 단계
(step) 중 몇 가지는 아주 "critical"하다고 하여 필히 Oracle Worldwide
Support를 contact 하라고 조언합니다.
Oracle Parallel Server Diagnostics 개선
8.0.4는 Oracle Parallel Server diagnostics도 개선하였습니다. Fixed global
views (GV$views) 상에서의 성능이 개선되었으며, 새로 추가된V$ view 를 통해
DLM (distributed lock manager) lock을 볼 수 있습니다.
Oracle Enterprise Manager 개선
Oracle Enterprise Manager는 Release 1.5가 Release 8.0.4와 함께 사용됩니다.
릴리즈1.5에서는 Backup Manager component 가 개선되어stored Recovery
Manager scripts를 지원합니다. 즉, 이들 스크립트를 OEM에서 편집, 관리 가능
합니다. 또한 "report wizard"가 추가되어 Recovery Manager report commands
를 위저드의 순서대로 생성가능합니다.
OEM 1.5의 schema manager 역시 오브젝트를 지원하도록 개선되었습니다. DBA는
스키마 매니저를 이용하여 객체 타입과 객체 테이블을 생성, 드롭, 관리할 수
있습니다. 스키마 매니저는 이외에도 AQ기능도 관리할 수 있게 되었습니다.
사용자들은 스키마 매니저 인터페이스를 통해 큐에 주어지는 오퍼레이션을 관리
가능합니다.
Net8 제한 완화
Net8 Release 8.0.4 역시 제한이 완화되었고, 보다 손쉬운 관리를 위해 기능이
추가되었습니다. 일례로Net8이 이제는 DCE를 지원합니다. (8.0.3에서는 지원 안함)
Net Assistant는 리스너의 컨피규레이션을 할 수 있도록 개선되었고, 마침내
커넥션 풀링과 멀티플렉싱을 동시에 "enable"할 수 있게 되었습니다.
Migration 과 Interoperability
Oracle8 Release 8.0.4 는 마이그레이션 유틸리티를 이용 기존의 Oracle7
(Release 7.1, 7.2, or 7.3) 데이타베이스를 쉽게 마이그레이션 할 수 있습니다.
마이그레이션 유틸리티는 데이타 딕셔너리를 재구축해주고, 콘트롤 화일, 로그
화일 및 데이타 블록을 바꿔줍니다.
Oracle8 Release 8.0.3 데이타베이스는 8.0.4를 인스톨하는 것으로 업그레이드가
끝납니다.Try this statement to get more information:
SELECT a.job, a.log_user, to_char(a.this_date, 'MM/DD/YYYY HH24:MI:SS'), b.sid,
to_char(a.last_date, 'MM/DD/YYYY HH24:MI:SS'), to_char(a.next_date,
'MM/DD/YYYY HH24:MI:SS'), a.total_time, a.broken, a.failures, a.Interval , a.what
from dba_jobs a, dba_jobs_running b
where a.job=b.job(+)
order by a.job
The what column should display the script you're suppose to run.
I just posted an integrated set of GUI tools to administer the Oracle database. One of the many functions is a GUI interface to Oracle Jobs. This function allows you maintain the Oracle Jobs (in the Tools section) â Create, modify, run a job. You may need same help to get started, so feel free to contact me ([email protected]). The link is http://www.barsoft.net/ -
Jdbc drive for oracle7.3.4 is not working for me
I try have download the JDBC Driver for Oracle7.3 which is 'jdbc73402-nt.zip'. When I run my testing program, I got this error message 'Exception in thread "main" LinkError: no oci804jdbc in java.library.path'.
I have compared the contents of the two classesXXX.zip files with 'jdbc80406-nt.zip'. There is no diffence between classes102.zip. The creation dates of the files are differnt between the tow classes111.zip. However the number of files and and size of each file in the two classes111.zip files are all the some.
I have also download the JDBC drive for oracle 8.0.5 for my othere pc. I can run my testing program without any problem.
Could you tell me why the jdbc73402 is looking for oci804jdbc not oci73jdbc?
Thank you very much for your help.Let's get your iPhone back up and running reeset12! My first recommendation is to try a soft reset by holding down the power and home keys. If the device doesn't respond, I recommend connecting it to a computer via the usb cable. If you are unable to get past the logo screen in either case, I recommend a hands on evaluation at a store location.
http://bit.ly/3SdsA
Sincerely,
JonathanK_VZW
VZW Support
Follow Us on Twitter@VZWSupport -
How can I install JDBC for Oracle7.3.4?
Dose Oracle7.3.4 support JDBC?
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by xtrem:
Dose Oracle7.3.4 support JDBC?<HR></BLOCKQUOTE>
What you need is Oracle JDBC Driver for java. You can download it from java.sun.com -
How to use JDBC to connect to oracle7.3.4 on remote host
I have written a small applet which runs fine on one host(Solaris
box)using appletviewer. In this program I am trying to connect
to oracle on another host and the program is working fine. The
same applet is not working from a web page.
can anyone help me out?
giving error like netscape.security.AppletSecurity.exception
and lot more exception
nullYou are restricted by the Java security sandbox from connecting
directly to another machine through the applet. You have to use
a JDBC driver located on the web server machine. Please make
sure you have installed this properly, as in appended a valid
JDBC .jar archive to your CLASSPATH.
Openlink Software has robust JDBC drivers that enable scrollable
(rowset driven) cursors. You may be interested in checking out
http://www.openlinksw.com for further info.
Our latest JDBC drivers are found at
ftp://ftp.openlinksw.com/pre-3.2/index.html
(scroll down to the very bottom - Windows section - don't worry,
they're platform independent!)
Best regards
BVReddy (guest) wrote:
: I have written a small applet which runs fine on one host
(Solaris
: box)using appletviewer. In this program I am trying to
connect
: to oracle on another host and the program is working fine.
The
: same applet is not working from a web page.
: can anyone help me out?
: giving error like netscape.security.AppletSecurity.exception
: and lot more exception
null -
JDBC ADAPTER SENDER ORACLE7.2.3
HI ALL,
We have to read data from an Oracle 7.2.3, but we are having problems In the inbound payload I can see that we have the data but is not building the xml properly, because the tags are empty. Someone haa experiencied this issue before?
Many thanks in advance!
Regards
NoeliaHi Mario,
the SQL is correct. I have checked it in Toad. I thinks this is something relative to the driver for oracle, because the jdbc adapter recover the data of the query but the info that I can see in the payload is the following:
<ns:MT_XXXXXX xmlns:ns="http://XXXX.es/xi/XXX">
<row>
<b><></b>123<b></></b>
<b><></b>PEPITO<b></></b>
<b><></b>01/01/2006<b></></b>
</row>
</ns:MT_XXXXXX>
And thats drive me to think that this is an issue with the driver, but Im not sure.
Any idea?
Many thanks
Regards
Noelia
Message was edited by: Noelia Fernandez -
I'm using IBM's WebSphere JDBC connection pool to manage oracle
connections. While the code worked normally on Sun Solaris, I
get ORA-03123, ORA-03127 etc errors on AIX. I'm closing the
resultsets, the statement handles and releasing the connection
after each SQL execution. Is this an AIX JDBC OCI driver problem
or am I missing something.
Thanks,
Ravi
nullI found problem like you but on DIGITAL UNIX 4.0D It's an
AIO Consistency Error.. did you know some thing about this??
and For your question OCI7 driver to connect to ORACLE7.3.4 are
in liboci73.so or another extension depend on your OS (I don't
know what's one on AIX) but it must come with Oracle
Installation Package you can install on AIX :>
Prashant (guest) wrote:
: Hi:
: Does any one know where I could find JDBC/OCI level 2 driver
: for AIX (4.2) running Oracle (7.3.4). All I have been able to
: locate is the NT and Solaris. Both contains classes and shared
: libraries for that machine. I saw someone posted this question
: before, however, suggestions was to use dynamic library
generated
: for Solaris, this will not work. Does anyone have other
: suggestions.
: Any and all help is appreciated.
: Many Thanks
: Prashant.
null -
We are migrating a web app from JDK 1.2 environment to a JDK 1.5 server enviroment. Previously the web app used the classes12.zip package, now we are using ojdbc14.jar for the new server environment.
Now this particular app uses Oracle7 Server Release 7.3.3.6.0. to retrieve data. I would run a query and get the result set explicitly using the column name.
sql_query = " SELECT DISTINCT(INSIDE_SALES_TEAM_NAME) AS D_INSIDE_SALES_TEAM_NAME FROM AGED_INVENTORY" ;
rset.getString("D_INSIDE_SALES_TEAM_NAME");
However, after migration to ojdc14.jar (using Oracle JDBC driver 9.2.0.8.0) I can't retrieve the resultset in the above-mentioned fashion. I will always get
java.sql.SQLException: Invalid column name
If I use the following, then I do not get any error in retrieving data from the resultset.
rset.getString(1);
Any cause for this scenario?
Thanks,
TAYes of course. I just the posted code snippet. This code used to work in old web server environment. Now we have to modify the resultset line to make it work when using ojdc14.jar.
-
NT error: service "Oracle7" in DLL "operfdll.dll" failed
We are running JavaWebServer 1.1.3 on an NT 4.0, SP 3 machine.
There are a number of Java servlets running that access an Oracle
7.3 database on another NT 4.0 machine via the Oracle JDBC driver
and sql*net.
We get the following sequence of errors in the event log,
followed by a Dr. Watson error of an access violation in
the jrew.exe (jws runtime). At this point the web server is
pretty much dead as far as trying to run any servlet.
It's strange because the last error references an Oracle service
and the operfdll.dll, which isn't even on any of the machines
involved. Does anyone have any ideas on this? I saw a thread
on another forum where someone was having the same problem,
but they were using NeXT WebObjects.
The event messages:
1) The description for Event ID ( 0 ) in Source (
\WindowServer.exe ) could
not be found. It contains the following insertion string(s):
warning: can't connect
to the nmserver; is it running?.
Source WindowsServer.exe
2) The description for Event ID ( 0 ) in Source ( \pbs.exe )
could not be
found. It contains the following insertion string(s): warning:
can't connect to
the nmserver; is it running?.
Source \pbs.exe
3) The Open Procedure for service "Oracle7" in DLL "operfdll.dll"
failed.
Performance data for this service will not be available. Status
code returned
is DWORD 0.
Source: Perflib
nullHotfix loaded but didn't help.
Found a few articles referring to rebuilding the perf counter library. I ran "lodctr /R" failed first time then worked the second time. I believe the errors:
The Open Procedure for service "WDSTFTP" in DLL "C:\Windows\system32\wdstftp.dll" failed
The Open Procedure for service "WDSServer" in DLL "C:\Windows\system32\wdssrv.dll" failed
The Open Procedure for service "WDSMC" in DLL "C:\Windows\system32\wdsmc.dll" failed
Are gone but PXE boot still fails.
Do you think I might have to uninstall WDS and reinstall? "Using SCCM console to just remove PXE"
tconners -
JDBC connection problems using JDeveloper
I am using the "Connection Manager" in JDeveloper 2.0 to create
a connection with the "Oracle JDBC OCI-7" driver. After filling
in all of the fields and pressing the "Test Connection" button I
get the following error: "Invalid Oracle URL specified:
OracleDriver.connect". I have the CLASSPATH set to point
to "C:\Program Files\Oracle\JDeveloper 2.0\jdbc\lib\oracle7.3.4
\classes111.zip" and PATH includes "C:\ORANT\bin". Any ideas?
nullRick Wright (guest) wrote:
: I am using the "Connection Manager" in JDeveloper 2.0 to
create
: a connection with the "Oracle JDBC OCI-7" driver. After
filling
: in all of the fields and pressing the "Test Connection" button
I
: get the following error: "Invalid Oracle URL specified:
: OracleDriver.connect". I have the CLASSPATH set to point
: to "C:\Program Files\Oracle\JDeveloper 2.0
\jdbc\lib\oracle7.3.4
: \classes111.zip" and PATH includes "C:\ORANT\bin". Any ideas?
In order for OCI to work JDBC drivers have to be installed on
your client machine i.e. the computer where Jdev is installed.
In you installation pack there should be a CD with Oracle 8i
client installation. Run the installer from that CD and choose
JDBC drivers. That should help.
Good luck,
Michael
null -
Hi,
I want to connect to an Oracle 7 database over JDBC. When I go to the download page, it only gives me Oracle 8 and higher download options, even though the documentation index lists an Oracle7 driver.
Does anyone know where I can get it from?
Regards,
Kelsey GrantJin Yu (guest) wrote:
: Is there a column limitation in Oracle 7 JDBC drivers ? We are
: not able to retrieve more than 11 columns in a SELECT
statement.
: Could someone get back to us on this ?
: Thanking you in advance
: Jin Yu
Hi!
I tried to use the JDBC driver to connect to Oracle 7. But had
some trouble with it.
Could you give me some hints on how to load the driver, set up
the url for database, etc?
By the way, we use JBuilder.
Thanks.
null -
Connecting Oracle 7.3.4 with JDBC drivers 8.1.6
I am on a Solaris7 with Oracle 7.3.4 and drivers 8.1.6.
My code compiles and when it runs it gives me this error below:
ld.so.1: /usr/java1.1/bin/../bin/sparc/native_threads/java: fatal: libclntsh.so.
8.0: open failed: No such file or directory (/export/home/oracle7/app/oracle/pro
duct/7.3.4/lib/libocijdbc8.so)
java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library path
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Error.<init>(Compiled Code)
at java.lang.LinkageError.<init>(Compiled Code)
at java.lang.UnsatisfiedLinkError.<init>(Compiled Code)
at java.lang.Runtime.loadLibrary(Compiled Code)
at java.lang.System.loadLibrary(Compiled Code)
at oracle.jdbc.oci8.OCIDBAccess.logon(Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(Compiled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at jversion.main(Compiled Code)
I have all my paths in my LD_LIBRARY_PATH and the file it looks for is in the specified directory, and the permissions have been set correctly. I HAVE NO IDEA WHAT THE PROBLEM IS! Thank you in advance and ANY help would be appreciated,
isaac mosqueraYou shouldn't have to do anything "special" other than provide connectivity between the two databases.
Have you tried creating the database link yet? If so, did you receive errors? If not, then try it out and find out for yourself. -
JDBC drivers for Oracle734 on Solaris7 and JDK 1.2
Hi there,
I'm trying to JDBC to an Oracle 7.3.4 running on Solaris7 while
writing JDK 1.2.2 application. Here's the trace of what's
happenning:
Connecting to the database...Connecting...
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/space/javapkg/oracle7/liboci73jdbc.so: ld.so.1:
/space/jdk1.2.2/bin/../bin/sparc/native_threads/java: fatal:
relocation error: file /space/javapkg/oracle7/liboci73jdbc.so:
symbol makeJavaString: referenced symbol not found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1330)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1254)
at java.lang.Runtime.loadLibrary0(Runtime.java:644)
at java.lang.System.loadLibrary(System.java:815)
at oracle.jdbc.oci7.OCIDBAccess.logon(OCIDBAccess.java:149)
at
oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:103)
at
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)
at java.sql.DriverManager.getConnection(DriverManager.java:515)
at java.sql.DriverManager.getConnection(DriverManager.java:175)
at JdbcCheckup.main(JdbcCheckup.java:43)
Is there a nice solution for that? Please, do not advise to
upgrade Oracle / degrade JDK: it's not my call and is out of the
question. There's an existing solution where we use $30,000
WebLogic ridiculous license just to use their JDBC drivers but
that's exactly what we want to switch from.
Sincerely,
-Evgeni
nullYup, thanks a lot. I am ashamed. I know: "read the FAQ then
ask; read the FAQ then ask"... Eventually I'll get it :)).
Thanks again,
-Evgeni
Oracle Product Development Team wrote:
: Our 7.3.4 OCI driver doesn't work with JDK 1.2, but our 8.1.6
: release of the OCI driver will. In the meantime, you can try
our
: 8.1.6SDK thin driver if you have to stick with JDK 1.2. It
: should be compatible with your 7.3.4 database.
http://technet.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm
: #_1_
: Evgeni (guest) wrote:
: : Hi there,
: : I'm trying to JDBC to an Oracle 7.3.4 running on Solaris7
while
: : writing JDK 1.2.2 application. Here's the trace of what's
: : happenning:
: : Connecting to the database...Connecting...
: : Exception in thread "main" java.lang.UnsatisfiedLinkError:
: : /space/javapkg/oracle7/liboci73jdbc.so: ld.so.1:
: : /space/jdk1.2.2/bin/../bin/sparc/native_threads/java: fatal:
: : relocation error: file
/space/javapkg/oracle7/liboci73jdbc.so:
: : symbol makeJavaString: referenced symbol not found
: : at java.lang.ClassLoader$NativeLibrary.load(Native
: Method)
: : at java.lang.ClassLoader.loadLibrary0
: (ClassLoader.java:1330)
: : at java.lang.ClassLoader.loadLibrary
: (ClassLoader.java:1254)
: : at java.lang.Runtime.loadLibrary0(Runtime.java:644)
: : at java.lang.System.loadLibrary(System.java:815)
: : at oracle.jdbc.oci7.OCIDBAccess.logon
: (OCIDBAccess.java:149)
: : at
: : oracle.jdbc.driver.OracleConnection.<init>
: (OracleConnection.java:103)
: : at
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)
: : at java.sql.DriverManager.getConnection
: (DriverManager.java:515)
: : at java.sql.DriverManager.getConnection
: (DriverManager.java:175)
: : at JdbcCheckup.main(JdbcCheckup.java:43)
: : Is there a nice solution for that? Please, do not advise to
: : upgrade Oracle / degrade JDK: it's not my call and is out of
: the
: : question. There's an existing solution where we use $30,000
: : WebLogic ridiculous license just to use their JDBC drivers
but
: : that's exactly what we want to switch from.
: : Sincerely,
: : -Evgeni
: Oracle Technology Network
: http://technet.oracle.com
null -
Configure JDBC connection ERROR: no ocijdbc9 in java.library.path
ERROR: no ocijdbc9 in java.library.path
step 6 is where I need help!? thanx.
When configuring a database connection, I chose
1. Oracle JDBC (connection type)
2. Authentication (username/password of my D2K repository)
3. Driver: oci8
4. Hostname: pmurphy1 (my local machine where my db is)
5. Port: 1521 default (odbc works on this)
* 6. Enter custom JDBC url (? please help ?) left blank!!
I really wanna get started with this cool toy!!!
Cheers,
PaullyI am assuming you are using JDeveloper 3.2x
Please see the online help for additional details.
Search help for "JDBC Connection Properties" - With the
quotations and you will find a page names "JDBC Connection
Properties"
This page contains the following info and additional links.
-John
------------- COPIED FROM HELP ---------------
Oracle JDBC-OCI8 Driver
Use this type 2 driver when creating a Java application that
runs against an Oracle8i server. This is a thick driver
optimized for the Oracle8i database: it cannot be used with
applets. This driver handles any database protocol (TCP, IPX,
BEQ, and so on). It is required for applications which are run
from the machine they are stored on. It can also be used against
an Oracle7 database.
This driver requires client software installation. The project
must also include the correct version of the driver in a library
and include no other Oracle JDBC library. This driver is
included in the default Oracle JDBC library for all projects.
The library is named Oracle 8.1.7 JDBC and it includes both the
Thin JDBC and JDBC-OCI8 driver library components. For all OCI
and type 2 JDBC drivers, see Connection Requirements for OCI and
Type 2 JDBC Drivers.
------------- COPIED FROM HELP --------------- -
Hello all,
we must connect to a oracle7 server from a linux box.
I can't connect to the oracle7 server with the Oracle client 9/10/11...
Can I use, for example, the "Oracle 9/10 client"?
Some forums entries says, that this was not possible.
JDBC THIN driver works from several client versions, so I'm a little confused;()
Any hint?
Best regards
AndreHello Nigel,
thanks for your hints!!!
OCI doesn't work like JDBC - so compatibility matrix is different. There was a major change to OCI - around version 9 time?May be, I need a Client for oracle7.3 server...
Where can I download the correct client for this version (C/C++ Linux)?
Is there anywhere archived? On oracle.com I found only client packages for Version 9 and above;()
From OCI Programmers Guide 10g: The server versions supported currently are found on Oracle iSupport in note 207303.1. See the URL
http://metalink.oracle.com/
From the 9.2 Migration Guide: For OCI, Oracle7 client software can run against a release 8.0 or higher Oracle server, and release 8.0 and higher client software
can run against an Oracle7 server. Hmm, should work with simple calls. I can't connect with sql_plus to the oracle machine, may be there is a wrong configuration...
If a release 8.0 or higher client is running against an Oracle7 server, then the application cannot use features available in
release 8.0 and higher, including object capabilities.
I believe you may have a problem if you use version 9 style OCI calls rather than the version 7 style. See Upgrading your application.I will use the correct client for oracle7.3, but where can I download them???
We haven't a "Support Identifier", so I can't register me on "metalink.oracle.com".
Best regards
Andre
Maybe you are looking for
-
ITunes wont update with new information
So a brief story to see if anyone knows how to help me out. I have had itunes match for a while now and had no problems apart from the typical issues when uploading. About 2 weeks ago i made a backup of my C: Drive which contain's my itunes library (
-
HT4236 I don't have a photos button on itunes. how do I get that to display?
No photos button shows up on the menu on itunes. How can I get that button to appear so I can manage my photo syncing?
-
I have a problem with my usb. I can't make any usb connection due to this. after running a usb test, it shows me this massage: Failure IDgekk0-6s27j8-mfpwxf-8d3003
-
Steps for configuring AXIS framework in SOAP adapter
hi, can anybody tell me step by step procedure on how to configure the AXIS framework in SOAP adapter Also can anybody suggest me an appropriate scenario where AXIS framework can be used regards, loveena
-
Can I supply my SSH password somewhere instead of entering it?
I'm using a lot of SSH lately for my Raspberry Pi. I've set up an alias 'pi' that executes ssh [email protected] and it works great but I'm annoyed by the fact that the server still asks for the password. Is there some way I could put the password in