Report Bursting in BIP
I am new to BIP. We have a scheduled report that bursts different pdfs every week on friday. These pdfs are bursted to an ECM folder through WebDAV.This folder is static. But I have to burst the pdfs to a different new folder everyweek. Is there a way to create a new folder every week dynamically while bursting the pdfs? Dynamic part is the Month and date like \November2008\11-28-2008\. Or is it possible to run any shell script within the BI report to create the folder before the pdfs are bursted?
Thanks,
Nag
Vetsrini,
Thanks for your quick reply. Do we need to call IBOT from PL/SQL package triggr? Would you please eloborate on IBOT? Thanks, Nag
Similar Messages
-
Bursting an BIP report by email- issues
hi there,
I tried to schedule and burst the Burst by Email report from the demo files and here is the error.
any ideas are welcomed.
The other demo report bursting by files works fine.
The error message mentions to check the log but which one, what is the path to that error log?
Thank you,
Marian
Bursting
Definitions
Bursting Node /ROWSET/ROW/DEPARTMENT_NAME
Delivery Node width="63%">/ROWSET/ROW/DEPARTMENT_NAME
Delivery 1 :
Delivery Key Administration
src="http://amstea:9704/xmlpserver/cabo/images/swan/t.gif" width=20> Delivery Type EMAIL
Status Failed
System
Message Error!! Could not delivering the output., please check the Log for error details..post your BIP questions in the BIP forum, the link is below:
BI Publisher -
Utilizing XML Publisher Report Bursting Program user-variables
When running the XML Publisher Report Bursting Program against a bursting control file, I see the following in the log:
Bursting propertes.....
{user-variable:cp:territory=US, user-variable:cp:ReportRequestID=4413342, user-variable:cp:language=en, user-variable:cp:responsibility=20678, user-variable.OA_MEDIA=http://hostname:8000/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=N, user-variable:cp:parent_request_id=4413342, user-variable:cp:locale=en-US, user-variable:cp:user=USER, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=4413368, user-variable:cp:org_id=204, user-variable:cp:reportdescription=Report Name, user-variable:cp:Dummy for Data Security=Y}
I would like to reference one or more of these in
1. My bursting control file
2. My template (to be output in final PDF).
I cannot seem to get this to work in my bursting control file by referencing:
${cp:user} (note that it just returns the word 'null' here instead of the value)
nor can I get it to work in my RTF template by referencing:
<?xdoxslt:get_variable($_XDOCTX, ‘cp:user’)?>
Should this work, or I am missing something?
ThanksThanks Ike, it likely would. The thing I keep coming back to is an example in the BIP Developer's Guide that suggests you can set a property and have it made available:
DocumentProcessor dp = new DocumentProcessor (cfgFile, xmlFile, dir);
Properties prop= new Properties();
prop.put("user-variable:ADMIN_EMAIL","[email protected]");
dp.setConfig(prop);
dp.process()
Seems to me that the work going on behind the scenes here (based on log statements alone) suggest the same sort of integration.. but I suppose not.
Thanks -
Hi,
I have around 20 reports that need to be exported as pdf. I have to burst all the reports at once to a directory. I have an apex application that has all the report details. The user wants to have all the reports bursted to the directory at once when the user selects the reports he want to burst and clicks a button or a url to tigger bursting in BI Publisher. How can I do this?
Thank you,
Machanuse BIP web-services for this and see this forum how to schedule the report.
have a script to run it based on user action.
or
make it as a servlet and give url to users.
or
make a UI in apex for the report selection.
these inputs will call the java( BIP webservices and API) which will schedule the reports.
Write custom java code , which uses the BIP web-services and make it as a url
Re: Run BI Publisher from the command line through a shell script
Re: Run BI Publisher from the command line through a shell script
BIP has provided a webservice,
One of the function is to run or schedule a report.
Write a simple Java program, which will look at the server and point to run the report you wanted.
http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/bip_webservice_101331.htm
some more doc's
http://www.oracle.com/global/de/community/forms/documents/Forms_BIP_WS.pdf
http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12188/T421739T524310.htm -
Hi all,
at the time of bursting report that report is having large volume( 4 mb) of data and 500 branches the system is going to hang and every time we have to restart the system and work, so is there any way to tune the BIP server and how can we increase the performance of the system,
RegardsDuplicate thread, see Bursting in BIP
Regards,
Gareth -
XML Publisher Report Bursting Program (XDOBURSTREP) is failing after ATG7
Hello
After upgrading ATG RUP7, we have issue related to the XML Bursting Program.
XML Publisher Report Bursting Program (XDOBURSTREP Short Name) is failing with error when there is no output is generated by the Oracle Report, this was working fine before the ATG RUP7.
Oracle XML Publisher Template Builder for Word
Version 5.6 Build 45
Oracle RDBMS : 10.2.0.4.0
Oracle Applications : 11.5.10.2
Concurrent Program: XML Publisher Report Bursting Program
Concurrent Short Name:XDOBURSTREP
Executable: XDOBURSTRPT
The following is the log file of Bursting
XDOBURSTREP module: XML Publisher Report Bursting Program
Current system time is 22-OCT-2010 08:41:09
0.932: [GC 0.932: [DefNew: 1792K->191K(1984K), 0.0190521 secs] 1792K->243K(6080K), 0.0193017 secs] [Times: user=0.01 sys=0.00, real=0.02 secs]
1.637: [GC 1.638: [DefNew: 1983K->45K(1984K), 0.0279269 secs] 2035K->283K(6080K), 0.0281136 secs] [Times: user=0.03 sys=0.00, real=0.03 secs]
2.369: [GC 2.369: [DefNew: 1837K->192K(1984K), 0.0249747 secs] 2075K->597K(6080K), 0.0251559 secs] [Times: user=0.02 sys=0.00, real=0.03 secs]
3.186: [GC 3.186: [DefNew: 1984K->130K(1984K), 0.0208499 secs] 2389K->713K(6080K), 0.0210453 secs] [Times: user=0.02 sys=0.01, real=0.02 secs]
3.938: [GC 3.939: [DefNew: 1922K->114K(1984K), 0.0219872 secs] 2505K->825K(6080K), 0.0221742 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
4.781: [GC 4.781: [DefNew: 1906K->192K(1984K), 0.0271288 secs] 2617K->1258K(6080K), 0.0273437 secs] [Times: user=0.03 sys=0.00, real=0.03 secs]
4.931: [GC 4.931: [DefNew: 1983K->192K(1984K), 0.0114155 secs] 3049K->1575K(6080K), 0.0116308 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
4.978: [GC 4.978: [DefNew: 1974K->1K(1984K), 0.0032511 secs] 3357K->1415K(6080K), 0.0034360 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
5.001: [GC 5.001: [DefNew: 1790K->34K(1984K), 0.0020751 secs] 3204K->1448K(6080K), 0.0022582 secs] [Times: user=0.01 sys=0.01, real=0.00 secs]
5.023: [GC 5.023: [DefNew: 1814K->68K(1984K), 0.0021542 secs] 3228K->1481K(6080K), 0.0023365 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
5.273: [GC 5.273: [DefNew: 1860K->119K(1984K), 0.0055906 secs] 3273K->1533K(6080K), 0.0057779 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
5.451: [GC 5.451: [DefNew: 1911K->58K(1984K), 0.0059780 secs] 3325K->1587K(6080K), 0.0061632 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
5.653: [GC 5.653: [DefNew: 1850K->103K(1984K), 0.0034036 secs] 3379K->1632K(6080K), 0.0035865 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
5.813: [GC 5.813: [DefNew: 1895K->86K(1984K), 0.0053900 secs] 3424K->1667K(6080K), 0.0055748 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
5.932: [GC 5.932: [DefNew: 1878K->124K(1984K), 0.0035633 secs] 3459K->1705K(6080K), 0.0037447 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
6.057: [GC 6.057: [DefNew: 1916K->147K(1984K), 0.0043476 secs] 3497K->1760K(6080K), 0.0045299 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
6.214: [GC 6.214: [DefNew: 1939K->192K(1984K), 0.0120992 secs] 3552K->2141K(6080K), 0.0122907 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
XML/BI Publisher Version : 5.6.3
Updating request description
Retrieving XML request information
Preparing parameters
7.104: [GC 7.104: [DefNew: 1982K->192K(1984K), 0.0200714 secs] 3932K->2346K(6080K), 0.0202692 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
Set Bursting parameters..
Bursting propertes.....
{user-variable:cp:territory=US, user-variable:cp:ReportRequestID=16649488, user-variable:cp:language=en, user-variable:cp:responsibility=23202, user-variable.OA_MEDIA=http://d1at2.atco.ca:8010/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=N, user-variable:cp:parent_request_id=16649488, user-variable:cp:locale=en-US, user-variable:cp:user=URU4.ASHAFI, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=16649506, user-variable:cp:org_id=43, user-variable:cp:reportdescription=XXPAY Database Audit Series Change Register}
Start bursting process..
7.845: [GC 7.845: [DefNew: 1984K->158K(1984K), 0.0181146 secs] 4138K->2495K(6080K), 0.0183025 secs] [Times: user=0.01 sys=0.00, real=0.02 secs]
7.885: [GC 7.885: [DefNew: 231K->14K(1984K), 0.0055622 secs]7.891: [Tenured[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor2]
[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor1]
: 2486K->2073K(4096K), 0.2881229 secs] 2568K->2073K(6080K), 0.2940010 secs] [Times: user=0.29 sys=0.02, real=0.29 secs]
8.682: [GC 8.682: [DefNew: 1787K->170K(1984K), 0.0120166 secs] 5861K->4243K(6080K), 0.0122079 secs] [Times: user=0.02 sys=0.00, real=0.01 secs]
9.163: [GC 9.163: [DefNew: 1524K->74K(1984K), 0.0086781 secs]9.171: [Tenured: 4237K->2299K(4352K), 0.2773675 secs] 5597K->2299K(6336K), 0.2863681 secs] [Times: user=0.28 sys=0.00, real=0.29 secs]
9.472: [GC 9.473: [DefNew: 90K->17K(1984K), 0.0025361 secs]9.475: [Tenured: 4299K->2311K(6104K), 0.2718601 secs] 4390K->2311K(8088K), 0.2747072 secs] [Times: user=0.28 sys=0.00, real=0.27 secs]
9.822: [GC 9.822: [DefNew: 585K->42K(1984K), 0.0027399 secs]9.825: [Tenured: 4311K->2085K(6104K), 0.3354828 secs] 4897K->2085K(8088K), 0.3385340 secs] [Times: user=0.34 sys=0.00, real=0.34 secs]
Bursting process complete..
Generating Bursting Status Report..
--Exception
/oracle/appl/orad1at2/product/comn/temp/102210_084117484/AUDIT_GS_BI-WEEKLY.pdf (No such file or directory)
java.io.FileNotFoundException: /oracle/appl/orad1at2/product/comn/temp/102210_084117484/AUDIT_GS_BI-WEEKLY.pdf (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:532)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:299)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
Heap
def new generation total 1984K, used 194K [0xb1000000, 0xb1220000, 0xb4780000)
eden space 1792K, 10% used [0xb1000000, 0xb1030a98, 0xb11c0000)
from space 192K, 0% used [0xb11c0000, 0xb11c0000, 0xb11f0000)
to space 192K, 0% used [0xb11f0000, 0xb11f0000, 0xb1220000)
tenured generation total 6104K, used 4085K [0xb4780000, 0xb4d76000, 0xd0400000)
the space 6104K, 66% used [0xb4780000, 0xb4b7d490, 0xb4b7d600, 0xb4d76000)
compacting perm gen total 12288K, used 7424K [0xd0400000, 0xd1000000, 0xd8400000)
the space 12288K, 60% used [0xd0400000, 0xd0b402a8, 0xd0b40400, 0xd1000000)
ro space 8192K, 80% used [0xd8400000, 0xd8a73430, 0xd8a73600, 0xd8c00000)
rw space 12288K, 59% used [0xd8c00000, 0xd9330510, 0xd9330600, 0xd9800000)
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Finished executing request completion options.
Concurrent request completed
Current system time is 22-OCT-2010 08:41:20
Any Help Appreciated
ThanksHi;
Similar issue mention at below notes, Please review:
NPE Error While Bursting Using XDOBURSTREP in EBS R12 [ID 754790.1]
Bursting Engine Ends With Java.Lang.Nullpointerexception[Article ID 559443.1]
XDOBURSTREP - XML Publisher Report Bursting Program Fails with InvalidPropertyValueException[Article ID 603424.1]
If its not help I suggest rise SR
Regard
Helios -
I have created report using XML Publisher Report Bursting. The output-type of the report is pdf..
<xapi:document output="${PROJECT_APPROVER}" output-type="pdf" delivery="123">
But if I change the format to xls it's showing error and the report is not getting created.
<xapi:document output="${PROJECT_APPROVER}" output-type="xls" delivery="123">
Can any one help me how to get the report in excel format?
The error in log file is below:
[121212_045029867][][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
Updating request description
Retrieving XML request information
Preparing parameters
Set Bursting parameters..
Bursting propertes.....
{user-variable:cp:territory=US, user-variable:cp:ReportRequestID=75676032, user-variable:cp:language=en, user-variable:cp:responsibility=50597, user-variable.OA_MEDIA=http://erplive.rssoftware.com:8002/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=N, user-variable:cp:parent_request_id=75676032, user-variable:cp:locale=en-US, user-variable:cp:user=3094, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=75680212, user-variable:cp:reportdescription=RS Test Report Bursting, user-variable:cp:Dummy for Data Security=Y}
Start bursting process..
Bursting process complete..
Generating Bursting Status Report..900300 wrote:
There is no question related to pl/sql. I want to know that where do i need to make any change in bursting control file to get the report in excel format?This forum is for SQL and PL/SQL questions. Please post your question in a forum appropriate for it. -
XML Publisher Report Bursting Program Randomly failing
Hi,
In our environment "XML Publisher Report Bursting Program" fails randomly and failures are very very few and random, and can not be reproduced.
The error message is
+++++++++++++++++++++++++++++++++++++++++++
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
XDOBURSTREP module: XML Publisher Report Bursting Program
Current system time is 16-APR-2013 14:00:42
Exception in thread "main" java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:394)
at oracle.apps.xdo.oa.cp.CPUtil.getSessionProperties(CPUtil.java:42)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:84)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
Start of log messages from FND_FILE
End of log messages from FND_FILE
oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine
Program exited with status 1
Executing request completion options...
++++++++++++++++++++++++++++++++++++++++++++++
Had been trying to find out any pattern, but no fix time or particular parent request.
Only common point in failure with above error are below columns in fnd_concurrent_request
Description - blank
LFILE_SIZE - 1476
& interim_status_code - Blank
Any suggestions will be helpfulHi;
Similar issue mention at below notes, Please review:
NPE Error While Bursting Using XDOBURSTREP in EBS R12 [ID 754790.1]
Bursting Engine Ends With Java.Lang.Nullpointerexception[Article ID 559443.1]
XDOBURSTREP - XML Publisher Report Bursting Program Fails with InvalidPropertyValueException[Article ID 603424.1]
If its not help I suggest rise SR
Regard
Helios -
XML Publisher Report Bursting Program ends in error
We have a report that generates the XML output (ACH notification)
In the after report we have a call to the Bursting program.
The ACH notification completes with the correct output but the bursting ends in error showing
Set Bursting parameters..
Temp. Directory:/tmp
[101211_072452383][][STATEMENT] Oracle XML Parser version ::: Oracle XDK Java 9.0.4.0.0 Production
[101211_072452385][][STATEMENT] setOAProperties called..
Bursting propertes.....
{user-variable:cp:territory=US, user-variable:cp:ReportRequestID=28081235, user-variable:cp:language=en, user-variable:cp:responsibility=50274, user-variable.OA_MEDIA=http://xxx/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=28081235, user-variable:cp:locale=en-US, user-variable:cp:user=xxx, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=28081236, user-variable:cp:org_id=83, user-variable:cp:reportdescription=xxx ACH Payment Nofitication}
Start bursting process..
Bursting process complete..
Generating Bursting Status Report..
--Exception
/tmp/101211_072452427/xdo1_2.pdf (No such file or directory)
java.io.FileNotFoundException: /tmp/101211_072452427/xdo1_2.pdf (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:523)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
The temp directory variable in the XML Publisher is /tmp which has all the permissions.
The control file calls the delivery method (email 123 in the example) and uses the following template
<xapi:document key="" output-type="pdf" delivery="123">
<xapi:template type="rtf"
location="XDO://XBOL.ACHPAYNOTIF.en.US/?getSource=true" filter=""/>
</xapi:document>
This template is defined for English language and Territory United States.
I covered everything I could find here and in metalink and still cannot make it work.
Any ideas?Hi;
Similar issue mention at below notes, Please review:
NPE Error While Bursting Using XDOBURSTREP in EBS R12 [ID 754790.1]
Bursting Engine Ends With Java.Lang.Nullpointerexception[Article ID 559443.1]
XDOBURSTREP - XML Publisher Report Bursting Program Fails with InvalidPropertyValueException[Article ID 603424.1]
If its not help I suggest rise SR
Regard
Helios -
Report burst:To increase query performance in xcelsius
Is there anyway to increase query performance in xcelsius by using report bursting
Fremlin,
Report bursting is only for distributing your reports to your end users.
You can improve performance only by following the [Best practices|https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/a084a11c-6564-2b10-79ac-cc1eb3f017ac] in xcelsius.
-Anil -
Automatic Report Bursting based on column names given by user as parameter.
Hi,
Could some help me achieve the following functionality. The requirement are:
1. create a report that has parameters that are column names (display values e.g: department, location, employee job code)
2. the end user will select one or more columns from the multi-select parameter
3. we want that there should be a button on clicking that the user should get automatic file bursting. He should not be required to go to schedules tab and create a new job for that.
4. the report should burst to a file location depending on the columns selected by the user, e.g. if user selected department and location then we should have files saved in the set file location as sales-india.pdf, sales-us.pdf, hr-india.pdf, hr-us.pdf and so on.
I am new to BI Publisher.
Could you help me in creating such a parameter, what should be report sql for capturing the data from parameter and then doing report bursting automatically based on two or more parameter values given by the user.
There is no need to show the report to the user in BI Publisher as there are thousands of rows in a table. Three tables join to give the employee data.
-PriyankaThanks for a quick response but I am still not clear on
1. how to do this using custom java code
and
2. actually user would login to interactive dashboard and there he will give these parameters using which we need to automatically burst a BI publisher report. Can this be done some how?
-Priyanka -
Sending HTML Email Using Report Bursting
Hello all,
I have a requirement whereby I am sending the report as an attachment to some users and as a link to other users. Report bursting would seem to be the answer and is working well with the exception of the HTML formatted email. When attempting to email a link, my html tags are still showing up as text. I have tried using < and >
I have also specified format=html in my distribution.xml file to no avail.
Any ideas ??
MontyWhere are you adding your html code for the link ?
Is it in a field in the report or are including it as part of the distribution.xml file? -
FO processing for XML Publisher Report Bursting Program
Hello,
I am facing the following problem: if i try to burst a report using XML Publisher Report Bursting Program special characters like (ş,ţ,ă, etc.) in the resulting PDF look strange. I have tried running the report without bursting it and the characters appear just fine (after i've set the FO Processing Font Mapping). My guess is that XML Publisher Report Bursting Program is not using the right font mapping. Have you faced this problem before? Do you have any idea how to set the right font mapping for XML Publisher Report Bursting Program.
Thank you.So the answer was to make sure the location in the bursting file (location="xdo://schema.template_code.en.US) exactly matches the language/country setting in the uploaded Definition. Then make sure the fonts have been added to the xdo.cfg file matching what your Font Mappings are:
<font family="Cambria" style="normal" weight="normal">
<truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIA.TTC" />
</font>
<font family="Cambria" style="normal" weight="bold">
<truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIAB.TTF" />
</font>
<font family="Cambria Bold" style="normal" weight="bold">
<truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIAB.TTF" />
</font>
<font family="Cambria Bold" style="normal" weight="normal">
<truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIAB.TTF" /> -
BI Publisher report bursting problem
I am not able to make my report burst to separate files for ftp delivery. I am running BI Publisher version 10.1.3.4.1 (stand-alone). My data query looks like this:
select a.agency_id, b.borr_name
from agency_tbl a, borr_tbl b
where a.rpt_date >= 20100101 and a.rpt_date <= 20100110
and a.borr_id = b.borr_id
and a.agency_id in (80013,80019)
order by a.agency_id, b.borr_name
My bursting/delivery query looks like this:
select agency_id "KEY",
'mytemplate' as TEMPLATE,
'RTF' TEMPLATE_FORMAT,
'en-US' LOCALE,
'PDF' OUTPUT_FORMAT,
'FTP' DEL_CHANNEL,
'myserver' PARAMETER1,
'myid' PARAMETER2,
'mypwd' PARAMETER3,
'/home1/web-docs-443/files/pdffiles' PARAMETER4,
convert(varchar,agency_id) || '.pdf' PARAMETER5
from agency_tbl
where agency_id in (80013,80019)
and rpt_date >= 20100101 and rpt_date <= 20100110
(I have to put "KEY" in quotes because my database is sybase, and KEY is a reserved word.)
I have verified that both queries return data (6 records each, no null agency_id keys).
The goal is to create a file for each agency that lists their associated borrowers.
I can view the report without problems. But when I schedule the report and enable bursting, I get the "Job was failed" email notification, and the report history shows this:
Job Execution Information
History ID 218
Status Failed
Start Processing Time 3/21/11 10:27 AM
End Processing Time 3/21/11 10:27 AM
Time Elapsed 1.68 sec
System Message oracle.apps.xdo.servlet.scheduler.ProcessingException: java.lang.NullPointerException
at oracle.apps.xdo.servlet.scheduler.XDOJob.runBurstingReport(XDOJob.java:2116)
at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:358)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: java.lang.NullPointerException
at com.sun.java.util.collections.Hashtable.containsKey(Hashtable.java:300)
at oracle.apps.xdo.batch.bursting.DeliveryXMLParser.processRow(Unknown Source)
at oracle.apps.xdo.batch.bursting.DeliveryXMLParser.endDeliveryInfoElement(Unknown Source)
at oracle.apps.xdo.batch.bursting.DeliveryXMLParser.endElement(Unknown Source)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:210)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1318)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:263)
at oracle.apps.xdo.batch.bursting.DeliveryXMLParser.getDeliveryChannels(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.createEnterpriseReportRequest(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.setDeliveryControlFile(Unknown Source)
at oracle.apps.xdo.servlet.scheduler.XDOJob.runBurstingReport(XDOJob.java:1916)
... 3 more
Bursting Definitions
Bursting Node /ROWSET/ROW/agency_id
Delivery Node /ROWSET/ROW/agency_id
Any help will be greatly appreciated. This has me stumped . . . I am out of ideas.What caused our bursting problem:
We had to put the word "KEY" in quotes (in our bursting query), because KEY is a reserved word in sybase. But putting it in quotes caused a problem - the results of the bursting query did not contain a "KEY" tag.
. . . And the solution:
We added the connection property "GET_COLUMN_LABEL_FOR_NAME=true" to our sybase datasource definition. Many thanks to Tim Dexter, and to Paul from the sybase forums (http://newsgroupstats.info/article/forums.sybase.com/sybase.public.jconnect/2308/Column-aliases-not-working.html) c. 2007.
And thanks again to Jorge for the helpful suggestion.
Steve Z. -
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
Maybe you are looking for
-
Scheduling InfoPackage fails to start extract in R/3
Hi, We are extracting data from CO-PA using the delta infosource. We initialised the Delta successfully (without data transfer) and have now scheduled our infopackage to extract data from R/3. When we go to monitor, it tells us that the "Request is s
-
Forbidden You don't have permission to access /ISQL*PLUS on this server. Oracle HTTP Server Powered by Apache/1.3.22 Server at fliagiacosa Port 80 I DON'T KNOWN WHERE IS THE PROBLEM, PLEASE A SOLUTION
-
Opening a compressed folder (zip)
Help! I received an email from Taiwan and naturally the characters are in Chinese. I can use an online translation service, no problem, but there was an attachment that will not open. The computer indicates it is a compressed attachment and I have no
-
Retrieve a corrupted standard SAP query (SQ01)
Hi experts, We have an standard query that is giving a dump because an user has modified and transported it to consolidation and production systems. I don't know if there's a way to compare versions and retrieve versions. Right now we have accessed
-
pdf file is too big (7MB). Need a pdf file with max size 4MB. How to minimize the size of a pdf file?