Objects using dblinks become invalid
I am using numerous functions / procedures / synonyms which point to other databases via dblinks. All was well when the dbLinks / synonyms were public. Last week I was asked to put up a test schema on the same database so I duly made all the public dblinks & synonyms private. All seemed well, everything compiled so I made it live.
Now we get intermittent problems whereby the procedures using the synonyms & dblinks suddenly become invalid. They refuse to automatically compile, causing errors in the applications using the database. SOmetimes they automatically recompile after a time, sometimes they refuse to compile until I do them manually in SQL developer.
anybody have any idea why this should be happening?
Main database is Oracle Enterprise 11.1.0.7 64 bit, connecting to one of same version, one of 10.2.0.4 64 bit. All running on AIX 6.1.
Hi,
Same thing is happening here.
DB A with PROC_SP (Strore procedure)
DB B with 2 users; user TEST1 referencing PROC_SP@A and user TEST2 referencing also PROC_SP@A.
When compiling code on user TEST1 that uses PROC_SP@A, the code on TEST2 becames invalid, and vice-versa.
Did you solve your problem ?
My Database version is 11.2.0.2.0, both DB (A and B) use the same version (Exadata with 11R2)
Thanks in advance.
Similar Messages
-
Object Fields Mysteriously Becoming Invalid
I am not exactly sure what code to post with this considering the nature of what's going on, so I'll do my best to explain and then perhaps I can provide code based on your responses.
When my application loads in the AppDelegate I create 3 objects of the "Item" type and then create an array out of those objects and add that array to an ItemListController which has a property for an NSMutableArray. The program then loads a UINavigationController with each of those objects in it being drawn with a subClass of UITableViewCell. As it stands now, if I click on any one of those objects more than 3 times, the object itself does not become nil, but all of the fields within it do.
- (void)applicationDidFinishLaunching:(UIApplication *)application {
Item *sword = [[Item alloc] initWithName:@"Sword" description:@"This is a sword"];
//sword.itemPrice = (int *)524;
Item *shield = [[Item alloc] initWithName:@"Shield" description:@"This is a shield"];
//shield.itemPrice = (int *)322;
Item *subligar = [[Item alloc] initWithName:@"Subligar" description:@"This is a subligar"];
//subligar.itemPrice = (int *)1034;
[subligar setImageWithPath:@"Hello.png"];
if(self.itemListController == nil) {
ItemListController *controller = [[ItemListController alloc] init];
self.itemListController = controller;
[controller release];
NSMutableArray *itemArray = [[NSMutableArray alloc] initWithObjects:sword, shield, subligar, nil];
self.itemListController.items = itemArray;
[itemArray release];
// Configure and show the window
[window addSubview:[navigationController view]];
[window makeKeyAndVisible];
The click handler of my TableView right now simply calls the AppDelegate's instance of ItemListController and then gets the object back from the items array at the index at which the user clicked. From there, I set a few properties and load a view tailored to that Item.
Presently, all of the logic that sets properties with the Item and loads the view for that object is commented out and so the only behavior occurring is the Item being retrieved from the AppDelegate's ItemListController.items and then being stored in a temporary object which is later released. But like I said above, *after 3 requests for my object all of its fields become invalid*. I have no idea what is causing it because the object itself is never being released within that time. Below is the code from the click event of the table cell:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
calls++;
NSLog(@"Hit Count: %d", calls);
iPhoneHelloWorldAppDelegate *appDelegate = (iPhoneHelloWorldAppDelegate *)[[UIApplication sharedApplication] delegate];
Item *item = (Item *)[appDelegate.itemListController.items objectAtIndex:indexPath.row];
//lastItem = item;
if(self.itemView == nil) {
ItemViewController *viewController = [[ItemViewController alloc] initWithNibName:@"ItemViewController" bundle:[NSBundle mainBundle]];
self.itemView = viewController;
[viewController release];
if(calls > 3) {
NSLog(@"item retainCount = %d", [item retainCount]);
[item release];
Here's a snapshot from the debugger after my Item object dies:
http://img514.imageshack.us/img514/4567/picture2az5.pngHi,
Item *item = (Item *)[appDelegate.itemListController.items objectAtIndex:indexPath.row];
//lastItem = item;
if(self.itemView == nil) {
ItemViewController *viewController = [[ItemViewController alloc] initWithNibName:@"ItemViewController" bundle:[NSBundle mainBundle]];
self.itemView = viewController;
[viewController release];
if(calls > 3) {
NSLog(@"item retainCount = %d", [item retainCount]);
// Why do you relase item? I don't see any retain or method wich increases the retain-count.
[item release]; -
Problem: Objects become invalid so easily
Hi All,
We are running Oracle 9i Standard Edition, which was downgraded from the Enterprise Edition, because they want to save $50K/year.
I have noticed even in the enterprise edition that some objects (sprocs, functions, triggers, packages) could become invalid for no reason (no schema changes and no changes in some sprocs/functions called by some others). I have googled this problem and found a few tips on the the internet and at least one seasoned DBA said Oracle objects can become invalid for no obvious reasons. After the downgrade, things got worse. The DBA runs a script to compile all packages, sprocs, functions, triggers once every hour. Then things got even worse. But I think the DBA script did not run more than once in a row to resolve some dependency issues. So now the DBA runs his script every two minutes. The problem is gone, but is there any better way to do this? Or should it happen in the first place? I figure that if Oracle runs like this, it should be out of business soon, because the MS SQL guys say they never have to explicitly re-compile invalid obejcts. At first the DBA thought that when PowerBuilder calls the sprocs, the sprocs do not re-compile because Sybase does not know how to program against Oracle. Then one day I was using SQL*Plus to run the sprocs and got the explicit error message for invalid objects and then the DBA was convinced otherwise.
Thanks.
BenThanks a lot. Yes you are right. The re-complie did cause other objects to be invalid. that's why I asked to dba to run his script more than once in a row. Now the problem seems to be gone. But here is what I found at http://www.dbazine.com/oracle/or-articles/hordila2. It is true when a package or sproc becomes invalid, they often times do not auto re-compile. See his comments on that.
Application Malfunctions and Data InconsistenciesPart of maintaining quick response times for the database is making sure that as many objects as possible have a valid status. At least frequently used objects should not be invalid. Some objects (views, triggers, procedures, functions, packages, package bodies) can become invalid under certain circumstances: after massive data loads, imports, batches, even without explicit schema changes, after schema restructuring (drop, re-name, alter of objects). Very often, developers leave behind on purpose lots of invalid objects, to serve as a library of source code for future needs, or as a source code backup for the production objects. Some of these events are thought of as normal, or maybe bad style, while others are treated as bugs.
Anyway, if this happens, applications may stop working at all or may start working slower, incorrectly or incompletely. Mal-functioning triggers calling invalid procedures, etc., for example, can lead to data inconsistencies, missed data propagation, etc. In a complex system, this is a serious situation and may go undetected for some length of time.
Failed RecompilingFor some objects (views, triggers), the Oracle system may attempt automatically to recompile and validate them at the first run. This will slow the first runs of the application, but the system will function correctly, and be faster on the next runs. For stored programs, most of the time, this auto-recompile does not happen. The DBA needs to detect and recompile them as soon as possible.
Some objects need to be re-developed/edited for references to be successfully recompiled and to become valid again. And other objects may
Ben -
Time when Oracle object become invalid
We can find if there are invalid objects in the database.
But is there a way to find when the object become invalid. I am interested in finding the time when object become invalid.
Let me know if Oracle can tell this information.
Thank you.
--harveyHi harvey;
Please check below thread:
Determine when objects become invalid
Determine when objects become invalid
http://stackoverflow.com/questions/1467604/determining-when-an-oracle-database-object-became-invalid
Also see:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/general007.htm
Regard
Helios -
Why Synonym becomes INVALID when changes are made on the related object ?
Hi all,
WHY SYNONYMS becomes invalid when changes are made on related OBJECTS ?
Is there any specific reasons for this.?
Is there any method or procedures to make the synonym VALID as soon as the we perform any alteration on the related object.
Thanks
HimabalaSynonym will be validated when it is accessed, no need to take an action.
-
PL/SQL Functions becoming 'invalid'
We have created a set of functions which are used by
applications and triggers within our system. Everything ran over
the weekend and all triggers were operating and functions were
performing as expected. Yesterday the it was noticed that one of
the functions had become 'Invalid' which stopped the processing
of the system. The function is invoked by a trigger on insert
into a table.
Does anyone know what would cause a function to go 'Invalid'
like this?
Thanks
Jeff M.Hi,
If you alter or modify the objects(DDL Operations), then the
procedures, functions, views..etc will be invalid. And also it
applies recursively,i.e,if these procedures and functions are
referred in some other procedure and functions, they also will
become invalid. So before applying a DDL operation on any object
better find the it's references from DBA_dependencies and
recompile them after the DDL operation.
Regards,
G. Rajakumar. -
Using dblinks to access CLOB datatype
Hi ,
I am using dblink to access data data from remote database. I need to access data form a table on remote database which have fields of type VARCHAR2 and CLOB. Since I can't access CLOB data directly through dblinks, i created a view for that CLOB datatype. Now when I try to retrieve the data from remote tab1 by joining that view and tab1 ,I am getting the error
ORA-22992: cannot use LOB locators selected from remote tables .
But if I retrieve the data from view alone, I am able to retrieve the information.
And if try to access the varchar2 field alone using dblinks that also will work. But if I combine both the view and same table used in that view, it doesn't work.
I think this can be solved by puting all the required fields(CLOB and non-CLOB) in view. In real situation, the number of fileds that will not have CLOB datatype in tab1 is high.
Can someone tell some suggestion on how to resolve this?
Thanks in Advamce,
DaliaI assume that you likely do not have Metalink (Oracle Support) access. Here is the Metalink Note on this topic.
Subject: ORA-22992 When Trying To Select Lob Columns Over A Database Link
Doc ID: Note:119897.1
Type: BULLETIN
Last Revision Date: 24-JUL-2002
Status: PUBLISHED
PURPOSE
This document discusses whether or not a lob column can be selected over a
remote database link.
SCOPE & APPLICATION
This document is written for all audiences.
This information is based on the tests made in Oracle 8.1.5 and Oracle 8.1.6
and the available Oracle documentation on LOB (large Object) data and issues
logged with Development on the select of a LOB column over a remote database
link.
How to select a LOB column over a database link?
(A) You cannot actually select a lob column (i.e. CLOB column) from a table
using remote database link. This is not a supported feature.
For example,
You run the following command from the local instance to a remote database
instance called R816 over a dblink R816 created in the local instance for user
SCOTT. You have logged in as user Scott and the remote table CLOBT has 2
columns C1 and C2 as below:
$ sqlplus scott/tiger@r816utf8
SQL> create database link r816
connect to scott identified by tiger
using 'rtcsol1_r816.us.oracle.com';
SQL> desc clobt@r816
Name NUll? Type
C1 NOT NULL NUMBER
C2 CLOB
SQL> select c1, c2
from clobt@R816;
ORA-22992: cannot use LOB locators selected from remote tables
SQL> select c1, dbms_lob.getlength(c2)
from clobt@R816;
ORA-22992: cannot use LOB locators selected from remote tables
Error: ORA-22992
Text: cannot use LOB locators selected from remote tables
Cause: A remote LOB column cannot be referenced.
Action: Remove references to LOBs in remote tables.
(B) Also, these are the INVALID operations on a LOB column:
1. SELECT lobcol from table1@remote_site;
2. INSERT INTO lobtable select type1.lobattr from table1@remote_site;
3. SELECT dbms_lob.getlength(lobcol) from table1@remote_site;
In short, you cannot select a lob column using remote dblink. You have to use
DBMS_LOB package in a programming language like PL/SQL, JAVA to manipulate LOB
data.
RELATED DOCUMENTS
Oracle8i Application Developer's Guide - Large Objects (LOBs) Release 2 (8.1.6)
Chapter Managing LOBs: LOB Restrictions -
Combination of packages repeteiively becoming invalid
Hello all,
We are using Oracle 9.2.0.7.0 on Toad and SQL Developer on a database with a vast number of packages. At the moment for no clear reason 7 packages repetitively become invalid for no transparent reason. When we recompile using dbms_utility.compile_schema all object will reinstate themselves, and become valid. The next moment you look and want to use the packages they will be invalid again.
We have tried to compare the packages with a comparable database, where the same revisions of the packages exist. On the test database these are correct and valid, on the acceptance database they (the 7 mentioned before) fall over.
Can anybody give us any indications on where to find the problem? We have tried recompiling the forms that are part of the applications, but these are all valid. We are out of ideas now.
Any help is greatly appreciated.
Thanks,
-victorbax-http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/general007.htm#
This link might give you a clue on what might have happend inside
http://it.toolbox.com/blogs/database-solutions/keep-track-of-oracle-object-dependences-2521
Edited by: Maran Viswarayar on Sep 24, 2008 4:28 PM -
PL/SQL packages containing DB Links suddenly becomes invalid
Hi all --
I was wondering in anyone has come accross the issue my data warehouse team has been experiencing with PL/SQL packages utilizing DB Links. We currently use db links to load some of the data from our transactional databases into the data warehouse tables. The packages once compiled remain valid for a short period of time and then suddenly become invalid. When attempting to recompile the package we receive ORA-00904 errors even though running the statement through SQL Plus works fine. We've tried dropping the database link and re-creating it, but the package still will not recompile. The only way to correct the issue is to shutdown and restart the database. The db links in question are from a 10G Release 2 database to a 8.1.7.4 database. Any insight would be helpful.We often had similar issues over dblinks between two 8.1.7.2 databases. The result was ORA 600 errors which could only be corrected by shutdown/re-start. Our DBAs eventually came up with flushing the shared pool, instead of the shutdown/re-start.
ALTER SYSTEM FLUSH SHARED_POOL; -
When do VI and queue references become invalid?
Hi all,
I have a fairly complicated problem, so please bear with me.
1) I have a reentrant SubVI (let's call it VI "Assign") that has an input cluster of (VI ref, queue ref) (let's call the cluster type "Refs"). If the VI ref is invalid (first execution), the VI ref and queue ref are assigned values and are passed on as an output cluster of same type. (The VI does other things too, but for simplicity only this is important.)
2) The VI that calls VI "Assign" (let's call it VI "Store") is not reentrant and has a local variable of type "Refs" that is wired to the input and output of VI "Assign". This VI effectively stores the references. The references returned by VI "Assign" are always valid right after the call, but after the problem condition described below, they are invalid at the start of all calls before they are passed to VI "Assign".
3) VI "Store" is called by multiple non-reentrant VIs, so the local variables of VI "Assign" retain their values (Has been tested and verified to retain their values). The VI causing the problem in this case is a template VI of which multiple copies are launched (let's call it VI "Template").
The problem is that the moment an instance of VI "Template" is closed, the queue reference becomes invalid, although the actual variant value of the reference remains the same. The VI ref can become invalid or not, depending on small changes, but is always reproducible. I assume there must be some similarity between VI and queue refs. After spending some time researching, the Labview help states for the Open VI Ref component "If you do not close this reference, it closes automatically after the top-level VI associated with this function executes." In this case I assumed it means that the moment the reentrant VI "Assign" finishes, the references will get cleared ?? So I made a non-reentrant VI (let's call it VI "NR Assign") that only assigns values to the references and VI "Assign" now calls this VI (It effectively does what I described VI "Assign" does). I keep this VI alive by using it in a VI which never terminates and since it never terminates, the references should never become invalid. Anyone still following? This didn't solve the problem though. If I reproduce the same scenario using only one instance of the template VI, it works just fine. Furthermore, the VI and queue references are never closed, to aid analysis of the problem. Can anyone shine some light on what happens when a template VI terminates? Could this be the problem?
Unfortunately I cannot include the code.
Thank you whoever is able to make sense of this.
ChristieChristie wrote:
Hi all,
I have a fairly complicated problem, so please bear with me.
1) I have a reentrant SubVI (let's call it VI "Assign") that has an input cluster of (VI ref, queue ref) (let's call the cluster type "Refs"). If the VI ref is invalid (first execution), the VI ref and queue ref are assigned values and are passed on as an output cluster of same type. (The VI does other things too, but for simplicity only this is important.)
2) The VI that calls VI "Assign" (let's call it VI "Store") is not reentrant and has a local variable of type "Refs" that is wired to the input and output of VI "Assign". This VI effectively stores the references. The references returned by VI "Assign" are always valid right after the call, but after the problem condition described below, they are invalid at the start of all calls before they are passed to VI "Assign".
3) VI "Store" is called by multiple non-reentrant VIs, so the local variables of VI "Assign" retain their values (Has been tested and verified to retain their values). The VI causing the problem in this case is a template VI of which multiple copies are launched (let's call it VI "Template").
The problem is that the moment an instance of VI "Template" is closed, the queue reference becomes invalid, although the actual variant value of the reference remains the same. The VI ref can become invalid or not, depending on small changes, but is always reproducible. I assume there must be some similarity between VI and queue refs. After spending some time researching, the Labview help states for the Open VI Ref component "If you do not close this reference, it closes automatically after the top-level VI associated with this function executes." In this case I assumed it means that the moment the reentrant VI "Assign" finishes, the references will get cleared ?? So I made a non-reentrant VI (let's call it VI "NR Assign") that only assigns values to the references and VI "Assign" now calls this VI (It effectively does what I described VI "Assign" does). I keep this VI alive by using it in a VI which never terminates and since it never terminates, the references should never become invalid. Anyone still following? This didn't solve the problem though. If I reproduce the same scenario using only one instance of the template VI, it works just fine. Furthermore, the VI and queue references are never closed, to aid analysis of the problem. Can anyone shine some light on what happens when a template VI terminates? Could this be the problem?
Unfortunately I cannot include the code.
Thank you whoever is able to make sense of this.
Christie
All LabVIEW refnums do get deallocated automatically when the top-level VI in whose hierarchy the refnum was created goes idle (stops executing). You will have to make sure that the creation of a refnum is done inside a VI hierarchy that stays running for the entire time you want to use that refnum.
Rolf Kalbermatter
Message Edited by rolfk on 06-27-2007 11:52 AM
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Executing A Procedure In a Package Using DBLink
I need to execute a procedure which is residing in a package using dblink.
The package got a execute PUBLIC grant.
When I execute the following statement, I am getting error ORA: 00904, Invalid Identifier
select PKG_NAME.PROCEDURE_NAME@dblink(null,null,null,null,null,null,null,null,null,null,null) from dual
How can I execute the above statement.
Thanks in advanceI have a database INLABNEW in that i have done this
SQL> create table temp(no number)
2 /
Table created.
SQL> create or replace package pkg
2 as
3 procedure p;
4 end;
5 /
Package created.
SQL> create or replace package body pkg
2 as
3 procedure p
4 is
5 begin
6 insert into temp values(1);
7 end;
8 end;
9 /
Package body created.
SQL> select * from temp
2 /
no rows selectedNow i executed the procedure pkg.p from another database
SQL> exec pkg.p@to_inlabnew
PL/SQL procedure successfully completed.
SQL> commit
2 /And i query the table tmp in INLABNEW
SQL> select * from temp
2 /
NO
1Now question is have you given your procedure name properly.
as your procedure is in a package it should be Your_package_name.Your_procedure_name@Your_db_link -
Hello,
EBS version : 11.5.10.2
DB version : 11.2.0.3
OS version : AIX 6.1
As a part of 11.5.10.2 to R12.1.1 upgrade, while applying merged 12.1.1 upgrade driver(u6678700.drv), we got below error :
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ATTENTION: All workers either have failed or are waiting:
FAILED: file jtfpfstart.sql on worker 1.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Worker LOG :
Start time for file is: Wed Aug 07 2013 14:53:36
sqlplus -s APPS/***** @/fmstop/r12apps/apps/apps_st/appl/jtf/12.0.0/patch/115/sql/jtfpfstart.sql &un_apps &un_jtf
dbms_aqadm.drop_queue_table(queue_table=>JTF_PF_CONV_PKG.QTABLENAME, force=>true);
ERROR at line 23:
ORA-06550: line 23, column 47:
PLS-00905: object APPS.JTF_PF_CONV_PKG is invalid
ORA-06550: line 23, column 6:
PL/SQL: Statement ignored
ORA-06550: line 27, column 45:
PLS-00905: object APPS.JTF_PF_CONV_PKG is invalid
ORA-06550: line 27, column 2:
PL/SQL: Statement ignored
ORA-06550: line 28, column 38:
PLS-00905: object APPS.JTF_PF_CONV_PKG is invalid
ORA-06550: line 28, column 2:
PL/SQL: Statement ignored
ORA-06550: line 29, column 39:
PLS-00905: object APPS.JTF_PF_CONV_PKG is invalid
ORA-06550: line 29, column 2:
PL/SQL: Statement ignored
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
So far I have done below :
SQL> ALTER PACKAGE APPS.JTF_PF_CONV_PKG compile;
Warning: Package altered with compilation errors.
SQL> show error
Errors for PACKAGE APPS.JTF_PF_CONV_PKG:
LINE/COL ERROR
30/3 PL/SQL: Declaration ignored
30/39 PLS-00201: identifier 'JTF_PF_PAGE_OBJECT_TABLE' must be declared
66/3 PL/SQL: Declaration ignored
66/33 PLS-00201: identifier 'JTF_PF_TABLETYPE' must be declared
SQL> ALTER PACKAGE APPS.JTF_PF_CONV_PKG compile body;
Warning: Package Body altered with compilation errors.
Found Upgrade 11i to R12.1.3 worker fails on jtfpfstart.sql PLS-00905: object APPS.JTF_PF_CONV_PKG is invalid (Doc ID 1463373.1) which has fixed JTF_PF_TABLETYPE.
drix10:/fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log>cd $JTF_TOP/patch/115/xdf
drix10:/fmstop/r12apps/apps/apps_st/appl/jtf/12.0.0/patch/115/xdf>tnsping $TWO_TASK
TNS Ping Utility for IBM/AIX RISC System/6000: Version 10.1.0.5.0 - Production on 07-AUG-2013 15:03:59
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=drix10)(PORT=1541)) (CONNECT_DATA=(SID=FMSTEST)))
OK (0 msec)
drix10:/fmstop/r12apps/apps/apps_st/appl/jtf/12.0.0/patch/115/xdf>
drix10:/fmstop/r12apps/apps/apps_st/appl/jtf/12.0.0/patch/115/xdf>adjava -mx512m -nojit oracle.apps.fnd.odf2.FndXdfCmp apps apps \
> apps apps thin drix10:1541:FMSTEST type \
> jtf_pf_tabletype.xdf $FND_TOP/patch/115/xdf/xsl
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
AD Java
Version 12.0.0
NOTE: You may not use this utility for custom development
unless you have written permission from Oracle Corporation.
Reading product information from file...
Reading language and territory information from file...
Reading language information from applUS.txt ...
Temporarily resetting CLASSPATH to:
"/fmstop/r12apps/apps/apps_st/appl/ad/12.0.0/java/adjava.zip:/fmstop/r12apps/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:/fmstop/r12apps/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:/fmstop/r12apps/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/fmstop/r12apps/apps/apps_st/comn/java/lib/appsborg.zip:/fmstop/r12apps/apps/tech_st/10.1.2/forms/java:/fmstop/r12apps/apps/tech_st/10.1.2/forms/java/frmall.jar:/fmstop/r12apps/apps/tech_st/10.1.2/jlib/ewt3.jar:/fmstop/r12apps/apps/tech_st/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/fmstop/r12apps/apps/apps_st/comn/java/classes"
Calling /fmstop/r12apps/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java ...
XDF file application started. Current time is: Wed Aug 07 15:04:40 CDT 2013
================================================================================
Applying XDF file : jtf_pf_tabletype.xdf
================================================================================
Copyright (c) 2003 Oracle Corporation
Redwood Shores, California, USA
XDF(XML Object Description File) Comparison Utility
Version 1
NOTE: You may not use this utility for custom development
unless you have written permission from Oracle Corporation.
Type JTF_PF_TABLETYPE does not exist in APPS
Creating Type
CREATE OR REPLACE TYPE "APPS"."JTF_PF_TABLETYPE" as table of varchar2(2000);
Start time for statement above is Wed Aug 07 15:04:40 CDT 2013
End time for statement above is Wed Aug 07 15:04:41 CDT 2013
SQL> ALTER PACKAGE APPS.JTF_PF_CONV_PKG compile;
Warning: Package altered with compilation errors.
SQL> show error
Errors for PACKAGE APPS.JTF_PF_CONV_PKG:
LINE/COL ERROR
30/3 PL/SQL: Declaration ignored
30/39 PLS-00201: identifier 'JTF_PF_PAGE_OBJECT_TABLE' must be declared
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I could not see any doc on metalink or google talking about JTF_PF_PAGE_OBJECT_TABLE.
Please help.Please try the following:
1. Drop the following objects (take a backup of the tables first) using:
SQL> create table JTF.JTF_PF_REPOSITORY_TMP_BKP as select * from JTF.JTF_PF_REPOSITORY_TMP;
SQL> create table JTF.JTF_PF_REPOSITORY_BKP as select * from JTF.JTF_PF_REPOSITORY;
SQL> drop table JTF.JTF_PF_REPOSITORY_TMP;
SQL> drop table JTF.JTF_PF_REPOSITORY;
SQL> drop synonym APPS.JTF_PF_REPOSITORY_TMP;
SQL> drop synonym APPS.JTF_PF_REPOSITORY;
2. Run the jtfpfcreate command:
$ sqlplus -s apps/<apps_pws> @$JTF_TOP/patch/115/sql/jtfpfcreate.sql APPS JTF
3. Recreate the missing objects:
$ adjava -mx512m -nojit oracle.apps.fnd.odf2.FndXdfCmp apps apps apps apps thin "<hostname>:<port>:<SID>" all $JTF_TOP/patch/115/xdf/jtf_pf_tabletype.xdf $FND_TOP/patch/115/xdf/xsl
$ adjava -mx512m -nojit oracle.apps.fnd.odf2.FndXdfCmp apps apps apps apps thin "<hostname>:<port>:<SID>" all $JTF_TOP/patch/115/xdf/jtf_pf_page_object_table.xdf $FND_TOP/patch/115/xdf/xsl
$ adjava -mx512m -nojit oracle.apps.fnd.odf2.FndXdfCmp apps apps apps apps thin "<hostname>:<port>:<SID>" all $JTF_TOP/patch/115/xdf/jtf_pf_techstack_table.xdf $FND_TOP/patch/115/xdf/xsl
$ adjava -mx512m -nojit oracle.apps.fnd.odf2.FndXdfCmp apps apps apps apps thin "<hostname>:<port>:<SID>" all $JTF_TOP/patch/115/xdf/jtf_pf_trackpurpose_table.xdf $FND_TOP/patch/115/xdf/xsl
4. Drop unused queue objects:
begin
DBMS_AQADM.DROP_QUEUE_TABLE (queue_table => 'JTF_PF_LOGGING_TABLE', force => TRUE);
end;
5. Restart the failed worker using adctrl
Regards,
Hussein -
We can't create form using dblink and synonim
We have created a dblink pointing to a table in the remote database.
When we create a form based on table or view using this dblink, we get the error "page not found".
We read from
Re: I can't create form using dblink
that we must create a synonim, and this was done creating one in the same schema of the db-link using the "Database Objects" of oracle portal 10g (external db is an oracle 9.0.2).
The new synonim work (tested with reports and pl/sql page)
but if we click on "Grant Access" (of the synonim) we get the following error :
Error: The underlying object of the synonym does not exist, is a remote object or is not of type function, procedure, package, sequence, synonym, table or view. (WWV-17076)
Does form work only with table and view of the portal database (not external one)? or have we loose something in the creation of the synonim?
Have someone succesfully created a form based on a db-link towards an external database?
Thanks to all.Hei guys, has nobody created succesfully a data-driven forms based on a dblink towards an external database?
I can't believe this!!!! -
Root object is missing or invalid
Received the following message when attempting to open a pdf file in an email. "There was an error opening this document. The root object is missing or invalid." I was using MS Outlook 2007. Unknown what program the email sender was using to create the PDF file or to send the e-mail. I can open other PDF files from other senders.
Thanks.Ask the sender to resend the file. Sometimes pdfs get corrupted in the mail. If it won't get blocked sending pdfs as zipped files generally prevents the issue. But some companies ban zipped attachments.
-
PLS-00905: object XDB.DBMS_XDBUTIL_INT is invalid
While exporting a user using exp i am receiving this error
. exporting triggers
EXP-00056: ORACLE error 6550 encountered
ORA-06550: line 1, column 30:
PLS-00905: object XDB.DBMS_XDBUTIL_INT is invalid
ORA-06550: line 1, column 14:
PL/SQL: Statement ignored
EXP-00056: ORACLE error 6550 encountered
ORA-06550: line 1, column 30:
PLS-00905: object XDB.DBMS_XDBUTIL_INT is invalid
ORA-06550: line 1, column 14:
PL/SQL: Statement ignored
EXP-00000: Export terminated unsuccessfully
Database server is 10g RH Linux 7.3.
Oracle Client is 10g on Windows XP.
Please help me out.?
Maybe you are looking for
-
Cell Sensitive -- How to do this
Dear All, we are in BI 7.0. Layout 1: Planner plans data for an year Jan2008-Dec2008 = 12000 USD. Layout 2: This gets dirtibuted to 12 months equally. Jan=1000,Feb=1000,..... Dec=1000. If the the planner manually changes some values in some months i
-
Unable to install OS 2.0
Can anyone help me here? I already tried for so many times downloading OS 2.0 but the result is still the same, it always say unable to install OS 2.0. Any idea?
-
Consumption Level / measurement
is anybody know the best transaction to be used in order to get the average consumption (per day, week, months,...) for a raw material? This transaction should provide real time updated information. At least to get the total consumption instead of th
-
Sequence won't stay rendered (!?)
I have a 3-minute Hi-def sequence that contains many clips I have speeded up to 300%. Yesterday it was all rendered and I exported w/QT Conversion and uploaded to You Tube with no problems and a decent result, for You Tube. Now I'm trying to Print to
-
How to install phonegap build addon ?
Hi I've recently updated my version of Dreamweaver CC 2014 via the Creative Cloud Application. Since this update I could not start the Phonegap Build Addon, do I decided to uninstall/reinstall it. This action did not solve the problem, so I decided t