IMP80 and Oracle 8i Lite

Hello,
Does anybody know how to import data from a .dmp file into 8i Lite? I've tried using the imp80 and exp80 tools but I got an error that the import/export views were not installed in the database. Thanks in advance.
Brian

Before you can import/export, you need to run the SQL catexp.sql from the $ORACLE_HOME/rdbms/admin directory.

Similar Messages

  • Imp and Oracle 8i LITE

    iH:
    There was another post on this topic, but the answer was vague.
    I have an Oracle 8 database dump file (a DMP). I would like to import (a subset of) this dump file into my Oracle 8i LITE database.
    Is this possible? I don't have access right now to an Oracle8(i) server, so I can't use the Oracle 8 Navigator to cut and paste the data that I need from the dump file ...
    When I run imp80.exe (which was installed by the Oracle Lite installer) I get the message:
    IMP-00003: ORACLE error 942 encountered
    OCA-30034: table not found
    [POL-5130] table or view not found
    IMP-00021: operating system error - error code (dec 2, hex 0x2)
    IMP-00023: Import views not installed, please notify your DBA
    IMP-00000: Import terminated unsuccessfully
    So is imp80.exe supported by Oracle LITE or not?
    Aaron
    [email protected]
    null

    Before you can import/export, you need to run the SQL catexp.sql from the $ORACLE_HOME/rdbms/admin directory.

  • XML and Oracle 8i Lite

    Hi Wizards
    I'm in an endeavour to do the following things -
    1.Generate XML output from Oracle 8i Lite database
    2.Modify the XML and update the database taking the modified XML.
    My java platform is JDK 1.2. I've used the XML SQL Utility for Java, and in doing so i've been successful with the 1st step. I've used the Oracle 8.1.6SDK JDBC Driver which is compatible with JDK 2.The code fragment is like the following -
    import java.io.*;
    import java.sql.*;
    import java.math.*;
    import oracle.xml.sql.query.*;
    import oracle.jdbc.*;
    import oracle.jdbc.driver.*;
    public class orasql1
    public static void main(String args[]) throws SQLException
    Connection conn = null;
    String tabName = "emp";
    try {
    Class.forName("oracle.lite.poljdbc.POLJDBCDriver");
    conn = DriverManager.getConnection("jdbc:Polite:POlite", "SYSTEM", "manager");
    catch (Exception e) {
    System.out.println("Oracle Connection error\t:");
    System.out.println(e);
    System.exit(0);
    OracleXMLQuery qry = new OracleXMLQuery(conn, "select * from " + tabName);
    qry.setRowsetTag("SCHEMADOC_1");
    qry.setRowTag("EMPLOYEE");
    qry.setStyleSheet("emp.xsl");
    String xmlString = qry.getXMLString(true);
    conn.close();
    try {
    File output = new File("emp.xml");
    FileWriter xmlFile = new FileWriter(output);
    xmlFile.write(xmlString,0,xmlString.length());
    xmlFile.close();
    catch (Exception e) {
    System.out.println("Output file error\t:");
    System.out.println(e);
    System.exit(0);
    I am putting some sample code for step 2 in the following section -
    import oracle.xml.sql.dml.*;
    import java.sql.*;
    import oracle.jdbc.driver.*;
    import oracle.jdbc.*;
    import java.net.*;
    public class orasql2
    public static void main(String args[]) throws SQLException
    Connection conn = null;
    String tabName = "emp";
    String fileName = "emp.xml";
    try {
    Class.forName("oracle.lite.poljdbc.POLJDBCDriver");
    conn = DriverManager.getConnection("jdbc:Polite:POlite", "SYSTEM", "manager");
    catch (Exception e) {
    System.out.println("An error has occurred.");
    System.out.println("Please check your CLASSPATH variable..");
    System.out.println(e);
    System.exit(0);
    OracleXMLSave save = new OracleXMLSave(conn, tabName);
    URL url = save.createURL(fileName);
    save.setRowTag("SCHEMADOC_1");
    int rowCount = save.insertXML(url);
    System.out.println("Successfully inserted "+rowCount+" rows into "+tabName);
    conn.close();
    Compiling the above code is fine, no errors! But while running the application I get the error -
    Exception in thread "main" oracle.xml.sql.OracleXMLSQLException: java.lang.Class
    CastException: oracle.lite.poljdbc.OracleStatement
    at oracle.xml.sql.dml.OracleXMLSave.insertXML(OracleXMLSave.java:345)
    at oracle.xml.sql.dml.OracleXMLSave.insertXML(OracleXMLSave.java:248)
    at orasql2.main(orasql2.java:27)
    My question is whether this thing can be done at all using Oracle 8i Lite? If so then how?
    Waiting for ur advices.
    Biplab
    (An Indian, but at present in Houston, Texas)

    It looks like be a classpath issue. Would you check with the class name.

  • SQL*Plus and Oracle 9i Lite

    What is the trick to connecting to Oracle 9i Lite using SQL*Plus?
    I am using the following:
    Username: system
    Password: aaa
    Host String: ODBC:POLite
    I recieve an ORA-12203: TNS:unable to connect to destination: Function not performed
    do I need an entry in my tnsnames.ora file? If yes what? Also, if yes, where in the docs is this discussed?
    Thanks in advance

    Try format
    ODBC:POLITE:datasource
    for Polite:
    ODBC:POLITE:POLITE
    But since 4.0.1 Oracle Lite you can't use SQL plus.
    Use new tool named msql (<ora home>\Mobile\SDK\BIN\msql.exe) or SQL Worksheet in Oracle9i JDeveloper.

  • Difference between oracle 9i database and oracle 9i lite

    Dear Sir/Mam,
    I like to know the performance and functionality difference
    between oracle 9i database and oracle9i lite.
    Is there is any performance variations between
    oracle 9i 9.0.1.1.1 and 9i 9.2.0.1.1

    Hello,
    you can see this note
    #139580.1, Oracle - Compatibility Matrices and Release Information, for detailed information.
    regards, Jorge

  • Jdev And Oracle 8i Lite (Help me)

    When I create a new project with the wizard I have a problem with the connection to my scheme (Oralce 8i late)(Polite is the database of the oracle 8i late). I can connect suceful but, I can't see the tables, the program say me that
    SQL Error
    POL-5130 message file is not loaded
    java.sql.SQLException
    Thanx

    JD3112 installation readme file contains the following hint. This might be useful to you...
    >>
    Please see the section "Using Oracle8i Lite with JDeveloper" in the online HELP for information on configuring Oracle8i Lite for use with JDeveloper.
    >>
    Regards.
    Anil
    null

  • Oracle 8i Lite - OO4O and other Questions

    1.) Can OO4O (Oracle Objects for OLE) be used with the Oracle 8i Lite database ?
    2.) Does Oracle 8i Lite operate as a "client/server" database ?
    3.) Is it possible to have multi-user access to Oracle 8i Lite ?
    4.) Is there documentation somewhere that lists all of the limitations with 8i Lite as compared to 8i ?
    We are in the planning stages of a partial mobile system, and want to know how much difference in development efforts for the 2 platforms (Oracle 8i on Win 2000 server and Oracle 8i Lite on NT/98/95 Laptops).
    Any information on Oracle 8i Lite would be appreciated. -- Especially need an answer to question 1 right now.
    Thanks,
    Paula

    Hi,
    I am qouting below from the oracle 8i Lite documentation which says it supports triggers . Please clarify.
    Oracle Lite DBMS
    Oracle Lite DBMS is a lightweight (50KB - 750KB), Java enabled database designed from the ground up for laptops, handheld computers, PDAs and smartphones. It supports industry standard ODBC, JDBC, SQLJ, and Java Stored Procedures and Triggers. It provides a streaming fast "C" interface, OKAPI, to its object kernel. It also supports Java Access Classes, JAC, a fast and easy way to make Java Objects persistent. Oracle Lite DBMS now supports all popular mobile platforms, including Palm OS, EPOC, and Windows CE, letting you deploy enterprise applications on virtually any mobile device.
    Regards
    null

  • Any difference in the dbms and jdbc drivers btw oracle 8i lite and 9i lite

    Is there any significant difference between oracle 8i lite and oracle 9i lite in terms of database and jdbc drivers?
    If not, it may be better off using oracle8i.

    According to Oracle , 9i lite is more powerful than 8i Lite.
    one thing, 8i Lite is not certified for windows 2000.
    jothi

  • Oracle 9i LIte Connectivity with MIDP

    Hello,
    I am facing problem for connectivity of MIDP and Oracle 9i Lite. Anyone knows the which tool is good to desing the MIDP. Shall i use the Swing/AWT in MIDP. Is there any way to make Grid Layout and Buttons with MIDP.

    you cant user those in the MIDP
    but you have to call server application and then server applciation will fetch teh data from the oracle and retunr them back to midlet
    [email protected]

  • Oracle 8i Lite connection problem

    I'm trying to make connection with Oracle 8i Lite native jdbc driver. I'm getting error "Unable to find driver oracle.lite.poljdbc.POLJDBCDriver" when pressing Test button.
    olite40.jar is in IDEClassPath in jdeveloper.ini and Oracle 8i Lite is in Default Project Libraries.
    What I've missed?

    If you have added the Olite40.jar file to the IDE_CLASSPATH setting in the jdeveloper.ini file, make sure you restarted JDeveloper after editing the ini file.
    Also, make sure you specity 'Olite40.jar' not 'olite40.jar' (watch the case of the archive file name).

  • Does Oracle 9i Lite supports Thai language?

    We are developing mobile application[residing in a laptop] using java and Oracle 9i lite version [Release 5.0.2]. The application has English and Thai version. After we upload all the data[thai and english phrases] to Oracle lite from server [residing in Sun Solaris, Oracle 91] we were able to see the Thai characters in mobile, but for some phrases there is an extra English character amended to the phrase. We are not doing any char conversion here, just collecting the data from server and inserting to lite version DB.
    Entries in polite.ini are,
    [All Databases]
    DatabaseID=501
    DataDirectory=C:\oracle\ora90\Mobile\Sdk\OLDB40
    NLS_LOCALE=ENGLISH
    MessageFile=C:\oracle\ora90\Mobile\Sdk\BIN\OLITE40.MSB
    DBCharEncoding=Native
    When i ran through the release document for Oracle9i Lite Release 5.0.2, i can relalize that it is not supporting Thai language. Correct me if i am wrong.
    Did any of the latest Lite version supports Thai language. How about 10g? Or any alternatives is there in Release 5.0.2 itself.
    Thanks and looking forward for your reply.
    Best Regards,
    Muthu

    Hello,
    I am not sure to understand your question.
    Oracle Lite is a SQL Database , and you can access it from Oracle Application Server using the correct JDBC driver and then use the JSP Tag libs to access the data (JSTL SQL) or any JDBC API in J2EE.
    If I am not answering your question please add more details about what you are trying to achieve...
    Regards
    Tugdual Grall

  • Opatch Failed (Oracle Database Lite 10g 10.3.0.3)

    Hi all,
    I am Using Oracle Database 10g R2 10.2.0.4.0 and Oracle Database Lite 10g R3 10.3.0.3 On windows 2003 Server SP2 32 Bit. While Applying OPatch in my Lite database i got this error message and the Opatch Code is p12677282_103030_Generic
    Please Advice me how to resolve this error message.
    Error Message:
    Do you want to upgrade the repository(y/n):y
    "Upgrading repository for LU"
    UpgradeRepoforLU.java:43: cannot access oracle.lite.sync.SiteDef
    bad class file: D:\Olite10g_1\mobile\classes\consolidator.jar(oracle/lite/sync/S
    iteDef.class)
    class file has wrong version 49.0, should be 48.0
    Please remove or make sure it appears in the correct subdirectory of the classpa
    th.
    SiteDef.CONS_SCHEMA=schema;
    ^
    1 error
    Could Not Find D:\12677282\oracle\lite\sync\*.class
    A duplicate file name exists, or the file
    cannot be found.
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/lite/sync/Upgr
    adeRepoforLU
    "Upgrading repository for bug 9776825"
    UpgradeRepoforbug9776825.java:32: cannot access oracle.lite.sync.ConsPLSQL
    bad class file: D:\Olite10g_1\mobile\classes\consolidator.jar(oracle/lite/sync/C
    onsPLSQL.class)
    class file has wrong version 49.0, should be 48.0
    Please remove or make sure it appears in the correct subdirectory of the classpa
    th.
    stat.executeUpdate(oracle.lite.sync.ConsPLSQL.DEFAULT_PUB_QPKG_B
    ^
    1 error
    Exception in thread "main" java.lang.NoClassDefFoundError: UpgradeRepoforbug9776
    825
    "Upgrading repository for bug 9957803"
    Thanks & Regards,
    Shan

    btw the latest patch (generic) is 12812978 actually this morning i installed it in 3 develop servers and 2 customers' without any issue (win 2003 server pcs)
    anw in your case it seems that something possibly was not installed successfully.
    1)press the close(x) button once on the mobileserver , wait some seconds it will say press any key to continue. press it and it will close
    2) restart it. if the same warning comes out then try loggin in the http://localhost/webtogo page, is it working?does the server and mgp appear on?(green tick?)
    3) if it is, try syncing a device, does it sync ok?
    if all is yes then the warning is not important but you should have a look at it. some solutions
    1)reinstalling the patch
    2)or installing a newer patch,
    3)or (i think) you can roll back the patch,
    4)or if we are talking for a release server(customer) raise a service request.
    5)or wait a little for some other forum users to check this thread and perhaps they have runned into such cases
    i would go for number 2

  • Form Server Connection to Oracle 8i Lite

    Hi
    I developed a web based application using form server and oracle 8i. In disconnected mode, I want to run same app on my laptop using form server and oracle 8i lite. But i m unable to connect to oracle 8i lite through form server. In normal mode, i m using microsoft odbc for connection with oracle lite, but it doesn't work with form server.
    Can any one help me, what should I do to make connection to 8i Lite from Form server ?
    thanks in advance
    null

    When using Oracle 8i Lite (4.0.x.x.x) with JDeveloper,
    you have to:
    1) If under JDK 1.1,
    1a) make sure that your %ORACLE_HOME%\bin directory is in your
    path.
    1b) Add OLITE40.JAR and OLJDK11.JAR to the IDEClassPath in
    JDEVELOPER.INI (remember, ya gotta have
    the stuff in your classpath for it to work!)
    2) If under JDK 1.2
    2a) Add your %ORACLE_HOME%\BIN directory to the JLP and SLP
    sections under [Ferrari]
    2b) Add OLITE40.JAR to the IDEClasspath.
    The reason for 2a is that under JDK 1.2, the call
    "System.loadlibrary(xxx)" does not use the path to look for the
    DLL. Only the system property "java.library.path" and
    "sun.boot.library.path" Each of these two settings must
    be set for it to work.
    -JDeveloper Team
    Joydip Homchowdhury (guest) wrote:
    : I have installed Oracle 8i Lite and JDeveloper 3.0 in my NT
    : machine. When I try to create a new connection using Oracle
    Lite
    : JDBC 4.0 driver and try testing the connection I get the
    : following message :
    : Unable to find driver oracle.lite.poljdbc.POLJDBCDriver
    : Do I need to install any other components or set any other
    : environment variables.
    : Thanks in advance for your answers
    : Joy
    null

  • PL/SQL and Forms executable in Oracle 8i Lite ?

    I've got 2 basic and important questions:
    1.) Is it possible to store procedures with PL/SQL in a Oracle 8i Lite Database(Operating System Windows 2000)
    2.) Are the normal Forms 6i - Applications executable on a Oracle 8i Lite Database.
    (Operating System Windows 2000)
    Regards
    Steffen

    Regardless of which path you want to take, in order to get the OCP certification in either the DBA or PL/SQL developer track, you must first obtain the respective OCA certification for that track. I'm assuming that since you are still undecided in which path to take that you haven't started working on either yet. If you look at the pages for the OCA DBA and OCA PL/SQL Developer certs and what is required for each, you'll see that the first block of tests for either certification (the SQL based exams) has the same options (1Z0-007, 1Z0-047, 1Z0-051) and passing one of those SQL based exams gives credit towards obtaining both OCA certifications. That might be a good place to start.
    Doing one of these tests first might give you some extra time to decide which track you want to pursue. But as Justin said, it really depends on what you do (or plan on doing) in your career as to which path might be more beneficial for you.
    As for the OCM level stuff, I wouldn't even think about it until you get the OCP. One step at a time... Same with OCP before OCA. That being said, my suggestions are just that, suggestions. You're free to take any exams/courses in any order, but you won't be able to obtain the certs until you have completed the requirements for each.

  • Sequencing and Trigger on Oracle 9i lite database

    We created a schema (TESTSCHEMA) on Oracle 8.1.7 Enterprise edition and have a created a trigger which will use the sequence object to generate primary key for the table (TEST_TABLE)
    Sequence creation:
    CREATE SEQUENCE TESTSCHEMA.TEST_TABLE_SEQUENCE START WITH 6000 INCREMENT BY 1 MINVALUE 6000 MAXVALUE 6999 NOCACHE NOCYCLE NOORDER ;
    Trigger creation:
    CREATE OR REPLACE TRIGGER TEST_TABLE INSERT BEFORE INSERT ON TEST_TABLE FOR EACH ROW
    DECLARE
    pkValue NUMBER;
    BEGIN
    pkValue := 0;
    Select TEST_TABLE_SEQUENCE.NextVal into pkValue from dual;
    :NEW.TEST_KEY := pkValue;
    END TEST_TABLE_INSERT;
    We have created a snapshot of the schema on mobile server, synchronized the data with the client (Win32 for testing purpose).
    The trigger works fine on the server, but when I run the same query on the lite database with msql it gives me an error:
    [POL-3221] null key in primary index
    I was wondering if Sequence generation and Triggers are supported on Oracle 9i lite database ? Or am I missing out something ??
    Any information/ help is appreaciated
    Thanks
    Neeraj

    You can't use SAVEPOINT / ROLLBACK TO SAVEPOINT statements in the database trigger:
    ORA-04092: cannot SET SAVEPOINT in a trigger
    ORA-04092: cannot ROLLBACK in a trigger
    I am not sure what you need exactly, but you can try this:
    Simulating ROLLBACK TO SAVEPOINT Behavior in a Database Trigger
    http://www.quest-pipelines.com/pipelines/plsql/tips02.htm#JUNE
    Regards,
    Zlatko Sirotic

