XML email Bursting error in R12
Hi,
We are calling Bursting Concurrent program ‘XDOBURSTREP’ from our custom package in order to send emails separately to required customers.
Bursting Conc.Prog is giving the following error.
Log file is as follows:
[070212_125055615][][EXCEPTION] java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:394)
at oracle.apps.xdo.oa.cp.CPUtil.setProperty(CPUtil.java:67)
at oracle.apps.xdo.oa.cp.CPUtil.getSessionProperties(CPUtil.java:45)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:84)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
XML/BI Publisher Version : 5.6.3
Request ID: 534793
All Parameters: Dummy for Data Security=:ReportRequestID=534792:DebugFlag=Y
Report Req ID: 534792
Debug Flag: Y
Updating request description
Updated description
Retrieving XML request information
Node Name:PURNA
Preparing parameters
null output =/BIBS1/bibs/FUT2/inst/apps/BIBSFUT2_purna/logs/appl/conc/out/o534793.out
inputfilename =/BIBS1/bibs/FUT2/inst/apps/BIBSFUT2_purna/logs/appl/conc/out/o534792.out
Data XML File:/BIBS1/bibs/FUT2/inst/apps/BIBSFUT2_purna/logs/appl/conc/out/o534792.out
Set Bursting parameters..
Temp. Directory:/usr/tmp
[070212_125057111][][STATEMENT] Oracle XML Parser version ::: Oracle XML Developers Kit 10.1.3.5.0 - Production
[070212_125057333][][STATEMENT] setOAProperties called..
Bursting propertes.....
{user-variable:cp:territory=US, user-variable:cp:ReportRequestID=534792, user-variable:cp:language=en, user-variable:cp:responsibility=50661, user-variable.OA_MEDIA=http://purna.ad.infosys.com:8004/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=534792, user-variable:cp:locale=en-US, user-variable:cp:user=SEETHALAKSHMI_R01, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=534793, user-variable:cp:reportdescription=BIBS Network Buyback Invoice Report, user-variable:cp:Dummy for Data Security=}
Start bursting process..
Bursting process complete..
Generating Bursting Status Report..
Start of log messages from FND_FILE
End of log messages from FND_FILE
And the output for the burst conc.prog is as follows:
<LOG>Error!! Could not deliver the output for Delivery channel:null . Please check the Log for error details..</LOG>
Can someone help me on this. It’s a bit urgent…..Please suggest!!!
Thanks,
Teja
Control file I used:
<?xml version="1.0" encoding="UTF-8" ?>
- <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
- <xapi:request select="/REPORT/CUSTOMER">
- <xapi:delivery>
- <xapi:email server="testexchange.testsmtp.com" port="25" from="[email protected]">
<xapi:message id="123" to="[email protected]" attachment="true" content-type="html/text" subject="${SUBJECT_PART} ${EMAIL_ENTITY_NAME} INVOICE(s) for ${EMAIL_CUSTOMER_NAME}">This is a system generated message - any reply to the message is unmonitored and deleted. If you need further assistance- please send reply to mailto:XXX. Attached is a PDF file containing your ${EMAIL_ENTITY_NAME} invoices generated within the past 24 hours. If you believe you are missing any invoices or you are not able to open the file, please contact us at XXX. For questions relating to your account, please contact the Customer Account Manager noted on the invoice. Sincerely, Electronic Invoice Distribution Group ${EMAIL_ENTITY_NAME}</xapi:message>
</xapi:email>
</xapi:delivery>
- <xapi:document output="${EMAIL_OU}INV_${EMAIL_FILEDATE}_${EMAIL_CUST_ACCTNO}.PDF" output-type="PDF" delivery="123">
<xapi:template type="rtf" location="/BIBS1/bibs/FUT2/apps/apps_st/appl/XXBIBS/12.0.0/reports/US/Buyback_Template_temp.rtf" />
</xapi:document>
</xapi:request>
</xapi:requestset>
Output of the bursting conc prog:
<?xml version="1.0" encoding="UTF-8" ?>
- <BURS_REPORT>
<REQUESTID>535438</REQUESTID>
<PARENT_REQUESTID>535435</PARENT_REQUESTID>
<REPORT_DESC>BIBS Network Buyback Invoice Report</REPORT_DESC>
<OUTPUT_FILE>/BIBS1/bibs/FUT2/inst/apps/BIBSFUT2_purna/logs/appl/conc/out/o535438.zip</OUTPUT_FILE>
- <DOCUMENT_STATUS>
<KEY />
<OUTPUT_TYPE>PDF</OUTPUT_TYPE>
<DELIVERY>email</DELIVERY>
<OUTPUT>/usr/tmp/070212_090212922/BOI SG IMMINV_20120702_1707.PDF</OUTPUT>
<STATUS>fail</STATUS>
<LOG>Error!! Could not deliver the output for Delivery channel:null . Please check the Log for error details..</LOG>
</DOCUMENT_STATUS>
</BURS_REPORT>
I could not find even the pdf output in the path specified as above.
Please suggest...!!!
Similar Messages
-
XML Publisher Bursting error....
Hi,
We are trying to burst an XML Publisher report via email in Oracle Applications R12(12.0.6).The XML Publisher Bursting Program is erroring out with yhe following error,
XML/BI Publisher Version : 5.6.3
--Exception
For input string: "Y"
java.lang.NumberFormatException: For input string: "Y"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.parseInt(Integer.java:497)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:142)
Given, below is the call to bursting program,
n_request_id := fnd_request.submit_request('XDO'
,'XDOBURSTREP'
,NULL
,NULL
,FALSE
,p_request_id
,'Y'
Please suggest how to resolve this error.
Regards,The following link may help
BI Publisher Bursting Submission Error -URGENT
Best Regards,
Mahi -
XML Publisher Bursting - FTP Status Check
"XML Publisher Report Bursting Program" completes successfully even if EMAIL or FTP fails in the bursting process.
See the output file below, last FTP fails but the program completed fine.
Is there a way to check the Status and mark the program error so that we know it's not FTP'ed correctly.
OUTPUT FILE_
- <DOCUMENT_STATUS>
<KEY />
<OUTPUT_TYPE>excel</OUTPUT_TYPE>
<DELIVERY>email</DELIVERY>
<OUTPUT>/u01/autosys/MRP_20130322090315.xls</OUTPUT>
<STATUS>success</STATUS>
<LOG />
</DOCUMENT_STATUS>
- <DOCUMENT_STATUS>
<KEY />
<OUTPUT_TYPE>excel</OUTPUT_TYPE>
<DELIVERY>ftp</DELIVERY>
<OUTPUT>/p05/oracle/tmp/032213_095834975/XX_BURSTING_12.xls</OUTPUT>
<STATUS>success</STATUS>
<LOG />
</DOCUMENT_STATUS>
- <DOCUMENT_STATUS>
<KEY />
<OUTPUT_TYPE>excel</OUTPUT_TYPE>
<DELIVERY>ftp</DELIVERY>
<OUTPUT>/p05/oracle/tmp/032213_095834975/XX_BURSTING_19.xls</OUTPUT>
*<STATUS>fail</STATUS>*
*<LOG>Error!! Could not deliver the output for Delivery channel:null . Please check the Log for error details..</LOG>*
</DOCUMENT_STATUS>Hi Manu,
Please check below MOS ids and your issue may be resolved.
Bursting Programs Are Failing With Error "Could not deliver the output for Delivery channel:null" [ID 1241535.1]
Email Bursting Error 'Could Not Deliver The Output ...' [ID 1354542.1]
"Error!! Could not deliver the output for Delivery channel:null" - BI Publisher Bursting Error [ID 1272488.1]
mark if this helps you.
Regards,
Kishore -
Hi,
I am new to Oracle bursting, As per the requirement i need to send a email through XML publisher bursting (email will be having attachment of report output in excel format), Following error message i am getting while running bursting program, XML Publisher Report Bursting Program. If anyone provide a solution it will be much helpful for sloving the issue.
Errro message:
XML/BI Publisher Version : 5.6.3
Updating request description
Retrieving XML request information
Preparing parameters
Set Bursting parameters..
Bursting propertes.....
{font.Bookman Old Style.normal.bold=truetype./d11/appldev/CNCDEV/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/BOOKOSB.ttf, burstng-source=EBS, system-temp-dir=/usr/tmp, user-variable:cp:parent_request_id=5551312, user-variable:cp:application_short_name=XDO, rtf-checkbox-glyph=Wingdings;253;111, pdf-compression=true, font.Bookman Old Style.normal.normal=truetype./d11/appldev/CNCDEV/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/BOOKOS.ttf, user-variable:cp:request_id=5551351, user-variable.OA_MEDIA=http://cncdev.centricgroup.com:8002/OA_MEDIA, user-variable:cp:Dummy for Data Security=Y, user-variable:cp:org_id=141, user-variable:cp:DebugFlag=N, user-variable:cp:responsibility=51179, user-variable:cp:user=RMEHTA, user-variable:cp:reportdescription=CENTRIC CM Average Cost Change Alert, user-variable:cp:language=en, user-variable:cp:ReportRequestID=5551312, user-variable:cp:locale=en-US, user-variable:cp:territory=US}
Start bursting process..
Bursting process complete..
Generating Bursting Status Report..
--Exception
ZIP file must have at least one entry
java.util.zip.ZipException: ZIP file must have at least one entry
at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:304)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:534)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Bursting File Logic:
- <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
- <xapi:request select="/XXCNC_CM_ITEMCOST_CHG">
- <xapi:delivery>
- <xapi:email id="email1" server="mailhost.centricgroup.com" port="25" from="[email protected]" reply-to="[email protected]">
<xapi:message id="email1" to="[email protected]" attachment="true" subject="Item Cost Change Alert Report">Please review the attached report</xapi:message>
</xapi:email>
</xapi:delivery>
- <xapi:document output-type="excel" delivery="email1">
<xapi:template type="rtf" location="/tmp/XXCNC_CM_ITEMCOST_CHG.rtf" />
</xapi:document>
</xapi:request>
</xapi:requestset>Hi,
Just check this link to get some better clarity,
http://garethroberts.blogspot.in/2008/03/bi-publisher-ebs-bursting-101.html
https://sites.google.com/site/shareapps4u/learning-topic/xml-publisher/how-to-use-xml-bursting-to-send-xml-report-via-email
Then your
<xapi:template type="rtf" location="/tmp/XXCNC_CM_ITEMCOST_CHG.rtf" /> is wrong.. this need to point the xml template location. Just check the query and then u can replace this with your output
select
lt.application_short_name || '.' || lt.template_code || '.' || lt.default_language || '.' || lt.default_territory as burst_template_xdo_location
from
apps.xdo_templates_b lt
where lt.template_code ='<Template Code>'; --here value <Template Code> is 'XX_TEST_XML_DT'
Regards
Sri -
XML Publisher Bursting Program - limitation of email addresses
In the XML Publisher Bursting program we were able to add only 3 email addresses(containing 87 characters) the email was sent successfully.
When we tried to concatenate with another email address (it went up to 115 characters), the email was not sent to any of the email addresses (but the bursting program completed with normal status)
Is there any limitation in adding the email address in the tag
<xapi:message id="123" to="[email protected],[email protected],[email protected]" attachment="true" subject="${MAIL_SUBJECT}">${BURST_MAIL_BODY}</xapi:message>
we also tried changing the bursting control file as below but still we did not receive mail to any of the email addresses
<xapi:Delivery>
<xapi:filesystem output="${FILE_SYS_OUTPUT}" />
- <xapi:email server="${HOST_NAME}" port="25" from="${BURST_MAIL_ADD}" reply-to="">
<xapi:message id="123" to="[email protected],[email protected],[email protected]" attachment="true" subject="${MAIL_SUBJECT}">${BURST_MAIL_BODY}</xapi:message>
<xapi:message id="123" to="[email protected],[email protected],[email protected]" attachment="true" subject="${MAIL_SUBJECT}">${BURST_MAIL_BODY}</xapi:message>
<xapi:message id="123" to="[email protected]
subject="${MAIL_SUBJECT}">${BURST_MAIL_BODY}</xapi:message>
</xapi:email>
- <!--
PDF generation for mails
-->
- <xapi:Document key="${MOT_SO_NUMBER}" output-type="pdf" delivery="123">
<xapi:template type="rtf" location="${TEMP_LOC}" />
</xapi:Document>
Is there any other solution to add more number of email addresses in the bursting program?The following link may help
BI Publisher Bursting Submission Error -URGENT
Best Regards,
Mahi -
Issue in XML Publisher Bursting
Hi,
I am using XML Publisher bursting feature to send the output of report as email to the customer.
I have uploaded Data Template and Bursting control file in XML Publisher Data Defination and ran the report.
The report output generating but the bursting feature is not working.
I couldn't able to figure out what is the exact problem b'coz I m not getting any error.
Is there any setup need to be done? or what might be the reason behind this?
Please suggest.
I am using following code in bursting control file,
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" >
<xapi:request select="/BURSTTEST/LIST_G_APPLICATION_ID/G_APPLICATION_ID">
<xapi:delivery>
<xapi:email server="[email protected]" port="25" from="[email protected]" reply-to ="[email protected]">
<xapi:message id="123" to="[email protected]" attachment="true" subject="Profile Option Details">
Please review the attachment for this message.
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output="Profile Option Details Report" output-type="excel" delivery="123"><!--Deliver to printer and email -->
<xapi:template type="rtf" location="xdo://XXCUST.Profile.en.00/?getSource=true"><!--Default template to be used -->
</xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>
Thanks & Regards,
SagarikaHi Kavipriya,
Thanks
I set defaultPackage of data template header and the XML Bursting program get fired.
But XML Bursting program erroring out and I m getting following error.
How to resolve this please suggest.
[110410_054027569][][EXCEPTION] java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:394)
at oracle.apps.xdo.oa.cp.CPUtil.setProperty(CPUtil.java:67)
at oracle.apps.xdo.oa.cp.CPUtil.getSessionProperties(CPUtil.java:45)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:84)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
XML/BI Publisher Version : 5.6.3
Request ID: 4842838
All Parameters: Dummy for Data Security=N:ReportRequestID=4842836:DebugFlag=Y
Report Req ID: 4842836
Debug Flag: Y
Updating request description
Updated description
Retrieving XML request information
Node Name:AMSGURBLUAPP009
Preparing parameters
null output =/u01/oracledb/VIS/inst/apps/VIS_amsgurbluapp009/logs/appl/conc/out/o4842838.out
inputfilename =/u01/oracledb/VIS/inst/apps/VIS_amsgurbluapp009/logs/appl/conc/out/o4842836.out
Data XML File:/u01/oracledb/VIS/inst/apps/VIS_amsgurbluapp009/logs/appl/conc/out/o4842836.out
Set Bursting parameters..
Temp. Directory:/home/devuser
[110410_054030111][][STATEMENT] Oracle XML Parser version ::: Oracle XML Developers Kit 10.1.3.130 - Production
[110410_054030138][][STATEMENT] setOAProperties called..
Bursting propertes.....
{user-variable:cp:territory=IN, user-variable:cp:ReportRequestID=4842836, user-variable:cp:language=en, user-variable:cp:responsibility=20639, user-variable.OA_MEDIA=http://amsgurbluapp009.in.ibm.com:8004/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=4842836, user-variable:cp:locale=en-IN, user-variable:cp:user=OPERATIONS, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=4842838, user-variable:cp:reportdescription=MAN Invoice Burting Test, user-variable:cp:Dummy for Data Security=N}
Start bursting process..
Bursting process complete..
Generating Bursting Status Report..
--Exception
ZIP file must have at least one entry
java.util.zip.ZipException: ZIP file must have at least one entry
at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:304)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:534)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Thanks & Regards,
Sagarika -
Bursting error in 11.5.10
Dear Techies,
I am getting the following error when I am trying do a bursting
XML/BI Publisher Version : 5.6.3
--Exception
For input string: ""
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:470)
at java.lang.Integer.parseInt(Integer.java:499)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:142)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
and this is the control file what i am using
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
<xapi:request select="/XX_EMAIL_TEST/LIST_G_EMPLOYEE_NUMBER/G_EMPLOYEE_NUMBER">
<xapi:delivery>
<xapi:email server="10.10.100.15" port="25" from="[email protected]" reply-to="[email protected]">
<xapi:message id="email" to="[email protected]" cc="[email protected]" attachment="true" content-type="html/text" subject="Testing Attachments Email"><h10>Dear Sirs;</h10>
<BR><p>${BODY1}</p></BR>
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document key="${EMPLOYEE_NUMBER}" output="/data/test/apps/ectestappl/per/11.5.0/out/${EMPLOYEE_NUMBER}_${EMPLOYEE_NAME}.pdf" output-type="pdf" delivery="email">
<xapi:template type="rtf" location="/data/test/apps/ectestappl/per/11.5.0/out/XX_PAYEMAIL_RTF.rtf" />
</xapi:document>
</xapi:request>
</xapi:requestset>
This is what i have written in after report trigger
function AfterReport return boolean is
req_id number;
begin
if :CHECK_COUNT != 0 then
req_id:=FND_REQUEST.SUBMIT_REQUEST (
'XDO','XDOBURSTREP','XML Publisher Report Bursting Program',SYSDATE,FALSE,
'',:P_CONC_REQUEST_ID,'Y',chr(0), '', '', '', '', '', '',
end if;
IF REQ_ID=0 THEN
SRW.MESSAGE(100,'Failed to submit Bursting Program');
end if;
SRW.USER_EXIT('FND SRWEXIT');
return (TRUE);
end;
the report is running successfully .... and i can see the pdf output also. But the sequence bursting program is failing with the above error. Please let me know what is my mistake. Thanks in advance.the above post also posted by me only ... different id
I found this in opp log for that request id ... any idea David ?
"Caused by: org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected."
[7/25/12 2:18:24 PM] [OPPServiceThread0] Post-processing request 3959566.
[7/25/12 2:18:24 PM] [STATEMENT] [OPPServiceThread0] 1 threads running
[7/25/12 2:18:24 PM] [35307:RT3959566] Executing post-processing actions for request 3959566.
[7/25/12 2:18:24 PM] [STATEMENT] [35307:RT3959566] Now running XMLPublisher
[7/25/12 2:18:24 PM] [35307:RT3959566] Starting XML Publisher post-processing action.
[7/25/12 2:18:24 PM] [35307:RT3959566]
Template code: BURST_STATUS_REPORT
Template app: XDO
Language: en
Territory: US
Output type: RTF
[7/25/12 2:18:24 PM] [STATEMENT] [35307:RT3959566] Get Output Type
[7/25/12 2:18:24 PM] [STATEMENT] [35307:RT3959566] XML file name: /data/test/apps/ectestcomn/admin/out/ECTEST_ec-dev02/o3959566.out
[7/25/12 2:18:24 PM] [STATEMENT] [35307:RT3959566] XML file is on node: EC-DEV02
[7/25/12 2:18:24 PM] [STATEMENT] [35307:RT3959566] Local node is: EC-DEV02
[7/25/12 2:18:24 PM] [STATEMENT] [35307:RT3959566] Retrieving Template properties
[7/25/12 2:18:24 PM] [STATEMENT] [35307:RT3959566] Adding Property : xslt.ReportRequestID Value : 3959538
[7/25/12 2:18:24 PM] [STATEMENT] [35307:RT3959566] Adding Property : xslt.DebugFlag Value : Y
[7/25/12 2:18:24 PM] [STATEMENT] [35307:RT3959566] Using local XML file
[7/25/12 2:18:24 PM] [STATEMENT] [35307:RT3959566] New output file is: /data/test/apps/ectestcomn/admin/out/ECTEST_ec-dev02/XDOBURSTREP_3959566_1.RTF
[7/25/12 2:18:24 PM] [STATEMENT] [35307:RT3959566] User that ran this request was: 2757
[7/25/12 2:18:24 PM] [STATEMENT] [35307:RT3959566] XDO: Calendar Type profile option was not set at ANY level - returning...
[7/25/12 2:18:24 PM] [STATEMENT] [35307:RT3959566] User that ran this request was: 2757
[7/25/12 2:18:24 PM] [STATEMENT] [35307:RT3959566] Client Timezone ID profile option was not set - returning...
[7/25/12 2:18:24 PM] [STATEMENT] [35307:RT3959566] BEGIN XMLPublisher
[7/25/12 2:18:24 PM] [STATEMENT] [35307:RT3959566] Failed to process the template
[7/25/12 2:18:24 PM] [UNEXPECTED] [35307:RT3959566] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:566)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:231)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
Caused by: org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
at oracle.xdo.parser.v2.XMLError.flushErrorHandler(XMLError.java:441)
at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:303)
at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:343)
at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:285)
at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:289)
... 17 more
[7/25/12 2:18:24 PM] [35307:RT3959566] Completed post-processing actions for request 3959566.
[7/25/12 2:18:24 PM] [STATEMENT] [35307:RT3959566] Thread 35307:RT3959566 finished. -
Hi All,
I want to generate xmlp report with bursting email.
For this I created 1. data template file
<dataTemplate name="XXX_XXX_XX" version="1.0">
<dataQuery>
<sqlStatement name="Q_MAIN">
<![CDATA[
select * from XXXXXX
]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="G_MAIN" source="Q_MAIN">
<element name="Op_Code" value="op_code" />
<element name="Op_Code_Description" value="op_code_desc" />
<element name="GL_Account" value="almo_gl_account" />
<element name="pro_Description" value="pro_desc" />
<element name="Cost_Type" value="cost_type" />
</group>
</dataStructure>
</dataTemplate>
2.Bursting control file
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
<xapi:request select="/xxxxxxxxxxx/LIST_G_MAIN/G_MAIN">
<xapi:delivery>
<xapi:email id="123" server="Ip address" port="25" from="[email protected]" reply-to="[email protected]">
<xapi:message id="123" to="[email protected]" attachment="true" subject="Employee details ">
Dear Sir/Madam
Please find your details attached.
Regards,
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output="xxxx.xlsx" output-type="excel" delivery="123">
<xapi:template type="rtf" location="/usr/tmp/xxxxx.rtf">
</xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>
3. created data definition in xmlp administrator
4.uploaded data template and bursting file in to data definition.
5.set configuration general-->Temporary directory:/tmp in XMLP administration
6.Uploaded my .rtf file into server /usr/tmp
7.created template and uploaded the data definition
8.Registered the CP and Submitted the Concurrent program
CP submitted successfully and getting the output as required but it not generating the email and in log it is not showing any error.
ans I verified OPP log file in that also it is not showing any error.
what could be the reason for not getting an email??
Did I miss any thing to generate the email??
If any body knows this
Please help me to generate the email
ThanksPlease go through with following documents,
Why External Email Addresses Not Received Emails Sent With XML Publisher Bursting When SMTP Server Using Authentication (Doc ID 1495017.1)
How To Setup xdodelivery.cfg (Doc ID 804283.1)
Overview of Available Patches for Oracle XML Publisher embedded in the Oracle E-Business Suite (Doc ID 1138602.1)
BI Publisher - Troubleshooting Oracle Business Intelligence (XML) Publisher For The Oracle E-Business Suite (Doc ID 364547.1)
Thanks -
Email bursting program fail with java null exception
Hi All,
I am trying to use xml publisher email bursting program on 11i (11.5.10.2) but getting following error.
XML/BI Publisher Version : 5.6.3
--Exception
null
java.lang.NullPointerException
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.getSystemTempDirectory(JCP4XDOBurstingEngine.java:433)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:114)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
Got solution for this. It was temp directory setting and i did
Ran program but failed again with following details
XML/BI Publisher Version : 5.6.3
Updating request description
Retrieving XML request information
Preparing parameters
Set Bursting parameters..
Bursting propertes.....
{user-variable:cp:territory=US, user-variable:cp:ReportRequestID=3102217,
user-variable:cp:language=en,
user-variable:cp:responsibility=21708,
user-variable.OA_MEDIA=http://beckett.teknobit.com:8006/OA_MEDIA,
burstng-source=TBS,
user-variable:cp:DebugFlag=N,
user-variable:cp:parent_request_id=3102217,
user-variable:cp:locale=en-US,
user-variable:cp:user=RAVI,
user-variable:cp:application_short_name=XDO,
user-variable:cp:request_id=3104098,
user-variable:cp:org_id=82,
user-variable:cp:reportdescription=TBS Service Sales Quote}
Start bursting process..
Thanks to all.
I am all set.
Thanks
Ravi Tripathi
Edited by: Ravi Tripathi on Oct 16, 2009 8:25 AM
Edited by: Ravi Tripathi on Oct 16, 2009 8:56 AMSet eh temp directory in Xmlp responsibility Admin tab, properties or in Java program.
-
Encountering XML-20108: (Fatal Error) Start of root element expected
Hi,
We are trying to invoke a XML Publisher report from a custom OAF page using API's. However, it is erroring out with the following error message (in xdo.log)
[021710_121811671][oracle.apps.xdo.common.xml.XSLTWrapper][EXCEPTION] XSL error:
<Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
[021710_121811672][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) is called.
[021710_121811672][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) done. All inputs are cleared.
[021710_121811673][][EXCEPTION] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:517)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:224)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5936)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
at lxe.oracle.apps.ibu.returnmgmt.server.RmaCreateReturnAMImpl.xxPrintShipLabel(RmaCreateReturnAMImpl.java:1046)
at lxe.oracle.apps.ibu.returnmgmt.webui.OrderConfirmCo.processFormRequest(OrderConfirmCo.java:167)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2863)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1840)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
at jtfcrmchrome.jspService(_jtfcrmchrome.java:1191)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)
Caused by: oracle.xdo.parser.v2.XMLParseException: Start of root element expected.
at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:337)
at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:343)
at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:285)
at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:289)
... 56 more
The XML is generated from the code and is as below:
<ShippingLabelVO>
<ShippingLabelVORow>
<RowKey>1</RowKey>
<ShipSentToAddr>XXX Repair Center 125 Technology Parkway Austin, TX</ShipSentToAddr>
<SerialNum>BC104</SerialNum>
<OrderNum>8000324</OrderNum>
<ItemNum>MX7AM-170540</ItemNum>
</ShippingLabelVORow>
</ShippingLabelVO>
I can successfully create the PDF from the desktop using the above XML. When I add the XML file to sample XML (in data definition), I can see the output when I choose Preview.
But, this is not working from the code.
Any pointers?
Thanks,
AshishHi,
We are currently on R12.XDO.B.1 (5.6.3?) Is there a patch we'll need to apply on top of this?
Is there a workaround for this?
Thanks,
Ashish -
Email Bursting from Oracle BI Publisher
Hi,
I am new to BI Publisher and trying to do Email bursting.
I configured our email server (gave host ip address and port) in admin->email tab.
Enabled bursting in the report and gave the bursting query.
After scheduling,it says success but no email is received.
What could be the reason for the same?
Any inputs will be of great help.
Following is my burst query:
select DISTINCT UNITHOLDERID KEY,
'ZipCodeProcess'TEMPLATE,
'RTF'TEMPLATE_FORMAT,
'en-US' LOCALE,
'PDF' OUTPUT_FORMAT,
'EMAIL' DEL_CHANNEL,
email PARAMETER1,
'[email protected]' PARAMETER2,
'[email protected]' PARAMETER3,
'Statement OF Account' PARAMETER4,
'Hi'||UNITHOLDERID||chr(13)|| 'Please find attached your
SOA.' PARAMETER5,
'true' PARAMETER6,
'[email protected]' PARAMETER7
from sssl_holder_info_tbl where report_type='B'
AND unitholderid='SBBNAA114570'
My XML data
- <BURST_ROW>
<KEY>SBBNAA114570</KEY>
<TEMPLATE>ZipCodeProcess</TEMPLATE>
<TEMPLATE_FORMAT>RTF</TEMPLATE_FORMAT>
<LOCALE>en-US</LOCALE>
<OUTPUT_FORMAT>PDF</OUTPUT_FORMAT>
<DEL_CHANNEL>EMAIL</DEL_CHANNEL>
<PARAMETER1>[email protected]</PARAMETER1>
<PARAMETER2>[email protected]</PARAMETER2>
<PARAMETER3>[email protected]</PARAMETER3>
<PARAMETER4>Statement OF Account</PARAMETER4>
<PARAMETER5>HiSBBNAA114570 Please find attached your SOA.</PARAMETER5>
<PARAMETER6>true</PARAMETER6>
<PARAMETER7>[email protected]</PARAMETER7>
</BURST_ROW>
</burst>
Thanks and Regards,
TannaHi,
Can you please tell me how to access this XML Bursting Definition file? I cant seem to find this. In BI Publisher User Interface bursting section, I see only the Delivery Data Source section which allows me to enter my bursting parameter in SQL Query form. Can you please tell me how to access the XML file directly. Thanks in advance! -
Hi
Any one implemented Email Bursting Option as per oracle user guide 120xdoig.pdf?
I am trying to implement exactly as per user guide . But it is not working as expected. It is delivering the empty documents. It is not picking the data from my XML File.
Appriciate , If share any sample files and procedure to implement this option.
Thanks,
Rajaram.I got it.
Thanks.
Rajaram -
XML Report Bursting and distribution
I want to send PDF report as an attachment to more than 200 suppliers using XML Report Bursting
In XML Report Bursting and distribution, do we need to configure the "Mail Server" on apps. (I mean any configuration is required on apps server)?
Thanks,
[email protected]Hi,
You'll need to be able to connect to your mailserver via SMTP.
Check out the following:
http://garethroberts.blogspot.com/2008/03/bi-publisher-ebs-bursting-101.html
Regards,
Gareth
Blog: http://garethroberts.blogspot.com/ -
How to identify XML gateway patch version in R12 ?
Hi,
how to identify XML gateway patch version in R12.1.3? Which is the latest version available for R12.1.3
RegardsConnected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> @ecxver.sql
ECX_UTL_XSLT_DIR Profile :
/usr/tmp
ECX_OAG_LOGICALID Profile :
ECX_SERVER_TIMEZONE Profile:
ECX_SYS_ADMIN_EMAIL Profile:
ECX_XML_VALIDATE_FLAG Profile: Y
ECX_XML_MAXIMUM_SIZE Profile : 2000000
utl_file_dir :
/usr/tmp, /usr/tmp,
/busdata/dfop/nca1/db/tech_st/11.1.0/appsutil/outbound/dfopnca1_oncerpd4,
/usr/tmp, /busdata/dfop/nca1/db/tech_st/11.1.0/ccr/state
Oracle XML Developers Kit 11.1.0.7.0 - Production
Parser Version Ok
XML Gateway Status Summary
XML Parser Version OK
All ECX Objects Valid? OK
All XML Parser Objects Valid? OK
OTA Running? N/A*
Total Messages on Outbound Queue 0
OTA Msgs on Outbound Queue 0
Others Msgs on Outbound Queue 0
Messages on Inbound Queue 0
*Please use the ECXOTAPing.html as described in the Testing Oracle Transport
Agent section of the User's Guide
End of Summary
Service Component Control Event Subscriptions
EVENT_NAME RULE_FUNCTION OUT_AGENT STATUS
oracle.apps.ecx.inbound.message.process [email protected]. MICHELIN.COM Not Defined ENABLED
oracle.apps.ecx.inbound.message.process [email protected] N.COM Not Defined ENABLED
oracle.apps.ecx.inbound.message.receive [email protected] N.COM Not Defined ENABLED
oracle.apps.ecx.inbound.message.receive CLN_XMLG_EVENT_HANDLER_PKG.CLN_XMLG_SET [email protected] Not Defined ENABLED
NC.MICHELIN.COM
oracle.apps.ecx.inbound.message.receive CLN_XMLG_EVENT_HANDLER_PKG.CLN_XMLG_EVE [email protected] Not Defined ENABLED
.MICHELIN.COM
oracle.apps.ecx.inbound.message.receive CLN_XMLG_EVENT_HANDLER_PKG.CLN_XMLG_EVE [email protected] Not Defined ENABLED
.MICHELIN.COM
oracle.apps.ecx.inbound.message.receive [email protected]. MICHELIN.COM Not Defined ENABLED
oracle.apps.ecx.processing.message.callb [email protected] LIN.COM Not Defined ENABLED
ack
oracle.apps.ecx.processing.message.error CLN_XMLG_EVENT_HANDLER_PKG.CLN_XMLG_PRO CESSING_ERROR_F@DFOPN Not Defined ENABLED
CA1.ONC.MICHELIN.COM
oracle.apps.ecx.processing.message.error [email protected] LIN.COM Not Defined ENABLED
oracle.apps.ecx.processing.message.error [email protected] LIN.COM Not Defined ENABLED
oracle.apps.ecx.processing.message.error [email protected] N.COM Not Defined ENABLED
oracle.apps.ecx.processing.notification. [email protected] LIN.COM Not Defined ENABLED
send
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Regards -
Broadcast email - Bursting: Could not determine recipient
Hi,
I created a broadcast setting for email-bursting and checked it/saved it/scehduled it successfully.
The broadcast setting is trying to burst a runtime statistcis query by user (infoobject 0TCTUSERNM for users is contained in the query). The characteristic for receipient determination is "0TCTUSERNM" and the attribute is "person responsible" with attribute value being set to "user name"
However upon executing this setting I get the following error :
Bursting: Could not determine recipient with a yellow light against this error message and the bursting email is never sent-out.
can someone please advise the remedy for this problem
regards
KulmohanHi Simon,
No, I donot have any person allocated to the blank entry for the characteristic being used for bursting
Can you please advise What I would need to do for this?
regards,
Kulmohan
Maybe you are looking for
-
Define Withholding Tax Type for Payment Posting
Hey Guys, I'm configuring Withholding Tax for a company. I know the purpose for defining the withholding tax type for invoice posting, but do understand where is the Withholding tax type for payment posting used? Is it used for advance(down) payment
-
Firefox continuously brings up errors while trying to load web sites.
Over the past few months I have been having problems with Firefox loading web sites. I get the error of either the connection timed out or server took too long to respond, etc, etc. I have done all the troubleshooting tips like emptying cookies, dele
-
Can't access my DLink DNS-313 after OS X lion upgrade
Hi, After I upgraded to OS X Lion, I can't access my files in a DNS-313 external drive. I can see the folders having a no entry sign that when I click on any of them my Mac prompts me that I don't have permission to open the files. It worked before i
-
How do you get quicklook app. back on Activity monitor
I am not very technically minded. I accidentally deleted the Quicklook App. from my Activity Monitor,can anybody tell me how you can get it back on the Activity Monitor. Thanks in advance.
-
I have my previous time machine back ups on an external drive and I want to move those to my new 2tb Time Capsule. How can I make this happen?