Recompiling objects

Hi all i just did export and import of a schema into another database, i have some errors with some objects in other words they have to be recompiled.
What is the easiest way to go about. Pressed for time.
Thanks

Do you use the Quest Toad software? If so, they make it real easy, you could go to schema browser, then to the object type (for instance functions), then hold the CTRL key down and select all the invalid functions, then right-click and hit compile.
The next easiest thing would be to create a function that queried the Oracle system tables while filtering on invalid objects. Capture those invalid objects in a cursor, then loop through the cursor and recompile each object. Your loop will need if/else if's to determine what type of object it is (function, proc, package, etc) so you use the correct SQL to compile the object.

Similar Messages

  • How to recompile object (by object id)

    Hi All,
    I have Oracle 11.1.0.7 on Enterprise Linux 5.2 64-bit. During the import (inserting many rows) the ORA-600 [17059] [0x1C7912FF8] [0x1C79129C0] [0x1CF9B9760] have appeared. I found on metalink document corresponding to this error- 138554.1. The suggestion is to recompile “dependent object” that are listed by given sql.
    How can I recompile object having object id?
    Please help.
    Groxy

    First you have to find object name using following query than you can recompile:
    SQL> select owner, object_name, object_id, status, object_type
      2  from dba_objects
      3  where object_id = 71176
      4  /
    OWNER                          OBJECT_NAME                OBJECT_ID STATUS  OBJECT_TYPE
    A                              MY_FUNC                            71176 VALID   FUNCTION
    Then you can recompile based on object type:
    SQL> alter function a.my_func compile
      2  /
    Function altered.With kind regards
    Krystian Zieja

  • Persuading dbx to use recompiled object files

    When loading a core file, I get:
    dbx: warning: Object file is not the same one that was linked into executable.
    Skipping stabs. (see `help finding-files')
    because I recompiled the object files as the originally compiled object files are no longer available. How can I force dbx to use the newly compiled object files -- they should be identical to the original as I have used the exact same source C++ code?
    The core files are hard to replicate, so I can't just recompile and rerun the program.
    Thanks

    Classic, I worked it out, but for the record, the module command can be used to reload the symbols:
    (dbx) module -f myfile.o

  • Multi-thread application recompile object with make but runs with old value

    Hi. I am working on a simulation in Java, and there is some behavior going on that I cannot understand. Granted, I'm a mechanical engineer, not a CS student (a fact that is probably made obvious by the code I'm posting below). The simulation comprises three parts: a controller, a robot, and a 3-d sensor. Here's the code for the "Simulation" application.
    class Simulation {
        void go() {
         ThreeDSensor sensorRunner = new ThreeDSensor();
         VSController controllerRunner = new VSController();
         KukaKR15SL robotRunner = new KukaKR15SL();
         Thread sensorThread = new Thread(sensorRunner);
         Thread controllerThread = new Thread(controllerRunner);
         Thread robotThread = new Thread(robotRunner);
         sensorThread.start();
         try {
             Thread.sleep(1000);  // Give sensorThread time to start in order to catch first triggers
         } catch(InterruptedException ex) {
             ex.printStackTrace();
         controllerThread.start();
         try {
             Thread.sleep(1000);  // Give controllerThread time to open the socket for communication with robotThread
         } catch(InterruptedException ex) {
             ex.printStackTrace();
         robotThread.start();
        public static void main(String[] args) {
         Simulation sim = new Simulation();
         sim.go();
    }I guess the big reason I'm using multi-threading is that once this simulation is working I want to be able to just run VSController alone and have it interface with a robot controller and a PC performing image processing. So with multiple threads I'm sending TCP and UDP messages around just like the final system will.
    I have made an object for my VSController that just stores values used by the simulation. That way I could have them all in one place instead of hunting through methods to change them. One example is "double noiseThreshold". Quickly, here is the code for "ControllerSettings.java".
    class ControllerSettings {
        final double cameraXOffset = 0;  // If > 0 then the origin of the camera CS is not on the center line of the lens
        final double cameraYOffset = 0;  // If > 0 then the origin of the camera CS is not on the center line of the lens
        final double cameraZOffset = 700;  // The distance that must be kept between the camera and the target
        // Error magnitude less than this is disregarded (in centimeters if roundingData else in millimeters)
        final double noiseThreshold = 60;
        final boolean estimatingEndPoints = false;  // If the controller is using two images per cycle then true
        final boolean roundingData = false;
        final boolean using3DData = true;  // How double[] sent from Matlab image processing is used
         * If the robot controller uses the output of this controller to command
         * motions in cartesian space then true.  This is used in two places: 1) initial guess of Jacobian,
         * and 2) "commandType" element sent to robot controller.
        final boolean useRobotControllerModel = false;
        final double thetaBumpValueForEstimationOfJacobian = .1;  // Distance each joint is jogged in estimation process
        final double bumpDistance = 50;  // Distance robot moves each time (magnitude of translation in mm)
        final double limitAngular = .5;  // Max amout robot joint will be commanded to rotate (in degrees)
    }And here is some pertinent code from "VSController.java".
    class VSController implements Runnable{
        ControllerSettings cSettings;  // Stores all the preferences used by the controller
        NGN controller;  // This is the controller algorithm.
        int dof;  // The degrees of freedom of the robot being controlled
        KukaSendData ksd;  // This provides communication to the robot.
        protected DatagramSocket socketForVisionSystem = null;
        ImageFeaturesData ifd;  // This parses and stores data from the image system.
        double[] errorVector;  // This is what's acted on by the algorithm
        PrintWriter errorTrackerOut = null;  // For analysis of error vector
        public void run() {
         VSController vsc = new VSController();
         vsc.go();
        public void go() {
         initWriters();
         cSettings = new ControllerSettings();
        public boolean isNoise() {
         boolean ret = false;
         double magnitude = 0;
         for (int i = 0; i < errorVector.length; i++) {
             magnitude += errorVector[i] * errorVector;
         magnitude = Math.sqrt(magnitude);
         if (magnitude <= cSettings.noiseThreshold) {
         System.out.println("VSController: magnitude (of errorVector) = " + magnitude +
                   ", threshold = " + cSettings.noiseThreshold); // Debug
    Now here's my issue: I change the value for "noiseThreshold" in "ControllerSettings.java" then run make from terminal (makefile code posted below) and rerun "Simulation". However, despite my changes to "ControllerSettings.java" the value for "noiseThreshold" is not changed, as evidenced by the output on the terminal screen:VSController: magnitude (of errorVector) = 6.085046125925263, threshold = 10.0 See, that value of 10.0 is what I used to have for noiseThreshold. I do not know why this value does not update even though I save the java file and execute make in between executions of Simulation. I would love it if someone could explain this problem to me.
    Here's the contents of makefile.
    JFLAGS = -cp ../Jama\-1\.0\.2.jar:../utils/:/usr/share/java/vecmath\-1\.5\.2.jar:.
    JC = javac
    .SUFFIXES: .java .class
    .java.class:
         $(JC) $(JFLAGS) $*.java
    CLASSES = \
         ControllerSettings.java \
         ImageFeaturesData.java \
         KukaKR15SL.java \
         ../utils/KukaSendData.java \
         NGN.java \
         Puma560.java \
         Robot.java \
         RobotSettings.java \
         Simulation.java \
         SimulationSettings.java \
         SixRRobot.java \
         Targets.java \
         TargetsSettings.java \
         ThreeDData.java \
         ThreeDSensor.java \
         VSController.java
    default: classes
    classes: $(CLASSES:.java=.class)
    clean:
         $(RM) *.classEdited by: raequin on Apr 5, 2010 1:43 PM

    I saw this explanation about what's causing my problem.
    "When the Java compiler sees a reference to a final static primitive or String, it inserts the actual value of that constant into the class that uses it. If you then change the constant value in the defining class but don't recompile the using class, it will continue to use the old value."
    I verified that the value updates if I also change something in VSController.java, forcing it to recompile. I think I will solve this problem by just making the variables in ControllerSettings no longer final (and then recompile VSController to make sure it takes effect!). Is there another solution? I saw intern(), but that seems to only apply to Strings.
    Thanks.

  • ORA-01031: insufficient privileges in PL/SQL but not in SQL

    I have problem with following situation.
    I switched current schema to another one "ban", and selected 4 rows from "ed"
    alter session set current_schema=ban;
    SELECT * FROM ed.PS WHERE ROWNUM < 5;
    the output is OK, and I get 4 rows like
    ID_S ID_Z
    1000152 1
    1000153 1
    1000154 1
    1000155 1
    but following procedure is compiled with warning
    create or replace
    procedure proc1
    as
    rowcnt int;
    begin
    select count(*) into rowcnt from ed.PS where rownum < 5;
    end;
    "Create procedure, executed in 0.031 sec."
    5,29,PL/SQL: ORA-01031: insufficient privileges
    5,2,PL/SQL: SQL Statement ignored
    ,,Total execution time 0.047 sec.
    Could you help me why SELECT does work in SQL but not in PL/SQL procedure?
    Thanks.
    Message was edited by:
    MattSk

    Privs granted via a role are only valid from SQL - and not from/within stored PL/SQL code.
    Quoting Tom's (from http://asktom.oracle.com) response to this:I did address this role thing in my book Expert one on one Oracle:
    <quote>
    What happens when we compile a Definer rights procedure
    When we compile the procedure into the database, a couple of things happen with regards to
    privileges.  We will list them here briefly and then go into more detail:
    q    All of the objects the procedure statically accesses (anything not accessed via dynamic SQL)
    are verified for existence. Names are resolved via the standard scoping rules as they apply to the
    definer of the procedure.
    q    All of the objects it accesses are verified to ensure that the required access mode will be
    available. That is, if an attempt to UPDATE T is made - Oracle will verify the definer or PUBLIC
    has the ability to UPDATE T without use of any ROLES.
    q    A dependency between this procedure and the referenced objects is setup and maintained. If
    this procedure SELECTS FROM T, then a dependency between T and this procedure is recorded
    If, for example, I have a procedure P that attempted to 'SELECT * FROM T', the compiler will first
    resolve T into a fully qualified referenced.  T is an ambiguous name in the database - there may be
    many T's to choose from. Oracle will follow its scoping rules to figure out what T really is, any
    synonyms will be resolved to their base objects and the schema name will be associated with the
    object as well. It does this name resolution using the rules for the currently logged in user (the
    definer). That is, it will look for an object owned by this user called T and use that first (this
    includes private synonyms), then it will look at public synonyms and try to find T and so on.
    Once it determines exactly what T refers to - Oracle will determine if the mode in which we are
    attempting to access T is permitted.   In this case, if we as the definer of the procedure either
    owns the object T or has been granted SELECT on T directly or PUBLIC was granted SELECT, the
    procedure will compile.  If we do not have access to an object called T by a direct grant - the
    procedure P will fail compilation.  So, when the object (the stored procedure that references T) is
    compiled into the database, Oracle will do these checks - and if they "pass", Oracle will compile
    the procedure, store the binary code for the procedure and set up a dependency between this
    procedure and this object T.  This dependency is used to invalidate the procedure later - in the
    event something happens to T that necessitates the stored procedures recompilation.  For example,
    if at a later date - we REVOKE SELECT ON T from the owner of this stored procedure - Oracle will
    mark all stored procedures this user has that are dependent on T, that refer to T, as INVALID. If
    we ALTER T ADD  some column, Oracle can invalidate all of the dependent procedures. This will cause
    them to be recompiled automatically upon their next execution.
    What is interesting to note is not only what is stored but what is not stored when we compile the
    object. Oracle does not store the exact privilege that was used to get access to T. We only know
    that procedure P is dependent on T. We do not know if the reason we were allowed to see T was due
    to:
    q    A grant given to the definer of the procedure (grant select on T to user)
    q    A grant to public on T (grant select on T to public)
    q    The user having the SELECT ANY TABLE privilege
    The reason it is interesting to note what is not stored is that a REVOKE of any of the above will
    cause the procedure P to become invalid. If all three privileges were in place when the procedure
    was compiled, a revoke of ANY of them will invalidate the procedure - forcing it to be recompiled
    before it is executed again. Since all three privileges were in place when we created the procedure
    - it will compile successfully (until we revoke all three that is). This recompilation will happen
    automatically the next time that the procedure is executed.
    Now that the procedure is compiled into the database and the dependencies are all setup, we can
    execute the procedure and be assured that it knows what T is and that T is accessible. If something
    happens to either the table T or to the set of base privileges available to the definer of this
    procedure that might affect our ability to access T -- our procedure will become invalid and will
    need to be recompiled.
    This leads into why ROLES are not enabled during the compilation and execution of a stored
    procedure in Definer rights mode. Oracle is not storing exactly WHY you are allowed to access T -
    only that you are. Any change to your privileges that might cause access to T to go away will cause
    the procedure to become invalid and necessitate its recompilation. Without roles - that means only
    'REVOKE SELECT ANY TABLE' or 'REVOKE SELECT ON T' from the Definer account or from PUBLIC. With
    roles - it greatly expands the number of times we would invalidate this procedure. If some role
    that was granted to some role that was granted to this user was modified, this procedure might go
    invalid, even if we did not rely on that privilege from that role. ROLES are designed to be very
    fluid when compared to GRANTS given to users as far as privilege sets go. For a minute, let's say
    that roles did give us privileges in stored objects. Now, most any time anything was revoked from
    ANY ROLE we had, or any role any role we have has (and so on -- roles can and are granted to roles)
    -- many of our objects would become invalid. Think about that, REVOKE some privilege from a ROLE
    and suddenly your entire database must be recompiled! Consider the impact of revoking some system
    privilege from a ROLE, it would be like doing that to PUBLIC is now, don't do it, just think about
    it (if you do revoke some powerful system privilege from PUBLIC, do it on a test database). If
    PUBLIC had been granted SELECT ANY TABLE, revoking that privilege would cause virtually every
    procedure in the database to go invalid. If procedures relied on roles, virtually every procedure
    in the database would constantly become invalid due to small changes in permissions. Since one of
    the major benefits of procedures is the 'compile once, run many' model - this would be disastrous
    for performance.
    Also consider that roles may be
    q    Non-default: If I have a non-default role and I enable it and I compile a procedure that
    relies on those privileges, when I log out I no longer have that role -- should my procedure become
    invalid -- why? Why not? I could easily argue both sides.
    q    Password Protected: if someone changes the password on a ROLE, should everything that might
    need that role be recompiled?  I might be granted that role but not knowing the new password - I
    can no longer enable it. Should the privileges still be available?  Why or Why not?  Again, arguing
    either side of this is easy. There are cases for and against each.
    The bottom line with respect to roles in procedures with Definer rights are:
    q    You have thousands or tens of thousands of end users. They don't create stored objects (they
    should not). We need roles to manage these people. Roles are designed for these people (end users).
    q    You have far fewer application schema's (things that hold stored objects). For these we want
    to be explicit as to exactly what privileges we need and why. In security terms this is called the
    concept of 'least privileges', you want to specifically say what privilege you need and why you
    need it. If you inherit lots of privileges from roles you cannot do that effectively. We can manage
    to be explicit since the number of development schemas is SMALL (but the number of end users is
    large)...
    q    Having the direct relationship between the definer and the procedure makes for a much more
    efficient database. We recompile objects only when we need to, not when we might need to. It is a
    large efficiency enhancement.
    </quote>

  • SQL script with a prompt functionality.

    Hello experts,
    I tried searching this on the net but was unsucessful...
    Bascially I need to update an sql script with a prompt functionality..Basically I would like a user prompt that would enter 'Yes or No' to compile invalid objects using utlrp.
    If Yes, it should compile it
    If No it should exit out...
    Can anyone please help.. Need to do this today.
    Edited by: user568296 on Oct 2, 2009 8:18 AM

    Hi,
    As someone suggested, you're probably better off doing this at the OS level.
    SQL*Plus does not have any good mechanism for conditional branching. One trick you can do in SQL*Plus is to run one script from another by saying <tt>@@filename</tt>. By using a substitution variable (which can be defined based on the results of a query) in place of a literal filename, you can make this dynamic.
    For example, the following script runs either
    recompile.sql or
    goodbye.sql
    based on the answer to a prompt:
    ACCEPT     recompile_now      PROMPT        'Do you want to recompile objects now?  '
    COLUMN     next_script_col        NEW_VAL next_script
    SELECT     CASE     
              WHEN  UPPER ('&recompile_now') LIKE 'Y%'
              THEN  'recompile'
              ELSE  'goodbye'
         END     AS next_script_col
    FROM     dual;
    @@&next_script<tt>@@filename</tt> assumes filename.sql is on the same directory as the calling script. You could also give a full path name using only one @-sign:
    <tt>@pathname</tt>

  • Repository owner installation failed OWB10.2

    Hello
    OWB 10.2.0.1.31 successfully installed in 10.2.0.1.0 database on Windows Server 2003.
    Installation of Warehouse Builer Runtime Repository fails at 5% with following exception:
    "The Warehouse Builder repository owner installation failed on user REPOWNER. java.sql.SQLException: ORA-06575: Package or function SECURITY_PV_UTILITIES is in an invalid state."
    When I check the database, the user REPOWNER has been created, but all objects owned by this user are invalid. Recompiling objects has no effect.
    How can I validate these objects and proceed with installation?
    Thanks.

    Hi,
    have you ever found out the probelem, I have exactly the same problem on XP...?
    Juergen

  • Error in customize package

    Dear All,
    I am facing below error , really will appreciate on your solid hep to sort out the issue
    Cause: FDPSTP failed due to ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "APPS.WSH_UTIL_CORE", line 2093
    ORA-06512: at "APPS.UML_POS_ORDER_IMPORT_PKG", line 923
    As I have called
    Thanks

    Hi,
    This api is creating issue and showing error message which I have send already.
    wsh_delivery_details_pub.autocreate_deliveries
    (p_api_version_number => 1.0,
    p_init_msg_list => apps.fnd_api.g_true,
    p_commit => l_commit,
    x_return_status => x_return_status,
    x_msg_count => x_msg_count,
    x_msg_data => x_msg_data,
    p_line_rows => p_line_rows,
    x_del_rows => x_del_rows
    yes definitely we apply some per-clone patches, but this errors appear one day before patches. I think this is not looking patch effected,
    but I remember at that day some our objects become invalid and after that we recompile objects.
    Thanks

  • Problem with frequent truncate

    HI, I have a procedure that runs every hour and except other actions truncates a table and load it with fresh data. I want to understand what can be the performance issue on DB because of this frquent truncate operation. Will it affect the locking on library_cache?? if so, what alternative I can use to avoid the issue ??
    Thanks in aadvance.

    How much data is there in the table? Is there a reason that you can't just delete the data from the table?
    TRUNCATE is DDL, so it may require Oracle to recompile objects that depend on the table (and objects that depend on those objects, etc.). I would guess that is the source of the library cache issues your DBA is describing. Deleting and re-inserting data may cause your refresh process to take a bit longer, but it may make other processes more efficient.
    Justin

  • Utlrp.sql script job schedule from OEM

    Any users on how to create grid control job for recompiling object via below script:
    @?/rdbms/admin/utlrp.sql
    I tried few testing but all failing at
    SQL> SQL> SQL> SQL> SQL> SELECT dbms_registry_sys.time_stamp('utlrp_bgn') as timestamp from dual
    ERROR at line 1:
    ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
    (creating job as SQL script)
    Thanks,

    Hi Users,
    Thanks for all responses.
    Thanks Absorbine, it was really funny l laughed on that.
    OrionNet, I am trying to run this on atleast 5 db instances and also not real expert in procedures.
    Basically I am trying to create OEM job to run utlrp.sql or UTL_RECOMP pacakages on 5 different db instances.
    Tried below:
    1. created job with utlrp.sql:
    @?.rdbms/admin/utlrp.sql;
    Error:
    SQL> SQL> SQL> SQL> SQL> SELECT dbms_registry_sys.time_stamp('utlrp_bgn') as timestamp from dual
    ERROR at line 1:
    ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
    2. Created job with UTL_RECOMP:
    SQL Script:
    WHENEVER SQLERROR EXIT FAILURE;
    EXEC UTL_RECOMP.recomp_serial;
    Error:
    SQL> SQL> SQL> SQL> SQL> BEGIN utl_recomp.recomp_serial ; END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'UTL_RECOMP.RECOMP_SERIAL' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    cheers,
    Rapchik

  • Utlrp.sql script from OEM

    Any users on how to create grid control job for recompiling object via below script:
    @?/rdbms/admin/utlrp.sql
    I tried few testing but all failing at
    SQL> SQL> SQL> SQL> SQL> SELECT dbms_registry_sys.time_stamp('utlrp_bgn') as timestamp from dual
    ERROR at line 1:
    ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
    Thanks,

    i recreated sysaux because one of our developer add datafile (for sysaux) in home location not in +ASM, that is also only for prod1 not at both
    the location then after some days i was getting ora-600 then i found that wrongly add datafile sysaux.
    then i copied that datafile to other location also.after that ora-600 gone...but after some days i restarted database
    that time it was asking for recovery of sysaux,as we dont have any and any kind of backup and archivelog
    i made offline to that sysaux tablespace,after making offline we are facing problem at very activity so we recreated
    sysaux . . . ..

  • Tricky : how to avoid this error transparent to users ?

    Hello, Oracle people !
    I probably have a very common problem / question ...
    We use third party application (called Kintana) that has some SQL queries referencing my custom Oracle views.
    Connection to Oracle via JDBC. Some of those views are also using packaged functions residing in one custom package. So when I need to change logic, I'm recompiling just PACKAGE BODY at off-hours time in production. But when next time user runs those queries via Kintana web interface they get an error :
    -- The following error is thrown by the Database:
    ORA-04068: existing state of packages has been discarded
    ORA-04061: existing state of package body "KNTA.OM_MISC_LIBRARY_PKG" has been invalidated
    ORA-04065: not executed, altered or dropped package body "KNTA.OM_MISC_LIBRARY_PKG"
    But when users refresh their screen on IE browser,
    error goes away. (probably Oracle calls it again and recompiles object restoring its valid state)
    I understand that how Oracle works,
    but I was given a task by Manager :
    "Make sure that users don't see this error !"
    (some of users are VIP, CIO, VPs and other "highly important" executives)
    So I tried to avoid this error but can't ...
    I don't know how to restore valid state of recompile package to existing user sessions without this error being seen ...
    Please HELP !!!
    thanx,
    Steve.

    I've been reluctant to tell you this since it could have some serious side effects and performance issues but you could reset the entire session package state by calling DBMS_SESSION.RESET_PACKAGE BEFORE you attempt the calls. The problem is that it resets ALL package's state information and I'm not aware of a way to do it for a single package. Unfortunately, it doesn't appear that you can call this routine after the exception occurs. For some reason, the exception seems to have to make it all the way back to the client before Oracle will acknowledge the reset.

  • Er-diagramme

    Hello to all.
    Please, help me.
    I can not create entity-relationship diagramme in Designer, because can not create container for it:
    Message
    CDR-00100: Workarea context has not been set.
    Cause
    This operation must be performed in the context
    of a workarea. No workarea context has been
    set for this session.
    Action
    Use the method jr_context.set_workarea() to
    set the workarea context.
    I installed Oracle DevSuite, create repository for designer.
    P.S. how use method in Action?

    The commands you have listed are just the first steps of creating a repository. We assumed that you had successfully created a repository, because you said you did in your original question. When you say 99%, I wonder about the other 1%?
    Before you try to create an ER Diagram, let's make sure you have a good repository. There are tools in the Repository Administration Utility (RAU) to help you to verify the status of the repository. First, Check Requirements. If your repository owner hasn't been set up properly, there is no way that you could have successfully done an install
    Then View Objects. Choose "Missing" from the dropdown box on the toolbar, and select "All Objects" from the navigation panel. Are there any missing objects? If so, you didn't get everything installed, and you should probably try to Deinstall and re-Install in RAU. If everything is there, you might just need some things re-compiled. Select "Invalid" from the dropdown. If there are Invalid objects, use the Recreate utility in RAU and Recompile Objects. If there are "Disabled" objects, the Recreate utility can help with that too.
    Now make sure that you have other database users in your database, and that at least one has access to the Repository - use the Maintain Users utility. Have you turned on version control? On RAU's Options menu there is an option, "Enable Version Support..." If you have version support already enabled, it is greyed out. If you don't have version support enabled, I wouldn't recommend doing so until you get your repository working so that you can use Designer modules like the ER diagrammer.
    Finally, once you are sure you have a good repository, exit RAU and start the Repository Object Navigator (RON). After logging in, the first thing RON will want you to do is choose a workarea. If you do not have version support enabled, the only workarea will be GLOBAL SHARED WORKAREA. The error you reported had something to do with selecting a workarea, so here is where you need to be watching to see if you see it again. Get this far, and let us know what happened.

  • Cskbctxp.sql          FAILED

    Hello ,
    when recompile object through adadmin I am getting an error.
    sqlplus -s APPS/***** @/u04/oa11iprod/propertyappl/cs/11.5.0/patch/115/sql/cskbctxp.sql &un_apps &un_cs CTXSYS
    declare
    ERROR at line 1:
    ORA-20000: Oracle Text error:
    DRG-10703: invalid framework object korean_lexer
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.CTX_DDL", line 26
    ORA-06512: at "CTXSYS.AD_CTX_DDL", line 150
    ORA-06512: at line 64
    I could not find any solution. if anyone gone through this error please let me know.
    Thanks
    Prince

    Hi,
    What is the application release? database version and OS?
    Please see these docs.
    cskbctxp.sql fails with error DRG-10703: invalid framework object korean_lexer [ID 443894.1]
    cssrctxp.sql fails with DRG-10703: Invalid Framework Object Korean_lexer [ID 402422.1]
    Thanks,
    Hussein

  • How to recompile the objects in oracle apps

    i used adadmin and compiled the apps schema .. but still i am getting INVALID objects .. how to compile these objects ?
    Below is the output after running adadmin .. suggest
    select owner,object_type,status from dba_objects where status='INVALID'
    SQL> /
    OWNER OBJECT_TYPE STATUS
    FLOWS_010500 JAVA SOURCE INVALID
    FLOWS_010500 JAVA CLASS INVALID
    PUBLIC SYNONYM INVALID
    PUBLIC SYNONYM INVALID
    PUBLIC SYNONYM INVALID
    PUBLIC SYNONYM INVALID
    RE PACKAGE BODY INVALID
    HERMAN TABLE INVALID
    APPS PACKAGE BODY INVALID
    APPS PACKAGE BODY INVALID
    APPS PACKAGE BODY INVALID
    OWNER OBJECT_TYPE STATUS
    APPS PACKAGE BODY INVALID
    APPS MATERIALIZED VIEW INVALID
    CA TABLE INVALID
    CA TABLE INVALID
    Thanks in advance

    i have 12.1.1 instance on Linux OS
    there is no adcompsc.pls file in $AD_TOP/sql .. i can see only adcompsc.sql You are on R12, and this script is no longer available -- See (Invalid Objects In Oracle Applications FAQs [ID 104457.1]), 10. How can I recompile all my invalid objects using ADCOMPSC.pls?
    Below is the error when i try to run the adcompsc.pls file .. please help
    [oaebiz@oracle sql]$ sqlplus @adcompsc.pls apps apps %
    SQL*Plus: Release 10.1.0.5.0 - Production on Tue Jan 4 08:36:03 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SP2-0310: unable to open file "adcompsc.pls"
    Enter User-name :Use adcompsc.sql instead.
    Thanks,
    Hussein

Maybe you are looking for

  • Trying to get help over the phone!

    Hi! How on earth do you get help with a general enquiry by phoning BT?  All I get is multiple choices to connect and not one of those multiple choices allow anyone to connect to an operator if the question you have is not included in those multiple c

  • Populate Error Message using  MB_MIGO_BADI

    Hi Friends,   My requirement is whenever the user does a goods receipt using transaction "MIGO" I need to check whether the item selected has an indicator "Delivery Completed" at the PO level and if this indicator is set for this PO item I need to th

  • PAN No. Filed modifiable for specific users in J1ID -- Vend/Cust Exis Dt.

    Dear All, Please let me know can we restrict the users for changing the PAN in J1ID  Vendor / Customer Excise Details. As of now, the Users change Excise related data from J1ID but we want that only specific users to change the PAN data, all other u

  • Urgent - Global Objects

    Hi All, Actually I am in a big trouble , I began my first project in java and I need an answer for the following q. 1) - I need a global object to be seen from other objects for the same user in the runtime for specific object??. 2)- I need a global

  • 640 x 480 Video Being Exported As 720 x 480

    A few years ago I created (essentially) a video slide show in Final Cut Pro by importing 640dpi x 480dpi TIFF files and exporting them as a QuickTime movie. I'm trying to recreate the video using Final Cut Express HD, but every time I export the file