XML queries in ORACLE 10gR1 vs ORACLE 10gR2

Hi
in the research project where I'm involved in, we have two databases. One is the test database, upgraded recently in ORACLE 10gR2 and the production database in ORACLE 10gR1.
We have the same table with the same data in both test and production database.
I can run successfully the query and get result in test db ORACLE 10gR2:
SELECT XMLQuery('declare namespace
mpeg7="urn:mpeg:mpeg7:schema:2001";for $i in /mpeg7:Mpeg7
return $i' PASSING xmlcolumn RETURNING CONTENT) FROM
XMLTable WHERE existsNode(xmlcolumn,
'//@id="2005"',
'xmlns="urn:mpeg:mpeg7:schema:2001"') = 1;
but if I try the same query in production db ORACLE 10gR1, I get the error
return $i' PASSING xml_column RETURNING CONTENT) FROM
FEHLER in Zeile 3:
ORA-00907: missing right parenthesis
Is there any difference in the queries syntax between R1 and R2?
What should I change in my query?
Please help. I’m really facing with some problems with XML storage and retrieve.
Any kind of help will be appreciable
Best regards,
Evanela

Hi Evanela,
XQuery is available from 10gR2 and higher - the XQuery functionality
is just not available in 10gR1 ...
Does this help ...?
-Carsten

Similar Messages

  • How to validate XML Digital Signature with XML DB (o PL/SQL) in Oracle 11g

    Hi,
    Do you know if there is possibility to validate XML Digital Signature using XML DB (or PL/SQL) in Oracle 11g?
    Let say I have CLOB/XMLType containing Digitally Signed XML, and I want to validate, that thsi is proper signature. I also have public key of signer (I could store it in CLOB or file or Oracle wallet).
    Is it possible to do?
    If there is need to install additional component - then which one?
    Regards,
    Paweł

    Hi,
    this is what i got from someone...
    but the links he gave are not opening up...
    u have to place a picture there and have to load the digital signatures as Jpegs on to the server to OA top
    and have to refer them in the XML for dynamically get the signature on the reports
    when u select the properties of the picture placed in the XML template,
    there will be one tab with "URL"... in that u have to give the path for that jpegs
    Pls refer the following documents for enabling digital signature on pdf documents.
    http://iasdocs.us.oracle.com/iasdl/bi_ee/doc/bi.1013/e12187/T421739T481159.htm#5013638    (refer section 'Adding or Designating a Field for Digital Signature'
    http://iasdocs.us.oracle.com/iasdl/bi_ee/doc/bi.1013/e12188/T421739T475591.htm#5013688
    (Implementing a Digital Signature
    Is the BI Publisher installed on your instance of version 10.1.3.4 or higher?
    Pls procure a digital signature as soon as possible. The process can take time. OR we could use any certificate that you already might have OR generate a certificate using Oracle Certificate Authority for demo.

  • Oracle Forms and Reports 10gR2 for Windows Server 2008 (64bit)

    Hi!
    I need to install Oracle Forms and Reports 10gR2 in a windows server 2008 64 bit machine. But I cannot find the installer of it. Is there a way to do it?
    Thanks...

    I need to install Oracle Forms and Reports 10gR2 in a windows server 2008 64 bit machine.Be aware that Oracle Forms and Reports 10gR2 (AS 10.1.2.0.2) is not certified for windows server 2008, as from Oracle Certification Matrices

  • How can I  refer an xml  Schema that was registred in Oracle xml DB

    How can I refer an xml Schema that was registred in Oracle xml DB, from other xml schema?
    I have the follow schema,:
    <?xml version="1.0" encoding="AL32UTF8"?>
    <xsd:schema targetNamespace="schemastipostasa.xsd"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xdb="http://xmlns.oracle.com/xdb/XDBSchema.xsd"
    elementFormDefault="unqualified" version="1.0"
    attributeFormDefault="unqualified">
    <xsd:simpleType name="codigosType" xdb:SQLType="NUMBER(4)">
    <xsd:restriction base="xsd:positiveInteger" >
    <xsd:totalDigits value="4" />
    </xsd:restriction>
    </xsd:simpleType >
    <xsd:simpleType name="integerUnoType" xdb:SQLType="NUMBER(1)">
    <xsd:restriction base="xsd:int" >
    <xsd:totalDigits value="1" />
    </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="condicionType" xdb:SQLType="VARCHAR2(1)">
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="S" >
    <xsd:annotation>
    <xsd:documentation>Condicion si es S</xsd:documentation>
    </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="N" >
    <xsd:annotation>
    <xsd:documentation>Condicion no es N</xsd:documentation>
    </xsd:annotation>
    </xsd:enumeration>
    </xsd:restriction>
    </xsd:simpleType >
    </xsd:schema>
    I registred the schema written above with the folowwing pl*sql :
    DECLARE
    direc varchar2(2000);
    nombreArch BFILE;
    mens varchar2(2000);
    BEGIN
    direc:=uso_comun.pack_mail.fun_valor_param('TASA','DIR_DBSERVER');
    nombreArch:=bfilename(direc,'schemas_tipos_tasa.xsd');
    DBMS_XMLSCHEMA.registerSchema(
    SCHEMAURL => 'http://xmlns.oracle.com/tasa/schemas.tipos.tasa.xsd',
    SCHEMADOC => nombreArch,
    LOCAL => TRUE,
    CSID => nls_charset_id('AL32UTF8'));
    dbms_lob.CLOSE(nombreArch);
    dbms_output.put_line('salio sin cancelar');
    exception
    when others then
    mens:=sqlerrm;
    dbms_lob.CLOSE(nombreArch);
    rollback;
    raise_application_error (-20001,'en registro shcema='||mens);
    END;
    Then, I want to register the following schema, that mention de schema above:
    <?xml version="1.0" encoding="AL32UTF8"?>
    <xsd:schema targetNamespace="schema.repuesto.xsd"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xdb="http://xmlns.oracle.com/xdb/XDBSchema.xsd"
    xmlns:tns="http://xmlns.oracle.com/tasa/schemas.tipos.tasa.xsd"
    elementFormDefault="qualified" version="1.0"
    attributeFormDefault="unqualified" >
    <xsd:element name="PRECIORENG" type="preciorepType" />
    <xsd:complexType name="preciorepType" >
    <xsd:sequence minOccurs="1" maxOccurs="unbounded">
    <xsd:element name="CODIGO_MARCA" type="tns:codigosType" />
    <xsd:element name="ORIGEN_PRECIO" type="tns:integerUnoType" />
    <xsd:element name="INGRESO_POR_FALTANTE" type="tns:condicionType" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    But when a run the following script whith the same db-user:
    DECLARE
    direc varchar2(2000);
    nombreArch BFILE;
    mens varchar2(2000);
    BEGIN
    direc:=uso_comun.pack_mail.fun_valor_param('TASA','DIR_DBSERVER');
    -- nombreArch:=bfilename(direc,'prueba_schema_seis.xsd');
    nombreArch:=bfilename(direc,'Schema_repuesto_nuevo.xsd');
    DBMS_XMLSCHEMA.registerSchema(
    SCHEMAURL =>'http://xmlns.oracle.com/tasa/schema.repuesto.xsd',
    SCHEMADOC => nombreArch,
    LOCAL => TRUE,
    CSID => nls_charset_id('AL32UTF8'));
    dbms_lob.CLOSE(nombreArch);
    dbms_output.put_line('salio sin cancelar');
    --commit;
    exception
    when others then
    mens:=sqlerrm;
    dbms_lob.CLOSE(nombreArch);
    rollback;
    raise_application_error (-20001,'en registro shcema='||mens);
    END;
    tell me the error: ORA: 01031, insufficient privileges!!!!, what’s wrong??,

    Hi,
    To register schema, you require XDBADMIN system privilege granted to the user.
    Please verify this and retry.
    Rgds,
    Rakesh Tripathi

  • [Oracle JDBC Driver][Oracle]ORA-31011: XML parsing failed

    Hi,
    I have got the following error when i tired to upload an XML file in my application. My application will insert the XML file in to Oracle 10g data base table. (Our DB server is Oracle 10g).
    The error is as follows:-
    [BEA][Oracle JDBC Driver][Oracle]ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00004: internal error "MultiChar overflow"
    Error at line 20795
    ORA-06512: at "SYS.XMLTYPE", line 254
    ORA-06512: at line 1
    The XML file contains more than 90,000 lines in it. Please help.
    Thanks!
    Siva K.

    Is this a specific problem with 10G release? We are using 10.2.0.4.0.
    Using CLOB, We think that this may hit the performance of the application as we are using large XML files.

  • Unable to Connect to Oracle 10gR1 database from JDeveloper 11g using OCI

    We are migrating our application from OC4J to Weblogic server. As a part, I am trying to create a database connection in JDeveloper 11g (11.1.1.3.0 - Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660) to Oracle 10gR1 database. Previously I had Oracle 10g Client installed in the machine. Created a database connection using OCI driver and when I try to test connect, I got "Test Failed: no ocijdbc11 in java.library.path". I searched through Metalink and forums and one suggestion was to install Oracle 11g Client on the machine where Jdeveloper 11g is installed. I installed 11g R1 client and tried the same test connection using OCI driver. Now I am getting "Test failed: ORA-12705: Cannot access NLS data files or invalid environment specified" error.
    The same database connection works good with Thin driver with both Oracle 10g client and 11gR1 client.
    Previously I had Jdeveloper 10.1.3.2 and Oracle 10g Client and I was able to connect to database without any errors.
    Could you provide me the steps for this or if I missed any steps?
    Steps to Replicate:
    For the error: no ocijdbc11 in java.library.path
    1) Install JDeveloper 11g (With embedded Weblogic Server)
    2) Install Oracle 10g Client on the same machine
    3) Create a database connection in the "Application Resources --> Connection"
    4) Use OCI driver. Enter the host details about the Oracle 10g R1 database
    5) Test connect to the database.
    ORA-12705: Cannot access NLS data files or invalid environment specified
    1) Install JDeveloper 11g (With embedded Weblogic Server)
    2) Install Oracle 11gR1 Client on the same machine
    3) Create a database connection in the "Application Resources --> Connection"
    4) Use OCI driver. Enter the host details about the Oracle 10g R1 database
    5) Test connect to the database.
    Note: Tried the same scenarios with Oracle 11gR2 client as well. It was not working at all.
    Any ideas and pointers would be great.

    1. will my problem get solved after i install oracle 11g client on my machine.Yes, your problem should get solved. The version of the Oracle 11g Client must match the version of the JDev's JDBC drivers. Alternatively you may install an Oracle 11g Client and replace JDev's Oracle JDBC drivers with these from the installed client. Please, read carefully my 1st posting above in this thread.
    2. can i patch JDeveloper 11g on my machine to work with 10g client, or can i do the same with 10g client.You might succeed if you replace JDev's built-in JDBC drivers (which are 11g versions) with 10g versions, but I do not recommend you to try that because JDeveloper 11g and ADF 11g may be using some 11g features that do not exist in 10g drivers, so you may have problems.
    I also have PLSql developer installed on my machine and it works well.PL/SQL Developer does not use JDBC drivers, so it is not an relevant example in this case.
    My generall recommendation is to use Oracle JDBC Thin drivers. Oracle claimed that OCI drivers had better performance, but this was really true about earlier releases. Current Oracle 11g JDBC Thin drivers offer excellent performance and they offer all the features of the OCI versions (which was not true about earlier releases). In my opinion, the most important disadvantage of Oracle JDBC OCI drivers is that most versions have native memory leaks so all the RAM would get consumed after long application execution. The fact that WebLogic Server does not offer Oracle JDBC OCI drivers by default anymore says that Oracle discourages the usage of the OCI driver in favour of Thin driver.
    Dimitar

  • Unable to Connect to Oracle 10gR1 database from JDeveloper 11g using OCI JD

    We are migrating our application from OC4J to Weblogic server. As a part, I am trying to create a database connection in JDeveloper 11g (11.1.1.3.0 - Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660) to Oracle 10gR1 database. Previously I had Oracle 10g Client installed in the machine. Created a database connection using OCI driver and when I try to test connect, I got "Test Failed: no ocijdbc11 in java.library.path". I searched through Metalink and forums and one suggestion was to install Oracle 11g Client on the machine where Jdeveloper 11g is installed. I installed 11g R1 client and tried the same test connection using OCI driver. Now I am getting "Test failed: ORA-12705: Cannot access NLS data files or invalid environment specified" error.
    The same database connection works good with Thin driver with both Oracle 10g client and 11gR1 client.
    Previously I had Jdeveloper 10.1.3.2 and Oracle 10g Client and I was able to connect to database without any errors.
    Could you provide me the steps for this or if I missed any steps?
    Steps to Replicate:
    For the error: no ocijdbc11 in java.library.path
    1) Install JDeveloper 11g (With embedded Weblogic Server)
    2) Install Oracle 10g Client on the same machine
    3) Create a database connection in the "Application Resources --> Connection"
    4) Use OCI driver. Enter the host details about the Oracle 10g R1 database
    5) Test connect to the database.
    ORA-12705: Cannot access NLS data files or invalid environment specified
    1) Install JDeveloper 11g (With embedded Weblogic Server)
    2) Install Oracle 11gR1 Client on the same machine
    3) Create a database connection in the "Application Resources --> Connection"
    4) Use OCI driver. Enter the host details about the Oracle 10g R1 database
    5) Test connect to the database.
    Note: Tried the same scenarios with Oracle 11gR2 client as well. It was not working at all.
    Any ideas and pointers would be great.

    1. will my problem get solved after i install oracle 11g client on my machine.Yes, your problem should get solved. The version of the Oracle 11g Client must match the version of the JDev's JDBC drivers. Alternatively you may install an Oracle 11g Client and replace JDev's Oracle JDBC drivers with these from the installed client. Please, read carefully my 1st posting above in this thread.
    2. can i patch JDeveloper 11g on my machine to work with 10g client, or can i do the same with 10g client.You might succeed if you replace JDev's built-in JDBC drivers (which are 11g versions) with 10g versions, but I do not recommend you to try that because JDeveloper 11g and ADF 11g may be using some 11g features that do not exist in 10g drivers, so you may have problems.
    I also have PLSql developer installed on my machine and it works well.PL/SQL Developer does not use JDBC drivers, so it is not an relevant example in this case.
    My generall recommendation is to use Oracle JDBC Thin drivers. Oracle claimed that OCI drivers had better performance, but this was really true about earlier releases. Current Oracle 11g JDBC Thin drivers offer excellent performance and they offer all the features of the OCI versions (which was not true about earlier releases). In my opinion, the most important disadvantage of Oracle JDBC OCI drivers is that most versions have native memory leaks so all the RAM would get consumed after long application execution. The fact that WebLogic Server does not offer Oracle JDBC OCI drivers by default anymore says that Oracle discourages the usage of the OCI driver in favour of Thin driver.
    Dimitar

  • Run queries against system tables for oracle BPEL processes

    I want to run queries against system tables for oracle BPEL processes. It is becoming very difficult for me to us EM as it is very slow,
    and not all the time, it is sufficient for our needs.
    We are doing load testing and we want find out info like how many requests came in and how many faulted and what time is taken by each request...
    So do any of you have the query that I can use and tables that I need to go against?

    Use the BPEL hydration database table "cube_instance".
    There should be plenty of example in the forum regarding this table.

  • Retrieve xml data from a relational table(oracle) with datatype as xmltyp

    Hello Avijit, any resolution for this issue?

    hi .... I am trying to retrieve xml data from a relational table with datatype as xmltyp. The SQ is retrieving rows but the xml parser give transformation error . The transformation retrieve xml data from a relational table(oracle) with datatype as xmltyp returned a row error status on receiving an input row on group retrieve xml data from a relational table(oracle) with datatype as xmltyp.  ERROR : An XML document was truncated and thus not processed. Input row from SQ_XMLTYPE_TEST: Rowdata: ( RowType=0(insert) Src Rowid=5 Targ Rowid=5 DOCUMENT (DataInput:Char.64000:): "<?xml version='1.0' encoding='UTF-8'?><main><DATA_RECORD> <OFFER_ID>434345</OFFER_ID> <ADDR>sec -2 salt lake</ADDR> <CITY>kolkata</CITY> (DISPLAY TRUNCATED)(TRUNCATED)" )  thanks in advance Avijit

  • Upgrading from oracle 8i to oracle 11g

    current Oracle version is 8i
    front end is visual basic 6
    OS is windows xp
    client OS is windows xp
    I guess this question has been asked a lot in here.
    But i guess i have some extra queries here
    -> I m using oracle 8i and now I want to upgrade it to 11g. Is there any complications. I mean can i simply export a dump file from oracle 8i and import it in oracle 11g using imp tool, importing everything. If not what are not imported and what are other complications and consequences.
    -> My front end is vb 6 so is there gonna be any problem. If it's unsupported which version would u prefer for vb 6
    -> Can i install oracle 11g in windows xp or at least can i install oracle client in xp.
    -> what kind of server would you suggest for oracle 11g.
    Is there anybody to help me out here as quickly as possible.
    Thanx a lot
    Edited by: Ishan on Jun 17, 2009 5:35 AM

    8i->11g direct is not possible.
    Available option: Export and import.
    You can upgrade to 9i from 9i to 11g is possible.
    Oracle 11gR1 Upgrade Companion-601807.1 from metalink has all the information.
    Note 429825.1 Complete Checklist for Manual Upgrades to 11gR1
    Note 263809.1 Complete checklist for manual upgrades to 10gR1 (10.1.0.x).
    Note 316889.1 Complete checklist for manual upgrades to 10gR2.
    Note 466181.1 10g Upgrade Companion
    Note 601807.1 Oracle 11gR1 Upgrade Companion
    419550.1 - Different Upgrade Methods For Upgrading Your Database-
    Edited by: Anantha on Jun 17, 2009 1:31 PM

  • Oracle Spatial and Oracle Forms

    Hi,
    Does anyone have experience with Oracle Spatial and Oracle Forms?
    I have generated a form, which is based on a view. The view uses the mdsys.sdo_relate operator. Somehow I am unable to get the form to perform (to get one record it takes over 20 minutes). While useing sql-navigator to process the same statement it seems no problem. The query that also uses the view, is then processed in 10 seconds.
    I also noticed that when text-functions like ' lower' of ' upper' are used to query the view, the query is processed within 15 seconds. If I don't use ' lower' or ' upper' it takes a long time (> 20 minutes) to process the query. Is it possible that this causes the bad performance of the form?
    On metalink I have found that forms and spatial do not cooperate because of the pl/sql version that
    forms6 uses. There is no solution presented, does anyone know of a work around?
    My configuration is:
    Oracle 8.1.7 on WIN2K @ PIII-800Mhz 256 Mb memory.
    Formsbuilder 6
    If requested I can post the queries that I have made.
    With regards,
    Gerjan Walrecht
    [email protected]
    null

    Hello Priya,
    Look into the following.
    1. Book - Pro Oracle Spatial for Oracle Database 11g by r. Kothuri, A. Godfrind, E. Beinat. This book provides a nice introduction on Oracle Spatial concepts and have examples.
    2. Look at the Oracle Spatial & Graph User Guide
    2. Book - Applying and Extending Oracle Spatial by S. Greener and S. Ravada. This book provides hands on information for advanced oracle spatial application developers. Practical guide on hands-on examples, Data models and  develop cross-vendor database solutions.
    3. This oracle spatial forum, once you understand these concepts.
    In the future consider Certification on Oracle Spatial 11g Certified Implementation Specialist.
    Best
    Navaneet

  • Error during Oracle installation in Oracle Enterprise Linux

    Hi All,
    I was trying to install Oracle 10g in Oracle Enterprise Linux, and I'm getting the following error when I give the command *./runInstall*.
    [oracle@localhost database]$ ./runInstaller -responseFile /home/oracle/database/response/enterprise1.rsp -nowelcome
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
    Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-04-05_12-58-11AM. Please wait ...[oracle@localhost database]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
    Copyright (C) 1999, 2005, Oracle. All rights reserved.
    Can't connect to X11 window server using '127.0.0.1:0.0' as the value of the DISPLAY variable.
    127.0.0.1:0.0
    127.0.0.1:0.0
    OUI-10025:Unable to start an interactive install session because of the following error:Can't connect to X11 window server using '127.0.0.1:0.0' as the value of the DISPLAY variable. The DISPLAY environment variable should be set to <hostname or IP address>:<screen>, where the <screen> is usually '0.0'.
    OUI-10026:Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable:
    - For csh: % setenv DISPLAY 192.168.1.128:0.0
    - For sh, ksh and bash: $ DISPLAY=192.168.1.128:0.0; export DISPLAY
    Use the following command to see what shell is being used:
    echo $SHELL
    Use the following command to view the current DISPLAY environment variable setting:
    echo $DISPLAY
    - Make sure that client users are authorized to connect to the X Server.
    OUI-10027:To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command:
    % xhost +
    To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native operating system such as 'xclock':
    % <full path to xclock... see below>
    If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance.
    Typical path for 'xclock': '/usr/X11R6/bin/xclock'
    I have tried to set the DISPLAY variable to my IP address, but it still gives the same issue.
    Please find the logs for the same:
    [oracle@localhost database]$ /sbin/ifconfig
    eth0 Link encap:Ethernet HWaddr 00:0C:29:95:3B:4F
    inet addr:192.168.64.128 Bcast:192.168.64.255 Mask:255.255.255.0
    inet6 addr: fe80::20c:29ff:fe95:3b4f/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:532694 errors:0 dropped:0 overruns:0 frame:0
    TX packets:288167 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:792077163 (755.3 MiB) TX bytes:16147337 (15.3 MiB)
    Interrupt:193 Base address:0x2024
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:3280 errors:0 dropped:0 overruns:0 frame:0
    TX packets:3280 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1739143 (1.6 MiB) TX bytes:1739143 (1.6 MiB)
    [oracle@localhost database]$ export DISPLAY=192.168.64.128:0.0
    [oracle@localhost database]$ echo $DISPLAY
    192.168.64.128:0.0
    Please suggest on what can be done as this is the last step for the Oracle installation which I'm unable to complete.
    Let me know for any more details needed.
    Thanks
    Ravi
    Ph: +919583750774

    Hi,
    Thanks for the immediate response.
    Now I'm getting the following error:
    [oracle@scondw01 database]$ ./runInstaller -force -responseFile /u01/database/response/enterprise1.rsp -silent -nowelcome
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
    Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-04-05_09-10-03PM. Please wait ...[oracle@scondw01 database]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
    Copyright (C) 1999, 2005, Oracle. All rights reserved.
    Unexpected Signal : 11 occurred at PC=0xB7C297CE
    Function=(null)
    Library=/tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/client/libjvm.so
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
    at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.chgrp(Native Method)
    at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.changeGroup(OiipgBootstrap.java:1206)
    at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.writeInvLoc(OiipgBootstrap.java:900)
    at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.updateInventoryLoc(OiipgBootstrap.java:408)
    at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.doInvSetupOperations(OiicSessionInterfaceManager.java:400)
    at oracle.sysman.oii.oiic.OiicSilentInterfaceManager.doInvSetupOperations(OiicSilentInterfaceManager.java:679)
    at oracle.sysman.oii.oiic.OiicInvSetupWCCE.doOperation(OiicInvSetupWCCE.java:217)
    at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
    at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1273)
    at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:289)
    at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:546)
    at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:929)
    at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)
    Dynamic libraries:
    08048000-08056000 r-xp 00000000 08:01 511751 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/bin/java
    08056000-08059000 rwxp 0000d000 08:01 511751 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/bin/java
    a4d43000-a4d4a000 r-xp 00000000 08:01 659354 /tmp/OraInstall2012-04-05_09-10-03PM/oui/lib/linux/liboraInstaller.so
    a4d4a000-a4d4b000 rwxp 00006000 08:01 659354 /tmp/OraInstall2012-04-05_09-10-03PM/oui/lib/linux/liboraInstaller.so
    a4d4b000-a4d88000 r-xs 00000000 08:01 659257 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/jewt4-nls.jar
    a4d88000-a4f2f000 r-xs 00000000 08:01 659256 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/jewt4.jar
    a4f2f000-a4f67000 r-xs 00000000 08:01 659275 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/OraPrereq.jar
    a4f67000-a5085000 r-xs 00000000 08:01 659274 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/classes12.jar
    a5085000-a508d000 r-xs 00000000 08:01 659272 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/swingaccess.jar
    a508d000-a50da000 r-xs 00000000 08:01 659255 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/ewt3-nls.jar
    a50da000-a50e0000 r-xs 00000000 08:01 659273 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/ewt3-swingaccess.jar
    a50e0000-a5365000 r-xs 00000000 08:01 659254 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/ewt3.jar
    a5365000-a538c000 r-xs 00000000 08:01 659259 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/help4-nls.jar
    a538c000-a53f1000 r-xs 00000000 08:01 659258 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/help4.jar
    a53f1000-a54a6000 r-xs 00000000 08:01 659271 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/oracle_ice.jar
    a54a6000-a54c3000 r-xs 00000000 08:01 659269 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp_zh_TW.jar
    a54c3000-a54e0000 r-xs 00000000 08:01 659268 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp_zh_CN.jar
    a54e0000-a54fe000 r-xs 00000000 08:01 659267 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp_pt_BR.jar
    a54fe000-a551b000 r-xs 00000000 08:01 659266 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp_ko.jar
    a551b000-a5537000 r-xs 00000000 08:01 659265 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp_ja.jar
    a5537000-a5554000 r-xs 00000000 08:01 659264 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp_it.jar
    a5554000-a5571000 r-xs 00000000 08:01 659263 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp_fr.jar
    a5571000-a558e000 r-xs 00000000 08:01 659262 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp_es.jar
    a558e000-a55ad000 r-xs 00000000 08:01 659261 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp_de.jar
    a55ad000-a55c9000 r-xs 00000000 08:01 659260 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstHelp.jar
    a55c9000-a55ea000 r-xs 00000000 08:01 659270 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/InstImages.jar
    a55ea000-a55f0000 r-xs 00000000 08:01 659345 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/ojmisc.jar
    a55f0000-a56ce000 r-xs 00000000 08:01 659342 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/emCfg.jar
    a56ce000-a56e1000 r-xs 00000000 08:01 659344 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/orai18n-mapping.jar
    a56e1000-a57e1000 r-xs 00000000 08:01 659343 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/orai18n-collation.jar
    a57e1000-a5866000 r-xs 00000000 08:01 659341 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/xml.jar
    a5866000-a5868000 r-xs 00000000 08:01 659349 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/OraInstallerNet.jar
    a5868000-a5876000 r-xs 00000000 08:01 659350 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/share.jar
    a5876000-a593d000 r-xs 00000000 08:01 659347 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/srvm.jar
    a593d000-a5a65000 r-xs 00000000 08:01 659346 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/xmlparserv2.jar
    a5a65000-a5a72000 r-xs 00000000 08:01 659351 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/oneclick.jar
    a5a72000-a5e0f000 r-xs 00000000 08:01 659348 /tmp/OraInstall2012-04-05_09-10-03PM/oui/jlib/OraInstaller.jar
    a5e0f000-a5e2b000 r-xs 00000000 08:01 642421 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/ext/sunjce_provider.jar
    a5e2b000-a5ee6000 r-xs 00000000 08:01 642420 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/ext/localedata.jar
    a5ee6000-a5ef3000 r-xs 00000000 08:01 642419 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/ext/ldapsec.jar
    a5ef3000-a5ef6000 r-xs 00000000 08:01 642418 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/ext/dnsns.jar
    a60fa000-a62fa000 r-xp 00000000 08:01 330503 /usr/lib/locale/locale-archive
    b5bfb000-b618a000 r-xs 00000000 08:01 511764 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/charsets.jar
    b618a000-b619b000 r-xs 00000000 08:01 511802 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/jce.jar
    b619b000-b6274000 r-xs 00000000 08:01 511803 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/jsse.jar
    b6274000-b628a000 r-xs 00000000 08:01 196225 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/sunrsasign.jar
    b62d4000-b79c2000 r-xs 00000000 08:01 511810 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/rt.jar
    b79c2000-b79d6000 r-xp 00000000 08:01 659151 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/libzip.so
    b79d6000-b79d9000 rwxp 00013000 08:01 659151 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/libzip.so
    b79d9000-b79f9000 r-xp 00000000 08:01 659136 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/libjava.so
    b79f9000-b79fb000 rwxp 0001f000 08:01 659136 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/libjava.so
    b79fb000-b7a0b000 r-xp 00000000 08:01 659150 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/libverify.so
    b7a0b000-b7a0d000 rwxp 0000f000 08:01 659150 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/libverify.so
    b7a0d000-b7a16000 r-xp 00000000 08:01 344676 /lib/libnss_files-2.3.4.so
    b7a16000-b7a17000 r-xp 00008000 08:01 344676 /lib/libnss_files-2.3.4.so
    b7a17000-b7a18000 rwxp 00009000 08:01 344676 /lib/libnss_files-2.3.4.so
    b7a1f000-b7a23000 rwxs 00000000 08:01 249425 /tmp/hsperfdata_oracle/5761
    b7a23000-b7a44000 r-xp 00000000 08:01 344698 /lib/tls/libm-2.3.4.so
    b7a44000-b7a45000 r-xp 00020000 08:01 344698 /lib/tls/libm-2.3.4.so
    b7a45000-b7a46000 rwxp 00021000 08:01 344698 /lib/tls/libm-2.3.4.so
    b7a46000-b7a58000 r-xp 00000000 08:01 344660 /lib/libnsl-2.3.4.so
    b7a58000-b7a59000 r-xp 00011000 08:01 344660 /lib/libnsl-2.3.4.so
    b7a59000-b7a5a000 rwxp 00012000 08:01 344660 /lib/libnsl-2.3.4.so
    b7a5e000-b7a66000 r-xp 00000000 08:01 659161 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/native_threads/libhpi.so
    b7a66000-b7a67000 rwxp 00007000 08:01 659161 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/native_threads/libhpi.so
    b7a67000-b7e6d000 r-xp 00000000 08:01 659159 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/client/libjvm.so
    b7e6d000-b7e88000 rwxp 00405000 08:01 659159 /tmp/OraInstall2012-04-05_09-10-03PM/jre/1.4.2/lib/i386/client/libjvm.so
    b7e9c000-b7fc1000 r-xp 00000000 08:01 344696 /lib/tls/libc-2.3.4.so
    b7fc1000-b7fc3000 r-xp 00124000 08:01 344696 /lib/tls/libc-2.3.4.so
    b7fc3000-b7fc5000 rwxp 00126000 08:01 344696 /lib/tls/libc-2.3.4.so
    b7fc7000-b7fc9000 r-xp 00000000 08:01 344656 /lib/libdl-2.3.4.so
    b7fc9000-b7fca000 r-xp 00001000 08:01 344656 /lib/libdl-2.3.4.so
    b7fca000-b7fcb000 rwxp 00002000 08:01 344656 /lib/libdl-2.3.4.so
    b7fcc000-b7fda000 r-xp 00000000 08:01 344700 /lib/tls/libpthread-2.3.4.so
    b7fda000-b7fdb000 r-xp 0000d000 08:01 344700 /lib/tls/libpthread-2.3.4.so
    b7fdb000-b7fdc000 rwxp 0000e000 08:01 344700 /lib/tls/libpthread-2.3.4.so
    b7fe9000-b7ffe000 r-xp 00000000 08:01 344641 /lib/ld-2.3.4.so
    b7ffe000-b7fff000 r-xp 00015000 08:01 344641 /lib/ld-2.3.4.so
    b7fff000-b8000000 rwxp 00016000 08:01 344641 /lib/ld-2.3.4.so
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 387K [0xa6550000, 0xa65f0000, 0xa70d0000)
    eden space 512K, 69% used [0xa6550000, 0xa65a8f48, 0xa65d0000)
    from space 64K, 50% used [0xa65d0000, 0xa65d8080, 0xa65e0000)
    to space 64K, 0% used [0xa65e0000, 0xa65e0000, 0xa65f0000)
    tenured generation total 1408K, used 1090K [0xa70d0000, 0xa7230000, 0xafb50000)
    the space 1408K, 77% used [0xa70d0000, 0xa71e0938, 0xa71e0a00, 0xa7230000)
    compacting perm gen total 4864K, used 4693K [0xafb50000, 0xb0010000, 0xb3b50000)
    the space 4864K, 96% used [0xafb50000, 0xaffe5698, 0xaffe5800, 0xb0010000)
    Local Time = Thu Apr 5 21:10:05 2012
    Elapsed Time = 0
    # HotSpot Virtual Machine Error : 11
    # Error ID : 4F530E43505002EF
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
    # An error report file has been saved as hs_err_pid5761.log.
    # Please refer to the file for further information.
    Please let me know what can be the solution.
    thanks
    Ravikanth

  • How to set JDBC Data Sources in Oracle MapViewer for Oracle database 12c Release 1 (12.1.0.1)

    How to set JDBC Data Sources in Oracle MapViewer for Oracle database 12c Release 1 (12.1.0.1)?
    The following is my configuration in the conf\mapViewerConfig.xml:
    <map_data_source name="mvdemo12"
    jdbc_host="127.0.0.1"
    jdbc_sid="orcl12c1"
    jdbc_port="1522"
    jdbc_user="mvdemo"
    jdbc_password="7OVl2rJ+hOYxG5T3vKJQb+hW4NPgy9EN"
    jdbc_mode="thin"
    number_of_mappers="3"
    allow_jdbc_theme_based_foi="true"
    editable="true"/>
    <!--  ****  -->
    But it does not work.
    After use "sqlplus mvdemo/[email protected]:1522/pdborcl", it connected to the Oracle database 12c.
    Does anyone know it?
    Thanks,

    For 11.1.1.7.1 use the syntax for jdbc_sid, i.e.
    //mypdb1.foo.com as described in the README,
    - MapViewer native (non-container) data sources can now use database service name in place of SID. To supply a db service name, you will use the same jdbc_sid attribute, but specify the service name with double slashes in front, such as follows:
      <map_data_source name="myds"
        jdbc_host="foo.com"
        jdbc_sid="//mypdb1.foo.com"
        jdbc_port="1522"
      />
    For 11.1.1.7.0 use a container_ds instead.
    i.e. instead of using
    <map_data_source name="my_12c_test"
                       jdbc_host="mydbinstance"
                       jdbc_sid="pdborcl12c"
                       jdbc_port="1522"
                       jdbc_user="mytestuser"
                       jdbc_password="m2E7T48U3LfRjKwR0YFETQcjNb4gCMLG8/X0KWjO00Q="
                       jdbc_mode="thin"
                       number_of_mappers="6"
                       allow_jdbc_theme_based_foi="false"
                       editable="false"
       />
    use
      <map_data_source name="my_12c_test"
                       container_ds="jdbc/db12c"
                       number_of_mappers="6"
                       allow_jdbc_theme_based_foi="false"
                       editable="false"
       />
    In my case the Glassfish 3.1.2.2 JDBC connection pool definition was
    Property
    url  jdbc:oracle:thin:@mydbinstance:1522/pdborcl12c.rest_of.service.name
    Uncheck the Wrap JDBC Objects option in Advanced panel, i.e. the Edit JDBC Connection Pool Advanced properties page.
    Add a JDBC resource for that newly created pool
    Use that in mapviewerconfig.xml as above

  • Unicode in Oracle 8i and Oracle XE

    I’m developing a program to read database objects and data of Oracle Database from Oracle 8.1.7 and store everything as XML files and then read these XML file on different computer and built the same database on Oracle XE and import the data in to it.
    Everything worked fine so far, except that I’m facing an issue with some of the fields of type VARCHAR2, I’m getting this error when importing the data (ORA-12899: value too large for column … etc.)
    Data stored in these fields as Unicode in both Oracle 8i and XE, I don’t know why the some data do not fit in the new XE database.
    Any one has a clue why the same data require more bytes in Oracle XE than they were taking in oracle 8i?
    Note: I'm not using any of Oracle tools to import or export, I'm using a program that I developed.

    Could be related to nls_length_semantics problems similar as here NLS_LENGTH_SEMANTICS parameter...
    It seems that Oracle 8i did not have nls_length_smantics parameter and most probably it used only byte characteristics. To my mind Oracle8i had quite limited support for unicode, so might be that behavoir changed between versions.
    Gints Plivna
    http://www.gplivna.eu

  • Differences between Oracle Developer an ORacle JDeveloper

    Hi,
    I am doing a work and i need to know the differences between Oracle Developer and Oracle JDeveloper, if someone can help me it would be very aprreciated.
    thx

    Aton wrote:
    I am doing a work and i need to know the differences between Oracle Developer and Oracle JDeveloper, if someone can help me it would be very aprreciated.1) There is no such thing as 'Oracle Developer'. However, there are
    - Oracle SQLDeveloper
    - Oracle Developer Suite
    2) Assuming Oracle Developer Suite:
    - Oracle Dev Suite is used to create Oracle Forms, Oracle Reports, Oracle Discoverer worksheets, and Entity Relationship Diagrams
    - Oracle JDeveloper is used to create any kind of Java object (including Java 2 & 3 tier forms) and ALL objects that support those Java objects (XML, UML, database, SOAP, etc) BUT NOT the stuff in Dev Suite.
    Both are very powerful. Expect to take at least 15 minutes* to learn either.
    /Hans
    * (plus 4 to 9 months)

Maybe you are looking for