XML registration problem In Oracle

Hi Friends,
First of all thanks in advance for reading my post. Also, congratulate you all to this modified forum.
AS redirected from Oracle SQL/PLSQL forum i've to post it here once again. Sorry for the duplicate posting in this forum. :(
My main objective to publish XML through oracle by using some external dtd. I'm new to this - so don't have any clear idea regarding this. I've prepared one xml file using some dtd. Here are the details -
OE>>
OE>>select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE    10.2.0.3.0      Production
TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
Elapsed: 00:00:03.41
OE>>And, dtd script is as follows -
Name of the dtd is StandardInterfaces.xsd
<!DOCTYPE EmpSchedule_V2 [
<!ELEMENT EmpSchedule_V2 (period+, EmployeeList+) >
<!ELEMENT period (start,end) >
<!ELEMENT start (#PCDATA) >
<!ELEMENT end   (#PCDATA) >
<!ELEMENT EmployeeList (emp)+ >
<!ELEMENT emp (Employee_ID,First,Sal,HireDate) >
<!ELEMENT Employee_ID (#PCDATA) >
<!ELEMENT First (#PCDATA) >
<!ELEMENT Sal (#PCDATA) >
<!ELEMENT HireDate (#PCDATA) >
]>And, the xml is as follows -
Name of the xml is - emp.xml
<?xml version="1.0" encoding= "UTF-8" ?>
<EmpSchedule_V2 xmlns= "http://localhost/satid/StandardInterfaces.xsd" >
<period>
<start>2006-03-12Z</start>
<end>2006-03-15Z</end>
</period>
<EmployeeList>
<emp>
<Employee_ID>7369</Employee_ID>
<First>Raja</First>
<Sal>28000</Sal>
<HireDate>2006-03-12Z</HireDate>
</emp>
</EmployeeList>
</EmpSchedule_V2>I've configured my IIS Server 7.0 in my pc.
And, when i'm executing like -
http://localhost/satid/emp.xmlWhere satid is the virtual directory in the IIS Server - it is showing the xml. The actual path is - E:\public\schemas .
Now, if i want to register it from oracle oe schema which has all the required privs - is throwing some error message.
GRANT dba, xdbadmin TO OE;And, now i've tried almost all of the given technique, but unable to proceed any further.
BEGIN
  DBMS_XMLSCHEMA.registerURI(
                               'http://localhost/satid/StandardInterfaces.xsd',
                               '/satid/StandardInterfaces.xsd',
                               LOCAL=>TRUE,
                               GENTYPES=>TRUE,
                               GENBEAN=>FALSE,
                               GENTABLES=>TRUE
END;or,
DECLARE
  v_return  BOOLEAN;
BEGIN
  v_return := dbms_xdb.createFolder('/satid/');
  COMMIT;
END;And,
BEGIN
  DBMS_XMLSchema.registerSchema(
                                 schemaurl=>'http://localhost/satid/StandardInterfaces.xsd',
                                 schemadoc=>sys.UriFactory.getUri('/satid/StandardInterfaces.xsd')
END; In the given two cases, both the server(IIS Server And OC4J) is running. I've checked it by the following command -
http://Sat-PC:5560/
http://localhost/satid/And, the error comes as -
OE>BEGIN
  2    DBMS_XMLSchema.registerSchema(
  3      schemaurl=>'http://localhost/satid/StandardInterfaces.xsd',
  4      schemadoc=>sys.UriFactory.getUri('/satid/StandardInterfaces.xsd'));
  5  END;
  6  /
BEGIN
ERROR at line 1:
ORA-31001: Invalid resource handle or path name "/satid/StandardInterfaces.xsd"
ORA-06512: at "SYS.XDBURITYPE", line 4
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 167
ORA-06512: at line 2
Elapsed: 00:00:01.03
OE>
OE>
OE>DECLARE
  2    v_return  BOOLEAN;
  3  BEGIN
  4    v_return := dbms_xdb.createFolder('/satid/');
  5    COMMIT;
  6  END;
  7  /
PL/SQL procedure successfully completed.
Elapsed: 00:00:08.42
OE>
OE>
OE>BEGIN
  2    DBMS_XMLSchema.registerSchema(
  3      schemaurl=>'http://localhost/satid/StandardInterfaces.xsd',
  4      schemadoc=>sys.UriFactory.getUri('/satid/StandardInterfaces.xsd'));
  5  END;
  6  /
BEGIN
ERROR at line 1:
ORA-31001: Invalid resource handle or path name "/satid/StandardInterfaces.xsd"
ORA-06512: at "SYS.XDBURITYPE", line 4
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 167
ORA-06512: at line 2
Elapsed: 00:00:00.00
OE>
OE>Now, my question is - will i have to configure OC4J? If yes, can anyone point me the exact document. I've tried to find over internet. But, so much content come up with this topic - that makes me more confused.
In other case, can anyone tell me how to use IIS Server 7.0 in this regard?
Or, if you have any other suggestion kindly share that with me.
Thanks for being so patience to read my post. I'll be waiting for your reply.
Regards.

Hi Frinds,
I've tried in this way to register one customised XML schema. But, unable to register.
OE>>
OE>>CREATE OR REPLACE PROCEDURE XML_REG
  2  IS
  3    l_temp  clob;
  4    l_text  varchar2(900);
  5  BEGIN
  6    l_temp := httpuritype('http://localhost/satyakid/StandardInterfaces.xsd').getclob;
  7    l_text := substr(l_temp, 1, 900);
  8    dbms_output.put_line(l_text);
  9   
10    DBMS_XMLSCHEMA.registerSchema('StandardInterfaces.xsd', l_text);
11  END XML_REG;
12  /
Procedure created.
Elapsed: 00:00:00.23
OE>>
OE>>
OE>>exec XML_REG;
<!DOCTYPE EmpSchedule_V2 [
<!ELEMENT EmpSchedule_V2 (period+, EmployeeList+) >
<!ELEMENT period (start,end) >
<!ELEMENT start (#PCDATA) >
<!ELEMENT end   (#PCDATA) >
<!ELEMENT EmployeeList (emp)+ >
<!ELEMENT emp (Employee_ID,First,Sal,HireDate) >
<!ELEMENT Employee_ID (#PCDATA) >
<!ELEMENT First (#PCDATA) >
<!ELEMENT Sal (#PCDATA) >
<!ELEMENT HireDate (#PCDATA) >
]>
BEGIN XML_REG; END;
ERROR at line 1:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00007: unexpected end-of-file encountered
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 3
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 14
ORA-06512: at "OE.XML_REG", line 10
ORA-06512: at line 1
Elapsed: 00:00:00.22
OE>>
OE>>
OE>>
OE>>select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE    10.2.0.3.0      Production
TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
Elapsed: 00:00:00.84
OE>>Where am i missing?
Please advice.
Regards.

Similar Messages

  • XML parsing problems with Oracle XML parser for PL/SQL

    I am using the Oracle XML parser for PL/SQL to transform XML into HTML usign XSL. The parser gives me sporadic errors trying to parse various XML documents. For the same XML source, the XMLPARSER will parse without errors one day and the next day will give me errors such as "invalid char in text", "Expected ';'.", or even Java null pointer exceptions.
    I have verified that the XML sources are well formed, so I am pretty certain that the problems I am having are bugs in the XMLPARSER.
    Is there going to be a XML parser for PL/SQL version 2 that will fix these bugs? If so, when??? If not, is there anything else I could do to fix these problems?
    Thanks!

    You can use the latest version.

  • XML parser Problem in Oracle 9iAS

    Dear All,
    I am trying to parse a xml file by using a SAX Parser.
    I am getting error "oracle.xml.parser.v2.XMLParseException: Invalid InputSource.'. I have already included 'xerces.jar' in the classpath.
    But it is always taking oracle xml parser.
    How to change the default XML parser in Oracle 9ias.
    This is my report.jsp File
    &lt;%@ page import="java.io.*,java.util.*,java.sql.*,javax.sql.*,javax.naming.*,javax.jms.*,iims.util.*,javax.xml.parsers.*,org.xml.sax.*,org.xml.sax.helpers.*, org.w3c.dom.*"%&gt;
    &lt;%
    generateTree();
    %&gt;
    &lt;%!
         //This method is to be called during startup. It will generate the template and rule nodes.
         public static void generateTree() throws Exception
              //Proceed with this method if the template and rule trees are not built already.
              //if (nodeTemplate != null && nodeRule != null) return;
              // Validate
              Node nodeRule = parseXml("d:\\ora9ias\\j2ee\\home\\Reports\\IIMSReportsTemplate1.xml");
         }//generateTree
    %&gt;
    &lt;%!
         //parse the input file and return a node.
         private static Node parseXml(String fileName) throws Exception
              //Parse the input file
              Document objDocument = null;
              DocumentBuilder objDocumentBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
              objDocument = objDocumentBuilder.parse(fileName);
              Node nodeRet = objDocument;
              return nodeRet;
         }//parseXml
    %&gt;
    Report template:
    &lt;ROOT&gt;
         &lt;HEADINGS&gt;
              &lt;HEADING1&gt;H1&lt;/HEADING1&gt;
              &lt;HEADING2&gt;H2&lt;/HEADING2&gt;
              &lt;HEADING3&gt;H3&lt;/HEADING3&gt;
              &lt;HEADING4&gt;H4&lt;/HEADING4&gt;
              &lt;HEADING5&gt;H5&lt;/HEADING5&gt;
              &lt;HEADING6&gt;H6&lt;/HEADING6&gt;
         &lt;/HEADINGS&gt;
         &lt;ROWSETS&gt;
              &lt;ROWSET&gt;
                   &lt;COLHDRS&gt;
                   &lt;/COLHDRS&gt;
                   &lt;ROWS&gt;
                   &lt;/ROWS&gt;
              &lt;/ROWSET&gt;
         &lt;/ROWSETS&gt;
         &lt;Footer&gt;
              &lt;PageNo&gt;Generate&lt;/PageNo&gt;
              &lt;Date&gt;SystemDate&lt;/Date&gt;
         &lt;/Footer&gt;
    &lt;/ROOT&gt;
    Stack Trace:
    strRuleFileD:\ora9ias\j2ee\home\Reports\IIMSReportsRules.xml
    oracle.xml.parser.v2.XMLParseException: Invalid InputSource.
    at oracle.xml.parser.v2.XMLError.flushErrors(XMLError.java:145)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:208)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:140)
    at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:96)
    at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:165)
    at iims.REPORTS.IIMSGenerateReport.parseXml(IIMSGenerateReport.java:115)
    at iims.REPORTS.IIMSGenerateReport.generateTree(IIMSGenerateReport.java:
    100)
    at iims.REPORTS.IIMSGenerateReport.buildXML(IIMSGenerateReport.java:147)
    at PCREPORT_PROCESS.processBody(PCREPORT_PROCESS.java:3248)
    at PCREPORT_PROCESS.doPost(PCREPORT_PROCESS.java:100)
    at PCREPORT_PROCESS.doGet(PCREPORT_PROCESS.java:92)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:244)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterC
    hain.java:59)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:523)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:735)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java
    :151)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Please advise.
    Thanks
    Siva Kishor Rao U

    Adding Xerces XML parser is not enough to make it work. Since some version of JDK (I think 1.4.X) XML parser is included and for older version it can be setup like a runtime option. And this is probably how ORACLE is using its XML parser. If you want to use different parser, you have to pass runtime option to JVM - for Xalan it looks like this:
    -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl
    ...this way it becomes default parser factory used by javax interface functions. Look for documentation on xml.apache.org
    Myrra

  • Problem calling XML Report Publisher from Oracle Reports

    Hi,
    I'm facing a problem in calling XML Report Publisher from Oracle Reports.
    Basically, I'm trying to customise Dunning Letter program. The program which is submitted calls another program. I have customised the second program and added a call to a stored procedure which in turn calls XML Report Publisher.I have created a template and attached it to the second program as well.
    The procedure code is as follows.
    v_request_id := FND_REQUEST.SUBMIT_REQUEST(application => 'AR'
    ,program => 'ARDLP_NON_SRS'
    ,description => 'Dunning Letter Print from Dunning Letter Generate'
    ,sub_request => FALSE
    l_status := fnd_concurrent.WAIT_FOR_REQUEST
    ( REQUEST_ID => v_request_id,
    INTERVAL => 15,
    MAX_WAIT => 180,
    PHASE => l_phase,
    STATUS => l_status_code,
    DEV_PHASE => l_dev_phase,
    DEV_STATUS => l_dev_status,
    MESSAGE => l_message );
    v_xml_req_id := FND_REQUEST.submit_request(application => 'XDO',
    program => 'XDOREPPB',
              argument1 => v_request_id,
    argument2 => 'FLS DE AR Dunning Letter Print - German',
    argument3 => 603, -- changed 665 -- was 551,
    argument4     => NULL,
    argument5 => 'N',
    argument6     => 'RTF',
              argument7     => 'PDF');
    Now, there are two problems I'm facing...
    1. when the second program('Dunning Letter Print from Dunning Letter Generate') gets called it executes this procedure ... logically the 'Dunning Letter Print from Dunning Letter Generate' should get called twice ... second time from the procedure. Its getting called multiple times .. as many as 15 - 20 times.
    2. The Xml Report Publisher program ultimately gets called but its erroring out with the following error:
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.DS_APP_SHORT_NAME DS_APP_SHORT_NAME, B.DATA_SOURCE_CODE DATA_SOURCE_CODE, L.LOB_TYPE LOB_TYPE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE (L.LOB_TYPE = 'TEMPLATE' OR L.LOB_TYPE = 'MLS_TEMPLATE') AND L.APPLICATION_SHORT_NAME= :1 AND L.LOB_CODE = :2 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :3 AND L.TERRITORY = :4 ) OR (L.LANGUAGE = :5 AND L.TERRITORY = :6) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
    I have checked from database that the XDO_LOBS/ XDO_TEMPLATES_B table has corresponding registration data.
    I don't know what's creating the problem.
    If anyone has customised the Dunning Letter program before or having any idea about this problem, please help me out ..
    Thanks

    satrajit,
    Now I am getting the same error you got, Can you please tell me the solution you found?.
    XML Report Publisher 5.0
    Updating request description
    Waiting for XML request
    Retrieving XML request information
    Preparing parameters
    Process template
    --XDOException
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.LOB_TYPE = :1 AND L.APPLICATION_SHORT_NAME= :2 AND L.LOB_CODE = :3 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :4 AND L.TERRITORY = :5 ) OR (L.LANGUAGE = :6 AND L.TERRITORY = :7) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.initStream(TemplateInputStream.java:309)
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.<init>(TemplateInputStream.java:187)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.getTemplateFile(TemplateHelper.java:776)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:1269)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:807)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)

  • Loading xml data to a oracle database problem in style sheet

    Hi,
    I Have one small Problem While loading xml data to a oracle database.
    In the XML i have the Columns and Data Like this.
    <Data>
    <TRAN>
    <Type_Trs>A</Type_Trs>
    <T1>2</T1>
    <T2>3</T2>
    </TRAN>
    <TRAN>
    <Type_Trs>B</Type_Trs>
    <T1>2</T1>
    <T2>3</T2>
    </TRAN>
    </Data>
    I have TRAN Table having Field Like this.
    TRAN(Type_Trs,T1,F)
    Note:- The XML Column T2 is Not matching with TRAN Table Column F
    I want to fetch T2 data into F column.
    When I am fetching the xml data into oracle table only
    one row is fetching.
    Can You help me
    To load the the all the record of XML data into the Oracle Table
    What will be my XLS Style Sheet File Please
    suggest me.
    Regards
    MBR
    Thnks in Advance

    Hi MBR
    You would be better posting your question to the general XML forums:
    http://forums.oracle.com/forums/category.jspa?categoryID=51
    This is purely for XML/BI Publisher where we get the data back out of the db :o)
    Tim

  • Connection problem to Oracle 11.1.0 on Windows Professional XP (SP2)

    Hello
    I've recently performed default installations for 3 Oracle Databases, into seperate homes on a newly formatted Windows
    Professional XP (SP2) standalone laptop. For all databases Oracle 10.2.0 (rover), Oracle XE (xe) and Oracle 11.1.0 (fido) I
    installed APEX and they worked perfectly.
    I then installed my Wireless O2 Broadband for my internet which uses DHCP
    I am unable to connect to my databases with the wireless broadband connected. I then bring down all databases and turn
    off/disable the Broadband,then restart all databases.
    Using commands
    Set ORACLE_SID=ROVER
    sqlplus system/rover@rover
    Set ORACLE_SID=XE
    sqlplus system/xe@xe
    Set ORACLE_SID=FIDO
    sqlplus system/fido@fido
    Connections are successfull apart from the Oracle 11.1.0 (fido) database with error
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Can anybody identify my connection problem to Oracle 11.1.0 (fido) database by reviewing my listener.ora, tnsnames.ora and
    other configuration files below.
    Many thanks in advance
    Regards
    Ade
    tnsping results
    ===============
    C:\>tnsping rover
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localho
    t)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = rover)))
    OK (10 msec)
    C:\>tnsping xe
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = bascilic
    o)(PORT = 1522)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
    OK (30 msec)
    C:\>tnsping fido
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhos
    t)(PORT = 1523)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = fido)))
    OK (20 msec)
    lsnrctl stat - results
    ======================
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1523)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.1.0.7.0 - Production
    Start Date 17-OCT-2009 15:54:12
    Uptime 0 days 0 hr. 32 min. 11 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\oracle\product\11.1.0\db_fido\network\admin\listener.ora
    Listener Log File c:\oracle\product\11.1.0\diag\tnslsnr\bascilico\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1523ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=bascilico)(PORT=1523)))
    The listener supports no services
    The command completed successfully
    General configuration - Environment variables
    =============================================
    PATH =
    C:\oracle\product\11.1.0\db_fido\bin;C:\oracle\product\10.2.0\db_rover\bin;C:\oracle\oraclexe\app\oracle\product\10.2.0\serve
    r\bin;C:\oracle\ohs\bin;C:\oracle\ohs\jlib;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI
    Technologies\ATI Control Panel
    TNS_ADMIN = C:\oracle\tns
    C:\oracle\tns\tnsnames.ora
    ==========================
    ROVER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = rover)
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = bascilico)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    FIDO =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1523))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = fido)
    Oracle 10.2.0 listener.ora
    ==========================
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_rover)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    Oracle 10.2.0 tnsnames.ora
    ==========================
    ROVER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = rover)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Oracle XE listener.ora
    ======================
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oracle\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = bascilico)(PORT = 1522))
    DEFAULT_SERVICE_LISTENER = (XE)
    Oracle XE tnsnames.ora
    ======================
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = bascilico)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Oracle 11.1.0 listener.ora
    ==========================
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1523))
    Oracle 11.1.0 tnsnames.ora
    ==========================
    LISTENER_FIDO =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1523))
    FIDO =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1523))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = fido)
    )

    For static registration you need to update the 3 listener.ora files.
    Exemple:
    SID_LIST_LISTENER_FIDO =
      (SID_LIST =
        (SID_DESC
          (ORACLE_HOME = <Oracle Home path>)
          (SID_NAME=FIDO)
    )

  • XML generation problem?

    Hi I'm relatively new to Flex 2 and I have a question.
    I'm generating an xml file from an oracle view and hope to
    use it as the basis for a chart/data grid.
    My generation process yields data something like this:
    <list>
    <commodity name="Laptop Computer" total="0">
    <warehouse name="California" onhand="10"/>
    <warehouse name="Viriginia" onhand="20"/>
    <warehouse name="Washington" onhand="0"/>
    </commodity>
    <commodity name="Desktop Computer" total="0">
    <warehouse name="Washington" onhand="9"/>
    </commodity>
    </list>
    I've taken this generated xml and put it into a local file
    for now.
    When I attempt to load this data I get this error:
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at TestFileAccess/TestFileAccess::resultHandler()
    at TestFileAccess/__srv_result()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::onComplete()
    My mxml file looks something like this:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" xmlns="*" paddingTop="3"
    creationComplete="initApp()" pageTitle="Warehouse Levels">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import mx.rpc.events.*;
    [Bindable]
    private var commodData:Array;
    [Bindable]
    private var warehouseData:Array;
    [Bindable]
    public var slicedCommodData:ArrayCollection;
    private function initApp():void
    srv.send();
    slicedCommodData = new ArrayCollection();
    private function resultHandler(event:ResultEvent):void
    commodData = event.result.list.name.source as Array;
    warehouseData = new Array(commodData.length);
    slicedCommodData.source = commodData;
    var commodTotal:Number;
    for (var x:Number = 0; x < commodData.length; x++)
    warehouseData[x] = {name: commodData[x].name, onhand:0};
    var warehouses:Array = commodData[x].warehouse.source as
    Array;
    commodTotal = 0;
    for (var j:Number = 0; j < warehouses.length; j++)
    commodTotal += warehouses[j].onhand;
    commodData[x].total = commodTotal;
    ]]>
    </mx:Script>
    <mx:HTTPService id="srv" url="result.xml"
    useProxy="false" result="resultHandler(event)"/>
    <mx:Panel layout="absolute">
    <mx:ColumnChart id="WarehouseTotals"
    dataProvider="{slicedCommodData.source}">
    <mx:horizontalAxis>
    <mx:CategoryAxis dataProvider="{slicedCommodData.source}"
    categoryField="Name"/>
    </mx:horizontalAxis>
    <mx:series>
    <mx:ColumnSeries xField="Name" yField="Total"/>
    </mx:series>
    </mx:ColumnChart>
    <mx:DataGrid dataProvider="{slicedCommodData.source}">
    <mx:columns>
    <mx:DataGridColumn headerText="Commodity"
    dataField="Name"/>
    <mx:DataGridColumn headerText="Total"
    dataField="Total"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:Panel>
    </mx:Application>
    I'm wondering if something is wrong with my generated xml
    data or if its something else. I did notice that my xml generation
    doesn't always produce 3 warehouse tags for every commodity. Could
    this be the problem?
    Also, the reason the commodity tag's total is always 0 in the
    xml is because this information is not captured in the view...I use
    mxml to calculate that.
    Thanks!

    It seems that I played with it for a while and fixed it. The
    problem was my xml data and the format my httpservice was
    returning. First my xml data needed to be enclosed by <data>
    and </data> tags not <list> and </list> tags.
    Second my httpservice needed to have a result format of e4x. This
    also caused me to have to change how I was handling the individual
    xml properties of the data.
    Anyway the fixed code looks like this for anyone that cares
    and has gotten a similar error.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*" paddingTop="3" creationComplete="initApp()"
    pageTitle="Warehouse Levels">
    <mx:Script>
    <![CDATA[
    import mx.collections.XMLListCollection;
    import mx.rpc.events.*;
    [Bindable]
    private var commodData:XMLList;
    [Bindable]
    public var slicedCommodData:XMLListCollection;
    private function initApp():void
    srv.send();
    private function resultHandler(event:ResultEvent):void
    commodData = event.result.commodity;
    slicedCommodData = new XMLListCollection(commodData);
    var commodTotal:Number;
    var nextNum:Number;
    for (var x:Number = 0; x < commodData.length(); x++)
    var warehouses:XMLList = commodData[x].warehouse as XMLList;
    commodTotal = 0;
    for (var j:Number = 0; j < warehouses.length(); j++)
    nextNum = 0;
    nextNum = new Number(warehouses[j].@onhand);
    commodTotal = commodTotal + nextNum;
    var firstItem:Object = slicedCommodData.getItemAt(i);
    firstItem.@total = commodTotal;
    ]]>
    </mx:Script>
    <mx:HTTPService id="srv" url="result.xml"
    resultFormat="e4x" result="resultHandler(event)"/>
    <mx:HDividedBox width="50%" height="100%">
    <mx:ColumnChart id="WarehouseTotals"
    dataProvider="{slicedCommodData}">
    <mx:horizontalAxis>
    <mx:CategoryAxis dataProvider="{slicedCommodData}"
    categoryField="@name"/>
    </mx:horizontalAxis>
    <mx:series>
    <mx:ColumnSeries xField="@name" yField="@total"/>
    </mx:series>
    </mx:ColumnChart>
    </mx:HDividedBox>
    <mx:HDividedBox width="50%" height="100%">
    <mx:DataGrid dataProvider="{slicedCommodData}">
    <mx:columns>
    <mx:DataGridColumn headerText="Commodity"
    dataField="@name"/>
    <mx:DataGridColumn headerText="Total"
    dataField="@total"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:HDividedBox>
    </mx:Application>
    Thanks for all of your help!

  • PL/SQL XML Parser (problem getting text of a node)

    I am trying to get the contents of an ELEMENT (node with a CDATA section) using xmldom.getNodeValue(). However, it seems that there is a MAXIMUM number of characters that I can get back.
    I think I've found a work-around using xmldom.writeToBuffer() which seems to write all of the CDATA contents to a VARCHAR2 variable. Now my problem is that it is using strings like '&#60' and '&#38'. I recognize these strings as being "internal representations of '<' and '&' respectively. I'd not have to replace every occurence of these types of strings with the ASCII equivalent -especially since I don't know all of the possible '&#nn' strings that may crop up.
    Help!

    The use of "//" or "\\" appears to be a bug in JServer. It has
    been filed. You should not specify the path as a shared
    directory as a workaround.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    Andre (guest) wrote:
    : Oracle 8.1.5 database on NT
    : When i try running the example with command:
    : SQL*Plus> exec domsample
    : ('//SERVER_03/ORACLE/xml_tmp','family.xml', 'err.txt');
    : I get the following error:
    : ERROR at line 1:
    : ORA-20100: Error occurred while parsing:
    : //ORACLE/xml_tmp/err.txt
    : ORA-06512: at "OEF1_MGR.XMLPARSER", line 43
    : ORA-06512: at "OEF1_MGR.XMLPARSER", line 120
    : ORA-06512: at "OEF1_MGR.DOMSAMPLE", line 80
    : ORA-06512: at line 1
    : If i use backward-slashes '\' which should be OK for NT i get:
    : ORA-20100: Error occurred while parsing:
    : \\ORACLE\xml_tmp/err.txt
    : I tried using a directory (create directory ...) but this
    : results in the same error.
    : Thus anyone now how it should be done?
    : Thanks
    null

  • Cisco 9951 and cucme registration problem

    Hi Everybody
    I am trying to register a cisco 9951 phone to a cucme. The phone was previosly connected and registered to a cucm 9.1, now it must be registered in the cucme. The problem is that the status messages of the phone show that the phone has 9.3(2) firmware version and the cucme has 9.2(1) sip9951.9-2-2SR1-9.loads. It means that the phone has a higher version than the version in the router flash (cucme).
    I tryed tod download a newer cucme file-set but the last version available in cisco.com is the 10.0 and it has the sip9951.9-2-2SR1-9.loads file which is still older than the version in the phone. So the phone doesnt register.
    I follow step by step the instructions to configure and register ip sip phones to cucme. but I am stock.
    here is the configuration:voice register global
     mode cme
     source-address X.X.6.54 port 5060
     max-dn 10
     max-pool 5
     load 9951 sip9951.9-2-2SR1-9
     timezone 42
     tftp-path flash:
     create profile sync 0001184550824421
     camera
     video
    voice register dn  1
     number 4002
     name SIPPhone 2
    voice register pool  1
     id mac 501C.BFFC.DD85
     type 9951
     number 1 dn 1
     username nico password 12345
     description +571344002
     camera
     video
    tftp-server flash:Phones/9951/dkern9951.100609R2-9-2-2SR1-9.sebn alias dkern9951.100609R2-9-2-2SR1-9.sebn
    tftp-server flash:Phones/9951/kern9951.9-2-2SR1-9.sebn alias kern9951.9-2-2SR1-9.sebn
    tftp-server flash:Phones/9951/rootfs9951.9-2-2SR1-9.sebn alias rootfs9951.9-2-2SR1-9.sebn
    tftp-server flash:Phones/9951/sboot9951.031610R1-9-2-2SR1-9.sebn alias sboot9951.031610R1-9-2-2SR1-9.sebn
    tftp-server flash:Phones/9951/sip9951.9-2-2SR1-9.loads alias sip9951.9-2-2SR1-9.loads
    tftp-server flash:Phones/9951/skern9951.022809R2-9-2-2SR1-9.sebn alias skern9951.022809R2-9-2-2SR1-9.sebn
    the status mesages on the phone say:
    Upgrade rejected: HW compat failure. Must use 9.3(2) or later release on this phone
    Error updating locale
    It still shows:
    File not found United_States/g4tones.xml
    File not found SIP_English_United_States/ik-sip.jar
    Those files tha the phone doesnt find are in the cucm 9.1. I tryed to put them in the flash and configured the tftp-server command and I also downloaded the 9.3(2) from the cucm and copied to the router flash, but it still has registrations problems.
    I also tryed to reset the phone to the factory defaults but this sequence with # key and 123456789*0# doesnt aply to sip phones and the procedure of the following link still doesnt work:
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cuipph/9971_9951_8961/10_0/english/adminguide/P567_BK_A27DADFD_00_adminguide-8961-9951-9971-10_0/P567_BK_A27DADFD_00_adminguide-8961-9951-9971-10_0_chapter_010100.html
    Please help me with this issue.
    Best regards

    Hi Sayeed,
    Can you please send accross SIP messages when phone is trying to register with CME ?
    Thanks
    Manish

  • Going live tomorrow...how do I configure xml registries!

    Hi all
              I just found out that the live server I am deploying to is behind a firewall
              and has no connection to the internet. This is causing deployment problems
              as weblogic is unable to retrieve the various DTDs (eg for application.xml,
              web.xml) from the internet. I am getting the following exception when
              deploying
              <HTTP> <[wireless-web] Error reading Web application
              "D:\bea\wlserver6.1\.\config\mydomain\applications\.wlnotdelete\wlap38294\wi
              reless-web.war"
              java.net.UnknownHostException: www.bea.com
              at java.net.InetAddress.getAllByName0(InetAddress.java:571)
              at java.net.InetAddress.getAllByName0(InetAddress.java:540)
              at java.net.InetAddress.getAllByName(InetAddress.java:533)
              at weblogic.net.http.HttpClient.openServer(HttpClient.java:191)
              I'm told that because of security reasons I cannot configure the live server
              to be able to connect over http (sounds fair to me I guess).
              I have attempted to setup an xml registry within the weblogic console but
              cannot seem to get weblogic to read it when it attempts to deploy my
              application. I created a xml\registries\wirelessXMLRegistry directory within
              my domain and copied all of the required DTDs into this directory.
              Below are relevent portions of my config.xml
              <?xml version="1.0" encoding="UTF-8"?>
              <Domain Name="mydomain">
              <PasswordPolicy Name="wl_default_password_policy"/>
              <JDBCDataSource JNDIName="datasource-wireless"
              Name="datasource-wireless" PoolName="wireless" Targets="myserver"/>
              <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
              <ApplicationManager Name="mydomain"/>
              <JDBCConnectionPool DriverName="weblogic.jdbc.mssqlserver4.Driver"
              Name="wireless"
              Properties="user=wireless;password=fred"
              Targets="myserver" URL="jdbc:weblogic:mssqlserver4:ukbvhsws388"/>
              <XMLEntityCache Name="XMLCacheMBean"/>
              <Security GuestDisabled="false" Name="mydomain"
              PasswordPolicy="wl_default_password_policy"
              Realm="wl_default_realm"/>
              <Log FileName="config/mydomain/logs/wl-domain.log" Name="mydomain"/>
              <Server ListenPort="80" Name="myserver" NativeIOEnabled="true"
              TransactionLogFilePrefix="config/mydomain/logs/"
              XMLEntityCache="XMLCacheMBean" XMLRegistry="wirelessXMLRegistry">
              <ExecuteQueue Name="default" ThreadCount="15"/>
              <Log FileName="config/mydomain/logs/weblogic.log" Name="myserver"/>
              <ServerStart Name="myserver"/>
              <ServerDebug Name="myserver"/>
              <SSL Enabled="false" ListenPort="7002" Name="myserver"
              ServerCertificateChainFileName="config/mydomain/ca.pem"
              ServerCertificateFileName="config/mydomain/democert.pem"
              ServerKeyFileName="config/mydomain/demokey.pem"/>
              <KernelDebug Name="myserver"/>
              <WebServer LogFileName="./config/mydomain/logs/access.log"
              LoggingEnabled="true" Name="myserver"/>
              </Server>
              <SNMPAgent Name="mydomain"/>
              <JTA Name="mydomain"/>
              <FileRealm Name="wl_default_file_realm"/>
              <Application Deployed="true" Name="certificate"
              Path=".\config\mydomain\applications">
              <WebAppComponent Name="certificate" Targets="myserver"
              URI="certificate.war"/>
              </Application>
              <XMLRegistry
              DocumentBuilderFactory="weblogic.apache.xerces.jaxp.DocumentBuilderFactoryIm
              pl"
              Name="wirelessXMLRegistry"
              SAXParserFactory="weblogic.apache.xerces.jaxp.SAXParserFactoryImpl"
              TransformerFactory="weblogic.apache.xalan.processor.TransformerFactoryImpl"
              WhenToCache="cache-on-reference">
              <XMLEntitySpecRegistryEntry EntityURI="weblogic-ejb-jar.dtd"
              Name="weblogicejbSpec"
              SystemId="http://www.bea.com/servers/wls510/dtd/weblogic-ejb-jar.dtd"/>
              <XMLEntitySpecRegistryEntry EntityURI="web-app_2_2.dtd"
              Name="webappSpec"
              SystemId="http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"/>
              <XMLEntitySpecRegistryEntry EntityURI="weblogic-web-jar.dtd"
              Name="weblogicwebSpec"
              SystemId="http://www.bea.com/servers/wls600/dtd/weblogic-web-jar.dtd"/>
              <XMLEntitySpecRegistryEntry
              EntityURI="weblogic-rdbms-persistence.dtd"
              Name="weblogicrdbmsSpec"
              SystemId="http://www.bea.com/servers/wls510/dtd/weblogic-rdbms-persistence.d
              td"/>
              <XMLEntitySpecRegistryEntry EntityURI="application_1_2.dtd"
              Name="applicationSpec"
              SystemId="http://java.sun.com/j2ee/dtds/application_1_2.dtd"/>
              <XMLEntitySpecRegistryEntry EntityURI="ejb-jar_1_1.dtd"
              Name="ejbjarSpec"
              SystemId="http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd"/>
              <XMLEntitySpecRegistryEntry EntityURI="ejb-inprise.dtd"
              Name="ejbinpriseSpec"
              SystemId="http://www.borland.com/devsupport/appserver/dtds/ejb-inprise.dtd"/
              >
              </XMLRegistry>
              </Domain>
              Any help greatly appreciated (and could save my job)
              Matt
              

    [http://www.google.com/search?q=servlet+configuration+tutorial]
    ~

  • Problem with oracle.jbo.domain.Date and format 'dd.MM.yyyy'

    JBO-25009: Cannot create an object of type:oracle.jbo.domain.Date with value: 09.10.2003
    In EOImplMsgBundle :
    {"Dbeg_FMT_FORMATTER", "oracle.jbo.format.DefaultDateFormatter"},
    {"Dbeg_FMT_FORMAT", "dd.MM.yyyy"}};
    In VOImplMsgBundle :
    {"Dbeg_FMT_FORMAT", "dd.MM.yyyy"},
    {"Dbeg_FMT_FORMATTER", "oracle.jbo.format.DefaultDateFormatter"},
    Why ? Help Please

    I have the same problem !
    I have extended the formatinfo.xml with:
    <DOMAIN CLASS="oracle.jbo.domain.Date">
    <FORMATTER name="Simple Date" class="oracle.jbo.format.DefaultDateFormatter">
    <FORMAT text="dd.MM.yyyy" />
    <FORMAT text="dd-MM-yyyy" />
    <FORMAT text="yyyy-MM-dd" />
    <FORMAT text="yyyy-MM-dd G 'at' hh:mm:ss" />
    <FORMAT text="EEE, MMM d, ''yy" />
    </FORMATTER>
    </DOMAIN>
    And then I have set my attibutes to use this FORMATTER with FORMAT "dd.MM.yyyy".
    When I start my application, I became an error and the date-fields are blank ... The application can not convert my Date in 'dd.MM.yyyy' format ...
    When I set my attributes to Format Type <none>, it works, the date-fields are present ...

  • WIJ 20002 xml Parser Problem - Rich Client

    Hi,
    I have a problem with the rich client on a new installation:
    Business Objects Enterprise XI 3.1 SP3 on Windows 2008 Standard.
    If I connect with the rich client "import document"is disabled.
    if I try to create a new document from the rich client it returns the error below (I used the rich client on two workstations):
    WIJ 20002
    Version: null
    Analisi dello stack:
    java.lang.RuntimeException: java.lang.RuntimeException: XML parser problem:
    XMLJaxpParser.parse(): Element type "ABOUT_Patentnumbers" must be followed by either attribute specification, ">" or "/>".
    at com.businessobjects.wp.xml.jaxp.XMLJaxpParser.parse (Unknown Source)
    at.com.businessobjects.webi.richclient.XMLviaOccaRC.getServerConfiguration (Unknown Source)
    Have you any solution?

    The fixpack 3.5 client resolves the problem.

  • How to extract data from xml and insert into Oracle table

    Hi,
    I have a large xml file. which will have hundreds of the following transaction tags having column names and there values.
    There is a table one of the schema with coulums "actualCostRate","billRate"....etc.
    I need to extract the values of these columns and insert into the table
    <Transaction actualCostRate="0" billRate="0" chargeable="1" clientID="NikuUK" chargeCode="LCOCD1" externalID="L-RESCODE_UK1-PROJ_UK_CNT_GBP-37289-8" importStatus="N" projectID="TESTPROJ" resourceID="admin" transactionDate="2002-02-12" transactionType="L" units="11" taskID="5017601" inputTypeCode="SALES" groupId="123" voucherNumber="ABCVDD" transactionClass="ABCD"/>
    <Transaction actualCostRate="0" billRate="0" chargeable="1" clientID="NikuEU" chargeCode="LCOCD1" externalID="L-RESCODE_US1-PROJ_EU_STD2-37291-4" importStatus="N" projectID="TESTPROJ" resourceID="admin" transactionDate="2002-02-04" transactionType="L" units="4" taskID="5017601" inputTypeCode="SALES" groupId="124" voucherNumber="EEE222" transactionClass="DEFG"/>

    Re: Insert from XML to relational table
    http://www.google.ae/search?hl=ar&q=extract+data+from+xml+and+insert+into+Oracle+table+&btnG=%D8%A8%D8%AD%D8%AB+Google&meta=

  • Can't convert oracle.xml.parser.DTD to oracle.xml.parser.v2.DTD.

    I am getting the following Error while trying
    to compile the SampleMain.java file(Generating an XML document from a given Employee.dtd).
    I have set my classpath to use xmlparser.jar.
    D:\XMls>javac SampleMain.java
    SampleMain.java:65: Can't convert oracle.xml.parser.DTD to oracle.xml.parser.v2.DTD.
    main(java.l
    ang.String[]).
    generator.generate(dtd, doctype_name);

    Would you check the java parser version you are using? If using java parser V2, the normal lib name is xmlparserv2.jar.
    null

  • Problem installing Oracle Identity Manager Server  9.1

    Hello,
    I try to install oracle identity Manager Server 9.1, but I'm having a problem.
    Oracle identity manager 9.03 is already installed with jboss-4.0.3SP1 and j2sdk1.4.2_15
    and oracle 10.2.0
    So I follow these steps to clean out the db:
    1. Drop tablespace: drop tablespace oimtbs including contents;
    2. Drop user: drop user oimuser cascade;
    and ran prepare_xl_db.bat as instructed. No errors in the log.
    I ran the DiagonasticDashboard : the db setup was fine.
    When I ran the installer "setup_server.exe", i haved this message :
    Folowing Error occured during schema creation
    Error encountered while loading database script
    E:\OIM_Install\OIM9100\installServer\Xellerate/db/oracle/xell.sql
    Please contact your DBA!
    maximum key length (1478) exceeded
    Does anybody have any idea what this error is about ?
    Thanks.

    Index IDX_LKV_LKV_ENCODED on Table LKV (Column :- LKV_ENCODED - VARCHAR2(3000)) is failing on 2k block size. Though all the Indexes are working fine with the 4k block size.
    But OIM Dev team recommends to create the 8k block size for the Index storage.
    Because the blocksize affects the number of keys within each index node, it follows that the blocksize will have an effect on the structure of the index tree. All else being equal, large blocksizes will have more keys, resulting in a flatter index than the same index created in a 2k tablespace. A large blocksize will also reduce the number of consistent gets during index access, improving performance for scattered reads access.
    HOW TO CREATE THE INDEXES IN LARGER BLOCKSIZE TABLESPACE
    In the existing database:-
    Create a tablespace with the 8k blocksize, For Example
    First,
    Set the system cache size for that particular db block size
    sql> alter system set db_8k_cache_size=100M;
    sql> CREATE TABLESPACE db_8k_tablespace DATAFILE 'C:/oracle/product/10.2.0/oradata/8k_file.dbf' SIZE 100M BLOCKSIZE 8192;
    Then
    Reorganize the Index using command:-
    sql> Alter Index <Index_Name> Rebuild tablespace <Tablespace_Name>
    Regards,
    Neeraj Goel

