11g release 2 Unable to Select updatedXML
Version: Oracle 11g Rel 2
XML stored AS BASICFILE BINARY XML
Updated XML using AppendChildXML, however unable to Query the Element/Attribute.Appreciate any help.
<SearchRecord>
<RECORD>
<ObjectInfo>
<Terms>
<FlexTerm FlexTermName="AuthKeyword">
<FlexTermValue>Possibility theory</FlexTermValue>
</FlexTerm>
<FlexTerm FlexTermName="AuthKeyword2">
<FlexTermValue>Possibility theory2</FlexTermValue>
</FlexTerm>
*<ClassTerm>*
*<ClassCode TermVocab="BulkTesting"/>*
*</ClassTerm>*
</Terms>
</ObjectInfo>
</RECORD>
</SearchRecord>
Try the following....
INSERT INTO TESTXML(CSXML_GOID,CSXML_DOC,CSXML_DATASET)VALUES(
1241,
XMLTYPE(' <SearchRecord>
<RECORD>
<ObjectInfo>
<Terms>
<FlexTerm FlexTermName="AuthKeyword">
<FlexTermValue>Possibility theory</FlexTermValue>
</FlexTerm>
<FlexTerm FlexTermName="AuthKeyword2">
<FlexTermValue>Possibility theory2</FlexTermValue>
</FlexTerm>
<ClassTerm>
<ClassCode TermVocab="BulkTesting"/>
</ClassTerm>
</Terms>
</ObjectInfo>
</RECORD>
</SearchRecord>'));
SELECT
XML.TermVocab
FROM
testxml csxml,
XMLTABLE(
'for $i in SearchRecord/RECORD/ObjectInfo/Terms/ClassTerm/ClassCode
return element e {$i/@TermVocab }'
PASSING CSXML.CSXML_DOC COLUMNS TermVocab VARCHAR2(2000) PATH '@TermVocab' )
XML
where csxml_goid =1241;
---works result :BulkTesting
----Delete node:
UPDATE testxml -- Delete Node
SET csxml_doc =
DELETEXML(CSXML_DOC, '/SearchRecord/RECORD/ObjectInfo/Terms/ClassTerm')
WHERE CSXML_GOID = 1241;
--appendchildxml
UPDATE testxml SET csxml_doc=
APPENDCHILDXML(CSXML_DOC,
'/SearchRecord/RECORD/ObjectInfo/Terms',
XMLTYPE('<ClassTerm>
<ClassCode TermVocab="BulkTesting"/>
</ClassTerm>'))
WHERE CSXML_GOID = 1241;
SELECT
XML.Author
FROM
testxml csxml,
XMLTABLE(
'for $i in SearchRecord/RECORD/ObjectInfo/Terms/ClassTerm/ClassCode
return element e {$i/@TermVocab }'
PASSING CSXML.CSXML_DOC COLUMNS AUTHOR VARCHAR2(2000) PATH '@TermVocab' )
XML
where csxml_goid =1241;
--now rows
Appreciate any help.
Thansk,
Subu
Hi,
I tried to reproduce on this sample :
Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
Connected as dev
SQL> CREATE TABLE test_xml (
2 id number,
3 doc xmltype
4 )
5 XMLTYPE doc STORE AS BASICFILE BINARY XML;
Table created
SQL> INSERT INTO test_xml values(1,
2 xmltype('<SearchRecord>
3 <RECORD>
4 <ObjectInfo>
5 <Terms>
6 <FlexTerm FlexTermName="AuthKeyword">
7 <FlexTermValue>Possibility theory</FlexTermValue>
8 </FlexTerm>
9 <FlexTerm FlexTermName="AuthKeyword2">
10 <FlexTermValue>Possibility theory2</FlexTermValue>
11 </FlexTerm>
12 <ClassTerm>
13 <ClassCode TermVocab="BulkTesting"/>
14 </ClassTerm>
15 </Terms>
16 </ObjectInfo>
17 </RECORD>
18 </SearchRecord>')
19 );
1 row inserted
SQL> UPDATE test_xml
2 SET doc = DELETEXML(doc, '/SearchRecord/RECORD/ObjectInfo/Terms/ClassTerm')
3 WHERE id = 1;
1 row updated
SQL> UPDATE test_xml
2 SET doc = APPENDCHILDXML(doc,
3 '/SearchRecord/RECORD/ObjectInfo/Terms',
4 XMLTYPE('<ClassTerm>
5 <ClassCode TermVocab="BulkTesting"/>
6 </ClassTerm>'))
7 WHERE id = 1;
1 row updated
SQL> SELECT xml.TermVocab
2 FROM test_xml t,
3 XMLTABLE(
4 'for $i in /SearchRecord/RECORD/ObjectInfo/Terms/ClassTerm/ClassCode
5 return element e {$i/@TermVocab }'
6 PASSING t.DOC COLUMNS TermVocab VARCHAR2(2000) PATH '@TermVocab'
7 ) xml
8 WHERE id = 1;
TERMVOCAB
SQL>And here's the execution plan, a streaming XPath evaluation occurs (as expected with binary xml storage) :
Plan hash value: 779000122
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 8168 | 15M| 32 (0)| 00:00:01 |
| 1 | NESTED LOOPS | | 8168 | 15M| 32 (0)| 00:00:01 |
|* 2 | TABLE ACCESS FULL| TEST_XML | 1 | 2015 | 3 (0)| 00:00:01 |
| 3 | XPATH EVALUATION | | | | | |
Predicate Information (identified by operation id):
2 - filter("ID"=1)
Note
- dynamic sampling used for this statement (level=2)See below the result by suppressing the XPath evaluation :
SQL> SELECT /*+ NO_XML_QUERY_REWRITE */
2 xml.TermVocab
3 FROM test_xml t,
4 XMLTABLE(
5 'for $i in /SearchRecord/RECORD/ObjectInfo/Terms/ClassTerm/ClassCode
6 return element e {$i/@TermVocab }'
7 PASSING t.DOC COLUMNS TermVocab VARCHAR2(2000) PATH '@TermVocab'
8 ) xml
9 WHERE id = 1;
TERMVOCAB
BulkTesting
It works.
So it seems that the XPath scan over the content is causing the problem.
However, when serialized, the content appears OK :
SQL> SELECT x.doc.getclobval() FROM test_xml x;
X.DOC.GETCLOBVAL()
<SearchRecord>
<RECORD>
<ObjectInfo>
<Terms>
<FlexTerm FlexTermName="AuthKeyword">
<FlexTermValue>Possibility theory</FlexTermValue>
</FlexTerm>
<FlexTerm FlexTermName="AuthKeyword2">
<FlexTermValue>Possibility theory2</FlexTermValue>
</FlexTerm>
<ClassTerm>
<ClassCode TermVocab="BulkTesting"/>
</ClassTerm>
</Terms>
</ObjectInfo>
</RECORD>
</SearchRecord>
But this is definitely strange :
SQL> SELECT x.*
2 FROM test_xml t,
3 XMLTABLE(
4 'for $i in /SearchRecord/RECORD/ObjectInfo/Terms/FlexTerm
5 return $i'
6 PASSING t.doc COLUMNS flexterm xmltype path '.' ) x
7 WHERE id = 1;
FLEXTERM
<FlexTerm FlexTermName="AuthKeyword">
<FlexTermValue>Possibility theory</FlexTermValue>
</FlexTerm>
<FlexTerm FlexTermName="AuthKeyword2">
<FlexTermValue>Possibility theory2</FlexTermValue>
</FlexTerm>
<FlexTerm>
<ClassCode TermVocab="BulkTesting"/>
</FlexTerm>
SQL>
Similar Messages
-
Unable to install Oracle 11g Release 2 in windows 7 64 bit OS
Hi,
Am trying to install the oracle 11g Release 2 database on my Laptop,
I have downloaded the two zip files from Oracle Site
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
After downloading I have unzipped started process, but after some process, am getting an error mentioning that, am missing a file in the below location
C:\$Oracle_BASE$\product\11.2.0\dbhome_1\owb\external\oc4j_applications\applications
but my unzip is successful for both the files, Please let me know why am getting this error when I have downloaded the files from Oracle site, Please let me know if I need to have
any additional s/w installed on my machine before running the Oracle database installation
Thanks973946 wrote:
Thanks Srini,
After checking the link, I was able to install it but there were some error messages.
I have another problem log in the SQL PLUS. When I open the SQL PLUS window, it asked for Username and after I typed "sys" or "system" and hit Enter; it was prompted for password, however, it did not let me type in any word; and after I hit Enter again, the error message " ORA-12560: TNS:protocol adapter error" appeared
Any hints would be apprecieted, thanks.
SamIt wasn't preventing you from typing a password, it just wasn't echoing your keystrokes back to the screen. This is a security security feature common to most software, not just oracle. Either when asking for a password, either echo back a 'masking' character like '*' or don't echo anything. It's so common, I'm surprised you seem to have never seen it before.
So after entering your password ... the 12560 probably comes from
1- the fact you didn't have the environment variable ORACLE_SID set, so sqlplus didn' know the name of the instance/process you wanted to connect to, or
2 - the windows service for the database was not started.
Those two possibilities account for 99.99999 pct of ora-12560 on Windows installations.
Edited by: EdStevens on Nov 29, 2012 6:41 PM -
How to setup local loopback for "Oracle 11g Release 2" installtion
Hi all,
I was trying to install the Oracle 11g Release 2 on Red hat 6 using Local Loop back configuration, but not able to install..
The contents of are:-
/etc/resolv.conf
# Generated by NetworkManager
nameserver 59.179.243.70
nameserver 203.94.243.70
and of /etc/hosts are:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
and
System eth0 is having setting given below:-
IPV4 is set to " Automatic(DHCP)".
IPV6 is set to "ignore".
If i select system etho0 then host-name gets changed it becomes "dhcppc0".
i checked it using command host-name. and if i try to install with this configuration then during installation gives error of networking as host-name has been changed to "dhcppc0".
Please tell me what to do for local loopback configuration
Am i doing some thing wrong?
Thanksi am using "oracle Release 11.2.0.1.0" but same problem was there with oracle 10g on redhat 5.
Please tell me how to setup local loopback configuration so that i can use internet as well as oracle on same machine. otherwise for internet use i have to change my system ipV4 to automatic(DHCP). if i change it to automatic(DHCP) then oracle stop its working please tell me solution for both case.
I can not assign Static IP to IPv4, i earlier post i got recommendation to connfigure Local Loopback , but i am able to setup it.
what ever the setting i have done are given below:--
vi /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
vi .etc/resolv.conf
# Generated by NetworkManager
nameserver 59.179.243.70
nameserver 203.94.243.70
#ping localhost
PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.048 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.073 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.037 ms
++++++++++++++++++++++++++++++++++++++++++++++++
error is------
[INS-06101]Ip address of localhost could not be determined
are you sure you want to continue?
Cause - The localhost is not mapped to a valid IP address in Hosts file (Eg. /etc/hosts in Unix).
Action - Assign a valid IP address for the localhost or set it to loopback IP address (127.0.0.1 in IPv4 or ::1 in IPv6).
Summary - dhcppc0: dhcppc0
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
log file lines are:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Using paramFile: /database/install/oraparam.ini
Checking Temp space: must be greater than 80 MB. Actual 7471 MB Passed
Checking swap space: must be greater than 150 MB. Actual 3499 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
The commandline for unzip:
/database/install/unzip -qqqo ../stage/Components/oracle.jdk/1.5.0.17.0/1/DataFiles/\*.jar -d /tmp/OraInstall2012-05-29_05-13-01PM
Using the umask value '022' available from oraparam.ini
Execvp of the child jre : the cmdline is /tmp/OraInstall2012-05-29_05-13-01PM/jdk/jre/bin/java, and the argv is
/tmp/OraInstall2012-05-29_05-13-01PM/jdk/jre/bin/java
-Doracle.installer.library_loc=/tmp/OraInstall2012-05-29_05-13-01PM/oui/lib/linux
-Doracle.installer.oui_loc=/tmp/OraInstall2012-05-29_05-13-01PM/oui
-Doracle.installer.bootstrap=TRUE
-Doracle.installer.startup_location=/database/install
-Doracle.installer.jre_loc=/tmp/OraInstall2012-05-29_05-13-01PM/jdk/jre
-Doracle.installer.nlsEnabled="TRUE"
-Doracle.installer.prereqConfigLoc=
-Doracle.installer.unixVersion=2.6.32-220.el6.i686
-mx150m
-cp
/tmp/OraInstall2012-05-29_05-13-01PM::/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/OraPrereqChecks.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/jsch.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/instcommon.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/instdb.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/OraPrereq.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/ssh.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/prov_fixup.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/emocmutl.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/orai18n-utility.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/orai18n-mapping.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/installcommons_1.0.0b.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/cvu.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/remoteinterfaces.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/OraInstaller.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/oneclick.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/xmlparserv2.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/share.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/OraInstallerNet.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/emCfg.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/emocmutl.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/OraPrereq.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/jsch.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ssh.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/remoteinterfaces.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/http_client.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatch.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatchactions.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatchprereq.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatchutil.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/OraCheckPoint.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstImages.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_de.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_es.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_fr.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_it.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_ja.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_ko.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_pt_BR.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_zh_CN.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_zh_TW.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/oracle_ice.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/help4.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/help4-nls.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ewt3.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ewt3-swingaccess.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ewt3-nls.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/swingaccess.jar::/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/jewt4.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/jewt4-nls.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/orai18n-collation.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/orai18n-mapping.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ojmisc.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/xml.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/srvm.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/srvmasm.jar
oracle.install.ivw.db.driver.DBInstaller
-scratchPath
/tmp/OraInstall2012-05-29_05-13-01PM
-sourceLoc
/database/install/../stage/products.xml
-sourceType
network
-timestamp
2012-05-29_05-13-01PM
INFO: Loading data from: jar:file:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
INFO: Loading beanstore from jar:file:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
INFO: Restoring class oracle.install.driver.oui.ConfigCmdMappings from jar:file:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
INFO: Verifying target environment...
INFO: Checking whether the IP address of the localhost could be determined...
SEVERE: Unable to determine a valid IP for the localhost..
Refer associated stacktrace #oracle.install.driver.oui.OUISetupDriver:13
INFO: Completed verification of target environment.
WARNING: Verification of target environment returned with errors.
WARNING: [WARNING] [INS-06101] IP address of localhost could not be determined
CAUSE: The localhost is not mapped to a valid IP address in Hosts file (Eg. /etc/hosts in Unix).
ACTION: Assign a valid IP address for the localhost or set it to loopback IP address (127.0.0.1 in IPv4 or ::1 in IPv6).
SUMMARY:
- dhcppc0: dhcppc0.
Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:16
INFO: Advice is WITHDRAW
WARNING: Advised to shutdown the installer due to target environment verification errors.
INFO: Adding ExitStatus PREREQ_FAILURE to the exit status set
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is -3
INFO: Shutdown Oracle Database 11g Release 2 Installer
--------------------------------------------------------------------------------------------- -
Oracle database 11g release 2 installation problem on windows 7 (64-bit)
First of all my windows is not genuine, but on my friend's desktop oracle download and installation worked fine, he chose "create and configure database" options, and it works very well on his desktop, though his windows is also illegitimate. In my case, when I select "Create and configure database" option and pressed 'next",
(Go to my blog to see it with snapshots: Computer Science: Oracle database 11g release 2 installation problem on windows 7 (64-bit))
it asks to select class, I select "Desktop class" and pressed "next". The moment I pressed "next", the whole setup thing disappeared like it was never started. I searched for all possible reasons for why its not getting installed on my laptop, I used registry cleaner s/w, deleted 25 GB of data to create free space if it were the problem, increased the virtual memory to increase the space for RAM, I did almost everything to get this setup working, but I found no success with the "Create and Configure database" option
and
then
I chose a "database software only" option and chose to store in a folder w/o spaces. This way, I got database s/w only and then later I found "Database configuration Assistant (DBCA)" from windows START button and clicked to create and configure database manually. The steps are pretty much interactive and doesn't involve much brainstorming.
The values I filled for
1) Global Database Name : orcl
2) System Identifier : orcl
3) I chose common password for both SYS and SYSTEM
4) while on Enterprise Manager Configuration step, It asked me to create and configure listener in oracle home, so for that too, I typed "netca" in windows START menu and clicked it. There I added a listener.
5) I chose a Storage area which was the Oracle-home itself i.e. where our installation files goes , in my case it is : C:\oracle_base\product\11.2.0\dbhome_1\oradata
6) Then after few more nitty-gritty clicks, we are set to go !
Finally to write SQL code and to create your first TABLE , type "sqlplus" in windows "START" menu and click it when it appears. A command-prompt like window appears , which will ask you for username and password, so here they are :
Username : sys/ as sysdba
Password : (its the one you created in step 3 stated above )
After this you are ready to write your first SQL command.Is this your solution to your original post at Oracle database 11g release 2 installation on windows 7 (64-bit) ?
Pl be aware that you should not create any custom objects in SYS or SYSTEM schema - you should create any such objects in a separate custom schema.
About Database Administrator Security and Privileges -
Problem in installing dowlnloaded oracle s/w version 11g Release 2
Hi
I downloaded oracle 11g release 2 s/w from www.oracle.com.I downloaded s/w for windows 64 bit os.my os is windows 7. that is why i downloaded it. It is in two zip folders.after completion of downloading i open first part and i executed setup.exe file in database folder of first part.
in the install options window i selected "create and configure database " option from the available 3 options.one of the other option is "install database s/w only" and other i could not remembered.
after this i given the location for storing installed files. this location is in same location where i downloaded the s/w(D:\ location).
then i clicked next and finish button. upto 48% it works fine, but after that it is showing error that one of the file is not available from the source directory.
so what i have to do next.
i tried again by clicking the universal installer option from the start->programs menu. It is asking the folder location for source files, i given this downloaded location. but it is showing error like "the specified location is a folder location", if i selected setup.exe file the it is showing "the specified file is incorrect".
so kindly help me out in this one.
Regards
Raavi NaveenHi Ravi,
Here the issue is Downloaded zip files are not extracted at the same location.
For example,the downloaded files are
11gR2_part1.zip and 11gR2_part2.zip
Please unzip as below
mkdir 11gR2
mv 11gR2_part1.zip 11gR2
mv 11gR2_part2.zip 11gR2
cd 11gR2
unzip 11gR2_part1.zip
unzip 11gR2_part2.zip
The zip will create necessary folders and place files, 2nd zip will also extract files in the same folder.
In case this doesn't resolve error kindly paste the error received in installation log
Thanks,
Krishna -
OIM 9.1.0.1 in oracle database 11g release 2
I am installing IOM 9.1.0.1, using Oracle Database 11g release 2 but I have the following errors
Failed to load XML. Unable to find record in UPA where USR_KEY = 1
Failed to load XML. Unable to find record in GPA where UGP_KEY = 1
I'm doing in Red Hat 5 x86-64The issue is not the WLS 10.3.2. We just had the same issue. The issue is the database 11gr2 is not supported. The highest supported DB is 11.1.0.6 (11gr1). There is a sequence number problem in 11gr2 and there is no workaround for it. So, go to 11.1.0.6 DB and the issue will be resolved. However, OIM 9.1.0.1 is not supported on WLS 10.3.2 so, install 9.1.0.1 and then install patch for 9.1.0.2 and then install a patch BP05. This will bring it to WLS 10.3.2 and OIM 9.1.0.2 BP05 and DB 11.1.0.6. These are compatible.
-
Error in Oracle Database Reference 11g Release 2 (11.2) E25513-04
The V$ASM_FILE view description is probably not correct:
In an Automatic Storage Management instance, V$ASM_FILE displays one row for every Automatic Storage Management file in every disk group mounted by the Automatic Storage Management instance. In a database instance, V$ASM_FILE displays no rows.
However in my environment (Oracle Database 11g Release 2) the view does display rows in a database instance, and the rows returned are actually the same as those returned in ASM instance.After some testing, we believe that the documentation is correct as written. For example:
ORACLE instance started.
Total System Global Area 780877824 bytes
Fixed Size 2252968 bytes
Variable Size 754978648 bytes
Database Buffers 16777216 bytes
Redo Buffers 6868992 bytes
Database mounted.
Database opened.
SQL> desc V$ASM_FILE
Name Null? Type
GROUP_NUMBER NUMBER
FILE_NUMBER NUMBER
COMPOUND_INDEX NUMBER
INCARNATION NUMBER
BLOCK_SIZE NUMBER
BLOCKS NUMBER
BYTES NUMBER
SPACE NUMBER
TYPE VARCHAR2(64)
REDUNDANCY VARCHAR2(6)
STRIPED VARCHAR2(6)
CREATION_DATE DATE
MODIFICATION_DATE DATE
REDUNDANCY_LOWERED VARCHAR2(1)
PERMISSIONS VARCHAR2(16)
USER_NUMBER NUMBER
USER_INCARNATION NUMBER
USERGROUP_NUMBER NUMBER
USERGROUP_INCARNATION NUMBER
PRIMARY_REGION VARCHAR2(4)
MIRROR_REGION VARCHAR2(4)
HOT_READS NUMBER
HOT_WRITES NUMBER
HOT_BYTES_READ NUMBER
HOT_BYTES_WRITTEN NUMBER
COLD_READS NUMBER
COLD_WRITES NUMBER
COLD_BYTES_READ NUMBER
COLD_BYTES_WRITTEN NUMBER
SQL> select * from V$ASM_FILE;
no rows selected
SQL>
If you still think that the manual is incorrect, can you provide more details? -
Problem in opening editor in Oracle 11g release 2
Hii all
I have Install Oracle 11g release 2 on my 32 bit windows OS.
But I am having Little problem while opening editor
1) when ever i am typing ed in sql prompt I am having error
Cannot create save file "afiedt.buf"
How ever i have tried with the define editor command
ie define_editor="Notepad"; the command is executing successfully but still i am having same error while typing ed
2)My second problem is i am not able to select anything for copy and paste even
right mouse click button is also not working for paste
Please Suggest any solution soon...........Thank Mr.Sharma
sir i have one more doubt
suppose my select statement is resulting some 4000 rows but i am only able to see the last
2500 to 4000 rows by scrolling up and down after the select has been made. I am facing this problem in 11g r2 only.
In 10g there was no such problem
so i want to know how to increase the size of sqlplus prompt so that i could see the entire
selected rows by scrolling up and down
Please reply sir..................
Thank You -
Entity Framework - unable to select the oracle data connection
Entity Framework - unable to select the oracle data connection from the wizard that allows you to select the data provider. Even though we successfully added a data connection that points to an oracle database, we still can't select an existing data connection or create a new database provider that points to an oracle instance.
we are using both vs 2008 sp1 and vs 2010. We connect to oracle 11g and we use the latest oracle odp.net driver. the Driver is installed and working in vs studio.I had this exact problem when I started. I think I had downloaded the wrong odbc (the 64x version). When I unloaded that version and downloaded the 32bit version it worked.
Hope that helps. ~ Darla -
Connect Problems with Oracle Database Express Edition 11g Release 2
Hello,
I am a student trying to install Oracle Database Express Edition 11g Release 2 and SQL Developer on my home system, Win7 64Bit, in order to practice some things I've learned from me DBA class and Developer classes.
Anyway, I have everything installed, but I am having difficulty connecting as SYS or SYSDBA in the 'Run SQL Command Line', I keep getting the ORA-01017: invalid username/password: logon denied.
However, If i select the 'Start Database' I get this:
C:\oraclexe\app\oracle\product\11.2.0\server\bin>
and I can type sqlplus / as sysdba and it starts up just fine and show user lists me as "SYS".
but if I go back to 'Run SQL Command Line' I still cannot connect as SYS or SYSDBA...I find this both confusing and frustrating. I don't know if I am in different instances or something like that, but I seem to be limited to connecting only as "SYSTEM". I need SYS because I want to practice creating datafiles, instances and things like that, but I seem to be lost.
Also, I am trying to create a new DB connection with SQL Developer and I can only us SYSTEM for my login which, if I understand correctly, will limit my privileges. Again When I try to sign in with SYS or SYSDBA I get error'd out. When I installed Ora11gDBExpress I was prompted in input a single password that was supposed to grant me access as SYS or SYSTEM, but I am limited to only SYSTEM for some reason.
So, I am looking for help/guidance as to what to do.
Thanks in advance for any and all help,
WarrenGeneral rule of thumb, don't use sysdba unless you want to shut down the database, or grant a database user privileges on a sys object.
A SYSTEM connection is not "limiting", it has the DBA role which means a user with a system connection can do most anything needed, including select/update/delete/drop any user's objects as well as change parameters in the instance.
The system user can indeed add datafiles, tablespaces, etc. The instance and database should already be created as long as the installer completed all its chores correctly. For XE, per the license agreement only one instance can run on one host. If you want to try creating a database, it will require shutting down the XE instance and creating a new database service, creating the database, and installing the system catalog and any other optional components desired. Good practice indeed, but a bit advanced for the new user.
Do create users for schemas ... connect system; create user <username> identified by <password> and connect <username> for the schemas (a collection of objects) within the database. Grant the resource and create session privilege to <username> to allow the database user the ability to create tables, indexes, stored procedures, etc.
There is no "or" in a sys as sysdba connection, from 10g onwards a sys connection requires using the sysdba privilege. To enable a sysdba connection, add your host user to the ORA_DBA group on the host. To verify the OS users in the ORA_DBA group, this might work for win7, in a cmd box ...
$ net localgroup ora_dba
...If your OS user is in the ora_dba group the sys as sysdba password is not relevant, you can in fact type anything for a password. If you wish to connect with the sysdba privilege from a remote client, that is a bit different and requires knowing the password set in the instance password file. Which should be set the same as the system password defined in the installer, but you can change that by creating a new password file. Another slightly advanced topic.
In Windows IMHO its better to leave the listener and database set to Manual start (in the services applet, Start/Run/services.msc) and start the listener, then the database, when its needed. At least for an XE instance, as its intended for practice and learning RDBMS management.
Edited by: clcarter on Mar 2, 2012 6:19 PM
fix typos -
11g Release 2 install missing packages
Hi,
I'm trying to install 11g Release 2 on a CentOS (4.9) box, but the pre-req check shows that I'm missing the following packages (I had 9 to begin):
gcc-3.4.6 (X86_64)
gcc-c++-3.4.6(X86_64)
libstdc++-devel-3.4.6
Tried to use the yum command "yum install gcc" but get the following error.
Error: cannot find a valid baseurl for repo:update
I think this is due to the "CentOS-Base.repo" file, which I've tried to update by changing the mirror URL's but no success.
Then tried to find the rpms online (http://rpm.pbone.net/) managed to find the majority of them but I can't seem to find the 3 listed above. The new versions such as gcc-3.4.6-8.x86_64.rpm don't work, so I need the exact match.
During the pre req I tried to select the "Ignore all" option and continue with the install but the installation fails with the following in /oraInventory/logs
INFO: Start output from spawned process:
INFO: ----------------------------------
INFO:
INFO: rm -f ntcontab.*
+INFO: (if [ "compile" = "compile" ] ; then \+
+/oracle/product/11.2.0/dbhome_2/bin/gennttab > ntcontab.c ;\+
gcc -m64 -fPIC -c ntcontab.c ;\
rm -f /oracle/product/11.2.0/dbhome_2/lib/ntcontab.o ;\
mv ntcontab.o /oracle/product/11.2.0/dbhome_2/lib/ ;\
INFO: /usr/bin/ar rv /oracle/product/11.2.0/dbhome_2/lib/libn11.a /oracle/product/11.2.0/dbhome_2/lib/ntcontab.o ; fi)
INFO: /bin/sh: gcc: command not found
INFO: mv: cannot stat `ntcontab.o'
INFO: : No such file or directory
INFO: /usr/bin/ar: /oracle/product/11.2.0/dbhome_2/lib/ntcontab.o: No such file or directory
+INFO: make: *** [ntcontab.o] Error 1+
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'mkldflags ntcontab.o nnfgt.o' of makefile '/oracle/product/11.2.0/dbhome_2/network/lib/ins_net_client.mk'. See '/oraInventory/logs/installActions2012-08-06_04-50-51PM.log' for details.
Exception Severity: 1
Any help would me MUCH appreciated !Hi,
why are you using CentOS?
Why not simply use Oracle Linux. It is very similar to CentOS, it is free and totally supported with Oracle database.
ISOs can be downloaded at edelivery.oracle.com/linux
And update server is public-yum.oracle.com
This way you don't have to fight against problems, where only few people can help...
Regards
Sebastian -
11g Release 2 installation on Oracle Linux 6
Aloha!
I I'am installing 11g Release 2 Database on Oracle Linux 6 but i stumble on this problem, that i cant install the said application, either I,m running the wrong file or i downloaded the wrong installation kit for OL 6.
1) I downloaded "Oracle Database 11g Release 2 (11.2.0.1.0) for Linux x86" installer. Extracted it and paste it on Oracle Linux 6 OS.
2) I access the directory where i paste the said installer and run "runInstaller" file and i'm having a prompt saying "Permission denied".
Could it be that the installation kit I downloaded is not for Oracle Linux 6. Is there something that I miss thats why I'm having this prompt?
Thanks in advance.
Hades,Hi Dude,
I did manage to install OLE 5 and installed successfully 11gR2 on it. I'm on the process of creating an instance on the said database, but i stumble on several errors;
1. ORA-09925: Unable to create audit trail file
after clicking OK i will receive this error;
2. ORA-01017: invalid username/password; log on denied
and after;
3. ORA-01012: not logged on
This prompts appears during the creation on instance. Please refer below for reference.
[oracle@ole5 ~]$ id
uid=501(oracle) gid=501(oinstall) groups=501(oinstall),502(dba),503(oper),504(asmadmin)
[oracle@ole5 ~]$ env|sort
CLASSPATH=/u01/app/oracle/product/11.2.0/db_1/jlib:/u01/app/oracle/product/11.2.0/db_1/rdbms/jlib
COLORTERM=gnome-terminal
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-AnrEnr2Rfk,guid=64a668470bd8d74af646f6004e0de25b
DESKTOP_SESSION=default
DESKTOP_STARTUP_ID=
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
GDMSESSION=default
GDM_XSERVER_LOCATION=local
GNOME_DESKTOP_SESSION_ID=Default
GNOME_KEYRING_SOCKET=/tmp/keyring-IwnPgJ/socket
GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
HISTSIZE=1000
HOME=/home/oracle
HOSTNAME=ole5.localdomain
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:/lib:/usr/lib
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:.cmd=00;32:.exe=00;32:.com=00;32:.btm=00;32:.bat=00;32:.sh=00;32:.csh=00;32:.tar=00;31:.tgz=00;31:.arj=00;31:.taz=00;31:.lzh=00;31:.zip=00;31:.z=00;31:.Z=00;31:.gz=00;31:.bz2=00;31:.bz=00;31:.tz=00;31:.rpm=00;31:.cpio=00;31:.jpg=00;35:.gif=00;35:.bmp=00;35:.xbm=00;35:.xpm=00;35:.png=00;35:.tif=00;35:
MAIL=/var/spool/mail/oracle
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
ORACLE_HOSTNAME=ol5-11gr2.localdomain
ORACLE_SID=DB11G
ORACLE_UNQNAME=DB11G
PATH=/u01/app/oracle/product/11.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin
PWD=/home/oracle
SESSION_MANAGER=local/ole5.localdomain:/tmp/.ICE-unix/2727
SHELL=/bin/bash
SHLVL=2
SSH_AGENT_PID=2763
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_AUTH_SOCK=/tmp/ssh-AUwvgn2727/agent.2727
TERM=xterm
TMPDIR=/tmp
TMP=/tmp
USERNAME=oracle
USER=oracle
_=/usr/bin/env
WINDOWID=24117329
XAUTHORITY=/tmp/.gdmZKBUXV
XMODIFIERS=@im=none
[oracle@ole5 ~]$
Thanks in advance.
With Thanks,
Hades -
Unable to select podcast sort header
For some reason, when I'm in my 'Podcast' library or my 'Party Shuffle' playlist, I am unable to select a different column/change the column my content is sorted by.
With the podcasts, it is currently sorted by 'Release Date'. I can click on the that column header, inverting the order. However, if I click on the header of a different column, e.g. 'Description' or 'Track #' it responds by making the fist as if I'm trying to rearrange the order of the columns, even though I'm not moving my (track ball) mouse at all.
The same behavior exists in the 'Party Shuffle' playlist.Thanks for replying, I appreciate the help.
So I don't understand, are you saying you think that's "just the way it is"? I could have sworn I was able to column sort before, maybe I'm crazy.
Can anyone else corroborate this is simply a "weakness" of iTunes?
If so, any suggestions on automatically migrating my podcasts to my music library?
Thanks -
When popup windows open in Encore I am unable to select within that window
Encore 5.5, for instance. . . .I got to file, dynamic link, import sequence and a pop up window comes up. I am unable to select anything within that popup window to tell encore where to find the files I need. This is the case with ANY popup window when working within encore.
HELP!!No idea in terms of Encore as such. No problems in other programs?
Try another mouse? In another USB port if USB?
I can confirm that in the new project window, for example, you cannot tab or arrow between fields. If your mouse can't select, you're stuck. Same for dynamic link.
Did you use the cleaner tool when uninstalling?
I am not sure if reinstalling Encore necessarily recreates the preferences file. I would try this in any event. "Hold down the Ctrl and Shift keys while choosing Start > Programs > Adobe Encore <version number>. Release the keys after several seconds. The application will not start at this point, but the preferences file will be deleted." The more complete instructions are here at #12:
Troubleshoot damaged projects in Encore on Windows
None of that will matter, of course, if it is a mouse/mouse driver issue.
Just FYI, there are keyboard shortcuts in Encore, but the list is not accessed from within Encore. Go here:
Encore Help | Using keyboard shortcuts -
Mobile.css and richmobile.css stylesheets in jDeveloper 11g release 1?
In reference to this blog post: [http://blogs.oracle.com/mobile/entry/new_adf_mobile_features_in]
Currently we're still working with jDeveloper 11g release 1, but I'm interested in taking advantage of the mobile styling. The blog post mentions the stylesheets are available for download from OTN but I was unable to find them.
Could someone provide a link for the stylesheets?
Thanks!Thanks so much for the links :)
I should be able to work with those provided, however they're not the mobile and richmobile files that appear in release 2. Are those file available for download from anywhere?
As I said, I know they're not strictly necessary, but we will likely be moving to release 2 at some point during this project, and I'd like our mobile layouts to have their design configured consistently.
Maybe you are looking for
-
4 signs to know that your lead scoring program is working
Getting the science of how your buyers engage with you is key for making revenue generation more predictable. We have worked with many sales and marketing organizations who look to putting in a lead scoring system to better qualify which leads should
-
Profit center Creation and send email
Hi all, I am creating the profit center through Ke51 T code. I want to send to email to respective people When profit center is created with that number. I found the user exits... But I am not understaning where do i write the code .. I mean in which
-
S10-3 Bluetooth hardware not found ?
people... i am using ideapad s10-3....wen it came wid default software and drivers....the bluetooth worked perfectly....but since i deleted some startup entries which showed up the splash logo's of volumes,wlan,touchpad etc....disappeared....fn+f5 is
-
Iphone 6 can't connect to data network
My new iphone 6 can't connect to my service provider's data network. I've tried with 2 different SIM cards. It is receiving calls and sms but when I try to use the internet, it says the phone isn't connected to a data network. (The wifi is working fi
-
TS3212 Latest I-tunes, verison 11.4 update program it's NOT working
the new version of Itunes DOES NOT work no matter how many time I remove and reinsall it. I want my old version beck it was working fine now I getting a data missing message and I can't use i tunes nor sync my phone