JDeveloper and Oracle XML Database Development

Hello, folks:
I am trying to create XML database through JDeveloper.
Database: Oracle 10g
IDE: JDeveloper 11.1.2.2.0
JDBC Driver: Oracle ojdbc6.jar
I connect successfully to the database through JDeveloper. There I see many folders listed, e.g. Tables, Views, Indexes, XML Schemas, XML DB Repository, and others. My problem is that when I try to save a large schema file (that I already validated on my local machine) that is roughly more than 300 lines, then JDeveloper is unable to save the file. It saves only very small files that are about 100 lines or less. The error message simply is: "Unable to save XML Schema blah.filename@local (Error saving XML Schema).
I tried to do it in Oracle SQL Developer, but got the same error. Can someone please help me understand this problem and how to fix it? Do I need to specify some settings in JDeveloper or SQL Developer? Thanks a lot in advance.
Asif

The XML database engine used in JDev is in fact from SQL Developer. In other words the SQL Developer code base is used by JDev though typically it is an older version than the latest SQL Developer. As such best post this question to the SQL Developer forum and ensure to state which standalone SQL Developer version you're using.
CM.

Similar Messages

  • First time with Oracle XML database

    Hi!
    I'm a beginner with XML and with Oracle XML database so i need same help. I've read the documentation (example for XML Oracle).
    What do i need to write XML files from an oracle database and the other way to read XML files into the database?
    Or does anyone know how i can get information about this?
    Thank's for help!
    With best regards
    Nicole

    Nicole,
    One quick way to get xml out of the database is to use the dbms_xmlgen.getXML package.
    i.e. in sqlplus
    set long 4000
    select dbms_xmlgen.getxml('select * from emp') from dual;
    or
    set long 4000
    select dbms_xmlgen.getxml('select column_name from owner.tablename') from dual;
    HTH

  • "Oracle xml Database" INVALID

    Hi,
    when i executed the following query:
    SELECT COMP_NAME, STATUS
    FROM DBA_SERVER_REGISTRY;
    i got all the objects status as VALID except that
    "ORACLE XML Database" was INVALID
    Can someone help me to make this "ORACLE XML Database" as VALID.
    Thanks,
    Philip.

    HI Frank,
    now what i did was i actually ran catpatch.sql and utlrp.sql after i did startup migrate.
    and when i did
    SELECT COMP_NAME, STATUS
    FROM DBA_SERVER_REGISTRY;
    i got all objects as valid, but i dont see "Oracle XML Database" anymore.
    so now i suppose i cannot reinstall, but actually do a fresh install. and the following are the steps for a fresh install in the documentation
    Installing a New Oracle XML DB Manually Without Database Configuration Assistant
    After the database installation, you must run the following SQL scripts in rdbms/admin connecting to SYS to install Oracle XML DB after creating a new tablespace for Oracle XML DB repository. Here is the syntax for this:
    catqm.sql <XDB_password> <XDB_TS_NAME> <TEMP_TS_NAME>
    #Create the tables and views needed to run XML DB
    For example:
    catqm.sql change_on_install XDB TEMP
    Reconnect to SYS again and run the following:
    catxdbj.sql #Load xdb java library
    Note:
    Make sure that the database is started with Oracle9i release 2 (9.2.0) compatibility or higher, and Java Virtual Machine (JVM) is installed.
    Postinstallation
    After the manual installation, carry out these tasks:
    1.     Add the following dispatcher entry to the init.ora file:
    dispatchers="(PROTOCOL=TCP) (SERVICE=<sid>XDB)"
    2.     Restart the database and listener to enable Oracle XML DB protocol access.
    3.     To allow for unauthenticated access to your Oracle XML DB repository data through HTTP, you must also unlock the ANONYMOUS user account.
    is this right. can u tell me what i should do please.
    Thanks,
    Philip.

  • 10R2 Upgrade on Linux stuck upgrading Oracle XML database

    Folks,
    I am upgrading Oracle from 10g r1 to r2 (10.1.0.4 to 10.2.0.1). This is not a large database. Size is around 70gb. It is taking forever to upgrade Oracle XML database. It is running for over 20 hours now.
    I checked the logs and nothing seems to be an issue. Did not get any erros.
    Any idea why xml database upgrade would take so long?.
    I Appreciate your replies.
    Krishna

    How are you performing the upgrade?

  • Mark Logic vs. Oracle XML Database?

    Hi,
    I'm comparing Mark Logic vs Oracle XML database for a new project. All the data is well structured and validated XML data. Any comments, suggestions, personal experiences with either product will be extremely helpful.
    Thanks in advance,
    Dave

    In 5+ years Oracle will still be the #1 database on the planet and people who have it on their resume will be employable.
    In 5+ years Mark Logic will be out of business, a marginal player, or absorbed by either Oracle, IBM, or Microsoft. Unless you find some great romantic attraction to marginal technologies, can I recommend RPG II or ALGOL or Ingres, I would highly recommend Oracle.
    Right now, at dice.com, there are 1,745 jobs listing Oracle and XML: There are 15 listing Mark Logic.
    But heck the world economy is booming so why let that affect your decision. <g>

  • How to getting start in oracle xml database????

    hi,
    i am just beginning to use oracle xml database, i don't konw how to use ,can anybody give me some guidance??? like something about how to build xml database and some basic operation.
    your suggestions will help me.
    thanks all !!!

    hi,mdrake
    with your suggestion, i find the following url
    http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14259/toc.htm.
    and download some pdf.
    thanks a lot

  • Oracle9i: Difference between oraxml and oracle.xml.parser.v2.DOMParser?

    I have parsed the following xml document with the oraxml batch
    and with the sample '..\xdk\demo\java\parser\dom\DOMSample' and
    observed a diffent behavior in Oracle9i:
    <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
    <Document xmlns:n1='urn:example:some-names'
    xmlns:n2='urn:example:some-names'>
    <BadAttrs_XML_1.0 att='1' att='2' />
    <BadAttrs_Namespaces n1:att='1' n2:att='2' />
    <OKAttrs_XML_1.0 att='1' n2:att='2' />
    </Document>
    ----------------------------1.) oraxml
    C:\oracle\ora9011\xdk\demo\java\parser\dom>oraxml -version
    -warning Namespaces2.xml
    Parser version: Oracle XDK Java 9.0.1.0.0 Production
    The input XML file is parsed without errors using partial
    validation mode
    Oraxml does not recognize the two attributes with the same name
    in element 'BadAttrs_XML_1.0' as an error.
    2.) oracle.xml.parser.v2.DOMParser
    C:\oracle\ora9011\xdk\demo\java\parser\dom>java DOMSample
    Namespaces2.xml
    file:Namespaces2.xml<Line 8, Column 38>: XML-0124: (Fata
    l Error) An attribute cannot appear more than once in the same
    start tag.
    oracle.xml.parser.v2.XMLParseException: An attribute cannot
    appear more than once in the same start tag.
    I have modified the DomSample.java. The DomParser just checks for
    well-formed documents and doesn't validate the document anymore.
    (only a comment before
    parser.setValidationMode(DOMParser.DTD_VALIDATION);)
    My question is:
    Is there really a difference between oracle.xml.parser.v2.oraxml
    and oracle.xml.parser.v2.DOMParser or which parameters do I have
    to use to get the same results?
    With Oracle8i, both report an xml error!!
    (Oracle9i, Win2000, JDK1.3)
    Thanx in advance!
    Markus

    It would appear that there is a difference when a loadjava is given a jar vs. the individual class files. When I load the jar, I get the previously described error, but when I load the individual class files (the same class files that the jar contains) the error goes away.
    Why?

  • XML Database Development with JDeveloper?

    Hello, folks:
    I am trying to create XML database through JDeveloper.
    Database: Oracle 10g
    IDE: JDeveloper 11.1.2.2.0
    JDBC Driver: Oracle ojdbc6.jar
    I connect successfully to the database through JDeveloper. There I see many folders listed, e.g. Tables, Views, Indexes, XML Schemas, XML DB Repository, and others. My problem is that when I try to save a large schema file (that I already validated on my local machine) that is roughly more than 300 lines, then JDeveloper is unable to save the file. It saves only very small files that are about 100 lines or less. The error message simply is: "Unable to save XML Schema blah.filename@local (Error saving XML Schema).
    I tried to do it in Oracle SQL Developer too, but got the same error. Can someone please help me understand this problem and how to fix it? Do I need to specify some settings in JDeveloper or SQL Developer? Thanks a lot in advance.
    Asif

    Please raise your question to the forum dedicated to JDeveloper 11:
    JDeveloper and OC4J 11g Technology Preview
    Regards,
    Didier.

  • Oracle 10g developer suite and oracle 11g database.

    Hi all,
    I have installed oracle 11g database and oracle developer suite 10g on Vista . I want to connect 11g database using oracle forms builder data block wizard to create forms. I'm new to oracle forms . I was just following some tutorial instructions and try to achieve it, but unable to connect 11g database. Can anyone help me out.
    I dont even know whether this is the right area to post this query as i cant find any developer tool installation guide questions.
    Thanks,
    Kalyan
    Edited by: user10676396 on May 6, 2009 7:37 PM
    Edited by: user10676396 on May 6, 2009 7:43 PM

    Hello Kalyan,
    A couple questions:
    1. Once you installed the 11G database, you did start the database services, yes?
    2. Do you have a properly configured TNSNAMES.ORA file that points to your database?
    3. You created a database that you are using and can access the database via SQLPlus?
    Don.

  • Unable to establish connection between JDeveloper and Oracle BPA

    Hi,
    I have the jdeveloper as well as the oracle bpa installed.
    When I try to establish the connection for bpa within jdeveloper, i am unable to do so.
    I checked the connection within jdeveloper, BPA Server connection. it gives a result 'Test succeeded. After that when i click the ok button on the dialogue box, it does not close the dialogue box and allow me to proceed further.
    Any help would be appreciated
    Thanks
    krish

    Jdeveloper version is 11g and Oracle BPA Suite is 11gR1.
    Thanks

  • Jdeveloper and Oracle BI

    i just download the lastest release for both oracle jdeveloper and BI, how do i get to integrate these together and another thing, i cannot get the extensions that jdeveloper needs for oracle BI..i have jdeveloper 11.1.1.4

    You'll need to wait for the BI server to go production with their PS3 version - then their extension will be available.

  • JDeveloper and Oracle Software Packager

    Is there any integration between JDeveloper 3.2 and Oracle Software Packager.
    If not are there any standard 'Best Practices' for generating builds from JDeveloper in structures that can be used by OSP/OUI.
    null

    Please provide enough information for us to know what you are trying to do and with what version.
    You could be asking about anything from the box the software comes in (if it did) to built-in PL/SQL packages and we should not have to guess at your meaning.

  • Standalone oc4j and oracle 9i database on the same windows xp machine

    I m trying to deploy my j2ee application in my local system using standalone oc4j container(Oracle Containers for J2EE 10g (10.1.3.1)).To configure OC4j,I had to mention ORACLE_HOME=d:\oc4j as a user defined env variable.after that the oc4j started running normally.then i installed oracle 9i database in the same system to use it as the database for the application.During installation it prompts that ORACLE_HOME is alredady set.However the installation completes successfully.But when i try opening sql plus,it throws and error asking to check oracle_home.Its only after changing oracle home to d:\oracle,that sql plus opened and i could log in to it.But after that oc4j would not run saying it cannot find relevant files.Is it not possible to have standalone oc4j and a database for a J2ee application on the same system.if its possible,how can we go ahead?Thanks in advance

    user549113,
    Problem with ORACLE_HOME has been discussed several times already in this forum. I suggest you search the forum archives for "ORACLE_HOME".
    Good Luck,
    Avi.

  • Asp and oracle 9i database

    I'm trying to access an Oracle 9i database table and am having a difficult time finding how resolve the error. My error is as follows:
    Microsoft VBScript runtime error '800a01ad'
    ActiveX component can't create object: 'OracleInProcServer.XOraSession'
    /access_retrieve_data.asp, line 14
    My code is:
    <%@ Language=VBScript %>
    <% option explicit %>
    <%
    Dim OraSession, OraDatabase, OraDynaset
    Set OraSession = CreateObject("OracleInProcServer.XOraSession")
    Set OraDatabase = OraSession.OpenDatabase("", "username/password", Cint(0))
    'execute SQL
    Set OraDynaset = OraDatabase.DbCreateDynaset( "Select * from Admin", cint(0))
    Do While (OraDynaset.EOF = FALSE)
         Response.write (OraDynaset.Fields("ID"))
         Response.write (OraDynaset.Fields("FName"))
         Response.write (OraDynaset.Fields("LName"))
         Response.write (OraDynaset.Fields("Phone"))
         Response.write (OraDynaset.Fields("Email"))
         OraDynaset.MoveNext
    Loop
    'remove OraSession
    Set OraSession = Nothing
    %>
    Any ideas?
    Thanks,
    Wills

    Please post this question in the database forum: General Database Discussions
    Regards,
    OTN

  • Jdeveloper and Oracle Portal

    Hi All,
    Can JDeveloper be used as a RAD tool for PLSQL Portlets for Oracle Poral ?
    Darragh

    You can use JDeveloper to create PL/SQL stored procedures/function and for debugging them.
    The 10.1.3.2 version of JDeveloper will have further Java based development capabilities for portlet development and consumption.
    See:
    http://www.oracle.com/technology/products/webcenter/index.html

Maybe you are looking for

  • How to hook up a Sharp Notevision PG-M20X projector to a Mini DVI output.

    After this has been discussed on a few forum discussions before, but without a solution being provided, I have found myself in the same situation. I tried connecting the above mentioned projector on my Macbook and only got a black screen, even though

  • Is there a note app that syncs with the native iphone notes app

    Looking for a feature rich app to pull notes from the native iPhone app.   I Like holding down the home button to tell Siri to take a note but want to do more with the note after she has taken it.  Is there a note app that pulls from the basic iPhone

  • Recordset grouping question

    I have a recordset that looks like the following: Gender City Country Male New York USA Male New York USA Female Boston USA Female Quebec CAN Female Quebec CAN I'm trying to output counts of all this data so that the output should look like: Male 2 F

  • Mandatory field on Service Call

    Hi Expert, I would like to make certain fields mandatory on a Service Call. (When Status Closed, a UDF I have added must be populated, if not block the user) Will I be able to use transaction notifications? If this is the case, would you perhaps have

  • JDeveloper 9i with OA extension

    Can anyone tell me where can i download JDeveloper 9i with OA extension. Pls............reply asap. Thanks