JDeveloper 2 and Oracle8i Lite
Hello,
I'm trying to connect to an 8i Lite using the 8i Lite JDBC
driver in JDeveloper 2.0, but it keeps telling me that it can't
find the driver anywhere. The documentation says to add the JAR
files to the library. The location of the 8i Lite JAR files is
set in the CLASSPATH. Even if I add location of the JAR files
to the project library it doesn't seem to find it. Is there
anyone out there who can help me out?
Thanks in advance.
Kind regards,
Eric Sirois
null
Hi
Oracle JDeveloper can use the driver which comes with Oracle8i
Lite to connect to the Oracle8i Lite database. To configure
Oracle JDeveloper to work with the Oracle8i Lite database:
1. Install JDeveloper.
2. Install Oracle8i Lite 4.0 or higher.
3. Launch JDeveloper.
4. Add a library for Oracle Lite by following these steps:
Choose the menu option Tools | Default Project Properties.
Click the Libraries button at the bottom of the dialog.
Click the New button on the lower right to add a new library.
Name the library Oracle8i Lite by typing in the Name field.
Add the path to the Oracle8i Lite driver by typing in the Class
Path field.
This should be a jar file called
<oracle_home>\lite\classes\olite40.jar, but
check the documentation for your version of Oracle Lite.
If you are using JDK1.1, you also need to add
<oracle_home>\lite\classes\oljdk11.jar to the Class path
Click OK to add the Library. JDeveloper analyses the dependencies
for the > driver and returns to the Default Project Properties
dialog.
Click Add to add Oracle Lite to the default project properties
for all future generated projects. Alternatively, you may add
the Oracle Lite driver on a project by project basis by
selecting Project | Project Properties
and adding the newly created library to the current project.
5. Quit JDeveloper.
6. Add the Oracle Lite jar file to the IDE Classpath by following
these steps:
Open the file <jdev_home>\bin\jdeveloper.ini.
Under the section [Java_Global], add the path of the Oracle Lite
drivers to the IDEClassPath. This should be jar files called
<oracle_home>\lite\classes\olite36.jar and
<oracle_home>\lite\classes\oljdk11.jar, but check the
documentation for your version of Oracle Lite.
7. Restart JDeveloper.
regards
Eric Sirois (guest) wrote:
: Hello,
: I'm trying to connect to an 8i Lite using the 8i Lite JDBC
: driver in JDeveloper 2.0, but it keeps telling me that it can't
: find the driver anywhere. The documentation says to add the
JAR
: files to the library. The location of the 8i Lite JAR files is
: set in the CLASSPATH. Even if I add location of the JAR files
: to the project library it doesn't seem to find it. Is there
: anyone out there who can help me out?
: Thanks in advance.
: Kind regards,
: Eric Sirois
null
Similar Messages
-
Personal Oracle8 v803 and Oracle8i Lite v40 on Win98
Is it possible to have Personal Oracle8 and Oralce8i Lite
running on the same machine? If it is, can someone tell me how?
Thanks,
Ronald
nullRonald I don'tknow if you can run both
but at least for me converting was non\
trivial.
I removed personal oracle on my win98 machine
by running orainst and removing every thing
I could, then renaming the orawin directory,
and running the windows registry editor
and deleting the oracle section from
within a section callled software.
I am under the impression that O8 lite
is to replace personal oracle 8.
One thing that seems missing is
pl/sql.
Jordan Schwartz
Ronald Luitwieler (guest) wrote:
: Is it possible to have Personal Oracle8 and Oralce8i Lite
: running on the same machine? If it is, can someone tell me how?
: Thanks,
: Ronald
null -
NT workstation and Oracle8i Lite
Hi,
I hope someone can help me with the following questions.
I've recently downloaded Oracle8i Lite and installed it on my NT workstation. It's no problem connection to the default db (odbc:polite). How do I do to start a TNS listener? I don't want to connect via the odbc-driver, I want to use the Net8 config to configure a data source, is it possible ? I gues the whole point is about starting a TNS listener but I can't find any command for doing the job.
I hope someone can help me!
//FredrikOK, I see.
Is the full product name Personal Edition ?
I wanted to install a "light" variant of Oracle8i and thought Oracle8i lite was the one for the job. If I install Personal Edition am I able to connect to my db with SQL*PLus using Net8, in short have a TNS listener ?
//Fredrik
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by ikon:
Fredrik
The whole idea of Oracle Lite is ODBC. You need to install Personal Edition on NT.
Regards<HR></BLOCKQUOTE>
null -
Now that I adjusted the jdeveloper.ini file to include d:\oracle\home0\lite\classes\Olite40.jar after the last entry in IDEClassspath, the error message switched from "can't find oracle.lite.poljdbc.POLJDBCDriver" to "no oljdbc40 in java.library.path". I am using Oracle 8i lite version 4.0.1.0. What am I misssing? Thank you in addvance for the reply.
Try also adding the path to oljdbc40 the SLP and JLP settings in the jdeveloper.ini file.
The following is from the 3.1 Release Notes:
JDK 1.2/1.3 and Native Code
If you are using the Oracle JDBC/OCI or Oracle Lite JDBC Driver with JDeveloper (JDK 1.2/1.3) add the %ORACLE_HOME%/bin directory to java.library.path and
sun.boot.library.path in bin/jdeveloper.ini. It should look like this:
[Java_2]
JDK=java version "JDK1.2.2_JDeveloper"
Java2VM=OJVM
JLP=-Djava.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin;C:\ORANT\BIN
SLP=-Dsun.boot.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin;C:\ORANT\BIN
If you are executing applications which use the JNI to call native libraries (DLL files) under JDeveloper with JDK 1.2/1.3 it is necessary to edit your project properties. Add to the
Java VM Parameters, under the Run/Debug tab the following setting: -Djava.library.path=(Path where DLL files are located)". -
JDeveloper and Oracle8i InterMedia interface
Can JDeveloper of JAVA interface with Oracle interMidia to develop Not very complecated and GUI image storage and retrival application?
The previous Context Cartridge is now called interMedia-Text and
is part of the Oracle interMedia option for 8i. Details are at
http://www.oracle.com/database/options/intermedia.html.
The interMedia-Text cartridge will not help you insert XML
documents into the database, only search them.
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
pietro (guest) wrote:
: Hi,
: is InterMedia Context package included in oracle 8i ?
: What is the name of this package ?
: There is some documentations about (I have just see the URL
: given same Thread before...)?
: The problem always insert and search xml documents into the
dbms.
: TIA,
: pietro
null -
Is it possible to use DB2 Everyplace or Oracle8i Lite to connect to palm?
Hi all,
I have read from articles on DB2 Everyplace and Oracle8i Lite that it is able to use as databases in Palm. So is it really possible to do it as i am not able to connect it.
If it is possible, how should i do it? I will really appreciate it very much if someone can answer me. Thanks!Hi all,
I have read from articles on DB2 Everyplace and
Oracle8i Lite that it is able to use as databases in
Palm. So is it really possible to do it as i am not
able to connect it.
If it is possible, how should i do it? I will really
appreciate it very much if someone can answer me.
Thanks!The current J2ME specifications (CLDC/MIDP) provides its own record store known as RMS. Currently, there is no J2ME API that is available for a developer with a MIDlet to connect to a native Palm database app such as the DB2 Everyplace or Oracle8i Lite installed on a Palm.
HTH.
Allen Lai
Developer Technical Support
SUN Microsystems
http://www.sun.com/developers/support/ -
Problem with Oracle8i Lite and Forms 6i
Problem:
I have installed first Oracle8i Lite Version 4.0.0.2.0 on my computer witch has no network card and it works wery well with The Open Client Adapter (OCA).
Then, I have installed Oracle Forms and Reports Release 6i, and from this moment, I get this message : "OCA-30002: ubofscr function not supported".
In the release notes, I can read :
"OCA Release 6.0.5.3.0 is installed for compatibility with Oracle Required Support Files version 8.0.5. If you install newer client tools which upgrade your Required Support Files to version 8.0.5.1, you may experience an error message, "OCA-30002: ubofscr function not supported". To upgrade OCA to correct this problem, copy the OCA605290.zip file from the \WIN32 folder of the Oracle8i Lite CD-ROM, unzip it and follow the instructions in the README.TXT file which it contains."
But on my Oracle8i Lite CD-ROM, there is no OCA605290.zip file from the \WIN32 folder.
What can I do ?
nullYou could try to "hide" the db-link by creating a local view above the dblink-table.
-
Hello.
I'm testing Oracle8i Lite 4.0 with PalmIII and I have problem. I
try to install demo database ADDROLRL4P. All is OK, but when I
hotsync data between Palm and PC I get hotsync error:
Consolidator Error:
java.lang.NumberFormatException: 3,00
and no data synchronize.
Where is problem?
Thank you very much for your answer.
J. Fikker
nullHello,
i will do this within next day's, i will report you what happen's
in my enviroment.
But in advance, i had a similar problem with a other Pilot
application. I had to upgrade my palm OS. Do you have the newest
version ?
See www.palm.com
Wolfgang
null -
Differences between Oracle9i Lite and Oracle8i Personal
Hi,
I've read that Oracle8i Personal is a full-featured version of
Oracle8i. But I would like to know if the Oracle9i Lite version
is also a full-featured version of Oracle9i? Maybe someone can
help me to explain the difference between the Personal and Lite
version. Or maybe give me an URL where I can find all the
information I need.
Thanks in advance, AnnCheck out the readme document for Oracle9i Lite. It goes over your questions regarding new and desupported features.
Here is some information from the readme:
Deprecated Features and Components
iConnect - an umbrella term for Oracle8i Lite's synchronization and messaging component
C-REPAPI - replaced by the more powerful Mobile Server/Consolidator. C-REPAPI and related components such as Java Replication Classes, Replication Cartridge, OCX Wrapper has been removed from the CD
Oracle Mobile Agent - used for wireless replication under the C-REPAPI replication technology. Obsolete because C-REPAPI is no longer part of Oracle9i Lite
Web-to-Go Server - integrated in Mobile Server
Consolidator Server - integrated in Mobile Server
Synchronization Server for Handheld Devices - integrated in Mobile Server
Scout MTS - no longer supported
Oracle8 Navigator - no longer available. Navigator functionality has been implemented in either Control Center or Packaging Wizard
Oracle Lite Designer- removed
Internet SQL - removed
Oracle Lite Deployment Wizard - obsolete because of Mobile Client
OLITERM - removed because no longer needed
null -
Error while creating a simple trigger in Oracle8i Lite
Hi,
I have Oracle8i Lite release 4.0.
I want to create a simple trigger on 8i Lite.
first I created .java file and got the .class file after successful compilation.
The .class file is sitting in my local C:\ drive.
I have a table having only two columns in 8i Lite and the structure is
TABLE : SP
ACC_NO NUMBER,
ACC_DESC VARCHAR2(20)
Then I issued the command :
SQL> ALTER TABLE SP ATTACH JAVA SOURCE "JournalInst" in '.';
After that getting the following error :
alter table sp attach java source "JournalInst" in '.'
ERROR at line 1:
OCA-30021: error preparing/executing SQL statement
[POL-8028] error in calling a java method
Following is the cause/action for the error code :
POL-8028 Error in calling a Java method
Cause: Most commonly refers to a problem when converting between Java and Oracle Lite datatypes.
Action: Check the calling parameters.
I can't understand where I am wrong ?
Could anybody help me out ?
Here is my source code of .java file
import java.lang.*;
import java.sql.*;
class JournalInst {
public void INSERT_JOURNAL(Connection conn, double AccNo, String AccDesc)
System.out.println("Record Inserted for :"+AccNo +" "+AccDesc);
Thanks in advance for solutions.
Sarada
nullI just started with 8i Lite, but as far as I know 8i Lite does not support PL/SQL code.
So you have to write your triggers and stored procedures in Java.
Ciao -
Error while creating a simple function, procedure or triger in Oracle8i Lite
Hi,
I have Oracle8i Lite release 4.0.
While creating a simple proceudre/function/trigger on the database, it's throwing the following error:
create or replace function test return number is
ERROR at line 1:
OCA-30021: error preparing/executing SQL statement
[POL-5228] syntax error
Here is my sample code.
create or replace function test return number is
begin
return 0;
end;
Tried to create the same function in the user SYSTEM too but got the same error message.
Thanks in advance for the soluton.
nullI just started with 8i Lite, but as far as I know 8i Lite does not support PL/SQL code.
So you have to write your triggers and stored procedures in Java.
Ciao -
I am a new person to JDeveloper technology.
I wanted to know that if I create JSP using JDeveloper 3.0, and then upload the JSP pages on a UNIX server, will I need application server.
What is JServer ?Anny,
You can developer Java Server Pages using JDeveloper and deploy them to any platform.
If your deployment platform is UNIX, you will need an application server that supports the Servlet API. Apache plus Tomcat is a good option. You can learn more about it at www.apache.org.
JServer is the VM that runs inside the Oracle8i database. You can learn more about it on the Oracle8i page of OTN.
Laura -
Differences between 9i Lite and 8i Lite
Anyone else get the feeling that 9i lite is a stripped down version of 8i lite?
What are the changes between 8i Lite and 9i lite?
For example 9i Lite no longer provides the replication ocx ?!?!?!! Can anyone suggest a migration path?
Are there any good documentation sources for the differences?Check out the readme document for Oracle9i Lite. It goes over your questions regarding new and desupported features.
Here is some information from the readme:
Deprecated Features and Components
iConnect - an umbrella term for Oracle8i Lite's synchronization and messaging component
C-REPAPI - replaced by the more powerful Mobile Server/Consolidator. C-REPAPI and related components such as Java Replication Classes, Replication Cartridge, OCX Wrapper has been removed from the CD
Oracle Mobile Agent - used for wireless replication under the C-REPAPI replication technology. Obsolete because C-REPAPI is no longer part of Oracle9i Lite
Web-to-Go Server - integrated in Mobile Server
Consolidator Server - integrated in Mobile Server
Synchronization Server for Handheld Devices - integrated in Mobile Server
Scout MTS - no longer supported
Oracle8 Navigator - no longer available. Navigator functionality has been implemented in either Control Center or Packaging Wizard
Oracle Lite Designer- removed
Internet SQL - removed
Oracle Lite Deployment Wizard - obsolete because of Mobile Client
OLITERM - removed because no longer needed
null -
Application Development using Jdeveloper using Oracle Lite
Hi all,
I need to develop an application that works with the oracle database lite technology.
Ritght now I am working on some 10 tables .The Scenario is like the application developed is deployed on the middle tier and the user downloads it and goes offline. And he uses the application offline with the same tables present (that are used in developing the application) in another database present on the user machine . I have gone through the ADF BC tutorials but I couldn’t figure out whether the business components (view objects, entity objects) that are created by using tables (connecting to a particular schema in the database) can work if the schema changes(coz I tried doing that and faced errors that connection to database couldn’t be established ). I think this might be because the schema has changed.
Does this Business components created work if the database schema changes?
Is it possible to develop an application using java swing that works on the oracle database lite? I need a standalone Windows 32 application to be developed.
Thanks in advanceLet's assume you have two database schema USER1 and USER2
And let's assume that USER2 grants the appropriate privileges so that USER1 can see his tables.
If you connect as USER1 in JDeveloper and create an entity object based on a table USER2.SOMETABLE, then the SomeTable entity object will remember the USER2 schema name as part of the table name.
If instead if USER1 creates an entity object against a table in his own USER1 schema, then the entity object will only record the "TABLENAME" in the entity metadata, without a schema qualifier. In this case, if you connect to a different schema at runtime which still has the expected TABLENAME table in it, then it will work fine.
Generally you would want to use an entity based on a synonym instead of an entity based directly on a SCHEMANAME.TABLENAME so that it wouldn't matter if the schema changed.
Yes, you can build Swing, JSF, or JSP applications against Oracle Lite using ADF BC. -
Need Help!!! Oracle8i Lite
Hi there,
I defined a connection against an oracle8i lite (4.0.1.x). This connection works fine - I can see the tables within the table-browser.
Try to create a new bc4j-package against this oracle8i lite with just 1 very small entity (table test with the column test_id). The business components package wizard "hangs" up when trying to load the keys at creating the entity object. This is the last action this wizard ever does:-(
I need help!!!
My environment is Win2k, Oracle8i Lite, Jdev 9.0.2.
Any ideas???Hi guys,
I downloaded 8iLite on my laptop just last week and had similar problems trying to log in to SQL Plus 8.0
This is what worked:
Upon install, Oracle provides us with a starter database called polite.odb - but to use this, you must do the following.
1. Open the ODBC Data Source Adminstrator, click on Drivers tab to make sure that Oracle Lite 40 ODBC Driver is present.
2. Click on the User DSN tab, click on Add, select Oracle Lite 40 ODBC Driver, and type the following:
Data Source Name: POLITE
Description: (whatever)
Database Directory: (this should be your Oracle Home directory) for example: D:\orant\oldb40
Database: polite.odb
now you can log into SQL PLUS like so:
Username: SYSTEM
Password: (type anything here) for example: abc
Host String: ODBC:POLITE
for further info, look at: http://technet.oracle.com/products/8i_lite/
documentation -- user's guide -- before you begin -- Installing Oracle Lite -- using the starter database
Good Luck!
null
Maybe you are looking for
-
Parsing a date string without knowing the pattern
Hi guys. Imagine this tool that works with files. At a certain point the tool reads a date from a certain file. The date may come in different flavours (read patterns), depending from file to file, I do not have control over there, so I'm stuck in th
-
How do I clear history when the clear history button is greyed out
How do I clear my history on the iPhone 5 when clear history is greyed out?
-
BT Home Hub dropping out & turning itself off, Is ...
For the last 24 hours I've been losing connection in the house and have had to do a reset a few times, This morning I woke up to my home hub having no lights on however the power was plugged in and on/of button pressed down, I then tested the speed
-
UCCX 10.5 / Finesse - Chat control Gadget does not loading
Hi, I am curently testing UCCX 10.5 and finesse agent desktop I have a trouble with finesse : I enable the Chat Control gadget in the desktop Layout but on the agent desktop, the gadget does not loading. I see the grey bar and the loading icon but no
-
Como cerrar las aplicaciones en iOS7
No puedo cerrar las aplicaciones que se han abierto en el nuevo sistema iOS7, me pueden explicar como cerrarlas