Oracle Pkg missing?? Pls Help!!

I have installed oracle on my pc(win2000 os) with version below:
     Personal Oracle8i Release 8.1.7.0.0 - Production
     With the Partitioning option
     JServer Release 8.1.7.0.0 - Production
Here is few lines from file TNSNAMES.ORA
TNSNAMES.ORA Configuration File:E:\oracle\ora81\NETWORK\ADMIN\tnsnames.ora     
Generated by Oracle Enterprise Manager V2                         
Date..........: Sat May 11 17:22:02 CDT 2002                         
LINK2HR2 =                                             
(DESCRIPTION =                                        
(ADDRESS_LIST =                                        
(ADDRESS = (PROTOCOL = TCP)(HOST = pria)(PORT = 1521))               
(CONNECT_DATA = (SERVICE_NAME = link2hr2))                         
I have installed VisualAge for Java 4.0 with JDK 1.2.2 that is offered for free by IBM.
I did the following sqlj setup in VAJ workbench:
1. workbench--->Tools--->SQLJ--->Properties
Perform online semantics checking is checked
JDBC Driver:     oracle.jdbc.driver.OracleDriver
Default URL:     jdbc:oracle:thin:@pria:1521:link2hr2
User:          hrdb     
Password:     ????????
2. Window--->Options--->Resources. I have the following in Workspace classpath I typed the following:
"E:\oracle\ora81\jdbc\lib\classes12.zip;" w/o quotes.
3. I have many Projects in my workspace along with "Java class libraries", "SQLJ Runtime Libraries".
My Problem is:
When I try to load and register JDBC driver with statement below:
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
I get compile error saying "Type named oracle.jdbc.driver.OracleDriver is not defined."
My questions are:
Do I need to have any "oracle" Projects in my workspace. If so Where do I get it from??.
I think I am missing some oracle classes.
P L E A S E H E L P !!

Try a Class.forName("oracle.jdbc.driver.OracleDriver");

Similar Messages

  • My video camera button where i can record my own video is missing.pls help!

    On camera button.the video recording is missing.pls help where is it now?

    i just selected files and imported them on to my external hard drive ( few months ago) 7 deleted trash (lack of space)
    A few month ago and lack of space? Then it is unlikely, that data recovery software will be able to restore your movies from  areas on your hard drive, that have not yet been overwritten by new data. It's been too long ago.
    Do you have a Time Machine backup of your iPhoto library? Restoring from the backup would be the safest option.
    when i had time yesterday to go through my drive, i wanted to play some old videos and i realized the video is blank, shows how many minutes long ( 0:45) etc but when i play it its BLACK  blank no audio, no video
    Please clarify. Which export option did you use exactly, if you can remember after the long time? And what was the format of the movies? How did you take them?
    It looks like the videos had been exported as video, in spite of your export setting "jpeg", but the resource fork in the file were missing. This can be caused by moving them to a different drive. If the resource fork is just a link, this can be broken, if a QuickTime movie is moved to a different drive. I have not much hope, but try with one of videos, if it will play, if you move it back to your system drive. If the original movie is still somewhere on your internal drive, that could work.

  • Order by missing pls help

    Hi,
    first one is old query ,I re write this query as second query with using WITH clause,Both are returning same rows but Oder is missing,
    Java developers need same order.Could you pls help to get same order for second query as 1st query .And i tried Order by clause for second query all possibilities but i did't get same order as 1st.
    *1st query*
    SELECT   a.test_session_id, c.roster_domain_name, a.sem
      FROM   test_session_detail a, test_session b, test_detail c
    WHERE   a.test_session_id = b.test_session_id
             AND c.test_detail_id = a.test_detail_id
             AND EXISTS
                   (SELECT   td.test_detail_id
                      FROM   test_detail td
                     WHERE       domain_map_id IS NOT NULL
                             AND c.test_detail_id = td.test_detail_id
                             AND domain_map_id IN ('303', '306', '305', '304'))
             AND b.test_session_id IN ('4047','4086','4087','4165','4167','4169')
    AND domain_group_id NOT IN
                      (SELECT   domain_group_id
                         FROM   test_session_detail a, test_session b
                        WHERE       a.test_session_id = b.test_session_id
                                AND a.domain_group_id IS NOT NULL
                                AND b.test_session_status_id = 4
                                AND a.test_session_status_id <> 3
                                AND b.test_session_id IN
                                         ('4047','4086','4087','4165','4167','4169'))     
    sample output of 1st query
    TEST_SESSION_ID     ROSTER_DOMAIN_NAME     SEM
    4047     AR - Integers and Fractions     2
    4047     AR - Integers and Fractions     2
    4047     AR - Decimal Numbers     1
    4047     AR - Decimal Numbers     1
    4047     AR - Percent     1
    4047     AR - Percent     1.52
    4047     AR - Estim, Ordering, Numb. Sense     11.34
    4047     AR - Estim, Ordering, Numb. Sense     11.34
    4047     AR - Word Problems     0.401
    4047     AR - Word Problems     1
    4086     AR - Integers and Fractions     1.5
    4086     AR - Decimal Numbers     1.342
    4086     AR - Percent     1
    4086     AR - Estim, Ordering, Numb. Sense     11.34
    4086     AR - Word Problems     2second query
    WITH exist_1 AS
                   (SELECT   td.test_detail_id
                      FROM   test_detail td
                     WHERE       domain_map_id IS NOT NULL
                   AND domain_map_id IN ('303', '306', '305', '304')),
    domain_group AS
                      (SELECT   domain_group_id
                         FROM   test_session_detail a, test_session b
                        WHERE       a.test_session_id = b.test_session_id
                                AND a.domain_group_id IS NOT NULL
                                AND b.test_session_status_id = 4
                                AND a.test_session_status_id <> 3
                                AND b.test_session_id IN
                                         ('4047','4086','4087','4165','4167','4169'))
    SELECT   a.test_session_id, c.roster_domain_name, a.sem
      FROM   test_session_detail a, test_session b, test_detail c,exist_1 ex, domain_group dg
    WHERE   a.test_session_id = b.test_session_id
             AND c.test_detail_id = a.test_detail_id
             AND dg.domain_group_id(+) =A.DOMAIN_GROUP_ID
             AND dg.domain_group_id IS NULL
             AND ex.test_detail_id = c.test_detail_id
             AND b.test_session_id IN ('4047','4086','4087','4165','4167','4169')                                    
    sample output of second query
    TEST_SESSION_ID     ROSTER_DOMAIN_NAME     SEM
    4086     AR - Word Problems     2
    4086     AR - Estim, Ordering, Numb. Sense     11.34
    4086     AR - Percent     1
    4086     AR - Decimal Numbers     1.342
    4086     AR - Integers and Fractions     1.5
    4047     AR - Word Problems     0.401
    4047     AR - Estim, Ordering, Numb. Sense     11.34
    4047     AR - Percent     1.52
    4047     AR - Decimal Numbers     1
    4047     AR - Integers and Fractions     2
    4047     AR - Word Problems     1
    4047     AR - Estim, Ordering, Numb. Sense     11.34
    4047     AR - Percent     1
    4047     AR - Decimal Numbers     1
    4047     AR - Integers and Fractions     2

    Hi,
    user575115 wrote:
    Hi,
    Even if i give order by a.test_session_id in both queries not ordering properly in second query as 1st query.When you say
    ORDER BY  a.test_session_id    DESCin your main query, then you can be sure that all the rows where a.test_session_id=4086 will be together, before any rows with a.test_session_id=4047. But if you have 5 rows where a.test_session_id=4086, there is no telling what order those 5 rows will be in, and it will not necessarily be the same every time you run the exact same query with the exact same data. You can ORDER BY additional columns or expressions, even columns or expressions that are not in the SELECT clause.
    For example, if you say:ORDER BY  a.test_session_id    DESC
    ,         a.test_detail_idthen you can be sure the rows where a.test_session_id=4086 will be together, before any rows with a.test_session_id=4047, as before, but you can also be sure that the rows where a.test_session_id=4086 will be in order by a.test_detail_id. If that is not unique, keep adding more columns.
    If the ORDER BY clause includes the primary key (or any unique key) from each table, then you can be sure that the results will always be in the same order.

  • Oracle (ODBC Error) Pls help

    Hi Friends
    I created a new project with Vb.Net and database of oracle 10g
    I build the Exe file when i opened for the first time its working fine and second time too
    but some times its not even logged in getting an below error message
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 8.1.5.0.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 8.1.5.0.0 - Production
    Time: 25-JAN-08 03:18:37
    Tracing not turned on.
    Tns error struct:
    nr err code: 0
    ns main err code: 12560
    TNS-12560: TNS:protocol adapter error
    ns secondary err code: 0
    nt main err code: 530
    TNS-00530: Protocol adapter error
    nt secondary err code: 0
    nt OS err code: 0
    and as well as geting "SqlConnect Attr Failed" error
    Pls help me out on this
    thanks
    Krrish

    Check your Folder configuration under 'My Content Server' , change the content style to native and clear the 'Show hidden when browsing' option.
    Hope this helps.
    Regards,
    -Mukesh.

  • Minimise,maximise close icons and task .bar are missing.pls help.

    my home page is google.but when i open firefox i dont see it.i cannot see maximise minimise andclose icons too. pls help.

    thanks a lot . hitting f11 solved my problem. now may i know how should i make my google home page?pls help.
    veena

  • Books are missing- pls help

    Hi - I recently backed up my ipad , then reset it to default settings, now after restoring it on iTunes - I can't find my book and PDF collection in iBooks . Pls help

    A backup on your computer's iTunes doesn't include the contents of the iBooks app. Did you do File > Devices > Transfer Purchases to copy your iTunes purchases (that would also copy PDFs and epubs if they were in the iBooks app) over to your computer's iTunes prior to resetting it ? If you did then your books and PDFs should be in the Books part of your computer's iTunes library (or the iBooks app if you are using a Mac with OS X Mavericks on it) - in which case you should be able to sync them back to your iPad.
    If you don't have them on your computer then you should (if they are still in your country's store) be able to redownload your ibooks via the Purchased tab in the ibookstore in the app. For your PDFs do you have them anywhere on your PC and/or on a backup drive ?

  • Oracle WareHouse Builder - Pls help

    Hi,
    I am into a awkward problem. I was working in OWB when everything was right but yesterday somehow I lost my object details tab in Data Object Editor. I have checked Tools--> Object Details which is showing a tick beside it. Since I'm not getting this tab I cannot work on any object. I want to add attributes to dimension etc... Pls help, I want my Object Detail tab back..
    Thanks in advance,
    Pragati.

    Firstly, exit your OWB Client.
    Go to your OWB_HOME directory, and rename the file SchemaEditorLayout.xml which is in the OWB_HOME/owb/bin/admin directory, call it something like "OLD_SchemaEditorLayout.xml"
    Restart your OWB Client and open the Data Object Editor. All the panels will be displayed in their default positions.
    Hope this helps.
    Keith

  • JReport Designer - oracle stored procedure-PLS HELP!!!!

    Hi,
    I am using Jreport designer with oracle data base. I wanted to layout a report with oracle stored procedure which returns a REF CURSOR. I tried adding OracleProcedureUDS in user data source thru catalog browser. I gave the params as DRIVER=oracle.jdbc.driver.OracleDriver&URL="jdbc:oracle:thin:@10.10.1.177:1521:ORCL"
    &USER=<myuser>&PSWD=<mypwd>&PROCNAME=empquery&SQL={ call empquery(?) }
    &REFCURSORINDEX=1
    but on pressing OK, i get the error ,
    java.lang.NullPointerException
    at jet.datasource.oracle.OracleProcedureUDS.getProcedureParams(jet/datas
    ource/oracle/OracleProcedureUDS)
    at jet.datasource.oracle.OracleProcedureUDS.getResultSet(jet/datasource/
    oracle/OracleProcedureUDS)
    at jet.universe.engine.UUDSEngine._getResultSet(jet/universe/engine/UUDS
    Engine)
    at jet.universe.engine.UQueryEngine.getResultSet(jet/universe/engine/UQu
    eryEngine)
    at jet.rptengine.JReportEngine.run(jet/rptengine/JReportEngine)
    at java.lang.Thread.run(Thread.java:536)
    java.lang.NullPointerException
    at jet.datasource.oracle.OracleProcedureUDS.getProcedureParams(jet/datas
    ource/oracle/OracleProcedureUDS)
    at jet.datasource.oracle.OracleProcedureUDS.getResultSet(jet/datasource/
    oracle/OracleProcedureUDS)
    at jet.universe.engine.UUDSEngine._getResultSet(jet/universe/engine/UUDS
    Engine)
    at jet.universe.engine.UQueryEngine.getResultSet(jet/universe/engine/UQu
    eryEngine)
    at jet.rptengine.JReportEngine.run(jet/rptengine/JReportEngine)
    at java.lang.Thread.run(Thread.java:536)
    note: I have added the classpath C:\oracle\ora92\jdbc\lib\class111.zip which contains the classes in package oracle.jdbc.driver, as per the user guide.
    also this is my stored procedure which got created successfully:
    CREATE OR REPLACE PACKAGE SHDEMO as
    type curtype is ref cursor;
    END SHDEMO;
    CREATE OR REPLACE PROCEDURE empquery (cur OUT SHDEMO.curtype) as
    lcur SHDEMO.curtype;
    begin
    open lcur for
    select * from intf_hr_employee;
    cur:=lcur;
    END empquery;
    pls somebody help me. I have wasted 2 days on this.
    Thanks,
    Swathi

    Hi,
    i fixed the bug. it was because i excluded &OWNER=<MYOWNER> in the param list.
    Thanks,
    Swathi

  • Attn: Oracle Form programmers - pls. help

    Can somebody pls. give me the syntax for writing Oracle Query Forms. I've done it before but forgotten the syntax.
    The idea is to create a statement by APPENDING the search items in a program unit & substituting in the WHERE clause. This program unit will be called by a button.
    This way, we don't have to write many IF statments.
    For example, if user wants to query by NAME AND COUNTRY, then the statement >> Block:Name ||&|| Block:Country
    Where clause: Block:Name ||&|| Block:Country
    Thanks - Mave

    1. that subject line of yours is just stupid. You're posting on an Oracle Forms Forum. Every single post on this forum is looking for help from Oracle Forms programmers.
    Be specific.
    2. I assume you're looking for something like
    DECLARE
      v_default_where VARCHAR2(32767);
      v_btn NUMBER;
    begin
      IF :control.name is not null then
        v_default_where := v_default_where||' AND name LIKE :control.name';
      END IF;
      IF :control.empno is not null then
        v_default_where := v_default_where||' AND empno = :control.empno';
      END IF;
      IF v_default_where IS NULL THEN
        v_btn := show_alert('NO_CRITERIA');
      ELSE
        v_default_where := SUBSTR(v_default_where,5); -- remove leading ' AND '
        set_block_property(data_block, ONETIME_WHERE, v_default_where);
        EXECUTE_QUERY;
      END IF;
    END;

  • Oracle configuration manager pls help!!

    Hi
    I need to install oracle configuration manager and I am not sure where to install. My database is on a server called mledb. Do i have to install it on the server or on my local machine. Would appreciate if anyone can help..
    Thanks

    user_unlimited wrote:
    Do we need to pay license to use this OCM-CCR?If you are talking about the OCM that is part of your Support contract, then ... you license it by renewing your support contract.

  • Oracle apps DBA pls help

    Hello All,
    I am new to oracle applications , can anyone pls tell me what are the purging requests a apps DBA must run frequently. and what are the other daily checklist i should do in apps.
    My apps version is 11.5.9
    and database version is 9.2
    Thanks and Regards
    Amit Raghuvanshi

    hi amit for me i have the following schudealed on weekly basis (each enviromt is diffrent than other)
    Purge Obsolete Workflow Runtime 03:00 AM every 7 days.
    Delete Diagnostic Logs Runtime 04:00 AM every 7 days.
    Delete Diagnostic stats Runtime Data 05:00 AM every 7 days.
    Gather Schema Statistics(customschema) 05:00 AM every 7 days.
    Gather Schema Statistics(all) 05:00 AM every 1 month.
    Purge Concurrent Request and/or Manager at 06:00 AM every 7 days.
    fadi
    http://oracle-magic.blogspot.com

  • I have light room 4 . I import edit and a day or 2 later they are missing.pls help me find them and

    I have lightroom 4 . I import the images edit them and in a day or so the images are missing/offline. I'vge looked all over on my Mac trying to find them and have been unsuccessful. Please help me fid them and wht should I do to avoid this in the future? I have also tried to back these files on an extrenal drive and it is missing from theere also.
    Please help.
    thanks

    he knows his ID , if he did all whats in the link he can get his password back ?
    how can i make him call applecare ? is there a way to speak to them from jordan ??
    i have been trying to reach any1 in apple so they can communicate and help my friend (us) to make him remember it .
    am not asking for the password or trying to get into the phone without using it , and i can take my money back though i need to help my friend as well since now he cant use it as well.
    thanks kil

  • Can't reformat my DV5 it say BOOTMGR is missing pls help,,

    Reformat

    Download an Ubuntu CD.
    You should be able to boot from that and copy your important file to a peripheral storage device.
    -Jerry

  • Installation problem, pls help

    I am trying to install Oracle 10g on SUSE 10.0.0 but when i run the ./runInstaller command, I receive an[b] error of writting to directory /tmp/OraInstall2006-03........, Please ensure this directory is writable and at least 60MB of disk space, i have checked for space using df -h /tmp, there is enough space, i think the problem has got to do with permission because @ the moment it belongs to root user, i don't know what to do, i am a novice to unix and need to install oracle today. Pls help
    Usually the standard install of SuSE Linux should set the ownership and access rights to /tmp, if you want to give access to everyone on the system, just use this command (if owner/root access is available):
    I have used chmod o+rwx /tmp command and still having the same error. Pls somebody help
    chmod o+rwx /tmp

    Of course I assume you did correctly follow installation and configuration instructions. Did you read Oracle10g/Linux Errors and Problems from Werner Puschitz ?

  • I have installed oracle 10g in my winxp machine. i am using enterprise manager. i am not able to shutdown the system as it asks for os username and password. i have provided my os username and password but eerror persiste. somebody pls help me to get rid

    I have installed oracle 10g in my winxp machine. i am using enterprise manager. i am not able to shutdown the system as it asks for os username and password. i have provided my os username and password but eerror persiste. somebody pls help me to get rid of this.

    Here I am using Java Type IV for database
    connection.
    So,there was no necessity of creating DNS.How your app communicates with db shouldn't matter for the end user. Still, you may want to use a functional network name also for the thin client driver connection string.
    So,is there any other way to solve this problem.What is the problem really? Do you not use dns for network naming? Maybe you have to manage the hosts file on every client then.

Maybe you are looking for