XML question export data to XML

I need to export XML in a certain format. This is the first time i need to export XML. What i can do is:
select xmlelement("IDpart",
     xmlelement("ID", XMLAttributes( e.ID_SUBID AS "ID_SUBID"),
          xmlelement("timeperiod", XMLAttributes( e.start_date AS "startdate"))))
AS "result"
from example e
<IDpart><ID ID_SUBID="2:2_O_2"><timeperiod startdate="2008-01-22"></timeperiod></ID></IDpart>
Create table script
-- DDL for Table EXAMPLE
CREATE TABLE "HR"."EXAMPLE"
(     "ID_SUBID" VARCHAR2(20),
     "END_DATE" DATE,
     "START_DATE" DATE,
     "VALUE" NUMBER,
     "STATUS" VARCHAR2(5)
-- DATA FOR TABLE EXAMPLE
-- FILTER = none used
-- INSERTING into EXAMPLE
Insert into EXAMPLE (ID_SUBID,END_DATE,START_DATE,VALUE,STATUS) values ('2:2_O_2',to_date('22-JAN-08','DD-MON-RR'),to_date('22-JAN-08','DD-MON-RR'),0.2,'A');
Insert into EXAMPLE (ID_SUBID,END_DATE,START_DATE,VALUE,STATUS) values ('2:2_O_2',to_date('22-JAN-08','DD-MON-RR'),to_date('22-JAN-08','DD-MON-RR'),0.2,'B');
-- END DATA FOR TABLE EXAMPLE
Can you help me to get my output like this?
<IDpart><ID ID_SUBID= "2:2_O_2"/><timeperiod startdate="22-JAN-08"/> <Readings><Reading Value="0.2"> <statuscodes><code>A</code><code>B</code>
</Reading></Readings></IDpart>
---------------------------------------------------

My xml does summarize some data but i want it in another format/ range. Can you help me?
My code:-->
SELECT XMLElement("MeterReadingDocument",
XMLAttributes('http://www.w3.org/2001/XMLSchema' AS "xmlns:xsd",
'http://www.w3.org/2001/XMLSchema-instance' AS "xmlns:xsi"),
     XMLElement("Channels", XMLElement("Channel",
     Xmlelement("ChannelID",xmlattributes(d.CHANNELID_SPCID "IntervalChannelID")),
     Xmlelement("ContigiousIntervalSets",xmlelement("ContigiousIntervalSet",
xmlattributes(d.REC_AANTAL "NumberOfReadings"),
Xmlelement("TimePeriod",
xmlattributes(to_char(d.START_TIME, 'dd-mm-yyyy"T"hh24:mi:ss"Z"') “StartTime", to_char(d.END_TIME, 'dd-mm-yyyy"T"hh24:mi:ss"Z"') "EndTime")),
     Xmlelement("Readings", xmlelement("Reading",xmlattributes(d.WAARDE "Value"),
Xmlelement("Readingstatus",xmlelement("Unencodedstatus", xmlattributes(d.SOURCE "SourceValidation"),
Xmlelement("StatusCodes", xmlagg(xmlelement("Code", d.DESCRIPTION))))))))))))
.extract('*').getstringval() xml FROM DM_IEE d
where to_char(d.END_TIME, 'dd-mm-yyyy"T"hh24:mi:ss"Z"')= '03-04-2007T09:55:00Z'
Or to_char(d.END_TIME, 'dd-mm-yyyy"T"hh24:mi:ss"Z"')= '03-04-2007T10:00:00Z'
group by d.CHANNELID_SPCID, d.REC_AANTAL, d.START_TIME, d.END_TIME, d.WAARDE, d.SOURCE
My output-->
<MeterReadingDocument xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Channels>
<Channel>
<ChannelID IntervalChannelID="68979_OP_98189091:10111"/>
<ContigiousIntervalSets>
<ContigiousIntervalSet>
<TimePeriod StartTime="03-04-2007T09:55:00Z" EndTime="03-04-2007T10:00:00Z"/>
<Readings>
<Reading Value="-54.5">
<Readingstatus>
<Unencodedstatus SourceValidation="Passed">
<StatusCodes>
<Code>MANACCEPTED</Code>
<Code>MISSING</Code>
</StatusCodes>
</Unencodedstatus>
</Readingstatus>
</Reading>
</Readings>
</ContigiousIntervalSet>
</ContigiousIntervalSets>
</Channel>
</Channels>
</MeterReadingDocument>
<MeterReadingDocument xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Channels>
<Channel>
<ChannelID IntervalChannelID="68979_OP_98189091:10111"/>
<ContigiousIntervalSets>
<ContigiousIntervalSet NumberOfReadings="2">
<TimePeriod StartTime="03-04-2007T09:50:00Z" EndTime="03-04-2007T09:55:00Z"/>
<Readings>
<Reading Value="87">
<Readingstatus>
<Unencodedstatus SourceValidation="Passed">
<StatusCodes>
<Code>MANACCEPTED</Code>
<Code>MISSING</Code>
</StatusCodes>
</Unencodedstatus>
</Readingstatus>
</Reading>
<Reading Value="-54.5">
<Readingstatus>
<Unencodedstatus SourceValidation="Passed">
<StatusCodes>
<Code>MANACCEPTED</Code>
<Code>MISSING</Code>
</StatusCodes>
</Unencodedstatus>
</Readingstatus>
</Reading>
</Readings>
</ContigiousIntervalSet>
</ContigiousIntervalSets>
</Channel>
</Channels>
</MeterReadingDocument>
2 rows selected
The output i want:-->
start_time is the start time of the first record and end_date the end_date of the last record. Can you help me?
<MeterReadingDocument xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Channels>
<Channel>
<ChannelID IntervalChannelID="68979_OP_98189091:10111"/>
<ContigiousIntervalSets>
<ContigiousIntervalSet NumberOfReadings="2">
<TimePeriod StartTime="03-04-2007T09:50:00Z" EndTime="03-04-2007T10:00:00Z"/>
<Readings>
<Reading Value="87">
<Readingstatus>
<Unencodedstatus SourceValidation="Passed">
<StatusCodes>
<Code>MANACCEPTED</Code>
<Code>MISSING</Code>
</StatusCodes>
</Unencodedstatus>
</Readingstatus>
</Reading>
</Readings>
</ContigiousIntervalSet>
</ContigiousIntervalSets>
</Channel>
</Channels>
</MeterReadingDocument>

Similar Messages

  • Export data to XML from JSP possible?

    I have a small JSP to retrieve data in a Browse form. Is there information on how to save information retrieved in a Browse (or Edit) form to XML output in order for a spreadsheet application (e.g. Excel) to pull up the data? I have not noticed this in the help files. Are there sample codes examples that illustrate this?
    Is exporting data to XML even possible using JDeveloper 9.0.3?

    You can call write XML on your ViewObject to get an XML representation.
    If you are using IE you can change the content type for a page to :
    <%@ page contentType="application/vnd.ms-excel" %>
    This will open excel within your browser. It seems to deal nicely with any data in the page that is formatted in HTML <table> elements.
    Matt

  • Design Question - Export Data via APD

    Hello gurus,
    I have following screanrio where I need your help / evaluation.
    Query based on Multicube. Result of this query should be exported automatic to ftp server.
    I thought about create an APD which export data to ODS. And then via programm read content of ods and export to ftp server.
    Any other idea?
    Can anyone provide me coding samles for export of data to ftp? Thanks in advance.

    Hi Starwars,
    You can export the report extracts from RSCRM_BAPI t-code.
    The other requirement can be very well achieved by APD.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/5047160e-3559-2e10-d193-bbb987df7dd2
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a0980b4c-7058-2e10-45be-c67712b499c6
    Regards,
    Suman

  • Pdf file not exporting data as xml

    Hi
    I have created a pdf form in adode livecycle version 8, I have saved it as a adobe acrobat 7 dynamic xml form.
    when a user has completed the form I need to export the data as an xml file however there is no data from the form in the xml file.
    does anyone know what the problem is?
    Regards

    Have you saved the PDF as Reader Extended PDF, Enable Additional Features to be able to save data's form?
    You must do this is Adobe Acrobat Pro

  • Exporting data to XML

    hi this is naveen...
    i had newly started programming in it..
    there are some controls on my designer form and i want to submit those filled data to new XML file...
                                                                please describe me in detail how could i achieve this....

    Didn't you ask this yesterday as well?
    You might haven't got answers because, possibly, the XML experts didn't see your post. This is a user-to-user forum, it's not like there is a staff waiting for questions to pop up and immediately answer.
    It's also possible your question was too vague. I'm not one of the XML experts so I might be wrong, but I have no idea of what the issue is. What 'controls'? What is a 'designer form'? I've never seen one in InDesign (it might be you are using an unusual name for a perfectly logical subject).

  • Noob question, export data to excel

    I'm trying to get started with BI Publisher in order to complete a specific task. I've done the basic "Getting started" tutorial.
    What I'd like to do is to get some data from a couple of sources, compute some values and then (in order of desirability)
    1. insert each value into a specific cell in an existing Excel document
    or
    2. create an Excel document with a lot of row and column headers (and other formatting) that includes the calculated values at the correct positions.
    Can someone tell me if this is an easy thing to do in Publisher and maybe point me in the right direction? Maybe a tutorial covering something similar?
    Regards
    Andy

    If you are not using any Repeating Frames, all you need to do is in add this to the URL.
    desformat=delimited+delimited_hdr=no+destype=cache+mimetype=application/vnd.ms-excel
    I hope this solves your problem.

  • rib-rms /application-deployments/rib-rms/data-sources.xml

    Hi,
    Support note 1314377.1 "Call To GetNextPublisher Service In RIB-RMS Fails With "Unable To Publish Message To JMS" Exception" says:
    Solution
    "The issue was resolved with the below suggestion:
    Modify $ORACLE_HOME/j2ee/<rib-rms>/application-deployments/rib-rms/data-sources.xml to have below entries and bounce the <rib-rms> instance:
    min-connections="10"
    max-connections="20"
    initial-limit="5"
    used-connection-wait-timeout="10"
    inactivity-timeout="10"
    login-timeout="0"
    connection-retry-interval="1"
    max-connect-attempts="3"
    validate-connection="true"
    validate-connection-statement="select count(*) from dual"
    num-cached-statements="10"
    time-to-live-timeout="-1"
    abandoned-connection-timeout="6"
    disable-server-connection-pooling="false"
    property-check-interval="2"
    lower-threshold-limit="20" "
    However it is not at all clear to me how to enter these elements in the data-sources.xml XML structure.
    I have searched OTN and Google for it but can't find a good/complete reference. E.g. http://download.oracle.com/docs/cd/B25016_08/doc/dl/web/B14012_02/datasrc.htm documents some of the above attributes, but not all.
    Not all attributes go into the same XML element in data-sources.xml.
    Can someone give an example of how to set this?
    Thanks,
    Erik
    Edited by: ErikYkema on Jul 19, 2011 4:29 PM

    Hi Erik,
    All of these are attributes to <connection-pool> tag.
    So it will ideally look like
    <connection-pool name="connectionPool" min-connections="10"  max-connections="20" >
    <connection-factory factory-class="oracle.jdbc.pool.OracleDataSource"      user="RPM_ADAPTOR_AQ"
                   password="RPM_ADAPTOR_AQ"
                   url="jdbc:oracle:thin:@//+hostname+/RMS131K" >
              </connection-factory>
    Please modify the same are restart rib oc4j instance.
    Regards,
    PPS
    Edited by: ppskannan on Jul 19, 2011 8:19 PM
    Edited by: ppskannan on Jul 19, 2011 8:21 PM

  • Thread: Export Data in TSV format (International / Unicode characters)

    Hi OAF Gurus,
    Question: Export data in TSV format ? how
    I am working in JDEV 10g, OA Framework 12.0.6.
    I have a page which has a OA Table populated with data, I need to export this data in a TSV (*Tab Separated values*) format.
    I know that we can add a “Export” button and then the data is exported in a CSV (comma Separated values) format.
    The question is how to save in TSV format instead.
    Reason for using TSV format: Our Data contains Unicode characters(Asian characters) which CSV files will not support. (FYI: Oracle Forms export in TSV format)
    Thanks in Advance
    Chaitanya

    use class CL_ABAP_CONV_OUT_CE
    2) or use obn application server
      open dataset file for output in  legacy  text mode code page p_code.
    (for codepage look  in tabele TCP00!)
    grx
    A.
    Edited by: Andreas Mann on Nov 8, 2010 11:23 AM

  • Need help in exporting data in to Excel by integrating XML publisher in OAF

    Hi All,
    I am facing issue while exporting data into Excel by integrating XML publisher in OAF. Everything is working fine except that the report is not uploaded in the Excel sheet. Excel sheet is opening empty.
    In OC4J server log an getting the below Exception while exporting the data:
    13/06/21 14:31:17 in try b4 creating DT
    [062113_023118734][][STATEMENT] debug_mode=on
    [062113_023118750][][STATEMENT] xml_tag_case=upper
    [062113_023118750][][STATEMENT] Inside parameterParser...
    [062113_023118750][][STATEMENT] Parameter:p_last_rev  Default value:
    [062113_023118750][][STATEMENT] Inside dataQueryParser...
    [062113_023118750][][STATEMENT] Inside dataStructureParser...
    [062113_023118765][][STATEMENT] Group ...report
    [062113_023118765][][STATEMENT] Group ...G_DISPUTE
    [062113_023118765][][STATEMENT] Template parsing completed...
    [062113_023118765][][STATEMENT] Setting Data Template
    [062113_023118765][][STATEMENT] Setting JDBC Connection
    13/06/21 14:31:18 after datatemplate
    [062113_023118765][][STATEMENT] ***Paramter :p_last_rev Value :419947
    [062113_023118765][][STATEMENT] Setting Parameters
    [062113_023118765][][STATEMENT] Setting Parameters
    13/06/21 14:31:18 after set params
    13/06/21 14:31:18 after setOutput
    [062113_023118781][][STATEMENT] Start process Data
    [062113_023118781][][STATEMENT] Process Data ...
    [062113_023118781][][STATEMENT] p_last_rev
    [062113_023118812][][STATEMENT] Writing Data ...
    [062113_023118843][][STATEMENT] Sql Query :Q_DISPUTE: select f.description "Current_Reviewer",
           p.trx_date "Original_Transaction_Date",
           h.discr_dt "Create_Date",
           h.custid "Customer_Number",
           h.cusname "Customer_Name",
           h.discr_no "Dispute_Number",
           p.amount_due_remaining "Remaining_Amount",
           h.last_rev,
           a.name
      from seacds.ar_payment_schedules_all_sv p,
           seaar.seaar_ddt_header             h,
           seacds.fnd_user_nv                 f,
           seacds.ar_collectors_nv            a
    where p.trx_number = h.discr_no
       and f.user_name = h.last_rev
       and nvl(a.employee_id, -999) = nvl(f.employee_id, -987)
       and a.attribute1 = 'AR'
       and p.class != 'PMT'
       and h.clsd_flag = 'N'
       and p.org_id = 22
       and p.amount_due_remaining > 0
       and h.last_rev = decode(:p_last_rev,'ALL',last_rev,:p_last_rev)
    order by f.description,h.last_rev
    [062113_023118843][][STATEMENT] 1: p_last_rev:419947
    [062113_023118843][][STATEMENT] 2: p_last_rev:419947
    [062113_023119546][][EVENT] Data Generation Completed...
    [062113_023119546][][EVENT] Total Data Generation Time 1.0 seconds
    13/06/21 14:31:19 after processData
    13/06/21 14:31:19 blobDomain Value :<?xml version="1.0" encoding="UTF-8"?>
    <IDIS_OPENEDBYUSER_RPT>
    <p_last_rev>419947</p_last_rev>
    <LIST_G_DISPUTE>
    <G_DISPUTE>
    <CURRENT_REVIEWER>NUMFON KIMWANGTAGO</CURRENT_REVIEWER>
    <ORIGINAL_TRANSACTION_DATE>2010-10-02T00:00:00.000+05:30</ORIGINAL_TRANSACTION_DATE>
    <CREATE_DATE>2011-04-20T00:00:00.000+05:30</CREATE_DATE>
    <CUSTOMER_NUMBER>45356000</CUSTOMER_NUMBER>
    <CUSTOMER_NAME>HEWLETT PACKARD GMBH</CUSTOMER_NAME>
    <DISPUTE_NUMBER>1CZ155358</DISPUTE_NUMBER>
    <REMAINING_AMOUNT>945</REMAINING_AMOUNT>
    </G_DISPUTE>
    </LIST_G_DISPUTE>
    </IDIS_OPENEDBYUSER_RPT>
    [062113_023120390][oracle.apps.xdo.oa.schema.server.TemplateInputStream][STATEMENT] initStream(): oa-date-validation: null
    [062113_023120390][oracle.apps.xdo.oa.schema.server.TemplateInputStream][STATEMENT] initStream(): xdo.TemplateValidation: null
    [062113_023120390][oracle.apps.xdo.oa.schema.server.TemplateInputStream][STATEMENT] initStream(): template validation is on
    [062113_023121046][][STATEMENT] TemplateHelper.runProcessTemplate() called
    [062113_023121062][][EXCEPTION] [DEBUG] ------- Preferences defined PreferenceStore -------
    [062113_023121062][][EXCEPTION] [DEBUG] ------- Environment variables stored in EnvironmentStore -------
    [062113_023121062][][EXCEPTION] [DEBUG]  [ICX_COOKIE_NAME]:[dcap1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [JDBC:processEscapes]:[true]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [APPL_SERVER_ID]:[C1ACC302F183004AE0430A0990B773BA35529272341851546077251405344914]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_STMT_CACHE_SIZE]:[100]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_DATE_LANGUAGE]:[AMERICAN]
    [062113_023121062][][EXCEPTION] [DEBUG]  [ICX_SESSION_COOKIE_VALUE]:[v1CUM5yeRe9st6ePp4QEmgJhEW]
    [062113_023121062][][EXCEPTION] [DEBUG]  [ICX_TRANSACTION_ID]:[-1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_DATE_FORMAT]:[DD-MON-RRRR]
    [062113_023121062][][EXCEPTION] [DEBUG]  [RESP_APPL_ID]:[20084]
    [062113_023121062][][EXCEPTION] [DEBUG]  [LOGIN_ID]:[4444238]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DB_PORT]:[1533]
    [062113_023121062][][EXCEPTION] [DEBUG]  [USER_ID]:[2318]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DISPLAY_LANGUAGE]:[US]
    [062113_023121062][][EXCEPTION] [DEBUG]  [APPLICATION_ID]:[seagate.oracle.apps.seaar.idispute.report.server.iDisputeOpenedByUserAM]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_NUMERIC_CHARACTERS]:[.,]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_LANGUAGE]:[AMERICAN]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MIN]:[1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [GUEST_USER_PWD]:[GUEST/ORACLE]
    [062113_023121062][][EXCEPTION] [DEBUG]  [RESP_ID]:[53350]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_SORT]:[BINARY]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_PLSQL_RESET]:[false]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_PROFILE_VALIDATION_ENABLED]:[null]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FUNCTION_ID]:[-1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_DECAY_SIZE]:[5]
    [062113_023121062][][EXCEPTION] [DEBUG]  [ICX_PV_SESSION_MODE]:[115J]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_CONTEXT_CHECK]:[true]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_USABLE_CHECK]:[false]
    [062113_023121062][][EXCEPTION] [DEBUG]  [APPS_JDBC_URL]:[jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=okdevcl1012b.okla.seagate.com)(PORT=1533))(ADDRESS=(PROTOCOL=tcp)(HOST=okdevcl1012a.okla.seagate.com)(PORT=1533)))(CONNECT_DATA=(SERVICE_NAME=dcap1)))]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FNDNAM]:[APPS]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_PROXY_USER]:[null]
    [062113_023121062][][EXCEPTION] [DEBUG]  [TWO_TASK]:[dcap1_balance]
    [062113_023121062][][EXCEPTION] [DEBUG]  [APPS_JDBC_DRIVER_TYPE]:[THIN]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DB_HOST]:[okdevcl1012a.okla.seagate.com]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DBC_FILE_PATH]:[C:\JDEV\jdevhome\jdev\dbc_files\secure\dcap1.dbc]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_IDLE_THRESHOLD.HIGH]:[-1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [SECURITY_GROUP_ID]:[0]
    [062113_023121062][][EXCEPTION] [DEBUG]  [LANG_CODE]:[US]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_MAX_JDBC_CONNECTIONS]:[500]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_DECAY_INTERVAL]:[300]
    [062113_023121062][][EXCEPTION] [DEBUG]  [USER_NAME]:[505543]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MAX]:[5]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DB_NAME]:[null]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_CHARACTERSET]:[AL32UTF8]
    [062113_023121062][][EXCEPTION] [DEBUG]  [ORG_ID]:[22]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DB_ID]:[dcap1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [GWYUID]:[APPLSYSPUB/PUB]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_TERRITORY]:[AMERICA]
    [062113_023121062][][EXCEPTION] [DEBUG]  [ICX_SESSION_ID]:[1231277285]
    [062113_023121062][][EXCEPTION] [DEBUG]  [JDBC:oracle.jdbc.maxCachedBufferSize]:[358400]
    [062113_023121062][][EXCEPTION] [DEBUG] ------- Properties stored in Java System Properties -------
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.vendor]:[Sun Microsystems Inc.]
    [062113_023121062][][EXCEPTION] [DEBUG]  [ajp.connection.listener.state]:[down]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.management.compiler]:[HotSpot Client Compiler]
    [062113_023121062][][EXCEPTION] [DEBUG]  [oracle.j2ee.container.version]:[10.1.3.3.0]
    [062113_023121062][][EXCEPTION] [DEBUG]  [os.name]:[Windows XP]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.boot.class.path]:[C:\JDEV\jdevbin\jdk\jre\lib\rt.jar;C:\JDEV\jdevbin\jdk\jre\lib\i18n.jar;C:\JDEV\jdevbin\jdk\jre\lib\sunrsasign.jar;C:\JDEV\jdevbin\jdk\jre\lib\jsse.jar;C:\JDEV\jdevbin\jdk\jre\lib\jce.jar;C:\JDEV\jdevbin\jdk\jre\lib\charsets.jar;C:\JDEV\jdevbin\jdk\jre\classes]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.desktop]:[windows]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.vm.specification.vendor]:[Sun Microsystems Inc.]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.runtime.version]:[1.5.0_05-b05]
    [062113_023121062][][EXCEPTION] [DEBUG]  [com.oracle.corba.ee.security.trusted.clients]:[*]
    [062113_023121062][][EXCEPTION] [DEBUG]  [oracle.security.jazn.config]:[C:\JDEV\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\jazn.xml]
    [062113_023121062][][EXCEPTION] [DEBUG]  [user.name]:[mysub]
    [062113_023121062][][EXCEPTION] [DEBUG]  [user.language]:[en]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.naming.factory.initial]:[com.evermind.server.ApplicationInitialContextFactory]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.boot.library.path]:[C:\JDEV\jdevbin\jdk\jre\bin]
    [062113_023121062][][EXCEPTION] [DEBUG]  [oc4j.jms.usePersistenceLockFiles]:[false]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.version]:[1.5.0_05]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.util.logging.manager]:[oracle.classloader.util.ApplicationLogManager]
    [062113_023121062][][EXCEPTION] [DEBUG]  [user.timezone]:[Asia/Calcutta]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.net.preferIPv4Stack]:[true]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.arch.data.model]:[32]
    [062113_023121062][][EXCEPTION] [DEBUG]  [javax.rmi.CORBA.UtilClass]:[com.sun.corba.ee.impl.javax.rmi.CORBA.Util]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.endorsed.dirs]:[C:\JDEV\jdevbin\jdk\jre\lib\endorsed]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.cpu.isalist]:[]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.jnu.encoding]:[Cp1252]
    [062113_023121062][][EXCEPTION] [DEBUG]  [file.encoding.pkg]:[sun.io]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DBCFILE]:[C:\JDEV\jdevhome\jdev\dbc_files\secure\dcap1.dbc]
    [062113_023121062][][EXCEPTION] [DEBUG]  [file.separator]:[\]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.specification.name]:[Java Platform API Specification]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.class.version]:[49.0]
    [062113_023121062][][EXCEPTION] [DEBUG]  [user.country]:[US]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.home]:[C:\JDEV\jdevbin\jdk\jre]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.vm.info]:[mixed mode]
    [062113_023121062][][EXCEPTION] [DEBUG]  [os.version]:[5.1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [org.omg.CORBA.ORBSingletonClass]:[com.sun.corba.ee.impl.orb.ORBImpl]
    [062113_023121062][][EXCEPTION] [DEBUG]  [path.separator]:[;]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.vm.version]:[1.5.0_05-b05]
    [062113_023121062][][EXCEPTION] [DEBUG]  [user.variant]:[]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.protocol.handler.pkgs]:[com.evermind.protocol]
    [062113_023121062][][EXCEPTION] [DEBUG]  [checkForUpdates]:[adminClientOnly]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.awt.printerjob]:[sun.awt.windows.WPrinterJob]
    [062113_023121062][][EXCEPTION] [DEBUG]  [RUN_FROM_JDEV]:[true]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.io.unicode.encoding]:[UnicodeLittle]
    [062113_023121062][][EXCEPTION] [DEBUG]  [com.sun.jts.pi.INTEROP_MODE]:[false]
    [062113_023121062][][EXCEPTION] [DEBUG]  [awt.toolkit]:[sun.awt.windows.WToolkit]
    [062113_023121062][][EXCEPTION] [DEBUG]  [MetaObjectContext]:[oracle.adf.mds.jbo.JBODefManager]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_TOP]:[C:\JDEV\jdevhome\jdev\dbc_files\]
    [062113_023121062][][EXCEPTION] [DEBUG]  [oracle.j2ee.http.socket.timeout]:[500]
    [062113_023121062][][EXCEPTION] [DEBUG]  [com.oracle.corba.ee.security.ssl.port]:[5659]
    [062113_023121062][][EXCEPTION] [DEBUG]  [JRAD_ELEMENT_LIST_PATH]:[C:\JDEV\jdevhome\jdev\myhtml\OA_HTML\jrad\]
    [062113_023121062][][EXCEPTION] [DEBUG]  [JTFDBCFILE]:[C:\JDEV\jdevhome\jdev\dbc_files\secure\dcap1.dbc]
    [062113_023121062][][EXCEPTION] [DEBUG]  [com.sun.CORBA.POA.ORBServerId]:[1000000]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.naming.factory.url.pkgs]:[oracle.oc4j.naming.url]
    [062113_023121078][][EXCEPTION] [DEBUG]  [user.home]:[C:\Documents and Settings\mysub]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.specification.vendor]:[Sun Microsystems Inc.]
    [062113_023121078][][EXCEPTION] [DEBUG]  [oracle.home]:[C:\JDEV\jdevbin]
    [062113_023121078][][EXCEPTION] [DEBUG]  [oracle.dms.sensors]:[5]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.library.path]:[C:\JDEV\jdevbin\jdk\bin;.;C:\WINNT\system32;C:\WINNT;D:\oracle\product\10.1.0\Db_1\bin;D:\oracle\product\10.1.0\Db_1\jre\1.4.2\bin\client;D:\oracle\product\10.1.0\Db_1\jre\1.4.2\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Windows Imaging\;D:\oracle\product\10.1.0\Db_1\jdk\jre\bin;D:\oracle\product\10.1.0\Db_1\jdk\jre\bin\client;D:\oracle\product\10.1.0\Db_1\jlib;]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.vendor.url]:[http://java.sun.com/]
    [062113_023121078][][EXCEPTION] [DEBUG]  [javax.rmi.CORBA.StubClass]:[com.sun.corba.ee.impl.javax.rmi.CORBA.StubDelegateImpl]
    [062113_023121078][][EXCEPTION] [DEBUG]  [oracle.j2ee.dont.use.memory.archive]:[true]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.vm.vendor]:[Sun Microsystems Inc.]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.runtime.name]:[Java(TM) 2 Runtime Environment, Standard Edition]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.class.path]:[C:\JDEV\jdevbin\jdk\jre\lib\rt.jar;C:\JDEV\jdevbin\jdk\jre\lib\jsse.jar;C:\JDEV\jdevbin\jdk\jre\lib\jce.jar;C:\JDEV\jdevbin\jdk\jre\lib\charsets.jar;C:\JDEV\jdevbin\jdk\jre\lib\ext\dnsns.jar;C:\JDEV\jdevbin\jdk\jre\lib\ext\localedata.jar;C:\JDEV\jdevbin\jdk\jre\lib\ext\sunjce_provider.jar;C:\JDEV\jdevbin\jdk\jre\lib\ext\sunpkcs11.jar;C:\JDEV\jdevbin\j2ee\home\oc4j-api.jar;C:\JDEV\jdevbin\j2ee\home\lib\oc4j-unsupported-api.jar;C:\JDEV\jdevbin\j2ee\home\lib\activation.jar;C:\JDEV\jdevbin\j2ee\home\lib\mail.jar;C:\JDEV\jdevbin\j2ee\home\lib\persistence.jar;C:\JDEV\jdevbin\j2ee\home\lib\ejb30.jar;C:\JDEV\jdevbin\j2ee\home\lib\ejb.jar;C:\JDEV\jdevbin\j2ee\home\lib\javax77.jar;C:\JDEV\jdevbin\j2ee\home\lib\javax88.jar;C:\JDEV\jdevbin\j2ee\home\lib\servlet.jar;C:\JDEV\jdevbin\j2ee\home\lib\jms.jar;C:\JDEV\jdevbin\j2ee\home\lib\jta.jar;C:\JDEV\jdevbin\j2ee\home\lib\jacc-api.jar;C:\JDEV\jdevbin\j2ee\home\lib\connector.jar;C:\JDEV\jdevbin\j2ee\home\lib\jmx_remote_api.jar;C:\JDEV\jdevbin\j2ee\home\lib\jax-qname-namespace.jar;C:\JDEV\jdevbin\webservices\lib\jaxr-api.jar;C:\JDEV\jdevbin\webservices\lib\jaxrpc-api.jar;C:\JDEV\jdevbin\webservices\lib\saaj-api.jar;C:\JDEV\jdevbin\webservices\lib\jws-api.jar;C:\JDEV\jdevbin\j2ee\home\lib\oc4j-internal.jar;C:\JDEV\jdevbin\j2ee\home\lib\oems-jms-oc4j.jar;C:\JDEV\jdevbin\j2ee\home\lib\oems-jms-client.jar;C:\JDEV\jdevbin\j2ee\home\lib\oems-jms-server.jar;C:\JDEV\jdevbin\j2ee\home\lib\oc4j-schemas.jar;C:\JDEV\jdevbin\j2ee\home\lib\ojsp.jar;C:\JDEV\jdevbin\j2ee\home\lib\oc4j_orb.jar;C:\JDEV\jdevbin\j2ee\home\lib\iiop_support.jar;C:\JDEV\jdevbin\j2ee\home\lib\orbbase.jar;C:\JDEV\jdevbin\j2ee\home\iiop_gen_bin.jar;C:\JDEV\jdevbin\j2ee\home\lib\jmxcluster.jar;C:\JDEV\jdevbin\j2ee\home\jaccprovider.jar;C:\JDEV\jdevbin\javavm\lib\jasper.zip;C:\JDEV\jdevbin\j2ee\home\lib\adminclient.jar;C:\JDEV\jdevbin\opmn\lib\optic.jar;C:\JDEV\jdevbin\j2ee\home\jacc-spi.jar;C:\JDEV\jdevbin\j2ee\home\jazncore.jar;C:\JDEV\jdevbin\j2ee\home\jazn.jar;C:\JDEV\jdevbin\jlib\ospnego.jar;C:\JDEV\jdevbin\jlib\ldapjclnt10.jar;C:\JDEV\jdevbin\webservices\lib\wsserver.jar;C:\JDEV\jdevbin\webservices\lib\wsif.jar;C:\JDEV\jdevbin\webservices\lib\orawsmetadata.jar;C:\JDEV\jdevbin\webservices\lib\orajaxr.jar;C:\JDEV\jdevbin\jlib\jssl-1_1.jar;C:\JDEV\jdevbin\jlib\ojmisc.jar;C:\JDEV\jdevbin\toplink\jlib\toplink-oc4j.jar;C:\JDEV\jdevbin\diagnostics\lib\ojdl2.jar;C:\JDEV\jdevbin\xqs\lib\xqs-api.jar;C:\JDEV\jdevbin\xqs\lib\xds.jar;C:\JDEV\jdevbin\jdev\lib\jdev-oc4j-embedded.jar;C:\JDEV\jdevbin\j2ee\home\lib\pcl.jar;C:\JDEV\jdevbin\j2ee\home\lib\ext;C:\JDEV\jdevbin\lib\dmsapp.jar;C:\JDEV\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\admin_ejb.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jdomorcl.jar;C:\JDEV\jdevbin\jlib\jsp-el-api.jar;C:\JDEV\jdevbin\jlib\commons-el.jar;C:\JDEV\jdevbin\jlib\oracle-el.jar;C:\JDEV\jdevbin\jlib\jewt4.jar;C:\JDEV\jdevbin\jdev\appslibrt\regexp.jar;C:\JDEV\jdevbin\jdev\appslibrt\share.jar;C:\JDEV\jdevbin\jdev\appslibrt\uix2.jar;C:\JDEV\jdevbin\oaext\mds\lib\mdsrt.jar;C:\JDEV\jdevbin\oaext\lib\mdsdt.jar;C:\JDEV\jdevbin\oaext\lib\oamdsdt.jar;C:\JDEV\jdevbin\javacache\lib\cache.jar;C:\JDEV\jdevbin\lib\xschema.jar;C:\JDEV\jdevbin\BC4J\lib;C:\JDEV\jdevbin\BC4J\lib\adfbinding.jar;C:\JDEV\jdevbin\BC4J\lib\adfcm.jar;C:\JDEV\jdevbin\BC4J\lib\adfm.jar;C:\JDEV\jdevbin\BC4J\lib\adfmweb.jar;C:\JDEV\jdevbin\BC4J\lib\adfs-jazn.jar;C:\JDEV\jdevbin\BC4J\lib\adfs.jar;C:\JDEV\jdevbin\BC4J\lib\adfshare.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jct.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jctejb.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jimdomains.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jmt.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jmtejb.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jsyscat.jar;C:\JDEV\jdevbin\BC4J\lib\collections.jar;C:\JDEV\jdevbin\jdev\appslibrt\fwkjbo.zip;C:\JDEV\jdevbin\jdev\appslibrt\fwk.zip;C:\JDEV\jdevbin\jdev\appslibrt\atg.zip;C:\JDEV\jdevbin\jdev\appslibrt\collections.zip;C:\JDEV\jdevbin\jdev\appslibrt\iasjoc.zip;C:\JDEV\jdevbin\jdev\appslibrt\rosettaRt.zip;C:\JDEV\jdevbin\jdev\appslibrt\portalFlexComps.jar;C:\JDEV\jdevbin\jdev\appslibrt\svc.zip;C:\JDEV\jdevbin\jdev\appslibrt\pat.zip;C:\JDEV\jdevbin\jdev\appslibrt\concurrent.zip;C:\JDEV\jdevbin\jdev\appslibrt\oamMaintMode.zip;C:\JDEV\jdevbin\jdev\appslibrt\fwkCabo.zip;C:\JDEV\jdevbin\jdev\appslibrt\wsrp-container.jar;C:\JDEV\jdevbin\jdev\appslibrt\pdkjava.jar;C:\JDEV\jdevbin\jdev\appslibrt\ptlshare.jar;C:\JDEV\jdevbin\jdev\appslibrt\xml.jar;C:\JDEV\jdevbin\jdev\appslibrt\wsrp-container-types.jar;C:\JDEV\jdevbin\jdev\appslibrt\jaxb-impl.jar;C:\JDEV\jdevbin\jdev\appslibrt\jaxb-libs.jar;C:\JDEV\jdevbin\jdev\appslibrt\jazn.jar;C:\JDEV\jdevbin\jdev\appslibrt\jazncore.jar;C:\JDEV\jdevbin\bibeans\lib\biamlocal.jar;C:\JDEV\jdevbin\bibeans\lib\bipres.jar;C:\JDEV\jdevbin\bibeans\lib\bicmn.jar;C:\JDEV\jdevbin\bibeans\lib\bidatasvr.jar;C:\JDEV\jdevbin\bibeans\lib\bidataclt.jar;C:\JDEV\jdevbin\bibeans\lib\bidatacmn.jar;C:\JDEV\jdevbin\bibeans\lib\biext.jar;C:\JDEV\jdevbin\bibeans\lib\bicmn-nls.zip;C:\JDEV\jdevbin\bibeans\lib\bipres-nls.zip;C:\JDEV\jdevbin\bibeans\lib\bidata-nls.zip;C:\JDEV\jdevbin\oaext\config\oac\oacfilter.jar;C:\JDEV\jdevbin\j2ee\home\lib\scheduler.jar;C:\JDEV\jdevbin\jdev\lib\jdev-rt.jar;C:\JDEV\jdevbin\jdev\lib\ojc.jar;C:\JDEV\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\connectors\datasources\datasources\datasources.jar;C:\JDEV\jdevbin\diagnostics\lib\ojdl.jar;C:\JDEV\jdevbin\lib\dms.jar;C:\JDEV\jdevbin\jdbc\lib\ojdbc14dms.jar;C:\JDEV\jdevbin\opmn\lib\ons.jar;C:\JDEV\jdevbin\jdbc\lib\ocrs12.jar;C:\JDEV\jdevbin\rdbms\jlib\aqapi.jar;C:\JDEV\jdevbin\j2ee\home\lib\ojms-provider.jar;C:\JDEV\jdevbin\jdbc\lib\orai18n.jar;C:\JDEV\jdevbin\lib\xmlparserv2.jar;C:\JDEV\jdevbin\lib\xml.jar;C:\JDEV\jdevbin\lib\xmlmesg.jar;C:\JDEV\jdevbin\lib\xsu12.jar;C:\JDEV\jdevbin\lib\xquery.jar;C:\JDEV\jdevbin\jlib\osdt_core.jar;C:\JDEV\jdevbin\jlib\osdt_cert.jar;C:\JDEV\jdevbin\jlib\osdt_xmlsec.jar;C:\JDEV\jdevbin\jlib\osdt_wss.jar;C:\JDEV\jdevbin\jlib\osdt_saml.jar;C:\JDEV\jdevbin\jlib\ojpse.jar;C:\JDEV\jdevbin\jlib\oraclepki.jar;C:\JDEV\jdevbin\toplink\jlib\toplink.jar;C:\JDEV\jdevbin\toplink\jlib\antlr.jar;C:\JDEV\jdevbin\toplink\jlib\toplink-essentials.jar;C:\JDEV\jdevbin\webservices\lib\wsclient.jar;C:\JDEV\jdevbin\webservices\lib\orasaaj.jar;C:\JDEV\jdevbin\webservices\lib\xsdlib.jar;C:\JDEV\jdevbin\webservices\lib\mdds.jar;C:\JDEV\jdevbin\webservices\lib\relaxngDatatype.jar;C:\JDEV\jdevbin\webservices\lib\soap.jar;C:\JDEV\jdevbin\sqlj\lib\runtime12.jar;C:\JDEV\jdevbin\sqlj\lib\translator.jar;C:\JDEV\jdevbin\webservices\lib\orawsdl.jar;C:\JDEV\jdevbin\j2ee\home\applib;C:\JDEV\jdevbin\j2ee\home\jsp\lib\taglib;C:\JDEV\jdevbin\j2ee\home\jsp\lib\taglib\ojsputil.jar;C:\JDEV\jdevbin\lib\dsv2.jar;C:\JDEV\jdevbin\j2ee\home\lib\http_client.jar;C:\JDEV\jdevbin\j2ee\home\lib\jgroups-core.jar;C:\JDEV\jdevhome\jdev\myhtml\OA_HTML;C:\JDEV\jdevhome\jdev\myclasses;C:\JDEV\jdevbin\jlib\jdev-cm.jar;C:\JDEV\jdevbin\BC4J\jlib\bc4jhtml.jar;C:\JDEV\jdevbin\BC4J\jlib\datatags.jar;C:\JDEV\jdevbin\BC4J\jlib\bc4juixtags.jar;C:\JDEV\jdevbin\BC4J\jlib\graphtags.jar;C:\JDEV\jdevbin\jdev\appslibrt\wsp.zip;C:\JDEV\jdevbin\jdev\appslibrt\diagnostics.jar;C:\JDEV\jdevbin\jdev\appslibrt\svctester.jar]
    [062113_023121078][][EXCEPTION] [DEBUG]  [oracle.j2ee.home]:[C:\JDEV\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j]
    [062113_023121078][][EXCEPTION] [DEBUG]  [oracle.application.environment]:[development]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.vm.specification.name]:[Java Virtual Machine Specification]
    [062113_023121078][][EXCEPTION] [DEBUG]  [JRAD_XML_PATH]:[C:\JDEV\jdevhome\jdev\myclasses\JRADXML;C:\JDEV\jdevhome\jdev\myprojects;C:\JDEV\jdevbin\jdev\oamdsxml\fwk]
    [062113_023121078][][EXCEPTION] [DEBUG]  [javax.rmi.CORBA.PortableRemoteObjectClass]:[com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject]
    [062113_023121078][][EXCEPTION] [DEBUG]  [org.omg.PortableInterceptor.ORBInitializerClass.oracle.oc4j.corba.iiop.server.IIOPInitializer]:[NO_VALUE]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.vm.specification.version]:[1.0]
    [062113_023121078][][EXCEPTION] [DEBUG]  [sun.cpu.endian]:[little]
    [062113_023121078][][EXCEPTION] [DEBUG]  [oracle.j2ee.container.name]:[Oracle Containers for J2EE 10g (10.1.3.3.0) ]
    [062113_023121078][][EXCEPTION] [DEBUG]  [sun.os.patch.level]:[Service Pack 3]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.io.tmpdir]:[C:\DOCUME~1\mysub\Local Settings\Temp\]
    [062113_023121078][][EXCEPTION] [DEBUG]  [com.sun.jts.pi.CLIENT_POLICY_CHECKING]:[false]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.vendor.url.bug]:[http://java.sun.com/cgi-bin/bugreport.cgi]
    [062113_023121078][][EXCEPTION] [DEBUG]  [com.oracle.corba.ee.security.ssl.mutual.auth.port]:[5657]
    [062113_023121078][][EXCEPTION] [DEBUG]  [FND_JDBC_STMT_CACHE_SIZE]:[200]
    [062113_023121078][][EXCEPTION] [DEBUG]  [os.arch]:[x86]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.awt.graphicsenv]:[sun.awt.Win32GraphicsEnvironment]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.ext.dirs]:[C:\JDEV\jdevbin\jdk\jre\lib\ext]
    [062113_023121078][][EXCEPTION] [DEBUG]  [user.dir]:[C:\JDEV\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config]
    [062113_023121078][][EXCEPTION] [DEBUG]  [CACHENODBINIT]:[true]
    [062113_023121078][][EXCEPTION] [DEBUG]  [line.separator]:[
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.vm.name]:[Java HotSpot(TM) Client VM]
    [062113_023121078][][EXCEPTION] [DEBUG]  [com.sun.CORBA.connection.ORBSocketFactoryClass]:[oracle.oc4j.corba.iiop.IIOPSSLSocketFactory]
    [062113_023121078][][EXCEPTION] [DEBUG]  [javax.management.builder.initial]:[oracle.oc4j.admin.jmx.server.Oc4jMBeanServerBuilder]
    [062113_023121078][][EXCEPTION] [DEBUG]  [com.oracle.corba.ee.security.use.ssl]:[false]
    [062113_023121078][][EXCEPTION] [DEBUG]  [org.omg.CORBA.ORBClass]:[com.sun.corba.ee.impl.orb.ORBImpl]
    [062113_023121078][][EXCEPTION] [DEBUG]  [file.encoding]:[Cp1252]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.specification.version]:[1.5]
    13/06/21 14:31:33 After exporting into excel sheet
    Here is my code which i have used to integrate the XML publisher:
    Code in AMImpl:
    public BlobDomain getXMLData(String user) {
    System.out.println("*** in getXMLData *** ");
    this.getOADBTransaction().writeDiagnostics(this, "*** in getXMLData ***",1);
    BlobDomain blobDomain = new BlobDomain();
    String dataDefCode = null;
    dataDefCode ="IDIS_OPENEDBYUSER_RPT";
    String dataDefApp = "SEAAR";
    try {
    System.out.println("in try b4 creating DT");
    this.getOADBTransaction().writeDiagnostics(this, "*** in try b4 creating DT ***",1);
    DataTemplate datatemplate = new DataTemplate(((OADBTransactionImpl)getOADBTransaction()).getAppsContext(),
    dataDefApp,
    dataDefCode);
    this.getOADBTransaction().writeDiagnostics(this, "*** after datatemplate ***",1);                                                   
    System.out.println("after datatemplate");
    Hashtable parameters = new Hashtable();
    parameters.put("p_last_rev", user);
    datatemplate.setParameters(parameters);   
    System.out.println("after set params");
    this.getOADBTransaction().writeDiagnostics(this, "*** after set params ***",1);
    datatemplate.setOutput(blobDomain.getOutputStream());
    System.out.println("after setOutput");
    this.getOADBTransaction().writeDiagnostics(this, "*** after setOutput***",1);
    datatemplate.processData();
    System.out.println("after processData" ); 
    this.getOADBTransaction().writeDiagnostics(this, "*** after processData***",1);
    System.out.println("blobDomain Value :"+blobDomain); 
    this.getOADBTransaction().writeDiagnostics(this,"blobDomain :: "+blobDomain,1 );
    return blobDomain;
    } catch (XDOException xdoe) {
    System.out.println("Exception in XDO :");
    throw new OAException("Exception in XDO : "+xdoe.getMessage());
    catch (SQLException sqle) {
    System.out.println("Exception in SQL :");
    throw new OAException("SQL Exception : "+sqle.getMessage());
    catch (OAException e) {
    System.out.println("Exception in OA :");
    throw new OAException("Unexpected Error :: " +e.getMessage());
    Code in Controller file:
    if (pageContext.getParameter("Export") != null)
    BlobDomain amBlobDomain ;
    String user = (String)pageContext.getTransientSessionValue("userName");
    System.out.println("User name before passing parameter to report"+user);
    Serializable[] param = { user};
    amBlobDomain = (BlobDomain)am.invokeMethod("getXMLData", param);
    Properties pdfproperties = new Properties();
    try
    DocumentHelper.exportDocument(pageContext,
    "SEAAR",
    "IDISPUTE_OPENEDBYUSER_RPT_TP",
    "en",
    "US",
    amBlobDomain.getInputStream(),
    "EXCEL",
    pdfproperties);  
    catch(Exception e) {
    System.out.println("Exception found in Document Helper");
    throw new OAException("Exception" + e.getMessage(),OAException.ERROR);
    System.out.println("After exporting into excel sheet");
    Thanks and Regards,
    Myvizhi

    Hi Peddi,
    I gave TRUNC to both of the dates. But still the same issue. I think the problem is in returning the BolbDomain.
    return blobDomain;
    } catch (XDOException xdoe) {
    System.out.println("Exception in XDO :");
    throw new OAException("Exception in XDO : "+xdoe.getMessage());
    catch (SQLException sqle) {
    System.out.println("Exception in SQL :");
    throw new OAException("SQL Exception : "+sqle.getMessage());
    catch (OAException e) {
    System.out.println("Exception in OA :");
    throw new OAException("Unexpected Error :: " +e.getMessage());
    Thanks and Regards,
    Myvizhi

  • Why we need to conver Context  Node data into XML file----Export to Excel

    Hi All,
    Let me clarify my dought........today i have gone through the concept of  "Exporting Context Data Using the Webdynpro Binary cache" in SAP Online Help.
    From the SAP Online Help pdf document, i have found that, the context node data has been converted first in to XML file,after that file had been stored in the web dynpor binary cache...bla....bla.........
    Here my qtn is why they had converted context node data into XML file. With out doing that can not we export context node data to excel file..?
    Regards
    Seshu
    Edited by: Sesshanna D on Dec 19, 2007 7:25 AM

    Hi Sesshanna,
    it is not neccessary to do that but xml has the advantage, that it can be easily transformed into every output format that might occur in later project stages.
    If it's simply about blowing out some Excel, I suggest using an OSS library such as jexcelAPI or Jakarta POI and building the Excel how you need it.
    regards,
    Christian

  • Exporting xmltype table data into xml/txt file

    I want to export data stored in oracle as xmltype table into xml format file.
    I want to use alternatives to the method shown below as my xml file is large.
    set long 10000000
    spool c:\\StudentXMLJan08.xml
    SELECT
    XMLElement("Student",
    XMLForest(s.studentid "studentid",
    s.firstname "firstname",
    s.lastname "surname"),
    XMLElement("enrollments",
    (SELECT XMLAGG(
    XMLForest(sc.coursecode "courseid"))
    FROM studentcourse sc
    WHERE sc.studentid = s.studentid
    and sc.is_approved='Y'
    and sc.takenyear='2008'
    and sc.takenterm='1')))
    FROM student s
    where s.statuscode in (select studentstatuscode from studentstatus where studentstatusactive=1)
    order by s.studentid;
    spool off
    please help, thank you

    How's this one for size
    SQL> create or replace view DEPARTMENT_XML of xmltype
      2  with object id
      3  (
      4    'DEPARTMENT'
      5  )
      6  as
      7  select xmlElement
      8         (
      9           "Departments",
    10           (
    11             select xmlAgg
    12                    (
    13                      xmlElement
    14                      (
    15                      "Department",
    16                      xmlAttributes( d.DEPARTMENT_ID as "DepartmentId"),
    17                      xmlElement("Name", d.DEPARTMENT_NAME),
    18                      xmlElement
    19                      (
    20                        "Location",
    21                        xmlForest
    22                        (
    23                           STREET_ADDRESS as "Address", CITY as "City", STATE_PROVINCE as "State",
    24                           POSTAL_CODE as "Zip",COUNTRY_NAME as "Country"
    25                        )
    26                      ),
    27                      xmlElement
    28                      (
    29                        "EmployeeList",
    30                        (
    31                          select xmlAgg
    32                                 (
    33                                   xmlElement
    34                                   (
    35                                     "Employee",
    36                                     xmlAttributes ( e.EMPLOYEE_ID as "employeeNumber" ),
    37                                     xmlForest
    38                                     (
    39                                       e.FIRST_NAME as "FirstName", e.LAST_NAME as "LastName", e.EMAIL as "EmailAddre
    ss",
    40                                       e.PHONE_NUMBER as "Telephone", e.HIRE_DATE as "StartDate", j.JOB_TITLE as "Job
    Title",
    41                                       e.SALARY as "Salary", m.FIRST_NAME || ' ' || m.LAST_NAME as "Manager"
    42                                     ),
    43                                     xmlElement ( "Commission", e.COMMISSION_PCT )
    44                                   )
    45                                 )
    46                            from HR.EMPLOYEES e, HR.EMPLOYEES m, HR.JOBS j
    47                           where e.DEPARTMENT_ID = d.DEPARTMENT_ID
    48                             and j.JOB_ID = e.JOB_ID
    49                             and m.EMPLOYEE_ID = e.MANAGER_ID
    50                        )
    51                      )
    52                    )
    53                  )
    54             from HR.DEPARTMENTS d, HR.COUNTRIES c, HR.LOCATIONS l
    55            where d.LOCATION_ID = l.LOCATION_ID
    56              and l.COUNTRY_ID  = c.COUNTRY_ID
    57           )
    58         )
    59    from dual
    60  /
    View created.
    SQL> create or replace trigger DEPARTMENT_DML
      2  instead of INSERT or UPDATE or DELETE
      3  on DEPARTMENT_XML
      4  begin
      5    null;
      6  end;
      7  /
    Trigger created.
    SQL> declare
      2    cursor getDepartments is
      3      select ref(d) XMLREF
      4        from DEPARTMENT_XML d;
      5    res boolean;
      6    targetFolder varchar2(1024) :=  '/public/Departments';
      7  begin
      8    if dbms_xdb.existsResource(targetFolder) then
      9       dbms_xdb.deleteResource(targetFolder,dbms_xdb.DELETE_RECURSIVE_FORCE);
    10    end if;
    11    res := dbms_xdb.createFolder(targetFolder);
    12    for dept in getDepartments loop
    13      res := DBMS_XDB.createResource(targetFolder || '/Departments.xml', dept.XMLREF);
    14    end loop;
    15  end;
    16  /
    PL/SQL procedure successfully completed.
    SQL> select path
      2    from path_view
      3   where equals_path(RES,'/public/Departments/Departments.xml') = 1
      4  /
    PATH
    /public/Departments/Departments.xml
    SQL> select xdburitype('/public/Departments/Departments.xml').getXML()
      2    from dual
      3  /
    XDBURITYPE('/PUBLIC/DEPARTMENTS/DEPARTMENTS.XML').GETXML()
    <Departments>
      <Department DepartmentId="60">
        <Name>IT</Name>
        <Location
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    C:\Temp>ftp localhost
    Connected to mdrake-lap.
    220- mdrake-lap
    Unauthorised use of this FTP server is prohibited and may be subject to civil and criminal prosecution.
    220 mdrake-lap FTP Server (Oracle XML DB/Oracle Database) ready.
    User (mdrake-lap:(none)): SCOTT
    331 pass required for SCOTT
    Password:
    230 SCOTT logged in
    ftp> cd /public/Departments
    250 CWD Command successful
    ftp> ls -l
    200 EPRT Command successful
    150 ASCII Data Connection
    -rw-r--r--   1 SCOTT    oracle         0 NOV 10 20:18 Departments.xml
    226 ASCII Transfer Complete
    ftp: 71 bytes received in 0.01Seconds 7.10Kbytes/sec.
    ftp> get Departments.xml -
    200 EPRT Command successful
    150 ASCII Data Connection
    <Departments><Department DepartmentId="60"><Name>IT</Name><Location><Address>2014 Jabberwocky Rd</Address><City>Southlak
    e</City><State>Texas</State><Zip>26192</Zip><Country>United States of America</Country></Location><EmployeeList><Employe
    e employeeNumber="103"><FirstName>Alexander</FirstName><LastName>Hunold</LastName><EmailAddress>AHUNOLD</EmailAddress><T
    elephone>590.423.4567</Telephone><StartDate>2006-01-03</StartDate><JobTitle>Programmer</JobTitle><Salary>9000</Salary><M
    anager>Lex De Haan</Manager><Commission></Commission></Employee><Employee employeeNumber="105"><FirstName>David</FirstNa
    me><LastName>Austin</LastName><EmailAddress>DAUSTIN</EmailAddress><Telephone>590.423.4569</Telephone><StartDate>2005-06-
    25</StartDate><JobTitle>Programmer</JobTitle><Salary>4800</Salary><Manager>Alexander Hunold</Manager><Commission></Commi
    ssion></Employee><Employee employeeNumber="106"><FirstName>Valli</FirstName><LastName>Pataballa</LastName><EmailAddress>
    VPATABAL</EmailAddress><Telephone>590.423.4560</Telephone><StartDate>2006-02-05</StartDate><JobTitle>Programmer</JobTitl
    e><Salary>4800</Salary><Manager>Alexander Hunold</Manager><Commission></Commission></Employee><Employee employeeNumber="
    107"><FirstName>Diana</FirstName><LastName>Lorentz</LastName><EmailAddress>DLORENTZ</EmailAddress><Telephone>590.423.556
    7</Telephone><StartDate>2007-02-07</StartDate><JobTitle>Programmer</JobTitle><Salary>4200</Salary><Manager>Alexander Hun
    old</Manager><Commission></Commission></Employee><Employee employeeNumber="104"><FirstName>Bruce</FirstName><LastName>Er
    nst</LastName><EmailAddress>BERNST</EmailAddress><Telephone>590.423.4568</Telephone><StartDate>2007-05-21</StartDate><Jo
    bTitle>Programmer</JobTitle><Salary>6000</Salary><Manager>Alexander Hunold</Manager><Commission></Commission></Employee>
    </EmployeeList></Department><Department DepartmentId="50"><Name>Shipping</Name><Location><Address>2011 Interiors Blvd</A
    ddress><City>South San Francisco</City><State>California</State><Zip>99236</Zip><Country>United States of America</Count
    ry></Location><EmployeeList><Employee employeeNumber="120"><FirstName>Matthew</FirstName><LastName>Weiss</LastName><Emai
    lAddress>MWEISS</EmailAddress><Telephone>650.123.1234</Telephone><StartDate>2004-07-18</StartDate><JobTitle>Stock Manage
    r</JobTitle><Salary>8000</Salary><Manager>Steven King</Manager><Commission></Commission></Employee><Employee employeeNum
    ber="122"><FirstName>Payam</FirstName><LastName>Kaufling</LastName><EmailAddress>PKAUFLIN</EmailAddress><Telephone>650.1
    23.3234</Telephone><StartDate>2003-05-01</StartDate><JobTitle>Stock Manager</JobTitle><Salary>7900</Salary><Manager>Stev
    en King</Manager><Commission></Commission></Employee><Employee employeeNumber="121"><FirstName>Adam</FirstName><LastName
    Fripp</LastName><EmailAddress>AFRIPP</EmailAddress><Telephone>650.123.2234</Telephone><StartDate>2005-04-10</StartDate><JobTitle>Stock Manager</JobTitle><Salary>8200</Salary><Manager>Steven King</Manager><Commission></Commission></Employee
    <Employee employeeNumber="124"><FirstName>Kevin</FirstName><LastName>Mourgos</LastName><EmailAddress>KMOURGOS</EmailAddress><Telephone>650.123.5234</Telephone><StartDate>2007-11-16</StartDate><JobTitle>Stock Manager</JobTitle><Salary>5800<
    /Salary><Manager>Steven King</Manager><Commission></Commission></Employee><Employee employeeNumber="123"><FirstName>Shan
    ta</FirstName><LastName>Vollman</LastName><EmailAddress>SVOLLMAN</EmailAddress><Telephone>650.123.4234</Telephone><Start
    Date>2005-10-10</StartDate><JobTitle>Stock Manager</JobTitle><Salary>6500</Salary><Manager>Steven King</Manager><Commiss
    ion></Commission></Employee><Employee employeeNumber="128"><FirstName>Steven</FirstName><LastName>Markle</LastName><Emai
    lAddress>SMARKLE</EmailAddress><Telephone>650.124.1434</Telephone><StartDate>2008-03-08</StartDate><JobTitle>Stock Clerk
    </JobTitle><Salary>2200</Salary><Manager>Matthew Weiss</Manager><Commission></Commission></Employee><Employee employeeNu
    mber="127"><FirstName>James</FirstName><LastName>Landry</LastName><EmailAddress>JLANDRY</EmailAddress><Telephone>650.124
    .1334</Telephone><StartDate>2007-01-14</StartDate><JobTitle>Stock Clerk</JobTitle><Salary>2400</Salary><Manager>Matthew
    Weiss</Manager><Commission></Commission></Employee><Employee employeeNumber="126"><FirstName>Irene</FirstName><LastName>
    Mikkilineni</LastName><EmailAddress>IMIKKILI</EmailAddress><Telephone>650.124.1224</Telephone>
    <StartDate>2002-06-07</St
    artDate><JobTitle>Public Relations Representative</JobTitle><Salary>10000</Salary><Manager>Neena Kochhar</Manager><Commi
    ssion></Commission></Employee></EmployeeList></Department></Departments>226 ASCII Transfer Complete
    ftp: 40392 bytes received in 0.08Seconds 480.86Kbytes/sec.
    ftp>

  • Export report to XML not working w/embedded &'s in data

    I saw a post about this from April but no one responded. I'm getting an error trying to export a report to XML when the data contains ampersands. Is there a way around this problem?
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    Whitespace is not allowed at this location. Error processing resource 'file:///C:/Documents and Settings/...
    <ADDRESS>Industrial & Electronic Sector</ADDRESS>
    -----------------------^

    You can edit the SQL for your "Export:XML" report directly to convert the data. For example, if the report query is something like this:
    SELECT id, name, description FROM mytable[pre]
    you might change it to something like this:
    [pre]SELECT id, HTF.escape_sc(name) AS name, HTF.escape_sc(description) AS description FROM mytable[pre]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Import/export data from ms sql 7 to xml file in a particular xpdl format

    I'm trying to write java program to import/export data from ms sql 7 to xml file in a particular xpdl format. Can anyone suggest how to do it?

    take a glance at what these guys do: http://www.openbusinessengine.org/docs/guide.html

  • Exporting data from database tables to a XML file

    Hi,
    We want to export data from Oracle database tables to an XML
    file. What tool can we use for this purpose, and how do we go
    about it ?
    Can we extract data only from an Oracle8 database, or can we
    extract data from Oracle7.3 databases too ?
    Any help in this regard would be appreciated.
    Thanks
    Dipanjan
    null

    Dipanjan (guest) wrote:
    : Hi,
    : We want to export data from Oracle database tables to an XML
    : file. What tool can we use for this purpose, and how do we go
    : about it ?
    : Can we extract data only from an Oracle8 database, or can we
    : extract data from Oracle7.3 databases too ?
    : Any help in this regard would be appreciated.
    : Thanks
    : Dipanjan
    Start by downloading the XML SQL Utility and make sure you have
    the approriate JDBC 1.1 drivers installed for your database.
    There are samples which will get you going included in the
    archive.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Exporting form field data to xml

    Hello,
    I want to export pdf form data to xml file.
    I don't want to use adobe Livecycle Designer.
    I want to save the data in xml file where pdf file is present.
    i have created button as export.
    when user clciks on export button, the data has to be exported to xml file.
    how can i do this using Java script, is there any sample code available?
    Please help me
    Thanks in avance,

    thanks for your help.
    I want to save form data to xfdf file, on click of button.
    I have written below code in one .js file.
    Export = app.trustPropagatorFunction(function(oDoc, sPath, bXDP, sPackets)
    app.beginPriv();
    oDoc.exportXFAData(sPath, bXDP);
    app.endPriv();
    TrustedExportXFAData = app.trustedFunction(function(oDoc, sPath, bXDP, sPackets)
        var bSuccess = false;
        app.beginPriv();
        try {
            Export(oDoc, sPath, bXDP, sPackets);
            bSuccess = true;
        catch(e){
            app.alert(sPath  + " NOT exported!\n" + e.message + "\n" + e.name);
        app.endPriv();
        return( bSuccess );
    on button mouseup action i am calling trusted function as
    TrustedExportXFAData(this, "/c/testing", "True", "*");
    I am getting error as /c/testing NOT exported
    Secuirty settings prevent access to this property or method.
    NotAllowedError.
    Please help me to solve this issue.a

Maybe you are looking for

  • Any updates on the remote Menu button

    I haven't seen anything lately on the issue of using the remote's "Menu" button to access play lists etc when the video ipod is hooked up to a TV via the doc and an AV cable. Are there any updates on this? I am getting kind of tired of having to walk

  • Abap code for splitting date needed

    Hi Experts, I need ABAP code or a function module to split date into date, month and year. As I have very little knowledge in ABAP, I do not know how to do it. Kindly help me. Thanks in advance, With Kind Regards, Kannan

  • Foxfire version 22 is a disaster

    Version 22 has numerous defects. I wonder how this happened since it has ALWAYS been so dependable. Copy and paste functions won't work or are erratic. The web pages are over large and "blooming" sometimes appear "out of focus." These issues began im

  • Continued Problem (several weeks)with iArtwork not showing up

    I just don't get it, my artwork is still not showing up. The generic image is appearing for my podcast. My images do appear when the podcast plays, but the generic image is still appearing on my podcast page. I know the feed is correct. itunes contin

  • Please help!!!  How to obtain UIData instance?

    Hi, I have an <h:dataTable> tag on a .jsp which has its value bound to a backing bean property of a concrete implementation of DataModel. In the backing bean, I'd like to set the "First" property of the corresponding UIData component, but I don't kno