Some Objects owned by SYS became invalid due wrong deletion from OBJ$ table

Hi,
While cleaning up streams from source database,we have found some rules and stream queue name was still present, so we tried to delete those records from obj$ table, but by mistake we have deleted all records from obj$ table related to streams.Actually we executed the following sql statement:
DELETE FROM OBJ$ WHERE NAME LIKE '%STREAM%';COMMIT;
For this fault some problem arrise.After this we have found lots of SYS owner objects (VIEW,PACKAGE,TYPE) are become invalid.This situation happened in a remote database.For this remote database there is missing a TYPE "AQ$_JMS_STREAM_MESSAGE".
We have created a dummy database in local and executed the same delete statement, and after this We have executed (after shutdown immediate & startup migrate)catpatch.sql & (after shutdown immediate & startup) utlrp.sql but still there are some objects exists invalid.
e.g. one object is "_DBA_APPLY_ERROR" which is invalid.While I have tried to open the table "APPLY$_ERROR" for this view it showing an error message "ORA-00600: internal error code, arguments: [kkdlusr1], [30813], [], [], [], [], [], []"
We are using ORACLE 9.2.0.5 and Windows XP for our work.
Now please tell me what is it`s remedy.
Thanks in advance.

I had exec utlirp.sql..
Well you were asked to run utlrp.sql. I can't speak about the time that it will take to get complete. For the invalid objects, there are two ways to make them valid,one run utlrp.sql and see how many become valid and the other ( painful one) is to manually look for the errors in their compilation and sort it out.
Aman....

Similar Messages

  • How to delete in iTunes for Mac some PDF files, previously synched with iPhone and then deleted from it?

    A while ago I synced some PDF files from my iTunes to my iPhone.  I've deleted those PDF files from my iPhone recently but now i'm trying to delete them from iTunes but can't.  How can this be done?
    P.S. Tried to select/highlight them (OK) and then to delete with cmd+Backspace - doesn't work 

    I am sure the URLConnection.defaultUseCaches is set before it is connected otherwise I should catch an IllegalStateException on conn.setUseCaches(false).
            try
                URL url = new URL("jar:file:/C:\\a.jar!/a.gif");           
             URLConnection conn = url.openConnection();
               conn.setDefaultUseCaches(false);
             conn.setUseCaches(false);
                Icon icon = new ImageIcon(url);
                System.out.println("icon size ? " + icon.getIconHeight());
                url.openConnection().getInputStream().close();
                System.gc();
             System.runFinalization();
                File file = new File("c:\\a.jar");
                while (file.exists())
                    file.delete();
                    try
                        Thread.sleep(10);
                    catch (InterruptedException ignored)
                System.out.println("file deleted.");
            catch (Throwable t)
                t.printStackTrace();

  • Sys update removed built-in speakers from output options

    Hello All:
    Can anyone help me get my sound working again? Can someone tell Apple they shouldn't have fired everyone who checks that their updates don't screw up machines in other ways?
    Problem: No sound after installing updates. Built-in speakers have been removed from sound output preferences dialog.
    System: 10.4.11
    Hdwr: MacbookPro 2.16 GHz Intel Core 2 Duo
    Details:
    Yesterday I installed two updates:
    2009-05-24 13:06:57 -0700: Installed "Security Update 2009-002 (Intel)" (1.0)
    2009-06-08 00:56:54 -0700: Installed "Safari" (3.2.3)
    After, no sound comes out of my built-in speakers. Machine has been re-booted, sound control panel checked many tiems, etc. The only options in the sound pane>output are :
    digital out Port=Built-in Output
    soundflower (2ch)
    soundflower (16ch)
    All options say, "Settings for this selected device: The selected device has no output controls".
    So, the built-in speakers have been zorched somehow.
    Apple help doesn't say much other than make sure nothing plugged into headphone jack (there isn't).
    I now cannot participate in any of my scheduled skype conferences ---crap crap crap.
    The last security update caused deletions of libraries for x11 on my G5 10.3 machine, now this one has killed my sound on my other machine. Fixing the aftermath of these updates have really become a time-sink. I wish someone would tell Apple to take a little more care with testing these updates.
    Apple engineers, are you listening?
    Thanks,
    -Bruce

    Sorry, I just got a fix for my own question: "sys update removed built-in speakers from output options"
    This was provided by www.mac-forums.com. Apparently, this was a ???coincidence??? and a hardware problem, not a software problem(!).
    BTW I didn't resort to WD-40, I just plugged in a sound cable repeatedly.
    Thank you all for putting up with me, and I do apologize to apple for dis-ing their testing this time (but not last time when they zorched my x11 libraries!)
    -Bruce
    ===========Fix from http://www.mac-forums.com/forums/apple-notebooks/88527-no-output-devices-found-n o-sound.html
    Macriot has the solution:
    macriot - Apple Hardware | The Fix For No Sound From Your MacBook Pro or iPhone
    Contributed by "Mac":
    <quote>
    For MacBook Pro owners this is commonly characterised by:
    * the internal speakers still chime when your Mac is powered on
    * a 'no parking' like symbol appearing below the sound icon whenever you attempt to manipulate the volume on your Mac
    * the red light that continues to emanate from the audio output port
    * only "Digital audio out" as the only output source displayed in the Sound pane of the System Preferences.
    If you have these symptoms, we recommend a very gentle and minute tinkle of WD-40 into the audio output jack, followed by gently inserting and removing the audio input jack a few times. At least until the sound is returned to normal and red light ceases to glow from the audio output jack.
    Remember, we said "tinkle" not spraying into the jack like there's no tomorrow...
    Following the steps above will give you a good chance of restoring your internal audio.
    </quote>
    This worked for me; doubtless, there had been dust or smear or something else polluting the macintosh perfection. Everything else people are doing is incidental and only coincidentally will have effect. Sorry, but this is a mechanical issue, not a software one.

  • Object became invalid in database

    hi all,
    I have a prblem ,some one modified the object of test instance in our company now object became invalid .
    how to trace the ip adress ,operating system username, service ipadress of which user modified the object . please help me on this isuue.
    thanks for all in advance.
    Regards
    Maddy
    Edited by: maddy on Sep 4, 2011 2:04 AM

    First of all: using all capitals anywhere is considered shouting and you should edit your subject line and stop that immediately.
    Secondly: the nature of your question indicates you are not into reading documentation. As that is annoying, can you stop that too?
    Your issue is a non-issue as Oracle will recompile the object as soon as it used again.
    Also if you don't audit alter statements, the answer is you can not know this.
    Sybrand Bakker
    Senior Oracle DBA

  • View Object is invalid due to SYSTEM.MODE is not recognized inside SQL

    Hi All,
    I tried recreating a Oracle form 9i to ADF BC using Jheadstart 10.1.3.3.81, JHS converted the form(converted .xml) generating the Entity and View Objects.
    But among the generated View Objects few are invalid due to which the generated .jspx page is partial in result compared to Original form.
    I have pasted the SQL generated from one of the View Object which is invalid. I tried fixing this SQL from SQL Navigator but I get Invalid function error for SYSTEM.MODE and Not an Object or REF for :INSHST.FACILITY_ID. Can anyone help me out in fixing this Issue?
    SELECT VSLHST.LAST_UPDATE_LOGIN,
    VSLHST.LAST_UPDATE_DATE,
    VSLHST.LAST_UPDATED_BY,
    VSLHST.CREATION_DATE,
    VSLHST.CREATED_BY,
    VSLHST.POST_VOLUME,
    VSLHST.POST_LEVEL_PERCENT,
    VSLHST.POST_TEMPERATURE,
    VSLHST.POST_GAS_PRESSURE,
    VSLHST.POST_LEVEL,
    VSLHST.EQUIPMENT_ID,
    VSLHST.EQUIPMENT_INSTALLATION_ID,
    VSLHST.EQUIPMENT_FACILITY_ID,
    VSLHST.INSTALLATION_HISTORY_ID,
    VSLHST.INSTALLATION_ID,
    VSLHST.FACILITY_ID,
    VSLHST.VESSEL_HISTORY_ID,
    (select DSP_DI_WATER_VOLUME
    from (SELECT EQU.EQUIPMENT_CODE L_EQUIPMENT_CODE,
    EQU.DESCRIPTION DSP_DESCRIPTION,
    EQ.FACILITY_ID L_FACILITY_ID,
    EQ.INSTALLATION_ID L_INSTALLATION_ID,
    EQ.EQUIPMENT_ID L_EQUIPMENT_ID,
    EQ.DI_VESSEL_NUMBER DSP_DI_VESSEL_NUMBER,
    EQ.EQUIPMENT_CODE DSP_EQUIPMENT_CODE,
    EQ.DI_FULL_LEVEL DSP_DI_FULL_LEVEL,
    EQ.CAPACITY_QUANTITY DSP_CAPACITY_QUANTITY,
    EQ.UNIT_OF_MEASURE DSP_UNIT_OF_MEASURE,
    EQ.DI_WATER_VOLUME DSP_DI_WATER_VOLUME
    FROM CP_EQUIPMENTS EQ, CP_X_EQUIPMENT_TYPES EQU
    WHERE (((:SYSTEM.MODE = 'ENTER-QUERY') AND
    ( /* CG$MDTU_QWC_START VSLHST.EQ */
    (EQ.facility_id = :INSHST.FACILITY_ID and
    EQ.installation_id = :INSHST.INSTALLATION_ID and
    (EQ.installed_date <= sysdate and
    (EQ.removal_date is null or
    EQ.removal_date >= sysdate) and
    (EQ.stop_fill_date is null or
    EQ.stop_fill_date >= sysdate))) /* CG$MDTU_QWC_END VSLHST.EQ */
    )) OR ((NOT :SYSTEM.MODE = 'ENTER-QUERY') AND
    ( /* CG$MDTU_VWC_START VSLHST.EQ */
    (EQ.facility_id = :INSHST.FACILITY_ID and
    EQ.installation_id = :INSHST.INSTALLATION_ID and
    (EQ.installed_date <= sysdate and
    (EQ.removal_date is null or
    EQ.removal_date >= sysdate) and
    (EQ.stop_fill_date is null or
    EQ.stop_fill_date >= sysdate))) /* CG$MDTU_VWC_END VSLHST.EQ */
    AND EQ.EQUIPMENT_CODE = EQU.EQUIPMENT_CODE
    ORDER BY L_EQUIPMENT_CODE) LOVQUERY
    where 1 = 1
    and LOVQUERY.L_FACILITY_ID = VSLHST.EQUIPMENT_FACILITY_ID
    and LOVQUERY.L_INSTALLATION_ID = VSLHST.EQUIPMENT_INSTALLATION_ID
    and LOVQUERY.L_EQUIPMENT_ID = VSLHST.EQUIPMENT_ID) AS DSP_DI_WATER_VOLUME,
    (select DSP_UNIT_OF_MEASURE
    from (SELECT EQU.EQUIPMENT_CODE L_EQUIPMENT_CODE,
    EQU.DESCRIPTION DSP_DESCRIPTION,
    EQ.FACILITY_ID L_FACILITY_ID,
    EQ.INSTALLATION_ID L_INSTALLATION_ID,
    EQ.EQUIPMENT_ID L_EQUIPMENT_ID,
    EQ.DI_VESSEL_NUMBER DSP_DI_VESSEL_NUMBER,
    EQ.EQUIPMENT_CODE DSP_EQUIPMENT_CODE,
    EQ.DI_FULL_LEVEL DSP_DI_FULL_LEVEL,
    EQ.CAPACITY_QUANTITY DSP_CAPACITY_QUANTITY,
    EQ.UNIT_OF_MEASURE DSP_UNIT_OF_MEASURE,
    EQ.DI_WATER_VOLUME DSP_DI_WATER_VOLUME
    FROM CP_EQUIPMENTS EQ, CP_X_EQUIPMENT_TYPES EQU
    WHERE (((:SYSTEM.MODE = 'ENTER-QUERY') AND
    ( /* CG$MDTU_QWC_START VSLHST.EQ */
    (EQ.facility_id = :INSHST.FACILITY_ID and
    EQ.installation_id = :INSHST.INSTALLATION_ID and
    (EQ.installed_date <= sysdate and
    (EQ.removal_date is null or
    EQ.removal_date >= sysdate) and
    (EQ.stop_fill_date is null or
    EQ.stop_fill_date >= sysdate))) /* CG$MDTU_QWC_END VSLHST.EQ */
    )) OR ((NOT :SYSTEM.MODE = 'ENTER-QUERY') AND
    ( /* CG$MDTU_VWC_START VSLHST.EQ */
    (EQ.facility_id = :INSHST.FACILITY_ID and
    EQ.installation_id = :INSHST.INSTALLATION_ID and
    (EQ.installed_date <= sysdate and
    (EQ.removal_date is null or
    EQ.removal_date >= sysdate) and
    (EQ.stop_fill_date is null or
    EQ.stop_fill_date >= sysdate))) /* CG$MDTU_VWC_END VSLHST.EQ */
    AND EQ.EQUIPMENT_CODE = EQU.EQUIPMENT_CODE
    ORDER BY L_EQUIPMENT_CODE) LOVQUERY
    where 1 = 1
    and LOVQUERY.L_FACILITY_ID = VSLHST.EQUIPMENT_FACILITY_ID
    and LOVQUERY.L_INSTALLATION_ID = VSLHST.EQUIPMENT_INSTALLATION_ID
    and LOVQUERY.L_EQUIPMENT_ID = VSLHST.EQUIPMENT_ID) AS DSP_UNIT_OF_MEASURE,
    (select DSP_CAPACITY_QUANTITY
    from (SELECT EQU.EQUIPMENT_CODE L_EQUIPMENT_CODE,
    EQU.DESCRIPTION DSP_DESCRIPTION,
    EQ.FACILITY_ID L_FACILITY_ID,
    EQ.INSTALLATION_ID L_INSTALLATION_ID,
    EQ.EQUIPMENT_ID L_EQUIPMENT_ID,
    EQ.DI_VESSEL_NUMBER DSP_DI_VESSEL_NUMBER,
    EQ.EQUIPMENT_CODE DSP_EQUIPMENT_CODE,
    EQ.DI_FULL_LEVEL DSP_DI_FULL_LEVEL,
    EQ.CAPACITY_QUANTITY DSP_CAPACITY_QUANTITY,
    EQ.UNIT_OF_MEASURE DSP_UNIT_OF_MEASURE,
    EQ.DI_WATER_VOLUME DSP_DI_WATER_VOLUME
    FROM CP_EQUIPMENTS EQ, CP_X_EQUIPMENT_TYPES EQU
    WHERE (((:SYSTEM.MODE = 'ENTER-QUERY') AND
    ( /* CG$MDTU_QWC_START VSLHST.EQ */
    (EQ.facility_id = :INSHST.FACILITY_ID and
    EQ.installation_id = :INSHST.INSTALLATION_ID and
    (EQ.installed_date <= sysdate and
    (EQ.removal_date is null or
    EQ.removal_date >= sysdate) and
    (EQ.stop_fill_date is null or
    EQ.stop_fill_date >= sysdate))) /* CG$MDTU_QWC_END VSLHST.EQ */
    )) OR ((NOT :SYSTEM.MODE = 'ENTER-QUERY') AND
    ( /* CG$MDTU_VWC_START VSLHST.EQ */
    (EQ.facility_id = :INSHST.FACILITY_ID and
    EQ.installation_id = :INSHST.INSTALLATION_ID and
    (EQ.installed_date <= sysdate and
    (EQ.removal_date is null or
    EQ.removal_date >= sysdate) and
    (EQ.stop_fill_date is null or
    EQ.stop_fill_date >= sysdate))) /* CG$MDTU_VWC_END VSLHST.EQ */
    AND EQ.EQUIPMENT_CODE = EQU.EQUIPMENT_CODE
    ORDER BY L_EQUIPMENT_CODE) LOVQUERY
    where 1 = 1
    and LOVQUERY.L_FACILITY_ID = VSLHST.EQUIPMENT_FACILITY_ID
    and LOVQUERY.L_INSTALLATION_ID = VSLHST.EQUIPMENT_INSTALLATION_ID
    and LOVQUERY.L_EQUIPMENT_ID = VSLHST.EQUIPMENT_ID) AS DSP_CAPACITY_QUANTITY,
    (select DSP_DI_FULL_LEVEL
    from (SELECT EQU.EQUIPMENT_CODE L_EQUIPMENT_CODE,
    EQU.DESCRIPTION DSP_DESCRIPTION,
    EQ.FACILITY_ID L_FACILITY_ID,
    EQ.INSTALLATION_ID L_INSTALLATION_ID,
    EQ.EQUIPMENT_ID L_EQUIPMENT_ID,
    EQ.DI_VESSEL_NUMBER DSP_DI_VESSEL_NUMBER,
    EQ.EQUIPMENT_CODE DSP_EQUIPMENT_CODE,
    EQ.DI_FULL_LEVEL DSP_DI_FULL_LEVEL,
    EQ.CAPACITY_QUANTITY DSP_CAPACITY_QUANTITY,
    EQ.UNIT_OF_MEASURE DSP_UNIT_OF_MEASURE,
    EQ.DI_WATER_VOLUME DSP_DI_WATER_VOLUME
    FROM CP_EQUIPMENTS EQ, CP_X_EQUIPMENT_TYPES EQU
    WHERE (((:SYSTEM.MODE = 'ENTER-QUERY') AND
    ( /* CG$MDTU_QWC_START VSLHST.EQ */
    (EQ.facility_id = :INSHST.FACILITY_ID and
    EQ.installation_id = :INSHST.INSTALLATION_ID and
    (EQ.installed_date <= sysdate and
    (EQ.removal_date is null or
    EQ.removal_date >= sysdate) and
    (EQ.stop_fill_date is null or
    EQ.stop_fill_date >= sysdate))) /* CG$MDTU_QWC_END VSLHST.EQ */
    )) OR ((NOT :SYSTEM.MODE = 'ENTER-QUERY') AND
    ( /* CG$MDTU_VWC_START VSLHST.EQ */
    (EQ.facility_id = :INSHST.FACILITY_ID and
    EQ.installation_id = :INSHST.INSTALLATION_ID and
    (EQ.installed_date <= sysdate and
    (EQ.removal_date is null or
    EQ.removal_date >= sysdate) and
    (EQ.stop_fill_date is null or
    EQ.stop_fill_date >= sysdate))) /* CG$MDTU_VWC_END VSLHST.EQ */
    AND EQ.EQUIPMENT_CODE = EQU.EQUIPMENT_CODE
    ORDER BY L_EQUIPMENT_CODE) LOVQUERY
    where 1 = 1
    and LOVQUERY.L_FACILITY_ID = VSLHST.EQUIPMENT_FACILITY_ID
    and LOVQUERY.L_INSTALLATION_ID = VSLHST.EQUIPMENT_INSTALLATION_ID
    and LOVQUERY.L_EQUIPMENT_ID = VSLHST.EQUIPMENT_ID) AS DSP_DI_FULL_LEVEL,
    (select DSP_DESCRIPTION
    from (SELECT EQU.EQUIPMENT_CODE L_EQUIPMENT_CODE,
    EQU.DESCRIPTION DSP_DESCRIPTION,
    EQ.FACILITY_ID L_FACILITY_ID,
    EQ.INSTALLATION_ID L_INSTALLATION_ID,
    EQ.EQUIPMENT_ID L_EQUIPMENT_ID,
    EQ.DI_VESSEL_NUMBER DSP_DI_VESSEL_NUMBER,
    EQ.EQUIPMENT_CODE DSP_EQUIPMENT_CODE,
    EQ.DI_FULL_LEVEL DSP_DI_FULL_LEVEL,
    EQ.CAPACITY_QUANTITY DSP_CAPACITY_QUANTITY,
    EQ.UNIT_OF_MEASURE DSP_UNIT_OF_MEASURE,
    EQ.DI_WATER_VOLUME DSP_DI_WATER_VOLUME
    FROM CP_EQUIPMENTS EQ, CP_X_EQUIPMENT_TYPES EQU
    WHERE (((:SYSTEM.MODE = 'ENTER-QUERY') AND
    ( /* CG$MDTU_QWC_START VSLHST.EQ */
    (EQ.facility_id = :INSHST.FACILITY_ID and
    EQ.installation_id = :INSHST.INSTALLATION_ID and
    (EQ.installed_date <= sysdate and
    (EQ.removal_date is null or
    EQ.removal_date >= sysdate) and
    (EQ.stop_fill_date is null or
    EQ.stop_fill_date >= sysdate))) /* CG$MDTU_QWC_END VSLHST.EQ */
    )) OR ((NOT :SYSTEM.MODE = 'ENTER-QUERY') AND
    ( /* CG$MDTU_VWC_START VSLHST.EQ */
    (EQ.facility_id = :INSHST.FACILITY_ID and
    EQ.installation_id = :INSHST.INSTALLATION_ID and
    (EQ.installed_date <= sysdate and
    (EQ.removal_date is null or
    EQ.removal_date >= sysdate) and
    (EQ.stop_fill_date is null or
    EQ.stop_fill_date >= sysdate))) /* CG$MDTU_VWC_END VSLHST.EQ */
    AND EQ.EQUIPMENT_CODE = EQU.EQUIPMENT_CODE
    ORDER BY L_EQUIPMENT_CODE) LOVQUERY
    where 1 = 1
    and LOVQUERY.L_FACILITY_ID = VSLHST.EQUIPMENT_FACILITY_ID
    and LOVQUERY.L_INSTALLATION_ID = VSLHST.EQUIPMENT_INSTALLATION_ID
    and LOVQUERY.L_EQUIPMENT_ID = VSLHST.EQUIPMENT_ID) AS DSP_DESCRIPTION,
    (select DSP_DI_VESSEL_NUMBER
    from (SELECT EQU.EQUIPMENT_CODE L_EQUIPMENT_CODE,
    EQU.DESCRIPTION DSP_DESCRIPTION,
    EQ.FACILITY_ID L_FACILITY_ID,
    EQ.INSTALLATION_ID L_INSTALLATION_ID,
    EQ.EQUIPMENT_ID L_EQUIPMENT_ID,
    EQ.DI_VESSEL_NUMBER DSP_DI_VESSEL_NUMBER,
    EQ.EQUIPMENT_CODE DSP_EQUIPMENT_CODE,
    EQ.DI_FULL_LEVEL DSP_DI_FULL_LEVEL,
    EQ.CAPACITY_QUANTITY DSP_CAPACITY_QUANTITY,
    EQ.UNIT_OF_MEASURE DSP_UNIT_OF_MEASURE,
    EQ.DI_WATER_VOLUME DSP_DI_WATER_VOLUME
    FROM CP_EQUIPMENTS EQ, CP_X_EQUIPMENT_TYPES EQU
    WHERE (((:SYSTEM.MODE = 'ENTER-QUERY') AND
    ( /* CG$MDTU_QWC_START VSLHST.EQ */
    (EQ.facility_id = :INSHST.FACILITY_ID and
    EQ.installation_id = :INSHST.INSTALLATION_ID and
    (EQ.installed_date <= sysdate and
    (EQ.removal_date is null or
    EQ.removal_date >= sysdate) and
    (EQ.stop_fill_date is null or
    EQ.stop_fill_date >= sysdate))) /* CG$MDTU_QWC_END VSLHST.EQ */
    )) OR ((NOT :SYSTEM.MODE = 'ENTER-QUERY') AND
    ( /* CG$MDTU_VWC_START VSLHST.EQ */
    (EQ.facility_id = :INSHST.FACILITY_ID and
    EQ.installation_id = :INSHST.INSTALLATION_ID and
    (EQ.installed_date <= sysdate and
    (EQ.removal_date is null or
    EQ.removal_date >= sysdate) and
    (EQ.stop_fill_date is null or
    EQ.stop_fill_date >= sysdate))) /* CG$MDTU_VWC_END VSLHST.EQ */
    AND EQ.EQUIPMENT_CODE = EQU.EQUIPMENT_CODE
    ORDER BY L_EQUIPMENT_CODE) LOVQUERY
    where 1 = 1
    and LOVQUERY.L_FACILITY_ID = VSLHST.EQUIPMENT_FACILITY_ID
    and LOVQUERY.L_INSTALLATION_ID = VSLHST.EQUIPMENT_INSTALLATION_ID
    and LOVQUERY.L_EQUIPMENT_ID = VSLHST.EQUIPMENT_ID) AS DSP_DI_VESSEL_NUMBER
    FROM DI_VESSEL_HISTORIES VSLHST
    WHERE exists
    (select 1
    from CP_EQUIPMENTS EQ
    where (VSLHST.EQUIPMENT_FACILITY_ID = EQ.FACILITY_ID)
    and (VSLHST.EQUIPMENT_ID = EQ.EQUIPMENT_ID)
    and (VSLHST.EQUIPMENT_INSTALLATION_ID = EQ.INSTALLATION_ID)
    and EQ.FACILITY_ID = :b_INSHST_FACILITY_ID
    and EQ.INSTALLATION_ID = :b_INSHST_INSTALLATION_ID
    and (EQ.INSTALLED_DATE <= sysdate and
    (EQ.REMOVAL_DATE is null or EQ.REMOVAL_DATE >= sysdate) and
    (EQ.STOP_FILL_DATE is null or EQ.STOP_FILL_DATE >= sysdate)))
    Thanks In Advance,
    --Muniraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

    Muniraj,
    System.mode is forms specific, the Forms2ADFGenerator should convert this part of the SQL statement and put it between brackets.
    For references to block.item, it creates bind variables. Apparently, that did not happen. Can you send the <form_name>_
    extracted.xml file that is located in the root Java source direvtory of the model project to [email protected]?
    Thanks,
    Steven Davelaar,
    JHeadstart Team.

  • Sleep function became invalid when firefox open some web page

    I am a game programer, I found some problem recently, I found my game program's sleep function became invalid when firefox open some web page.

    I am a game programer, I found some problem recently, I found my game program's sleep function became invalid when firefox open some web page.

  • Some objects in sys schema not imported usinf full database import/export.

    Hello All,
    We need to migrate database from one server to new server using same database version 11g Release 2 (11.2.0.1.0). We have some production objects in sys schema. We took full export using full=y and then import on new server using full=y. Other objects belonging to different tablespaces and users has successfully imported but production objects i.e table in sys schema not import.
    We used following commands for export and import:
    # exp system file=/u01/backup/orcl_full_exp.dmp log=/u01/backup/orcl_full_exp.log full=y statistics=none
    # imp system file=/u01/backup/orcl_full_exp.dmp log=/u01/backup/orcl_full_imp.log full=y ignore=y
    Kind Regards,
    Sharjeel

    Hi,
    First of all it is not good practice to keep user object in the sys schema
    second you are useing version 11gr2 what not you go for datapump export/import method.
    third, did you get any error in import, what is the error

  • Calling DBMS_METADATA.GET_DDL on scheduler jobs owned by SYS

    Hi!
    While I can generally retrieve the DDL for scheduler jobs using the PROCOBJ type, this doesn't seem to work for scheduler jobs owned by SYS.
    Does anybody happen to have a workaround for this?
    SELECT user FROM dual
    USER
    SYS
    1 row selected
    select * from v$version
    BANNER                                                         
    Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
    PL/SQL Release 10.2.0.4.0 - Production
    CORE     10.2.0.4.0     Production
    TNS for 64-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production        
    5 rows selected
    SELECT DBMS_METADATA.GET_DDL('PROCOBJ' ,'MGMT_CONFIG_JOB', 'ORACLE_OCM') DDL FROM dual
    DDL
    BEGIN dbms_scheduler.create_job( ...
    1 row selected
    SELECT DBMS_METADATA.GET_DDL('PROCOBJ' ,'AUTO_SPACE_ADVISOR_JOB', 'SYS') DDL FROM dual
    ORA-31603: object "AUTO_SPACE_ADVISOR_JOB" of type PROCOBJ not found in schema "SYS"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA", line 2806
    ORA-06512: at "SYS.DBMS_METADATA", line 4333
    ORA-06512: at line 1Cheers,
    Marcus

    I guess I need SELECT_CATALOG_ROLE role
    http://www.orafaq.com/node/807
    SYS and users with SELECT_CATALOG_ROLE can see all objects.

  • Cannot drop column from table owned by SYS

    Hello everybody,
    How can I drop a column of table which is owned by sys? thanks!
    Result as follows:
    SQL> ALTER TABLE HELLO_TB DROP COLUMN NUM;
    ALTER TABLE HELLO_TB DROP COLUMN NUM
    ERROR at line 1:
    ORA-12988: cannot drop column from table owned by SYS
    newbie v

    You can not 'change' the ownership.
    You can, however, 'move' or 'clone' most objects by exporting and importing. As follows:
    I create a table under SYS (shudder).
    I then export it
    - using userid SYS in this case,
    - under normal circumstances I'd either use a DBA account or the owner's userid
    - since I want a table, I use the TABLES option - a list is comma separated and in quotes
    I then import it using a 'userid' switch - fromuser & touser options
    - in this case from SYS to HR
    Finally, I verify it was transported.
    Actual console session in Linux follows:
    pop2@fuzzy:~> sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Mar 10 19:58:01 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> create table test1 ( x1 number );
    Table created.
    SQL> insert into test1 values (2);
    1 row created.
    SQL> select * from test1;
            X1
             2
    SQL> Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    pop2@fuzzy:~> exp file=exp.dmp tables='TEST1'
    Export: Release 10.2.0.1.0 - Production on Fri Mar 10 20:00:07 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Username: sys/????? as sysdba
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Export done in AL32UTF8 character set and AL16UTF16 NCHAR character set
    About to export specified tables via Conventional Path ...
    . . exporting table                          TEST1          1 rows exported
    Export terminated successfully without warnings.
    pop2@fuzzy:~> imp file=exp.dmp fromuser=sys touser=hr
    Import: Release 10.2.0.1.0 - Production on Fri Mar 10 20:00:44 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Username: sys/????? as sysdba
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in AL32UTF8 character set and AL16UTF16 NCHAR character set
    . importing SYS's objects into HR
    . . importing table                        "TEST1"          1 rows imported
    Import terminated successfully without warnings.
    pop2@fuzzy:~> sqlplus hr/hr
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Mar 10 20:00:57 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> select * from test1;
            X1
             2
    SQL>The export/import pair are incredibly powerful - and few people understand them well. If you are interested in digging into their capability, check out their chapters in the Utilities manual (under the Books tab) at http://www.oracle.com/pls/db102/portal.portal_db?selected=1

  • SSMS is not listing table and views objects though the objects are listed when I execute TSql string "SELECT * FROM sys.Tables"

    I have a db, call it xyz.mdb
    It suddenly is that SSMS is not listing the table objects nor the Views.  SELECT * FROM sys.Tables and SELECT * FROM sys.Views work very fine.  But when I click on the tables node, on Objects Explorer, Only the Systems Tables and File Tables folders
    show. 
    Other DBs on same SQL instance do not show same problem.  They are all working very fine.
    I have backed up and restored this db on other computers and the behaviour is the same.  Incidentally right-clicking the db and clicking Properties throws up this error message.
    -------------------------------------------------------------------------Error!
    Cannot show requested dialog.
    Property Size is not available for Database '[Pliny E DB - NOA 2014]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights.  (Microsoft.SqlServer.Smo)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.0.3000.0+((SQL11_PCU_Main).121019-1325+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.PropertyCannotBeRetrievedExceptionText&EvtID=Size&LinkId=20476
    --------------------------------------------------------------------------------End>
    When I try to Refrresh the Tables node on Object Explorer, I get this other:
    ------------------------------Error!
    SQL Server detected a logical consistency-based I/O error: incorrect checksum (expected: 0x9090d9b7; actual: 0x909001b4). It occurred during a read of page (1:1173) in database ID 21 at offset 0x0000000092a000 in file 'c:\Databases\Clients\NOA\Pliny E DB -
    NOA 2014.mdf'.  Additional messages in the SQL Server error log or system event log may provide more detail. This is a severe error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check
    (DBCC CHECKDB). This error can be caused by many factors; for more information, see SQL Server Books Online. (Microsoft SQL Server, Error: 824)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=824&LinkId=20476
    ------------------------------End>
    The Help link of course is not valid any more.
    Many thanks
    Vie
    @Abuja
    Vie

    Your database is corrupted and you need to run.
    DBCC CHECKDB
    You already have a backup so do it...
    This link will provide you with more information:
    http://msdn.microsoft.com/en-us/library/ms176064.aspx

  • OATM Leaves some objects

    Hello Hussein,
    OATM Leaves some objects, How to migrate to new tablespaces?
    select OWNER, INDEX_NAME, INDEX_TYPE, TABLE_NAME,TABLESPACE_NAME
    from DBA_INDEXES
    where INDEX_TYPE LIKE 'IOT%'
    and TABLESPACE_NAME = 'CSD';
    Tablename
    DR$SUMMARY_CTX_INDEX$N
    DR$SUMMARY_CTX_INDEX$K
    DR$CS_INCIDENTS_ALL_TL_N1$N
    DR$CS_INCIDENTS_ALL_TL_N1$K
    I used alter table CS.DR$SUMMARY_CTX_INDEX$K move lob(token_info) store as (tablespace APPS_TS_TX_DATA); command, but i am getting an error as invalid token
    select segment_name, segment_type from dba_segments where tablespace_name ='APPLSYSD';
    SYS_LOB0000117464C00006$$
    SYS_IL0000117464C00006$$
    Thanks
    Prince
    Edited by: user12094010 on Mar 15, 2012 7:32 AM

    Hi Prince,
    Please see these docs.
    Some LOB Objects Are Not Moved After Using OATM [ID 754342.1]
    OATM Migration fails with ORA-22853 for LOB objects [ID 389472.1]
    Error "ORA-22853: invalid LOB storage option specification" When Migrating to Oracle Applications Tablespace Model After Applying 11i.ATG_PF.H RUP4 [ID 390541.1]
    OATM Migration fails on AW objects like AW$ODPCODE, AW$XWDEVKIT, AW$ZPBCODE [ID 557011.1]
    Unable to drop tablespace APPLSYSD when migrating to OATM [ID 369526.1]
    OATM migration leaves WF_CONTROL objects in the old tablespace [ID 418238.1]
    How to manually move composite-partitioned table and index? [ID 1270700.1]
    Reclaiming unused space in an E-Business Suite Instance tablespace [ID 303709.1]
    FAQ - OATM - Oracle Applications Tablespace Migration [ID 418225.1]
    Thanks,
    Hussein

  • Session invalidated due to version mismatch of Websphere

    It is real scenario happening in my project now also.. i am looking for solution
    i have one Test.jsp which is running in websphere4.0 and it is going to invoke another two.jsp which is running in
    websphere5.0.The one.jsp called two.jsp after that the session getting invalidated due to new session created
    after hit the two.jsp in the websphere5.0.
    this was identified by tracking the different session id generated from WS4 to WS5 server called.
    How can i resolve this?
    where should i change server configuration for websphere5.0?
    Is this server configuartion is required?
    Please provide how to track and reslove this issue?
    Regards
    Vijay

    Vijay,
    First I guess that ur both the jsp are on diferent server and in different application, i dont think you cant share the same session across multiple applications w/o some configuration.
    You got two webspheres and passing execution from app1 to app2. But how app2 can come to know about the session of app1 ? I guess you are doing inter context reference. And for that you need to use some specific configuration to synchronize the session between two application. Not just synchronization but you also need to tell both the servers that this user has logged in and create session for that use. And then keep it in sync.
    Bakul.

  • Some objects are no longer available in the universe.(Error: WIS 00001)

    We are in the process of upgrading BOXI R2 to R3.1 SP3. Setup, configuration of BOXI R3 on new machine is done. And migrated the reports,  universes, users, groups and all repository objects with Import Wizard. everything seems good except few Webi reports pointing to wrong universes and getting the below error message.
    "Some objects are no longer available in the universe. See your Business Objects administrator. (Error: WIS 00001)"
    1) I deleted the particular report from destination and re imported it but still same issue.
    2) deleted the file from Input file store and re imported it still same error I'm getting.
    Gurus, Please help me..
    Thanks,

    if the issues is with one or two reports i would've tried manually editing each report, but here we've this issue with 20+ reports so far..
    Just pointing it to right universe won't work, I've to add the missing objects as well. So Its like developing new report.
    Thanks!

  • Is there any way to disable the objects owned by a user?

    Hai every body....My problem is..
    I had created 60 users granting them connect and resource privileges in oracle(8.1.5.0.0).All of the users are working under their logins(users)...Every thing is going fine...But now i wanted to disable the objects owned by those users
    (60 Users) for a period of 2 days,After that i wanted to enable them....Is there any way to disable the objects owned by them with out dropping the users?(The users should be able to work as prevoiusly on the new objects they will create after i disabled the objetcts owned by them previously)?

    hi
    if my understanding is right you want to disable the users for 2 days for any reason let say he is on holiday for 2 days then why dont u lock this user and submit the job for unlock after two days.
    Khurram Siddiqui
    [email protected]

  • Error - Some objects are not available to your user profile...

    Hello,
    It is for BI 4.1 on Windows. We have a connection called CON1 pointing to DB1. It uses UNIV1 All reports were working fine and we were able to refresh it as well.
    Now the CON1 is changed to point to DB2 and we are now getting following error - "Some objects are not available to your user profile. You cannot refresh this Query. See your Business Objects administrator to request rights".
    If I create a new report using CON1 and the it works fine. Only the old reports are still causing issue on refresh. I tried with Admin account as well and same issue.
    The CON1 is still CON1 and universe UNIV1 is still using CON1. Just the content was edited from DB1 to DB2 in CON1. If we create a new report then no issue.
    Can anybody advice if something needs to compiled. Your help will be greatly appreciated.
    Regards,
    SS

    Your old reports are still pointing to same connection. Remember the DSN has been pointed to use another Database. The records and entries will be different. In addition as the records or object mapping have changed for these reports. Hence this would be a very normal behaviour.
    Create a new connection named CON2 or something like that to point DB1 as per your requirement. This way your original reports would work.

Maybe you are looking for