Help in loading the xml file using AS 2.0
Hi
I try to load the Xml file in As file but i need do all the
fetching details from the __LoadXmlFile file function
but it's working fine can any one help me for this issue
~~Sk
You can't! Well, at least Flex cannot do this. All Flex can
do is send this data -- any data -- to the server and it's up to
you how you want to append this data to a file on the server.
You see, flex can't write to local files. If you looking for
client side file manipulation, take a look at Flex's desktop
brother call AIR!
ATTA
Similar Messages
-
Error while running the XML file using XML Publisher Desktop
Hi All,
We have successfully loaded the XML file using XML Publisher Desktop.But when we try to preview it using the PDF format we are getting the following error.
Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
Run XDO Start
RTFProcessor setLocale: en-us
FOProcessor setData: C:\Documents and Settings\smanmadh\Desktop\ProductCompensationDT.xml
FOProcessor setLocale: en-us
java.lang.NullPointerException
at oracle.apps.xdo.template.fo.area.PageNumber.formatString(PageNumber.java:104)
at oracle.apps.xdo.template.fo.IDManager.registerId(IDManager.java:44)
at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageJoinSeq(AreaTree.java:1106)
at oracle.apps.xdo.template.fo.area.AreaTree.incrementJoinSequenceIndex(AreaTree.java:219)
at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageDocument(AreaTree.java:1089)
at oracle.apps.xdo.template.fo.area.AreaTree.forceOutput(AreaTree.java:471)
at oracle.apps.xdo.template.fo.elements.FORoot.end(FORoot.java:58)
at oracle.apps.xdo.template.fo.FOHandler.endElement(FOHandler.java:386)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:279)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1022)
at RTF2PDF.runRTFto(RTF2PDF.java:626)
at RTF2PDF.runXDO(RTF2PDF.java:460)
at RTF2PDF.main(RTF2PDF.java:251)
Any pointers will be of great help.
Thanks in Advance
Sudeep.2¢
I had a similar error which when I searched, came up with this thread.
My issue was resolved after I discovered that my RTF template was not really RTF. It was sill in MS Word DOC format. This was discovered by reviewing two templates in NOTEPAD. The MS-DOC files have a lot of "special" characters in them. My RTF was not really RTF.
After doing a SAVE AS - RTF format, then the preview worked as expected.
Just Sharing...
--Tim -
Getting error while running the XML file using XML Publisher Desktop
Hi all,
We have successfully loaded the XML file using XML Publisher Desktop. But when we preview the same using PDF format we are getting the following error.
Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
Run XDO Start
RTFProcessor setLocale: en-us
FOProcessor setData: C:\Documents and Settings\smanmadh\Desktop\ProductCompensationDT.xml
FOProcessor setLocale: en-us
java.lang.NullPointerException
at oracle.apps.xdo.template.fo.area.PageNumber.formatString(PageNumber.java:104)
at oracle.apps.xdo.template.fo.IDManager.registerId(IDManager.java:44)
at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageJoinSeq(AreaTree.java:1106)
at oracle.apps.xdo.template.fo.area.AreaTree.incrementJoinSequenceIndex(AreaTree.java:219)
at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageDocument(AreaTree.java:1089)
at oracle.apps.xdo.template.fo.area.AreaTree.forceOutput(AreaTree.java:471)
at oracle.apps.xdo.template.fo.elements.FORoot.end(FORoot.java:58)
at oracle.apps.xdo.template.fo.FOHandler.endElement(FOHandler.java:386)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:279)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1022)
at RTF2PDF.runRTFto(RTF2PDF.java:626)
at RTF2PDF.runXDO(RTF2PDF.java:460)
at RTF2PDF.main(RTF2PDF.java:251)
Thanks in Advance.
Sudeep.This is BI related. You will get a quicker answer from the BI Publisher forum
BI Publisher -
Error while encrypting the xml file using asymmetric cipher...pls help
i am encryption the xml file using asymmetric cyper....
in one class , i am generating private key and public key using "RSA" algorithm..using 1024 byte initialization...
it is generating properly...
and after that in second class i am encrypting the xml file using "DESede" algorithm and i am using public key of above class..
but i am getting exceptione :
java.security.InvalidKeyException: Invalid key length: 162 bytes
at com.sun.crypto.provider.DESedeCipher.engineGetKeySize(DashoA6275)
at javax.crypto.Cipher.init(DashoA6275)
at XmlEncryption.getEncryptedData(XmlEncryption.java:147)
at XmlEncryption.encryptCompleteXmlFile(XmlEncryption.java:123)
at demoXmlEncApp.simulateBookSellersEnd(demoXmlEncApp.java:72)
at demoXmlEncApp.main(demoXmlEncApp.java:29)
so, what is that ?
i want to use RSA algo for key generatiion and DESede for cipher initialization .
is there any site for where source code of xml file encryption using asymmetric cipher is available?
pls, help me.....Sachin,
What sabre150 is trying to explain to you, is that encrypting data (such as an XML file) is a 2-step process. In the first step, you generate a symmetric key (such as DES, 3DES, AES) and encrypt your file with this key (and the appropriate mode and padding).
In order to ensure that your encrypted data cannot be decrypted by unauthorized individuals, you now need to protect the symmetric key. Encrypting your symmetric key with another symmetric key does not solve the problem, since you have a chain of symmetric keys that need to be encrypted into infinity.
Cryptographers solve this problem by encrypting the symmetric key with an asymmetric key, such as as RSA. To perform this second step, you generate an RSA key-pair, encrypt the symmetric key you generated in step 1 with the Public key of the RSA key-pair, and give the recipient of the encrypted XML file, access to the Private key of the RSA key-pair as well as the encrypted symmetric key.
The recipient, then uses the RSA Private key to decrypt the symmetric key first, and then uses the "plaintext" symmetric key to decrypt the XML file.
What sabre150 was also attempting to explain to you, is the traditional way of transporting an encrypted "blob" that consists of data + symmetric key. With a modern key-management system, combining the two would be unnecessary. -
How to read the attribute of the xml file using jaxb
Thanks,
Buddy as i have a issue i have to read the xml file using jaxb and xml file contains this data and i have read the attribute like name , desc and action for a particular menu name pls tell the code how to do this it will be a great favour to me
thanx in advance
Rasool
<contextmenu>
<menu name='Lead' >
<menuitem name='newlead' desc='New Lead' action='/leads.do?dispatch=insert' />
<menuitem name='editlead' desc='Edit Lead' action='' />
<menuitem name='leadinfo' desc='Lead Information' action='' />
</menu>
<menu name='Cases' >
<menuitem name='' desc='' action='' />
<menuitem name='' desc='' action='' />
<menuitem name='' desc='' action='' />
</menu>
<menu name='Contact' >
<menuitem name='' desc='' action='' />
<menuitem name='' desc='' action='' />
<menuitem name='' desc='' action='' />
</menu>
</contextmenu>What my program do is to get the encoding of XML files and convert them to UTF-8 encoding files, while I need this "encoding" information of the original XML document thus I can convert...
After reading specifications and JDOM docs, the truth turns to be disappointed, no function is provided to get this information in JDOM level 2(the current released one), while it's promissed that this function will be provided in JDOM level API....
Thanx all for your help and attention!!! -
Hi all experts,
I am in Oracle Enterprise Manager 11g 11.2.0.1.0.
SQL*Plus: Release 11.2.0.1.0 Production on Tue Feb 22 11:40:23 2011
is there anyone know why
SQL> create or replace directory XMLDIR as '/xdb/faq/testdata'
2 /
SQL> set long 10000 pages 200 lines 150
SQL> --
SQL> select xmltype(bfilename('XMLDIR','2003.xml'),nls_charset_id('AL32UTF8'))
2 from dual
worked. but
SQL> create or replace directory XMLDIR as 'C:\Drag_list\Modified';
SQL> select xmltype(bfilename('XMLDIR','2011.xml'),nls_charset_id('AL32UTF8'))
from dual
did not work?
IS there any way I can load the .xml file list from 'C:\Drag_list\Modified' into xmltype table?
Thanks.did not work?Generally we'll need a bit more info than "it didn't work", was there an ora-X error message? What was the error?
Assuming you're on *nix a 'C:\<folder name>\...' directory spec just plain won't work, the directory has to point to a valid storage location on the database server host.
Try a host command (at the database server) and make sure the .xml file name and location is valid, in sqlplus a "bang" (exclamation) runs a host command, i.e.:
SQL> !ls -l /xdb/faq/testdata
... usr grp ... 2003.xml
...But if you are on windows, its the `host` command:
SQL> host dir c:\drag_list\modified
mm/dd/yyyy ... 2011.xml
... The create directory ... as ... must point to a valid storage location for it to work, at least that is step one. -
Hi all experts,
I am in Oracle Enterprise Manager 11g 11.2.0.1.0.
SQL*Plus: Release 11.2.0.1.0 Production on Tue Feb 22 11:40:23 2011
is there anyone know why
SQL> create or replace directory XMLDIR as '/xdb/faq/testdata'
2 /
SQL> set long 10000 pages 200 lines 150
SQL> --
SQL> select xmltype(bfilename('XMLDIR','2003.xml'),nls_charset_id('AL32UTF8'))
2 from dual
worked. but
SQL> create or replace directory XMLDIR as 'C:\Drag_list\Modified';
SQL> select xmltype(bfilename('XMLDIR','2011.xml'),nls_charset_id('AL32UTF8'))
from dual
did not work?
IS there any way I can load the .xml file list from 'C:\Drag_list\Modified' into xmltype table?
Thanks.
Edited by: Cow on Apr 13, 2011 12:58 AMThis is a question better suited for the sql and pl/sql support forum, since it is NOT an APEX based question..: PL/SQL
Thank you,
Tony Miller
Webster, TX
On the road of life...There are 'windshields', and there are 'bugs'
(splat!)
"Squeegees Wanted"
If this question is answered, please mark the thread as closed and assign points where earned.. -
Help for loading of XML File into Oracle 10.2 DB.
Hello People,
I need help with below XML File, I need to get it loaded into Oracle 10.2.After brainstorming I could have figured out 2 best ways to do so :
1.Through ctrl file and log file using SQL Loader
2.Using XQuery and XML datatype.
Tried with option 1 but dint succeed.Could you please help me out with a solution of the same ??
<?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>
- <sta:entity-data xmlns:sta="http://www.vendavo.com/omi/StandardDeal" xsi:schemaLocation="http://www.vendavo.com/omi/StandardDeal StandardDeal-ImportAgreement 100912 - Updated.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <StandardDeal>
<IsImported>true</IsImported>
<ModelNReferenceID>00144105-009-000</ModelNReferenceID>
<DealName>00144105-009-000CV Magellan Arteriocyte Inc 1164385</DealName>
<AccountGroup>SoldTo</AccountGroup>
<CustomerSalesData.VCustomer.VName>0001164385</CustomerSalesData.VCustomer.VName>
<DistrictManager />
<MultipleSalesReps>false</MultipleSalesReps>
<OnBehalfOf>Brian Smith</OnBehalfOf>
<FOBDestination>false</FOBDestination>
<ConsultingGroupInformation />
<AgreementStartDate>11/15/2007</AgreementStartDate>
<AgreementEndDate>12/31/2013</AgreementEndDate>
<BaselineReviewDate>01/10/2013</BaselineReviewDate>
<BaseLineReviewPeriod>Quarterly</BaseLineReviewPeriod>
<RequestedDate>10/12/2012</RequestedDate>
<RFPDueDate>10/12/2012</RFPDueDate>
<WaiveFreight>false</WaiveFreight>
- <HeaderDiscountPercentageoffALP>
- <VPercentage documentId="1">
<Amount>0</Amount>
</VPercentage>
</HeaderDiscountPercentageoffALP>
<CustomerCommitmentType>Others</CustomerCommitmentType>
<ManualApproval>true</ManualApproval>
<LegalReviewRequired>false</LegalReviewRequired>
<TechnologyClause>false</TechnologyClause>
<ComplianceTracking>false</ComplianceTracking>
<ComplianceStatus>false</ComplianceStatus>
<VState.VLabel>draft</VState.VLabel>
<Eval>false</Eval>
<CustomerAccepted>true</CustomerAccepted>
<VNotes>CV Magellan Arteriocyte Inc 1164385</VNotes>
- <VItems>
- <StandardDealLineItem documentId="5235485">
<IsImported>true</IsImported>
<VCatalogEntity.VName>MAG100</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235486">
<IsImported>true</IsImported>
<VCatalogEntity.VName>MAG100</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>19</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>05/31/2009</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235487">
<IsImported>true</IsImported>
<VCatalogEntity.VName>MAG100</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>74</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>12/31/2013</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235489">
<IsImported>true</IsImported>
<VCatalogEntity.VName>MAG200</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235490">
<IsImported>true</IsImported>
<VCatalogEntity.VName>MAG200</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>19</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>05/31/2009</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235491">
<IsImported>true</IsImported>
<VCatalogEntity.VName>MAG200</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>74</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>12/31/2013</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235493">
<IsImported>true</IsImported>
<VCatalogEntity.VName>RMAG100</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235494">
<IsImported>true</IsImported>
<VCatalogEntity.VName>RMAG100</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>74</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>12/31/2013</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235495">
<IsImported>true</IsImported>
<VCatalogEntity.VName>RMAG100</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>19</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>05/31/2009</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235497">
<IsImported>true</IsImported>
<VCatalogEntity.VName>309604</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235498">
<IsImported>true</IsImported>
<VCatalogEntity.VName>309604</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>74</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>12/31/2013</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235499">
<IsImported>true</IsImported>
<VCatalogEntity.VName>309604</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>19</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>05/31/2009</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235501">
<IsImported>true</IsImported>
<VCatalogEntity.VName>309653</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235502">
<IsImported>true</IsImported>
<VCatalogEntity.VName>309653</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>74</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>12/31/2013</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235503">
<IsImported>true</IsImported>
<VCatalogEntity.VName>309653</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>19</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>05/31/2009</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235505">
<IsImported>true</IsImported>
<VCatalogEntity.VName>BOS350</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235506">
<IsImported>true</IsImported>
<VCatalogEntity.VName>BOS350</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>19</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>05/31/2009</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235655">
<IsImported>true</IsImported>
<VCatalogEntity.VName>AMS300</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>74</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>12/31/2013</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
</VItems>
</StandardDeal>
</sta:entity-data>
Regards,
Ekta1.Through ctrl file and log file using SQL LoaderPlease clarify :
Do you want to load the entire file into a single column (XMLType or CLOB), or do you want to extract XML data and store it into different relational columns?
Please also edit your first post and use tags to enclose the XML source, and do not copy/paste directly from your browser, use "view source" feature so that the content doesn't retain navigation characters (+/-).
Edited by: odie_63 on 11 nov. 2012 13:20 -
How to load the XML file to BW3.5
Hi Gurus,
i am following the steps for extracting the data from XML to 3.5 following the steps in the HOWTOSENDXMLDATATOBW.doc. i have a doubt at the 22 nd Point where in the document given that jump to point 26 for 3.5 version. But where we need to specify the path of the XML file. Used the Tcode WSADMIN to test the Webservices, but i am unable to load the delta due to the above problem. what are the steps i need to follow in WSADMIN. We are using SOAPservice in BW.
Please help me for finding the soluction for XML loading of the delta data to BW.
Thanks,
James
Message was edited by:
james winsletHi,
I am sending you a link that will provide you with some good idea on XML File Uploading....
How to upload XML flat file
Hope this helpful... award points
regards,
raj
Message was edited by:
gangaraju mullapudi -
How to parse the xml file using servlet
My scenario is like this:
<b>FILE-->XI-->J2EE Application</b>
XI sends the xml file to j2ee application. My servlet receives the file in HTTPRequest string.
How to parse that file using servlets.I should get the xml file as it is and should be displayed in the browser.
Can anyone please help me with code, its urgent.
Please help me!Download this java code
http://java.sun.com/webservices/jaxp/dist/1.1/docs/tutorial/sax/work/Echo02.java
in your servlet code you can write
public void doPost(req,resp){
DefaultHandler handler = new Echo02();
handler.parse(req.getInputStream());
Offcourse you will need to modify the code of Echo02 class a bit to suit your requirement which would finally retrun you a string and you can then write it using
respose.getWriter().write(responseString); -
Loading Large XML files using plsql
I have a process where there is a need to load large xml files (i.e. easily over 500k or more) into Oracle via an interface. Preference would be to use plsql or some plsql based utility if possible. I am looking for any suggestions on the best method to accomplish this. Currently running on 9.2.0.6. Thanks in advance.
I have a process where there is a need to load large xml files (i.e. easily over 500k or more) into Oracle via an interface. Preference would be to use plsql or some plsql based utility if possible. I am looking for any suggestions on the best method to accomplish this. Currently running on 9.2.0.6. Thanks in advance.
-
Error while loading the jar file using loadjava
Hi,
I'm trying to load a jar file in to a database through the loadjava utility. First time when i loaded a jar file it created few public synonyms with /'s. like /5b3d7f97_BeanInfoIndexer.
Now i want to drop these synonyms before i reload the jar file with loadjava.
If i use DROP PUBLIC SYNONYM /5b3d7f97_BeanInfoIndexer; it gives the following error...
ERROR at line 1:
ORA-00933: SQL command not properly ended
I wonder how to drop these synonyms. I have to drop all these synonyms to freshly load the jar file.
Thanks
ShivaYou can include the synonym names in double quotes in the drop synonym command. But it is not a good idea to drop the synonyms(which have been created by loadjava) using drop synonym command. Instead, you can use dropjava command which will automatically drop all the synonyms created by the loadjava command.
-
Hi all,
I want to update the xml file node values.I tried this but the node values is not updating ie not changing
This is my code
This my jsp page
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ page import="javax.xml.parsers.DocumentBuilderFactory,
javax.xml.parsers.DocumentBuilder,org.w3c.dom.*,org.w3c.dom.Element"
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<%try
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document doc = db.parse("http://localhost:8084/XmlApplication1/sss.xml");
String name = "Banglore";
NodeList nlst = doc.getElementsByTagName("name");
Node node= nlst.item(0).getFirstChild();
// Node nod2=node.getFirstChild();
node.setNodeValue(name);
catch(Exception e)
out.println(e) ;
%>
This is my xml file
<?xml version="1.0" encoding="UTF-8"?>
<place>
<name>chennai</name>
</place>
plz do some help to update this valuei tried this but the data is just transfereinf in xml file but its not over writet he content in xml file.
i send my code
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ page import="javax.xml.parsers.DocumentBuilderFactory,
javax.xml.parsers.DocumentBuilder,org.w3c.dom.*,org.w3c.dom.Element"
%>
<%@ page import=" org.w3c.dom.*,java.io.File,java.io.IOException,java.io.OutputStream,java.io.FileOutputStream,
javax.xml.parsers.*,
javax.xml.transform.*,
javax.xml.transform.dom.*,
javax.xml.transform.stream.*
" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<%
String bgcolor = request.getParameter("bgcolor");
String heading = request.getParameter("heading");
String fontsize = request.getParameter("fontsize");
String fontcolor = request.getParameter("fontcolor");
String str1="";
String str2="";
try{
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document doc = db.parse("http://localhost:8084/XmlApplication1/input.xml");
Document tempDocument = doc;
DOMSource source = new DOMSource(tempDocument);
NodeList n11 = doc.getElementsByTagName("bgcolor");
Node n1= n11.item(0).getFirstChild();
str1 = n1.getNodeValue();
out.println(str1);
n1.setNodeValue(bgcolor);
out.println("After change");
str2 = n1.getNodeValue();
out.println(str2);
NodeList n12 = doc.getElementsByTagName("heading");
Node n2= n12.item(0).getFirstChild();
String str11 = n2.getNodeValue();
out.println(str11);
n2.setNodeValue(heading);
out.println("After change");
String str22 = n2.getNodeValue();
out.println(str22);
NodeList n13 = doc.getElementsByTagName("fontsize");
Node n3= n13.item(0).getFirstChild();
String str13 = n3.getNodeValue();
out.println(str13);
n3.setNodeValue(fontsize);
out.println("After change");
String str23 = n3.getNodeValue();
out.println(str23);
NodeList n14 = doc.getElementsByTagName("fontcolor");
Node n4= n14.item(0).getFirstChild();
String str14 = n4.getNodeValue();
out.println(str14);
n4.setNodeValue(fontcolor);
out.println("After change");
String str24 = n4.getNodeValue();
out.println(str24);
// File file = new File("D:/Leela/XmlApplication1/build/web/input.xml");
OutputStream outStream = new FileOutputStream("D:/Leela/XmlApplication1/build/web/input.xml");
StreamResult result = new StreamResult(outStream);
Transformer xformer = TransformerFactory.newInstance().newTransformer();
System.out.println("Wrote to new file");
xformer.transform(source, result);
outStream.flush();
outStream.close();
catch(Exception e)
out.println();
%>
</body>
</html>
the xml file shows the same content its not ovwr writing
<?xml version="1.0" encoding="UTF-8"?>
<input>
<bgcolor>DarkCyan</bgcolor>
<heading>4</heading>
<fontsize>12</fontsize>
<fontcolor>DodgerBlue</fontcolor>
</input> -
Error while loading loading a xml file using a batchxmlloader.java file
Hi All,
I am trying to to load the data of an xml to the order management and configurations tables of 11i. While doing this i am using a java program batchxmlloader.java while executing it its giving me the errors as shown below. can anyone help me to remove these errors?
java.lang.NoClassDefFoundError: javax/jms/JMSException
at oracle.apps.fnd.wf.bes.ConnectionManager$1.run(ConnectionManager.jav)
at oracle.apps.fnd.wf.bes.Utilities$1.run(Utilities.java:558)
at java.lang.Thread.nextThreadNum(Unknown Source)
Failed to establish Java Business Event System control connection: databaseId =n
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnv)
at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:68)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.Toolkit$2.run(Toolkit.java:512)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:503)
at java.awt.Toolkit.getEventQueue(Toolkit.java:1176)
at java.awt.EventQueue.invokeLater(EventQueue.java:511)
at javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1091)
at javax.swing.Timer.post(Timer.java:342)
at javax.swing.TimerQueue.postExpiredTimers(TimerQueue.java, Compiled C)
at javax.swing.TimerQueue.run(TimerQueue.java, Compiled Code)
at java.lang.Thread.nextThreadNum(Unknown Source)
Exception in thread "main" java.lang.UnsatisfiedLinkError: XstartUnsatisfiedRels
at oracle.apps.cz.logic.Engine.modifyBOM(Engine.java, Compiled Code)
at oracle.apps.cz.logic.LogicConfig.assertDefaults(LogicConfig.java, Co)
at oracle.apps.cz.cio.Configuration$UnsatisfiedRulesIterator.<init>(Con)
at oracle.apps.cz.cio.Configuration.addCompInstancesInOrder(Configurati)
at oracle.apps.cz.cio.InstanceBase.hasUnsatisfiedRules(InstanceBase.jav)
at oracle.apps.cz.cio.BomInstance.getSelectableChildren(BomInstance.jav)
at oracle.apps.cz.cio.Configuration.saveInternal(Configuration.java, Co)
at oracle.apps.cz.cio.Configuration.createRuntimeTree(Configuration.jav)
at oracle.apps.cz.cio.xml.CzXmlConfiguration.<init>(CzXmlConfiguration.)
at oracle.apps.cz.cio.xml.CzXmlLoaderEventListener.processDocumentEleme)
at oracle.apps.util.dataload.xml.BatchXmlLoaderHandler.endElement(Batch)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingP)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidat)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidating)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java, Compiled Code)
at oracle.apps.util.dataload.xml.BatchXmlLoader.log(BatchXmlLoader.java)
at oracle.apps.util.dataload.xml.BatchXmlLoader.<init>(BatchXmlLoader.j)
at oracle.apps.util.dataload.xml.BatchXmlLoader.initialise(BatchXmlLoad)
Thanks in well advance.
Regards,
Sarang.A.MehtaI feel th entry in the property file is wrong....
it should be name=abc.xml dont enclise in quotes... -
Loading big XML files using JDBC gives errors
Hi,
I've created a XMLType table using binary storage, with the restriction that any document stored has a (any) schema:
CREATE TABLE XMLBIN OF XMLTYPE
XMLTYPE STORE AS BINARY XML
ALLOW ANYSCHEMA;Then I use JDBC to store a relatively large document using the following code:
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
String connectionString = "jdbc:oracle:thin:@host:1521:sid";
File f = new File("c:\\temp\\big.xml");
Connection conn = DriverManager.getConnection(connectionString, "username", "password");
XMLType xml = XMLType.createXML(conn,new FileInputStream(f));
String statementText = "INSERT INTO xmlbin VALUES (?)";
OracleResultSet resultSet = null;
OracleCallableStatement statement = (OracleCallableStatement)conn.prepareCall(statementText);
statement.setObject(1,xml);
statement.execute();
statement.close();
conn.commit();
conn.close();Loading a file of 61Mb (real Mb, in non-IT Mb (where 1Mb seems to be 10^6) it is 63.9Mb) or less doesn't give any errors, loading a file bigger then that gives the following error:
java.sql.SQLRecoverableException: Io exception: Software caused connection abort: socket write error
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:101)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:229)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:458)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:960)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3482)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3856)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1373)
at jdbctest.Tester.main(Tester.java:60)A succesful insert of a 63Mb file takes about 23 seconds to execute. The 70Mb file fails already after a few seconds, so I'm ruling out any time outs.
I'm guessing there are some buffers that need to be enlarged, but don't have a clue which ones.
Anyone any idea what might cause the problem and how to resolve?
My server runs Oracle 11g Win32. The client is Windows running Sun Java 1.6, using ojdbc6.jar and Oracle 11g Client installed.
Cheers,
HaraldHi Mark,
The trace log in the OEM shows me:
Errors in file d:\oracle11g\app\helium\diag\rdbms\helium\helium\trace\helium_ora_6948.trc (incident=7510): ORA-07445: exception encountered: core dump [__intel_new_memcpy()+613] [ACCESS_VIOLATION] [ADDR:0x0] [PC:0x6104B045] [UNABLE_TO_WRITE] [] If needed I can post the full contents (if I find out how, am still a novice :-))
Cheers,
Harald
Maybe you are looking for
-
Please can someone advise in simple terms, I am so confused! I have recently moved with my young family from the UK to the USA. We are hoping this will be a permanent move, but this is yet to be confirmed. We will be visiting the uk hopefully every y
-
Hi, i'm trying to use annotation in my code, but the compiler show following error message: (try -source 1.5 to enable annotations) my jdk defaullt is jdk 1.5 help.
-
Java 1.4.2_02 javax package
Hello, I downloaded and installed: java version "1.4.2_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03) Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode) But when I try to import javax the compiler cannot find it. I
-
How do you configure the iMac so separate users can access each other's files, especially iPhoto and iTunes? I need to be able to transfer media between two users and not just gain limited access using 'share'.
-
Why linked parameter disappears from report in newer versions?
We are migrating some applications from Crystal Reports 9 and VB6 to C# and Crystal Reports 13.0. We are using same old .rpt without modifications. Some of them contain sub reports with linked parameters pointing to formula fields, and when we try to