Import renaming default preference -- does it exist?
I think the title says it all: auto renaming has now gotten me into trouble a few times. I would rather forget to rename and have to do so later, rather than forget I did rename, which is when the dupe names start to pile up. But I don't see a choice in the preferences tabs to make the default that the renaming box is unchecked.
See this tutorial:
http://tv.adobe.com/watch/learn-lightroom-5/file-renaming-options-in-adobe-photoshop-light room-5/
Similar Messages
-
database version 11.2.0.4
rac two node
CREATE INDEX MAXIMO.ACTCI_NDX3 ON MAXIMO.ACTCI
(DESCRIPTION)
INDEXTYPE IS CTXSYS.CONTEXT
PARAMETERS('lexer global_lexer language column LANGCODE')
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10700: preference does not exist: global_lexer
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366Like the error message says, you don't have a global_lexer. So, you need to create a global_lexer and that lexer must have at least a default sub_lexer, then you can use that global_lexer in your index parameters. Please see the demonstration below, including reproduction of the error and solution.
SCOTT@orcl12c> -- reproduction of problem:
SCOTT@orcl12c> CREATE TABLE actci
2 (description VARCHAR2(60),
3 langcode VARCHAR2(30))
4 /
Table created.
SCOTT@orcl12c> CREATE INDEX ACTCI_NDX3 ON ACTCI (DESCRIPTION)
2 INDEXTYPE IS CTXSYS.CONTEXT
3 PARAMETERS('lexer global_lexer language column LANGCODE')
4 /
CREATE INDEX ACTCI_NDX3 ON ACTCI (DESCRIPTION)
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10700: preference does not exist: global_lexer
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
SCOTT@orcl12c> -- solution:
SCOTT@orcl12c> DROP INDEX actci_ndx3
2 /
Index dropped.
SCOTT@orcl12c> BEGIN
2 CTX_DDL.CREATE_PREFERENCE ('global_lexer', 'multi_lexer');
3 CTX_DDL.CREATE_PREFERENCE ('english_lexer', 'basic_lexer');
4 CTX_DDL.ADD_SUB_LEXER ('global_lexer', 'default', 'english_lexer');
5 END;
6 /
PL/SQL procedure successfully completed.
SCOTT@orcl12c> CREATE INDEX ACTCI_NDX3 ON ACTCI (DESCRIPTION)
2 INDEXTYPE IS CTXSYS.CONTEXT
3 PARAMETERS('lexer global_lexer language column LANGCODE')
4 /
Index created. -
Oracle Text Index Error - DRG-10700: preference does not exist: CTXSYS.DEFA
Hi we are having a Oracle 11g db.And we have installed CTX SYS package and provided the grants to the required schema.
But while creating the oracle text index, following error is thrown:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10700: preference does not exist: CTXSYS.DEFAULT_LEXER
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 365
Following grnats are given :
GRANT EXECUTE ON CTXSYS.CTX_DDL TO <schema_name>;
GRANT APPOWN TO <schema_name>;
GRANT CTXAPP TO <schema_name>;
I have verifyed the ctxsys.CTX_PREFERENCES view which is having an entry as :
SELECT PRE_OWNER, PRE_NAME
FROM CTXSYS.CTX_PREFERENCES
WHERE PRE_NAME = 'DEFAULT_LEXER';
The Result is :
PRE_OWNER PRE_NAME
SYS DEFAULT_LEXER
Can you please assist if there is a way to update the permission on this DEFAULT_LEXER preference to set the PRE_OWNER as CTXSYS ?
ThanksThat's odd. If I run the same query I see:
SQL> SELECT PRE_OWNER, PRE_NAME
2 FROM CTXSYS.CTX_PREFERENCES
3 WHERE PRE_NAME = 'DEFAULT_LEXER';
PRE_OWNER PRE_NAME
CTXSYS DEFAULT_LEXERAre all your defaults like thsi? What do you see if you run
select pre_owner, pre_name from ctxsys.ctx_preferences where pre_name like 'DEFAULT%';
It would be easy enough to update the underlying table DR$PREFERENCES to fix the owner, but who knows what else might be wrong.
Has this database been updated from a 9i installation by any chance? -
"DRG-10700: preference does not exist: french_lexer"
Hi
I am working on a database migration from 9.2.0.7 to 10.2.0.4.
Everything is working fine but Oracle text no.
The user CTXSYS is ok, he is granted all privilege
I am trying to create this index, and I have got this error:
CREATE INDEX USER.MY_TABLE_CTX01 ON USER.MY_TABLE
(TITLE) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS('storage mystore LEXER french_lexer');
Error at line 3
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10700: preference does not exist: french_lexer
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364
But berfore creating this index, I create the french lexer with
sqlplus ctxsys/<password> @defaults/drdeffrc.sql.
The table "my_table" is very simple, title is varchar(2000).
But i can create this index with the default options
CREATE INDEX USER.MY_TABLE_CTX01 ON USER.MY_TABLE
(TITLE) INDEXTYPE IS CTXSYS.CONTEXT ;
I can't understant why french lexer seems to be not installed despite of running this script drdeffrc.sql.
Any idea?
Regards
MartinWhere did you get the instructions to run drdeffrc.sql? I'm not aware of that script - I assume it's meant to be installed at installation time.
There is no french_lexer as such. If your language settings are set to French, then the system will use French defaults in the basic_lexer.
- Roger -
In preferences does not exist "composite" or "S-Video"
Hi,
In my Quick Time Player "preferences" does not exist option "Composite" or "S-Video" only FaceTime camera.
So i cant record my video from other devices.
Can somebody help me?
Thank you very much.QuickTime Player to my knowledge does not have the capacity to capture from external video inputs, nor does any Mac have composite nor S-video inputs built in. You'll need a video capture device and appropriate software, perhaps iMovie if the video capture device doesn't come with software, to capture from such a video source.
Regards. -
Package import ncsa.j3d.*; does not exist
Hi, i'm working on a 3d game for my fyp and am haveing trouble importing the package import ncsa.j3d.*; and the package import ncsa.j3d.loaders.*; Net Beans keeps giving me an error saying package import ncsa.j3d.*; does not exist and package import ncsa.j3d.loaders; does not exist!!!
Any help would be terrific, I'm running under windows xp, amd mobile.I'm having the same problem, have you figured it out yet?
-
Import javax.mail package does not exists
Hi,
when i tried to compile the source code for email using jdk1.3.1, it compiled fine. but when i tried to compile using jdk1.4.., it had the following errors such as
import javax.mail package does not exists,
import javax.mail.internet package does not exists
package javax.activation does not exist
Is it because of the jdk version problem???
Pls help meI have the same problem with javax.ejb
Now i've downloaded and installed the j2ee and set my classpath to the j2ee.jar. I've had to make a new path cause i'm running XP.
This doesn't work.
to compile it in Jcreator or JBuilder I can make it work by adding this package (j2ee.jar) in the project settings - required libraries.
But I have to do this for every project again and again.
I can make it work but i thougt the classpath would be enough ??
Bassegio -
DRG-10700: preference does not exist: nhd_lexer
HI,
oracle database 10.2.0.5
Os- windows 2003
I am getting below error while creatyed index.
SYS@ISC11P>begin
2 ctx_ddl.create_preference('nhd_lexer', 'BASIC_LEXER');
3 ctx_ddl.set_attribute('nhd_lexer', 'INDEX_TEXT', 'YES');
4 ctx_ddl.set_attribute('nhd_lexer', 'INDEX_THEMES', 'NO');
5 end;
6 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.01
SYS@ISC11P>create index ProtokollIndex1 on Protokoll(Beschreibung) indextype is
ctxsys.context parameters('lexer nhd_lexer sync (on commit)');
create index ProtokollIndex1 on Protokoll(Beschreibung) indextype is ctxsys.cont
ext parameters('lexer nhd_lexer sync (on commit)')
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10700: preference does not exist: nhd_lexer
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364
Please help me to resolve the issue.I can't reproduce it:
SQL> select *
2 from v$version
3 /
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for 64-bit Windows: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
SQL> begin
2 ctx_ddl.create_preference('nhd_lexer', 'BASIC_LEXER');
3 ctx_ddl.set_attribute('nhd_lexer', 'INDEX_TEXT', 'YES');
4 ctx_ddl.set_attribute('nhd_lexer', 'INDEX_THEMES', 'NO');
5 end;
6 /
PL/SQL procedure successfully completed.
SQL> create index emp_idx11
2 on emp(job)
3 indextype is ctxsys.context
4 parameters('lexer nhd_lexer sync (on commit)')
5 /
Index created.
SQL> SY. -
DRG-10700: preference does not exist: CTXSYS.DEFAULT_WORDLIST
Hi,
I have recently installed Oracle Universal Content Management 10gR3 server, using an Oracle 10gR2 database.
When I try to run the indexer, I get the below error in the content server log. I know this is related to Oracle Text, but I don't know what the problem is. Any help will be appreciated.
Many Thanks,
Indexing aborted. Unable to delete collection directories. Indexer could not create table or index: IdcColl2. Unable to execute SQL statement 'CREATE INDEX FT_IdcColl2 ON IdcColl2 (dDocFullText) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS('DATASTORE CTXSYS.DEFAULT_DATASTORE FILTER CTXSYS.AUTO_FILTER FORMAT COLUMN DFULLTEXTFORMAT CHARSET COLUMN DFULLTEXTCHARSET LEXER OCS_IDCCOLL2_LEXER SYNC (ON COMMIT)')'. ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10700: preference does not exist: CTXSYS.DEFAULT_WORDLIST
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364
[ Details ]
An error has occurred. The stack trace below shows more information.
!csIndexerAbortedMsg!csIndexerUnableToDeleteCollection!csIndexerDBFullTextCanNotCreateTableOrIndex,IdcColl2!csDbUnableToExecuteSql,CREATE INDEX FT_IdcColl2 ON IdcColl2 (dDocFullText) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS('DATASTORE CTXSYS.DEFAULT_DATASTORE FILTER CTXSYS.AUTO_FILTER FORMAT COLUMN DFULLTEXTFORMAT CHARSET COLUMN DFULLTEXTCHARSET LEXER OCS_IDCCOLL2_LEXER SYNC (ON COMMIT)')!$ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine<br>ORA-20000: Oracle Text error:<br>DRG-10700: preference does not exist: CTXSYS.DEFAULT_WORDLIST<br>ORA-06512: at "CTXSYS.DRUE"\, line 160<br>ORA-06512: at "CTXSYS.TEXTINDEXMETHODS"\, line 364<br>
intradoc.common.ServiceException: !csIndexerUnableToDeleteCollection!csIndexerDBFullTextCanNotCreateTableOrIndex,IdcColl2!csDbUnableToExecuteSql,CREATE INDEX FT_IdcColl2 ON IdcColl2 (dDocFullText) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS('DATASTORE CTXSYS.DEFAULT_DATASTORE FILTER CTXSYS.AUTO_FILTER FORMAT COLUMN DFULLTEXTFORMAT CHARSET COLUMN DFULLTEXTCHARSET LEXER OCS_IDCCOLL2_LEXER SYNC (ON COMMIT)')!$ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10700: preference does not exist: CTXSYS.DEFAULT_WORDLIST
ORA-06512: at "CTXSYS.DRUE"\, line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS"\, line 364
at intradoc.indexer.IndexerExecution.createCollection(IndexerExecution.java:552)
at intradoc.indexer.IndexerExecution.prepare(IndexerExecution.java:400)
at intradoc.indexer.IndexerDriverAdaptor.prepare(IndexerDriverAdaptor.java:60)
at intradoc.indexer.DocIndexerAdaptor.prepare(DocIndexerAdaptor.java:102)
at intradoc.indexer.Indexer.doIndexing(Indexer.java:371)
at intradoc.indexer.Indexer.buildIndex(Indexer.java:347)
at intradoc.server.IndexerMonitor.doIndexing(IndexerMonitor.java:1012)
at intradoc.server.IndexerMonitor$4.run(IndexerMonitor.java:832)Hi Ayman ,
Looks to me that UCM is unable to create the required tables for FT search to function correctly . IdcColl1 and IdcColl2 are the tables that get created when running collection rebuild cycle for the first time after setting up FT indexing on UCM .
Did you execute the relevant ucm sql scripts after configuring FT for UCM ? Execute fulltextindex.sql and then test to see if the issue persists.
Apart from that check if the db user configured for UCM has the table creation rights assigned to it .
Let me know how it all works out .
Thanks
Srinath -
Import statement reports 'package does not exist'
I am seeing another odd error. I'm working on learning how to read and write to text files, and I have 2 errors reported, but one is obviously caused by the other. My package is labeled as such (copy>paste of package line):
package michaelchristopherp4db;
and the import line is this (copy>paste again):
import michaelchristopherp4db.ProductRecord;
However, Netbeans looks at the import and flags it red, saying package michaelchristopherp4db does not exist. this caused my line:
ProductRecord product = new ProductRecord();
to also be flagged in red as it cannot find the ProductRecord class. However, it has no problems with any of the product.get* method calls. Thank you in advance for any ideas or input.
here is the full code of the file reporting the errors.
* To change this template, choose Tools | Templates
* and open the template in the editor.
package michaelchristopherp4db2;
import java.io.File;
import java.io.FileNotFoundException;
import java.lang.IllegalStateException;
import java.lang.SecurityException;
import java.util.NoSuchElementException;
import java.util.Formatter;
import java.util.FormatterClosedException;
import java.util.Scanner;
import michaelchristopherp4db.ProductRecord;
/* @author info
public class readTxt
private Scanner txtfile;
private Formatter wishList;
private Formatter giftIdeas;
private Formatter priceError;
//let user open file
public void openFile()
{//open method openFile
try
{//open try block
priceError = new Formatter("priceerror.txt");//open object for items with invalid prices
giftIdeas = new Formatter("giftideas.txt");//open object for gift ideas
wishList = new Formatter("wishlist.txt");//open object for wish list
txtfile = new Scanner(new File("products.txt"));//tell the compiler which file to use for input
}//close try block
catch (FileNotFoundException fileNotFoundException)
{//open file not found catch block
System.err.println("Error opening or creating file.");
System.exit(1);
}//close file not found catch block
catch ( SecurityException securityException )
{//start catch for SecurityException
System.err.println("File Write access is denied.");
System.exit(1);//END PROGRAM
}//end catch
}//close openFile method
public void readProducts()
{//open readProducts method
ProductRecord product = new ProductRecord();//create object to hold read data
//print headers for for output columns
System.out.printf("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
try //read records from the file
{//open try block
while (txtfile.hasNext())
{//open while
product.setproductID(txtfile.nextInt());//get productID
product.setproductName(txtfile.next());//get product name
product.setproductPrice(txtfile.nextDouble());//get product price
//print collected product details
System.out.printf("%-10d%-12s%10.2f\n", product.getproductID(),
product.getproductName(), product.getproductPrice());
if (product.getproductPrice()>50.0)
{//open if to store items $50 or more to wishlist.txt
wishList.format("%-10d%-12s%10.2f\n", product.getproductID(),
product.getproductName(), product.getproductPrice());
}//close if $50 or greater
else if (product.getproductPrice()<0.0)
{//open if less than zero
priceError.format("%-10d%-12s%10.2f\n", product.getproductID(),
product.getproductName(), product.getproductPrice());
}//close if less than zero
else
{//open else for gift ideas from $0 to $50
giftIdeas.format("%-10d%-12s%10.2f\n", product.getproductID(),
product.getproductName(), product.getproductPrice());
}//close else for gift ideas
}//close while
}//close try block
catch (NoSuchElementException elementException)
{//open no such element exception catch
System.err.println("File improperly formed.");
txtfile.close();//close text file
System.exit(1);
}//close no such element exception catch
catch (IllegalStateException stateException)
{//open illegal state exception catch
System.err.println("Error reading from file.");
System.exit(1);
}//close illegal state exception catch
}//close readProducts method
//close file and end application
public void closeFile()
{//open closeFile method
if (txtfile != null)
txtfile.close();//close file
}//close closeFile method
}//end application readTxtAnd the code at the top of the class I am trying to import (so you can see the package I am trying to import)
* To change this template, choose Tools | Templates
* and open the template in the editor.
package michaelchristopherp4db;
* @author
public class ProductRecord {I am embarrassed to admit this, but I am completely lost on the last question.. I have no clue wether it is a convenience for development or a dependancy, as I have not learned those terms or distinctions yet. For now I copied the ProductRecord file into my new project folder and renamed it's project line to match the new project name. However, while that eliminated the package does not exist error, and netbeans reports no errors now, when I run the program it does not write the new files. I have made some modifications to the code tryiing to get it to write properly but so far no luck in makingit work. Here is the current version of the file not running right.
* To change this template, choose Tools | Templates
* and open the template in the editor.
package michaelchristopherp4db2;
import java.io.File;
import java.io.FileNotFoundException;
import java.lang.IllegalStateException;
import java.lang.SecurityException;
import java.util.NoSuchElementException;
import java.util.Formatter;
import java.util.FormatterClosedException;
import java.util.Scanner;
/* @author
* Michael Christopher
* IT215-1004D-03
* December 30, 2010
* Phase 4 DB 2
public class readTxt
private Scanner txtfile;
private Formatter wishList;
private Formatter giftIdeas;
private Formatter priceError;
//let user open file
public void openFile()
{//open method openFile
try
{//open try block
priceError = new Formatter("priceerror.txt");//open object for items with invalid prices
giftIdeas = new Formatter("giftideas.txt");//open object for gift ideas
wishList = new Formatter("wishlist.txt");//open object for wish list
txtfile = new Scanner(new File("products.txt"));//tell the compiler which file to use for input
}//close try block
catch (FileNotFoundException fileNotFoundException)
{//open file not found catch block
System.err.println("Error opening or creating file.");
System.exit(1);
}//close file not found catch block
catch ( SecurityException securityException )
{//start catch for SecurityException
System.err.println("File Write access is denied.");
System.exit(1);//END PROGRAM
}//end catch
}//close openFile method
public void readProducts()
{//open readProducts method
ProductRecord product = new ProductRecord();//create object to hold read data
//print headers for for output columns
wishList.format("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
giftIdeas.format("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
priceError.format("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
try //read records from the file
{//open try block
while (txtfile.hasNext())
{//open while
product.setproductID(txtfile.nextInt());//get productID
product.setproductName(txtfile.next());//get product name
product.setproductPrice(txtfile.nextDouble());//get product price
if (product.getproductPrice()>50.0)
{//open if to store items $50 or more to wishlist.txt
wishList.format("%-10d%-12s%10.2f\n", product.getproductID(),
product.getproductName(), product.getproductPrice());
}//close if $50 or greater
else if (product.getproductPrice()<0.0)
{//open if less than zero
priceError.format("%-10d%-12s%10.2f\n", product.getproductID(),
product.getproductName(), product.getproductPrice());
}//close if less than zero
else
{//open else for gift ideas from $0 to $50
giftIdeas.format("%-10d%-12s%10.2f\n", product.getproductID(),
product.getproductName(), product.getproductPrice());
}//close else for gift ideas
}//close while
}//close try block
catch (NoSuchElementException elementException)
{//open no such element exception catch
System.err.println("File improperly formed.");
txtfile.close();//close text file
System.exit(1);
}//close no such element exception catch
catch (IllegalStateException stateException)
{//open illegal state exception catch
System.err.println("Error reading from file.");
System.exit(1);
}//close illegal state exception catch
}//close readProducts method
//close file and end application
public void closeFile()
{//open closeFile method
if (txtfile != null)
txtfile.close();//close file
}//close closeFile method
}//end application readTxtwith the System.out.printf lines in the ReadProducts method it would properly print to screen all of the elements in the products.txt file, it is not outputting to the other .txt files at all. I will be exploring the closeFile method in case the error is due to not closing all of the files in that method, but does anyone else see what might cause it not to output the data to the appropriate .txt files? -
Import Error:Root Directory Does not exist
Hi,
I have some isuuses with importing the extended page. When I try to Import it throws an error.
Root Directory does not exist.
I am using the following command.
import c:\jdev\jdevhome\jdev\myprojects\oracle\apps\asn\opportunity\webui\EMCOpptyDetPG.xml -includeSubpackages -validate -rootdir c:\prabhat\Jdev\jdevhome\jdev\myprojects -mmddir C:\prabhat\Jdev\jdevhome\jdev\myhtml\OA_HTML\jrad -userId 1 -username apps -password apps -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp)(host =xxxx)(port =xxx)))(connect_data = (sid = xxxx)))" -jdk13
Importing /oracle/apps/asn/opportunity/webui/EMCOpptyDetPG
Validation warnings in document "/oracle/apps/asn/opportunity/webui/EMCOpptyDetP
G":
Importing /oracle/apps/asn/opportunity/webui/EMCOpptyDetPG
Validation warnings in document "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG":
Invalid value "/oracle/apps/pv/opportunity/webui/PvOpptyPartnerRN" for property
"Extends" on component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubt
abPrmRN". Component "/oracle/apps/pv/opportunity/webui/PvOpptyPartnerRN" cannot
be referenced from "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabPr
mRN" because it violates scope restrictions.
Invalid value "/oracle/apps/jtf/cac/task/webui/CacTaskSummRN" for property "Exte
nds" on component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabTas
kRN". Component "/oracle/apps/jtf/cac/task/webui/CacTaskSummRN" cannot be refere
nced from "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabTaskRN" bec
ause it violates scope restrictions.
The component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabTaskRN"
cannot contain "/oracle/apps/jtf/cac/task/webui/CacTaskSummRN.CacSmrTable" of t
able style because it is inside "tableLayout".
The component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabTaskRN"
cannot contain "/oracle/apps/jtf/cac/task/webui/CacTaskSummRN.CacSmrTaskButtonR
N" of stackLayout style because it is inside "tableLayout".
Invalid value "/oracle/apps/pv/opportunity/webui/PvAbandonOpptyRN" for property
"Extends" on component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNPrmS
tack". Component "/oracle/apps/pv/opportunity/webui/PvAbandonOpptyRN" cannot be
referenced from "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNPrmStack" b
ecause it violates scope restrictions.
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Error: The root directory does not exist
Import completed.
But After this when I try to see from the server there is no file with name EMCOpptyDetPG.xml exist. So I think this file is not imported.
Could suggest how to solve this problem.
Thanks
PrabhatHi Tapash
while deploying a page to mds Repository i m getting the same error that root Directory does not exist but it also says that import completed successfully.
when i see the same using jdr_utils.listDocuments('xxxx/oracle/apps/ak/server/webui/xxxPG')
it says printing /xxxx/oracle/apps/ak/server/webui/xxxPG thus page is available in the mds repository and i m able to access the page at run time
my concern is why i m getting this error
my import command looks like this
java oracle.jrad.tools.xml.importer.XMLImporter $JAVA_TOP/xxxx/oracle/apps/ak/server/webui/xxxxPG.xml -jdk13 -mmddir $OA_HTML/jrad -username apps -password apps -rootdir $JAVA_TOP -validate -dbconnection " (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xyxyxyxyxy)(PORT = xyxyx)) (CONNECT_DATA = (SID =yyy)))"
could u pls suggest some solution. -
OIM 11g - Default role does not exists
Hey,
the default role IDENTITY ORGANIZATION ADMINISTRATORS does not exists in my OIM (11.1.1.5.4)
I need this role to assign an user privileges to create and manage organization.
Any idea?960944 wrote:
Hey,
the default role IDENTITY ORGANIZATION ADMINISTRATORS does not exists in my OIM (11.1.1.5.4)
I need this role to assign an user privileges to create and manage organization.
Any idea?The following roles were removed in 11.1.1.5.0:
IDENTITY ORGANIZATION ADMINISTRATORS
ACCESS POLICY ADMINISTRATORS
IT RESOURCE ADMINISTRATORS
GENERIC CONNECTOR ADMINISTRATORS
REPORT ADMINISTRATORS
Regards,
Vladimir -
GRC 10 Role Import error(Master role does not exist) in SP12
Hi,
We have completed connectors part and ran sync jobs successfully.
We have given required inputs in Define Criteria,Select Role Data in Role Import.When we submit this,only few roles are successfully imported.
It is giving error like Master role does not exist(some roles) but it is successful for few other roles.
We have tried with SKIP option in role authorization source as per a note but it is not successful for all the role import and getting above mentioned error.
Please check and advice.
Thanks & Regards,
Koteswara Rao.Hi Koteswara
Have you confirmed in SAP that your ZM* roles are definitely imparting roles only? When you tried to upload them on second attempt, did you relaunch the the role import screen to ensure any buffering completely cleared?
Another thing to try - import the master role and then exit NWBC and run the repository synch job. Go back to NWBC and attempt to import the derived roles to see if error is gone?
If these don't work for you it may be time to contact SAP. I assume it was the following note you referred to: 1576321 - Import derived role without master role
Also, this topic was raised in SCN last year (unfortunately the thread was not updated with the solution). Possibly reach to the thread owner and see if they will login to SCN and update it Role import failed with Master role does not exist in SP13
Regards
Colleen -
Query Error - Schema Does Not Exist
I get the following error when creating stored procedure:
Msg 2797, Level 16, State 1, Procedure SearchAllTables, Line 90
The default schema does not exist.
CREATE PROC SearchAllTables
@SearchStr nvarchar(100)
AS
BEGIN
CREATE TABLE #Results(TableName nvarchar(370), KeyValues nvarchar(3630), ColumnName nvarchar(370), ColumnValue nvarchar(3630))
SET NOCOUNT ON
DECLARE @TableName nvarchar(256), @ColumnName nvarchar(128), @SearchStr2 nvarchar(110)
,@TableShortName nvarchar(256)
,@TableKeys nvarchar(512)
,@SQL nvarchar(3830)
SET @TableName = ''
SET @SearchStr2 = QUOTENAME('%' + @SearchStr + '%','''')
WHILE @TableName IS NOT NULL
BEGIN
SET @ColumnName = ''
-- Scan Tables
SET @TableName =
SELECT MIN(QUOTENAME(TABLE_SCHEMA) + '.' + QUOTENAME(TABLE_NAME))
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_TYPE = 'BASE TABLE'
AND QUOTENAME(TABLE_SCHEMA) + '.' + QUOTENAME(TABLE_NAME) > @TableName
AND OBJECTPROPERTY(
OBJECT_ID(
QUOTENAME(TABLE_SCHEMA) + '.' + QUOTENAME(TABLE_NAME)
), 'IsMSShipped'
) = 0
Set @TableShortName=PARSENAME(@TableName, 1)
-- print @TableName + ';' + @TableShortName +'!' -- *** DEBUG LINE ***
-- LOOK Key Fields, Set Key Columns
SET @TableKeys=''
SELECT @TableKeys = @TableKeys + '''' + QUOTENAME([name]) + ': '' + CONVERT(nvarchar(250),' + [name] + ') + ''' + ',' + ''' + '
FROM syscolumns
WHERE [id] IN (
SELECT [id]
FROM sysobjects
WHERE [name] = @TableShortName)
AND colid IN (
SELECT SIK.colid
FROM sysindexkeys SIK
JOIN sysobjects SO ON
SIK.[id] = SO.[id]
WHERE
SIK.indid = 1
AND SO.[name] = @TableShortName)
If @TableKeys<>''
SET @TableKeys=SUBSTRING(@TableKeys,1,Len(@TableKeys)-8)
-- Print @TableName + ';' + @TableKeys + '!' -- *** DEBUG LINE ***
-- Search in Columns
WHILE (@TableName IS NOT NULL) AND (@ColumnName IS NOT NULL)
BEGIN
SET @ColumnName =
SELECT MIN(QUOTENAME(COLUMN_NAME))
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = PARSENAME(@TableName, 2)
AND TABLE_NAME = PARSENAME(@TableName, 1)
AND DATA_TYPE IN ('char', 'varchar', 'nchar', 'nvarchar')
AND QUOTENAME(COLUMN_NAME) > @ColumnName
) -- Set ColumnName
IF @ColumnName IS NOT NULL
BEGIN
SET @SQL='
SELECT
''' + @TableName + '''
,'+@TableKeys+'
,''' + @ColumnName + '''
,LEFT(' + @ColumnName + ', 3630)
FROM ' + @TableName + ' (NOLOCK) ' +
' WHERE ' + @ColumnName + ' LIKE ' + @SearchStr2
--Print @SQL -- *** DEBUG LINE ***
INSERT INTO #Results
Exec (@SQL)
END -- IF ColumnName
END -- While Table and Column
END --While Table
SELECT TableName, KeyValues, ColumnName, ColumnValue FROM #Results
ENDHere is the code from my blog post:
CREATE PROCEDURE spSearchStringInTable
(@SearchString NVARCHAR(MAX),
@Table_Schema sysname,
@Table_Name sysname)
AS
BEGIN
DECLARE @Columns NVARCHAR(MAX), @Cols NVARCHAR(MAX), @PkColumn NVARCHAR(MAX)
-- Get all character columns
SET @Columns = STUFF((SELECT ', ' + QUOTENAME(Column_Name)
FROM INFORMATION_SCHEMA.COLUMNS
WHERE DATA_TYPE IN ('text','ntext','varchar','nvarchar','char','nchar')
AND TABLE_NAME = @Table_Name
ORDER BY COLUMN_NAME
FOR XML PATH('')),1,2,'')
IF @Columns IS NULL -- no character columns
RETURN -1
-- Get columns for select statement - we need to convert all columns to nvarchar(max)
SET @Cols = STUFF((SELECT ', cast(' + QUOTENAME(Column_Name) + ' as nvarchar(max)) as ' + QUOTENAME(Column_Name)
FROM INFORMATION_SCHEMA.COLUMNS
WHERE DATA_TYPE IN ('text','ntext','varchar','nvarchar','char','nchar')
AND TABLE_NAME = @Table_Name
ORDER BY COLUMN_NAME
FOR XML PATH('')),1,2,'')
SET @PkColumn = STUFF((SELECT N' + ''|'' + ' + ' cast(' + QUOTENAME(CU.COLUMN_NAME) + ' as nvarchar(max))'
FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS TC
INNER JOIN INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE CU ON TC.TABLE_NAME = CU.TABLE_NAME
AND TC.TABLE_SCHEMA = CU.TABLE_SCHEMA
AND Tc.CONSTRAINT_NAME = CU.CONSTRAINT_NAME
WHERE TC.CONSTRAINT_TYPE ='PRIMARY KEY' AND TC.TABLE_SCHEMA = @Table_Schema AND TC.TABLE_NAME = @Table_Name
ORDER BY CU.COLUMN_NAME
FOR XML PATH('')),1,9,'')
IF @PkColumn IS NULL
SELECT @PkColumn = 'cast(NULL as nvarchar(max))'
-- set select statement using dynamic UNPIVOT
DECLARE @SQL NVARCHAR(MAX)
SET @SQL = 'select *, ' + QUOTENAME(@Table_Schema,'''') + 'as [Table Schema], ' + QUOTENAME(@Table_Name,'''') + ' as [Table Name]' +
' from
(select '+ @PkColumn + ' as [PK Column], ' + @Cols + ' FROM ' + QUOTENAME(@Table_Schema) + '.' + QUOTENAME(@Table_Name) + ' )src UNPIVOT ([Column Value] for [Column Name] IN (' + @Columns + ')) unpvt
WHERE [Column Value] LIKE ''%'' + @SearchString + ''%'''
--print @SQL
EXECUTE sp_ExecuteSQL @SQL, N'@SearchString nvarchar(max)', @SearchString
END
GO
IF OBJECT_ID('TempDB..#Result', N'U') IS NOT NULL DROP TABLE #Result;
CREATE TABLE #RESULT ([PK COLUMN] NVARCHAR(MAX), [COLUMN VALUE] NVARCHAR(MAX), [COLUMN Name] sysname, [TABLE SCHEMA] sysname, [TABLE Name] sysname)
DECLARE @Table_Name sysname, @SearchString NVARCHAR(MAX), @Table_Schema sysname
SET @SearchString = N'Cost'
DECLARE curAllTables CURSOR LOCAL FORWARD_ONLY STATIC READ_ONLY
FOR
SELECT Table_Schema, Table_Name
FROM INFORMATION_SCHEMA.Tables
WHERE TABLE_TYPE = 'BASE TABLE'
ORDER BY Table_Schema, Table_Name
OPEN curAllTables
FETCH curAllTables
INTO @Table_Schema, @Table_Name
WHILE (@@FETCH_STATUS = 0) -- Loop through all tables in the database
BEGIN
INSERT #RESULT
EXECUTE spSearchStringInTable @SearchString, @Table_Schema, @Table_Name
FETCH curAllTables
INTO @Table_Schema, @Table_Name
END -- while
CLOSE curAllTables
DEALLOCATE curAllTables
-- Return results
SELECT * FROM #RESULT ORDER BY [Table Name]
It works OK for me.
I also posted another code today which searches a single column in all tables of the database. I spent about an hour working on that code and it works fine for me too.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
Error: The preference path does not exist
Subject:
Error: The preference path does not exist:
Oracle.Portal.Page(WWC-51000)]
I can not resolve this error.
Have you already experienced this error?
I'm sending more information below.
Regards, Dime
DETAILS:
========
ORACLE Product: iAS 9i EE, v1.0.2
Platform: RedHat Linox 6.2, kernel 2.2.18
HW Platform:
IBM Intellistation 6889, Intel P2 350MHz, 384MB
Problem:
After successful installation of the Application Server and data base creation, the installation of ORACLE Portal 3.0.6 is successful too, but the following message
appears when we try to access the URL http://servername:port/pls/portal30:
Error: The preference path does not exist:
Oracle.Portal.Page (WWC-51000)
About the Attachments:
- init.ora.original (the original init.ora file)
- init.ora.try1 (the file modified as described in the configuration guide)
- init.ora.try2 (according suggestions in the discussion group on
the ORACLE Metal Partners Site)
- install.log (install.log generated with init.ora.try2)
Regards,
Dimitar Indovski,
GORD Systems
ATTACHMENT-1 (init.ora.original)
db_name=DEFAULT
db_files= 80 # SMALL
db_file_multiblock_read_count = 8 # SMALL
db_block_buffers = 100 # SMALL
shared_pool_size = 3500000 # SMALL
log_checkpoint_interval = 10000
processes = 50 # SMALL
parallel_max_servers = 5 # SMALL
log_buffer = 32768 # SMALL
max_dump_file_size = 10240 # limit trace file size to 5 Meg each
global_names = TRUE
control_files = (ora_control1, ora_control2)
ATTACHMENT-2 (init.ora.try1)
db_name=DEFAULT
db_files = 80 # SMALL
db_file_multiblock_read_count = 8 # SMALL
db_block_buffers = 100 # SMALL
shared_pool_size = 3500000 # SMALL
log_checkpoint_interval = 10000
processes = 50 # SMALL
parallel_max_servers = 5 # SMALL
log_buffer = 32768 # SMALL
max_dump_file_size = 10240 # limit trace file size to 5 Meg each
global_names = TRUE
control_files = (ora_control1, ora_control2)
max_enabled_roles = 25
open_cursors = 50
compatible = 8.1.0
java_pool_size = 20
ATTACHMENT-3 (init.ora.try2)
db_name=DEFAULT
db_file_multiblock_read_count = 16
db_block_buffers = 550
shared_pool_size = 31457280
log_checkpoint_interval = 10000
processes = 100
parallel_max_servers = 5
log_buffer = 32768
max_dump_file_size = 10240
global_names = TRUE
control_files = (ora_control1, ora_control2)
open_cursors = 300
large_pool_size = 45000000
java_pool_size = 32768000
db_block_size = 8192
ATTACHMENT-4 (install.log.gz)
-----------------------------Dennis
A general shared_pool_size Q&A is part of the Troubleshooting Guide on OTN: http://technet.oracle.com/products/iportal/htdocs/portal_troubleshooting.htm
The Configuration Assistant determines the shared pool size from the view v$parameter,
which lists information about the initialization parameters (populated from init.ora file). If the shared_pool_size value is more than 15728640 (for a default installation), you pass the minimal requirements set by the Portal Installer. Make sure you actually write out all the digits (i.e. 1000000000) and don't use abbreviations (1000M). Currently, the Configuration Assistant does a numeric check against the values that are set and cannot resolve the abbreviate syntax.
Also try running the sql [select value from v$parameter where name like 'shared_pool_size';] to check if the changes you are making in the init.ora is really getting populated in the v$parameter view. As long as you restart the database once you make the change in init.ora, it should take effect.
null
Maybe you are looking for
-
PR release startegy should be flexible so that if we add any of the parameters, the program should follow the rules. The parameters that can be changed are: 1. Document Types 2. Project Types (We will need a custom table) 3. Plants Groups 4. Thresho
-
How to hyperlink a pdf or embed a pdf in DPS Folio?
I want to have an option where i want to connect a pdf to a button in DPS folio. I cannot upload the pdf on the any server and link it. So is there a way to connect or embed a pdf in the dps folio?
-
ITunes can't sync. "sendMuxSegment connection was closed"
My iPad 2 can't seem to sync. I've rebooted the Mac and the iPad several times. I've check the computer with Disk First Aid and all checks out fine. I thought it might have something to do with the iPad not being on the latest iOS, so I upgraded to 6
-
New Schedule for Oracle Developer Days in the USA
Free full day workshop with JSF, EJB 3.0 and BPEL Register here: http://www.oracle.com/go/?&Src=1587968&Act=43 Denver, CO - Tuesday, August 2, 2005 Philadelphia, PA - Thursday, August 4, 2005 Detroit, MI - Tuesday, August 9, 2005 Atlanta, GA - Thursd
-
Matrox RT-X2 es compatible con version CS6
Hola algien me puede decir si MATROX RT X2 es compatible con la versión cs6.Gracias