Maybe you are looking for

  • Safari Crashes on Launch (10.6.2)

    I'm running the version of Safari that shipped with my new MacBook Pro. However, recently I can't get it to launch. Any help would be greatly appreciated. Here's the error report I'm getting, if it's any help: Process: Safari [4097] Path: /Applicatio

  • Operating system Cammand such as UNIX command using PL/SQL

    Hi All, I am using forms 4.5 using oracle financials 10.7 and I want to execute an operating system file such as move on server side. I am able to do it on client side using host command but cannot figure out how I can use it on server side. I am usi

  • Why won't specific web sites open

    Hi, I cannot access my own website with my main computer. This is hosted by a commercial provider. I can open it and retrieve mail with a G4 laptop, MACBOOK and a PC (Vista) through the same Airport/Switch/Cable modem path. This just started yesterda

  • How can I get rid of the "Return to Previous Session" tab.

    When I close out Firefox.......anyone can go to the computer and hit the "return to previous session" tab and connect with what I was currently working on.....or where I was....or....you can see where I'm going with this. I would like to just have th

  • Exactly what tunes are on my ipod

    when I look at "music" on the itunes screen, it shows every song that I have downloaded. but I have not transferred all these songs to my ipod. I can tell what I have on my touch, but I also have a nano. I am wanting to know how I can see what songs