Maybe you are looking for

  • Can not view 24 hours data in Websphere performance page

    We configured EM 10.2.0.5 to monitor Websphere 6.1 on AIX. Now we can see current data in the performance page. But when we switch to 24 hours view, there is not any data shown in the page. Does EM 10.2.0.5 support viewing Websphere historical data?

  • Using a single HeaderHandler of JaxWS for multiple services

    Hi, In our application,we are using 3 different services.The authentication credentials are different for each one of them.So,we have created 3 different Headerhandlers for each one of them. I wish to know if it is possible to have a single HeaderHan

  • How to call ME21n Screen in webdynpro once you click any button

    Hi exports,                  I have created one webdynpro application..In first view i have one button which have action...Once i click that button it should go to next view where it should diaplay standard Transaction ME21n screen..where i need to e

  • Guest Portal - untrusted certificate

    All, My ISE integration is on our local domain,for example  company.local. I created a rule in the authorization policy that used a static IP address, say guest.company.com for our guests to use for the redirection. When guests get the web auth redir

  • Embedded audio doesn't play from server.

    It plays fine in Preview but does not play from the server. I am using Dreamweaver CC and have used the suggested three sources, mp3, wav, and ogg. I am very new at HTML and Dreamweaver CC so was looking for the most basic way to approach this. I don