Want to LOOK/SHARE JAVA code or Template for BI Publisher ?

1. If you are interested in sharing a nice piece of JAVA code you have written using BI Publisher APIs, or a template with an elegant solution to a problem, or any other BI Publisher object.
2. Or if you are interested in looking at some one else's samples
We have a shared site: [https://codesamples.samplecode.oracle.com/servlets/tracking/action/ExecuteQuery?query=business_intelligence|* https://codesamples.samplecode.oracle.com/servlets/tracking/action/ExecuteQuery?query=business_intelligence *]
If you submit a code sample: "Business Intelligence" should be entered in the Related Technologies section
Once we get enough samples we can get a section devoted to just BI Publisher!
Enjoy!
Edited by: user488697 on Nov 9, 2010 10:44 AM

BI Publisher

Similar Messages

  • Creating Parameters in RTF Template for BI Publisher Report

    hi,
    I have created Parameters in my BI Publisher Report and in SQL query. But i need to create same parameters in RTF Template , so that when i publish this report in dashboard , parameters will be visible. Can you please tell me how to create Parameters in RTF Template for BI Publisher Report ? I am not finding option. Please let me know .
    Thanks in advance
    Gayathri.

    all the parameter's value will be there in your xml .
    just you need to add parameter heading and corresponding xml tag name to get the parameter value on the report.
    if u dont have you can try like below
    https://blogs.oracle.com/xmlpublisher/entry/get_your_parameters_here_guv
    Declare Parameter in RTF Template
    Before you use the parameter in the RTF template file you need to declare it first. You can do so by having the following syntax.
    <?param@begin:%parameter_name%?>
    Note: where %parameter_name% is the parameter name that you have created at the BI Publisher Server UI.
    Here is an example:
    <?param@begin:param1?>
    Use it in RTF Template!
    Once it’s declared in the RTF template you can start using it as the same way you use the variable. You need to just add ‘$’ prefix in front of the parameter name. Here is the example:
    <?$param1?>
    The above example would print the parameter value in the report output. If you want to use this value in your condition or calculation you can simply use it as ‘$param1’. Yes, it’s that simple.
    If you are not sure if and how the parameter values are passed to the report when you run the report you can use this command in your RTF template, which will return all the parameter values passed to the RTF template at the runtime.
    <?xdoxslt:getXDOProperties($_XDOCTX)?>
    http://kirti-bi-solutions.blogspot.com/2009/06/passing-parameters-from-obiee.html

  • Can't figure, looking at the code what template is being called or where the template is in a .html.

    Can't figure, looking at the code in an .html file what templa
    te is being called or where the templa
    te is.

    Hi,
    please have a look to http://forums.adobe.com/message/3407051#3407051, point 4, where Murray explained "tool template".
    Good luck!
    Hans-G.

  • Where to place java code in webdynpro for communicating between views

    Hi Friends,
    Where should I put the Java code on click of button for the action.
    I can out in init() method, or in teh onActon methods.
    I think suppose I have two views view1 and view2
    on click of one button on view1, user shoudl see results on another view.
    for that I think best is to put data accesing logic for view2--in onAction of view1 itself.

    I've been looking at my examples,  you can do it either way.  In one example, I have coded the logic in the Inbound Plug method on the Result view.  In another example, I am doing the logic in the onAction method when the user presses the button on the Start view.
    I'm thinking it may be better to do it in the onAction method, but it really depends on the overall functionality of the application.
    Regards,
    Rich Heilman

  • Java code coverage tool for Java Card?

    Hello,
    I am looking for "Java code coverage tool" that can be used for testing Java Card Applets.
    Has anyone tried EMMA<http://emma.sourceforge.net/> with JCWDE, or other tools?
    Any information appreciated.
    ichara

    JCOP Tools 3.0 for Eclipse 2.1 support code coverage with the JCOP simulations for Java Card 2.1. The newest JCOP41 simulation for Java Card 2.2.1 does not yet have this feature.
    Code coverage information is shown in the Profiling view, when it is enabled in the Launch Configuration. The editor also shows colored bars next to source lines to quickly identify dead code.

  • Reseting page number in Word RTF template for BI Publisher PDF generation

    Hi!
    Apex 4.0.2, Oracle 10.2.0.4, BIP 10.2
    Bills are created based on Word RTF file with BI Publisher. Reszulting file is one big PDF file, which has many pages.
    Word RTF template is grouped on BILLS.ID field with page break option. So one BILLS.ID may have one or many pages (according data).
    How to create RTF template (for PDF BI Publisher generation) with reseting page numbers when grouping value change.
    Page numbers are in footer in format
    curr_group_page/total_group_pages
    where:
    curr_group_page is current page number in group (defined with BILLS.ID field),
    total_group_pages is total page number of pages in group (defined with BILLS.ID field).
    I need to reset numbering whenever BILLS.ID (group) change.
    Example:
    ID=1 (4 pages)
    1/4, 2/4, 3/4, 4/4
    ID=2 (1 pages)
    1/1
    ID=3 (2 pages)
    1/2, 2/2
    ID=4 (3 pages)
    1/3, 2/3, 3/3
    etc.
    How to achieve that kind of numbering?
    Any help appreciated.
    Regards,
    Damir Vadas
    Edited by: Damir Vadas on May 16, 2011 12:49 PM

    Simple question.. Does your posting deal with an APEX issue or a BI Publisher issue? The posting you have deals with the RTF add-on for Word that builds report layouts for BI Publisher. I suggested in my response that you move it to a more relevant forum..
    If you feel that me alerting you to the fact your are VIOLATING forum policy is an issue, please feel free to ask others their view.. (posting to a 3 year old closed thread, creating MULTIPLE threads for a single issue..) You do NOT seem to get the idea that posting this in the Bi Publisher support forum would probably get you a BETTER response than here.. Asking pl/sql questions here will also get people to refer your questions to the PL/Sql Support forum..
    Also, here is a POSSIBLE answer from the BI Publisher Forum: http://forums.oracle.com/forums/thread.jspa?threadID=594805
    This Is The APEX SUPPORT forum, we deal with SUPPORT questions on APEX (Application Express)..
    Thank you,
    Tony Miller
    Webster, TX
    You know, I used to think that it was awful that life was so unfair. Then I thought, wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? So, now I take great comfort in the general hostility and unfairness of the universe.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Error while executing a custom java code from report in BI Publisher

    Hi,
    I have created a custom code added the jar in /opt/oracle/BI_Middleware/user_projects/domains/bifoundation_domain/lib and created a rtf template and added a code in that
      <?namespace:bipext=http://www.oracle.com/XSL/Transform/java/com.test.bi.CustomFunctions?>
      <?for-each:listOfNames?>
      <?bipext:helloFunction(name)?>
      <?end for-each?>
    according to the blog
    Vishal's blog: Using custom transformations in BI Publisher 10G
    I am using BI Publisher 11g and weblogic . But I am getting the below error when running the report . Please help . Its urgent.
    getting the below error from the BI Publisher desktop software
    FOProcessor setLocale: en-us
    oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException
        at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1205)
        at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:276)
        at oracle.xdo.template.FOProcessor.createFO(FOProcessor.java:1973)
        at oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1117)
        at RTF2PDF.runRTFto(RTF2PDF.java:659)
        at RTF2PDF.runXDO(RTF2PDF.java:452)
        at RTF2PDF.main(RTF2PDF.java:302)
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at oracle.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:917)
        at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:609)
        at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:327)
        at oracle.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:187)
        at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1181)
        ... 6 more
    Caused by: oracle.xdo11g.xpath.XPathException: Extension function error: Class not found 'com.test.bi.CustomFunctions'
        at oracle.xdo11g.xslt.XSLStylesheet.flushErrors(XSLStylesheet.java:1850)
        at oracle.xdo11g.xslt.XSLStylesheet.execute(XSLStylesheet.java:616)
        at oracle.xdo11g.xslt.XSLStylesheet.execute(XSLStylesheet.java:551)
        at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:341)
        at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:189)
        at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:226)
        at oracle.xdo11g.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:122)
        ... 15 more
    and below error from GUI
    Error 
    The report cannot be rendered because of an error, please contact the administrator.
    Error Detail
    oracle.xdo.XDOException: oracle.xdo.XDOException: XSLT10gR1: Failed Secure Java Extensions check.
    Please help
    Thanks,
    Sahana

    BI Publisher

  • Java code help needed for If-elseif statement

    HI All,
    Apologies for posting such a trivial thing but I am a novice in Java.
    All I need is to code an If elseIF statement.
    I tried the code below
    String w = "SAPA";
    String x = "SAPB";
    if (a==w) ;
    {Channel channel = LookupService.getChannel("BS_PROD","CC_RFC_LOOKUP");}
    else if (a==x)
    { Channel channel = LookupService.getChannel("BS_PROD","CC_RFC_LOOKUP_ECQ"); }
    It came back with the error
    Source code has syntax error:  D:/usr/sap/XRD/DVEBMGS02/j2ee/cluster/server0/./temp/classpath_resolver/Map695b77619ad011dd8d0b001a4b52813a/source/com/sap/xi/tf/_MM_TRANSMISSION_CHECK_TO_GENIUS_.java:324: 'else' without 'if' else if (a==x) ^ 1 error
    Appreciate if you could let me know the correct code.
    Many thanks
    Shirin

    HI Aamir,
    After I removed the semi-colon iIt came back with the following error
    Source code has syntax error:  D:/usr/sap/XRD/DVEBMGS02/j2ee/cluster/server0/./temp/classpath_resolver/Map1d9b43e09ad111dd84b7001a4b52813a/source/com/sap/xi/tf/_MM_TRANSMISSION_CHECK_TO_GENIUS_.java:328: cannot resolve symbol symbol : variable channel location: class com.sap.xi.tf._MM_TRANSMISSION_CHECK_TO_GENIUS_ accessor = LookupService.getRfcAccessor(channel); ^ 1 error
    Just for reference my entire Jave UDF looks like this:
    //write your code here
    String w = "SAPA";
    String x = "SAPB";
      String content = "";
    MappingTrace importanttrace;
    importanttrace = container.getTrace() ;
    //Filling the string with our RFC-XML (With Values)
    String m = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><ns0:ZIFMS_GET_NEXT_NUMBER xmlns:ns0=\"urn:sap-com:document:sap:rfc:functions\"><I_NR_RANGE_NR>01</I_NR_RANGE_NR><I_OBJECT>ZIFMS_INT</I_OBJECT></ns0:ZIFMS_GET_NEXT_NUMBER>";
    RfcAccessor accessor = null;
    ByteArrayOutputStream out = null;
    try
    //1. Determine a channel (Business System, Communication channel)
    if (a==w)
    {Channel channel = LookupService.getChannel("BS_PROD","CC_RFC_LOOKUP");}
    else if (a==x)
    { Channel channel = LookupService.getChannel("BS_PROD","CC_RFC_LOOKUP_ECQ"); }
    //2. Get a RFC accesor for a channel.
    accessor = LookupService.getRfcAccessor(channel);
    //3. Create a xml input stream representing the FM request message.
    InputStream inputstream = new ByteArrayInputStream(m.getBytes());
    //4. Create xml Payload
    XmlPayload payload = LookupService.getXmlPayload(inputstream);
    //5. Execute Lookup
    Payload result = accessor.call(payload);
    InputStream in = result.getContent();
    //This are the extra step which i dont know what it mean
    //out = new ByteArrayOutputStream(1024);
    //byte[] buffer = new byte1024;
    //for (int read = in.read(buffer); read > 0; read = in.read(buffer))
    //out.write(buffer,0,read);
    //content = out.toString();
    try {
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    Document document = builder.parse(in);
    NodeList list = document.getElementsByTagName( "E_NUMBER" );
    Node node = list.item(0);
    if (node != null)
    node = node.getFirstChild();
    if (node != null)
    content = node.getNodeValue();
    } catch (Exception e) {
    importanttrace.addWarning("Error while closing accesor" + e.getMessage());
    catch (LookupException e)
    importanttrace.addWarning("Error While lookup" + e.getMessage());
    //This exception is not to be catch at this step as there is no try step before this
    //catch (IOException e)
    //importanttrace.addWarning("Error" + e.getMessage());
    finally
    if(out!=null)
    try{
    out.close();
    } catch (IOException e) {
    importanttrace.addWarning("Error while closing system" + e.getMessage());
    //7. close the accessor in order to free resources
    if (accessor!=null) {
    try{
    accessor.close();
    } catch (Exception e) {
    importanttrace.addWarning("Error while closing accesor" + e.getMessage());
    return content;

  • Excel's Freeze Pane Property  in RTF template for XML Publisher Report

    Hi all,
    I have created RTF template and it's output type is Excel.
    I want to apply Freeze Pane Property of Excel in rtf template so that it can be applied to Excel Output.
    Please let me know any information regarding this.
    ta,
    P

    I am looking for the same functionality. Did you ever got answer for this?

  • Freeze Pane Property of Excel in RTF template for XML Publisher Report

    Hi all,
    I have created RTF template and it's output type is Excel.
    I want to apply Freeze Pane Property of Excel in rtf template so that it can be applied to Excel Output.
    Please let me know any information regarding this ASAP.
    Thanks,
    P.A.

    This is the Oracle Reports forum. Better post this in the BI Publisher forum.

  • Java number format exception for BI Publisher query

    I have a data model thats working using one rtf template. Then I created a cross tab query rtf template and when the same data model is executed with the same parameter value, it errors out.
    here is my simple rtf template that I defined:
         for: ITEM_KEY end -->1
    for: ITEM_KEY-->2 for: ITEM_KEY end end --> 3
    For better understanding, 1 is defined as columns of my cross tab, 2 as rows of my cross tab and 3 is the data. I am using version 10.1.3.4ver BIP
    Any help regarding the error is appreciated..
    Thanks in advance
    [011410_035941034][][STATEMENT] Skip migration for cookie (ORA_XDO) is not found
    [011410_035941034][][STATEMENT] /Configuration/xdo.cfg not found.
    [011410_035941064][][STATEMENT] /Configuration/xdo.cfg not found.
    [011410_035941120][][STATEMENT] Logger.init(): *** DEBUG MODE IS ON. ***
    [011410_035941120][][STATEMENT] Logger.init(): LogDir=C:\OracleBI\xmlp\xmlplogs
    [011410_035941430][][STATEMENT] [ PDF GENERATOR ]---------------------------------------------
    [011410_035941430][][STATEMENT] XDO version = Oracle BI Publisher 10.1.3.4.1
    [011410_035941430][][STATEMENT] java.home = C:\Program Files\Java\jdk1.6.0_12\jre
    [011410_035941431][][STATEMENT] XDO_TOP = null
    [011410_035941431][][STATEMENT] Config Path = null
    [011410_035941431][][STATEMENT] Debug Cfg Path= C:\Program Files\Java\jdk1.6.0_12\jre\lib\xdodebug.cfg
    [011410_035941431][][STATEMENT] Font dir = C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\
    [011410_035941432][][STATEMENT] Locale = en-US
    [011410_035941432][][STATEMENT] Fallback font = type1.Helvetica
    [011410_035941432][][STATEMENT] [ PDF GENERATOR PROPERTIES ]----------------------------------
    [011410_035941432][][STATEMENT] digit-substitution=null(not set)
    [011410_035941433][][STATEMENT] font.ALBANY WT J.normal.normal=truetype.C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\ALBANWTJ.ttf
    [011410_035941433][][STATEMENT] font.ALBANY WT K.normal.normal=truetype.C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\ALBANWTK.ttf
    [011410_035941433][][STATEMENT] font.ALBANY WT SC.normal.normal=truetype.C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\ALBANWTS.ttf
    [011410_035941434][][STATEMENT] font.ALBANY WT TC.normal.normal=truetype.C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\ALBANWTT.ttf
    [011410_035941434][][STATEMENT] font.ALBANY WT.normal.normal=truetype.C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\ALBANYWT.ttf
    [011410_035941434][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.bold=truetype.C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\ADUOJB.ttf
    [011410_035941434][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.normal=truetype.C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\ADUOJ.ttf
    [011410_035941435][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.bold=truetype.C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\ADUOKB.ttf
    [011410_035941435][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.normal=truetype.C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\ADUOK.ttf
    [011410_035941435][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.bold=truetype.C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\ADUOSCB.ttf
    [011410_035941435][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.normal=truetype.C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\ADUOSC.ttf
    [011410_035941436][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.bold=truetype.C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\ADUOTCB.ttf
    [011410_035941436][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.normal=truetype.C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\ADUOTC.ttf
    [011410_035941436][][STATEMENT] font.ANDALE DUOSPACE WT.normal.bold=truetype.C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\ADUOB.ttf
    [011410_035941436][][STATEMENT] font.ANDALE DUOSPACE WT.normal.normal=truetype.C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\ADUO.ttf
    [011410_035941437][][STATEMENT] font.CG TIMES.italic.bold=type1.Times-BoldItalic
    [011410_035941437][][STATEMENT] font.CG TIMES.italic.normal=type1.Times-Italic
    [011410_035941437][][STATEMENT] font.CG TIMES.normal.bold=type1.Times-Bold
    [011410_035941437][][STATEMENT] font.CG TIMES.normal.normal=type1.Times-Roman
    [011410_035941438][][STATEMENT] font.COURIER NEW.italic.bold=type1.Courier-BoldOblique
    [011410_035941438][][STATEMENT] font.COURIER NEW.italic.normal=type1.Courier-Oblique
    [011410_035941438][][STATEMENT] font.COURIER NEW.normal.bold=type1.Courier-Bold
    [011410_035941438][][STATEMENT] font.COURIER NEW.normal.normal=type1.Courier
    [011410_035941439][][STATEMENT] font.COURIER.italic.bold=type1.Courier-BoldOblique
    [011410_035941439][][STATEMENT] font.COURIER.italic.normal=type1.Courier-Oblique
    [011410_035941439][][STATEMENT] font.COURIER.normal.bold=type1.Courier-Bold
    [011410_035941439][][STATEMENT] font.COURIER.normal.normal=type1.Courier
    [011410_035941440][][STATEMENT] font.DEFAULT.italic.bold=type1.Helvetica-BoldOblique
    [011410_035941440][][STATEMENT] font.DEFAULT.italic.normal=type1.Helvetica-Oblique
    [011410_035941440][][STATEMENT] font.DEFAULT.normal.bold=type1.Helvetica-Bold
    [011410_035941440][][STATEMENT] font.DEFAULT.normal.normal=type1.Helvetica
    [011410_035941441][][STATEMENT] font.GLFALLBACK.normal.normal=truetype.C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\ALBANWTJ.ttf
    [011410_035941441][][STATEMENT] font.HELVETICA.italic.bold=type1.Helvetica-BoldOblique
    [011410_035941441][][STATEMENT] font.HELVETICA.italic.normal=type1.Helvetica-Oblique
    [011410_035941441][][STATEMENT] font.HELVETICA.normal.bold=type1.Helvetica-Bold
    [011410_035941442][][STATEMENT] font.HELVETICA.normal.normal=type1.Helvetica
    [011410_035941442][][STATEMENT] font.MONOSPACE.italic.bold=type1.Courier-BoldOblique
    [011410_035941442][][STATEMENT] font.MONOSPACE.italic.normal=type1.Courier-Oblique
    [011410_035941443][][STATEMENT] font.MONOSPACE.normal.bold=type1.Courier-Bold
    [011410_035941443][][STATEMENT] font.MONOSPACE.normal.normal=type1.Courier
    [011410_035941443][][STATEMENT] font.SANS-SERIF.italic.bold=type1.Helvetica-BoldOblique
    [011410_035941443][][STATEMENT] font.SANS-SERIF.italic.normal=type1.Helvetica-Oblique
    [011410_035941444][][STATEMENT] font.SANS-SERIF.normal.bold=type1.Helvetica-Bold
    [011410_035941444][][STATEMENT] font.SANS-SERIF.normal.normal=type1.Helvetica
    [011410_035941444][][STATEMENT] font.SERIF.italic.bold=type1.Times-BoldItalic
    [011410_035941444][][STATEMENT] font.SERIF.italic.normal=type1.Times-Italic
    [011410_035941445][][STATEMENT] font.SERIF.normal.bold=type1.Times-Bold
    [011410_035941445][][STATEMENT] font.SERIF.normal.normal=type1.Times-Roman
    [011410_035941445][][STATEMENT] font.SYMBOL.normal.normal=type1.Symbol
    [011410_035941445][][STATEMENT] font.TIMES NEW ROMAN.italic.bold=type1.Times-BoldItalic
    [011410_035941446][][STATEMENT] font.TIMES NEW ROMAN.italic.normal=type1.Times-Italic
    [011410_035941446][][STATEMENT] font.TIMES NEW ROMAN.normal.bold=type1.Times-Bold
    [011410_035941446][][STATEMENT] font.TIMES NEW ROMAN.normal.normal=type1.Times-Roman
    [011410_035941446][][STATEMENT] font.TIMES.italic.bold=type1.Times-BoldItalic
    [011410_035941447][][STATEMENT] font.TIMES.italic.normal=type1.Times-Italic
    [011410_035941447][][STATEMENT] font.TIMES.normal.bold=type1.Times-Bold
    [011410_035941448][][STATEMENT] font.TIMES.normal.normal=type1.Times-Roman
    [011410_035941448][][STATEMENT] font.ZAPFDINGBATS.normal.normal=type1.ZapfDingbats
    [011410_035941449][][STATEMENT] pdf-changes-allowed=0
    [011410_035941450][][STATEMENT] pdf-compression=true
    [011410_035941450][][STATEMENT] pdf-enable-accessibility=true
    [011410_035941451][][STATEMENT] pdf-enable-copying=false
    [011410_035941451][][STATEMENT] pdf-encryption-level=0
    [011410_035941452][][STATEMENT] pdf-font-embedding=true
    [011410_035941452][][STATEMENT] pdf-hide-menubar=false
    [011410_035941453][][STATEMENT] pdf-hide-toolbar=false
    [011410_035941453][][STATEMENT] pdf-no-accff=false
    [011410_035941454][][STATEMENT] pdf-no-cceda=false
    [011410_035941454][][STATEMENT] pdf-no-changing-the-document=false
    [011410_035941454][][STATEMENT] pdf-no-printing=false
    [011410_035941455][][STATEMENT] pdf-open-password=
    [011410_035941456][][STATEMENT] pdf-permissions=0
    [011410_035941456][][STATEMENT] pdf-permissions-password=
    [011410_035941457][][STATEMENT] pdf-printing-allowed=0
    [011410_035941457][][STATEMENT] pdf-replace-smartquotes=true
    [011410_035941458][][STATEMENT] pdf-security=false
    [011410_035941458][][STATEMENT] ------------------------------------------------------
    [011410_035941462][][STATEMENT] WARNING: Old RTF version detected, nested table disabled
    [011410_035941466][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Helvetica
    [011410_035941468][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] TrueType font created: C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\ALBANWTJ.ttf(0)
    [011410_035941469][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Times-Roman
    [011410_035941481][][ERROR] java.lang.NumberFormatException: For input string: ""
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:468)
         at java.lang.Integer.parseInt(Integer.java:497)
         at oracle.apps.xdo.template.rtf.table.RTFTable.parseColumnContext(Unknown Source)
         at oracle.apps.xdo.template.rtf.table.RTFTable.getTransformedFO(Unknown Source)
         at oracle.apps.xdo.template.rtf.RTF2XSLParser.closeTable(Unknown Source)
         at oracle.apps.xdo.template.rtf.RTF2XSLParser.publishText(Unknown Source)
         at oracle.apps.xdo.template.rtf.RTF2XSLParser.begingroup(Unknown Source)
         at oracle.apps.xdo.template.rtf.io.RTFFilter.write(Unknown Source)
         at oracle.apps.xdo.template.rtf.io.Filter.write(Unknown Source)
         at oracle.apps.xdo.template.rtf.RTF2XSLParser.write(Unknown Source)
         at oracle.apps.xdo.template.rtf.io.Filter.readFromStream(Unknown Source)
         at oracle.apps.xdo.template.rtf.RTFParser.generate(Unknown Source)
         at oracle.apps.xdo.template.rtf.RTF2XSLParser.generateXSL(Unknown Source)
         at oracle.apps.xdo.template.RTFProcessor.process(Unknown Source)
         at oracle.apps.xdo.servlet.RTFCoreProcessor.getXSLFOFile(RTFCoreProcessor.java:155)
         at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:65)
         at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
         at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
         at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
         at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
         at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
         at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
         at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
         at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    [011410_035941485][][ERROR] [Line 41.172] Internal exception
    [011410_035941486][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica closed.
    [011410_035941487][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Times-Roman closed.
    [011410_035941487][oracle.apps.xdo.common.font.FontFactory][STATEMENT] truetype.C:\Program Files\Java\jdk1.6.0_12\jre\lib\fonts\ALBANWTJ.ttf closed.
    [011410_035941491][][EXCEPTION] oracle.apps.xdo.XDOException: For input string: ""
         at oracle.apps.xdo.template.rtf.RTFParser.generate(Unknown Source)
         at oracle.apps.xdo.template.rtf.RTF2XSLParser.generateXSL(Unknown Source)
         at oracle.apps.xdo.template.RTFProcessor.process(Unknown Source)
         at oracle.apps.xdo.servlet.RTFCoreProcessor.getXSLFOFile(RTFCoreProcessor.java:155)
         at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:65)
         at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
         at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
         at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
         at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
         at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
         at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
         at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
         at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    Edited by: user566193 on Jan 14, 2010 2:10 PM

    Drop me the template , 2 templates and xml.. to FUSIONdotOBJECTatGMAILdotCOM
    Something wrong in template or data

  • How to create editable PDF template for XML Publisher reports

    Hi,
    I have got a requirement to have some editable fields in one report whose output is in PDF format.
    I tried looking and saw this can be done using the XML Publisher report and using PDF template.
    But I got only Adobe Acrobat Reader and it does not have the facility to create Form fields.. Can you let me know what software I need in order to create the editable PDF Template.
    In the user guide, it didnot mention anything regarding this.
    Can I create editable PDF report using RTF template or do i have to got for PDF template only?
    Any help is appreciated!
    Thanks

    Hi,
    To edit PDF template , u need Acrobat writer, which is not free .
    I am still wondering what is this ?
    "" Can I create editable PDF report using RTF template ?? "".
    What is editable PDF report. ?
    i think what you tried to mention is ,
    can the PDF output from xml publisher is editable ?
    If that is the question , so here is some points,
    If you have Acrobat Writer or prof.edition, you can edit all the PDF documents irrespective of being from where it is generated.
    To make you understand more of XMLP.
    You create RTF template in word, so that , after merging with xml you can have multiple output formats like PDF, XLS, EFT,.....

  • Customizing Code Templates for the Code Editor

    Our customer wants to have a standerd code edit environment for developers using Jdveloper. Therefore, there is a need to customize the Code Template for the Code Editor. The question is once after it is customized, whether it is possible to export the template to the Jdveloper setup for all the developers, and if yes, then how to? Thanks!

    Just distribute the java.tpl file from the <jdev_install>\jdev\system9.0.x.x directory. That should do the trick.
    Sascha

  • How to save the image on the web through java code?

    Suppose a picture can be loaded on the browser, and nothing
    else. If I want to use a jave code to intercept the picture
    and save it into a file, what does the code look like? I know
    the URL of the picture. Thanks.

    Hi. Running your code, I got the following, with the URL as:
    String dir = "http://california.biocars.org/viewFrames2.php?";
    String fileName = "r=840190844&fn=/data/pub/kb030129_fp_2_001.img&xsize=512&ysize=512&zoom=1&contrast=2048&xcen=0.5&ycen=0.5&wval=0&jpq=100";
    String urlName = dir+fileName;
    URL imageURL = new URL(urlName);
    So something wrong? This output does not look like anything
    of a jpeg file. Thanks.
    ==================================================
    <html>
    <head>
    <TITLE> View BioCARS Data </TITLE>
    <META name='Author' content='Keith Brister'>
    <META HTTP-EQUIV="expires" CONTENT="0">
    </head>
    <body bgcolor=#ccffff>
    <form action=/viewFrames2.php method=POST><input type=hidden name=oldZoom value=1><input type=hidden name=xcen value=0.5><input type=hidden name=ycen value=0.5>
    <input type=hidden name=theTrip value=0>
    <table>
    <tr><td valign=top><table>
    <tr><td width=128 height=128><a href="/viewFrames2.php?theState=a:7:{s:4:xcen";s:3:"0.5";s:4:"ycen";s:3:"0.5";s:4:"zoom";s:1:"1";s:13:"autoZoomLevel";i:16;s:5:"azcco";i:0;s:8:"contrast";i:2048;s:6:"wvalue";i:0;&theTXYZ="><img ismap border=0 width=128 height=128 src=imageServer2.php?r=159196106&fn=/&xsize=128&ysize=128&zoom=1&contrast=2048&xcen=0.5&ycen=0.5&wval=0&jpq=100&thumbnail=1></a></td></tr><tr><td><input type=text name=seqDir value=""></td></tr><tr><td><input type=text name=fFileName value=""></td></tr></table></td>
    <td><table border=1 cellpadding=0 cellspacing=0><tr><td width=512 height=512><a href="/viewFrames2.php?theState=a:7:{s:4:"xcen";s:3:"0.5";s:4:"ycen";s:3:"0.5";s:4:"zoom";s:1:"1";s:13:"autoZoomLevel";i:16;s:5:"azcco";i:0;s:8:"contrast";i:2048;s:6:"wvalue";i:0;}&theXYZ="><img ismap border=0 width=512 height=512 src=imageServer2.php?r=159196106&fn=/&xsize=512&ysize=512&zoom=1&contrast=2048&xcen=0.5&ycen=0.5&wval=0&jpq=100></a></td><td width=8 length=512><a href="/viewFrames2.php?theState=a:7:{s:4:"xcen";s:3:"0.5";s:4:"ycen";s:3:"0.5";s:4:"zoom";s:1:"1";s:13:"autoZoomLevel";i:16;s:5:"azcco";i:0;s:8:"contrast";i:2048;s:6:"wvalue";i:0;}&bMapVal="><img ismap alt='Set Black Value' width=8 length=512 border=0 src=pixselect.php?r=159196106&bVal=2048&wVal=0&minVal=0></a></td>
    <td width=8 length=512><a href="/viewFrames2.php?theState=a:7:{s:4:"xcen";s:3:"0.5";s:4:"ycen";s:3:"0.5";s:4:"zoom";s:1:"1";s:13:"autoZoomLevel";i:16;s:5:"azcco";i:0;s:8:"contrast";i:2048;s:6:"wvalue";i:0;}&wMapVal="><img ismap alt='Set White Value' width=8 length=512 border=0 src=pixselect.php?r=159196106&bVal=2048&wVal=0&maxVal=2048></a></td><td valign=top><table><tr><td><input type=submit name=subbieResetXYZ value='Reset Zoom and Center'></td></tr><tr><td><input type=submit name=subbieZoomIn value='Zoom In'> <input type=submit name=subbieZoomOut value='Zoom Out'></td></tr><tr><td><table border=1><tr><td align=right>Auto Zoom and Center:</td><td><input onClick='this.form.submit();' type=radio name=azcco value=0 checked></td></tr>
    <tr><td align=right>Center Only:</td><td><input onClick='this.form.submit();' type=radio name=azcco value=1 ></td></tr>
    </table></td></tr>

  • Monitor java code using BAM

    Hi,
    I am new to BAM, and I have a specific use case, for which I couldnt find any doc in the web. I want to monitor a java code at different point using BAM. To be in more detail, I would like to add sensors at different location in my java code, which would possible push it to JMS queue and BAM monitors those data objects.
    Thanks,
    Sudarsan M

    Hi Sudarshan,
    Please look in the blog entry below that demonstrate how you can feed BAM Data objects by listening to JMS Queue/Topic.
    http://beatechnologies.wordpress.com/2011/05/20/integrating-oracle-bam-11g-with-bpel-jms-sensor-action/
    The example in the blog illustrate how a BPEL process uses a JMS Sensor action to publish Data to a JMS Queue and from there how it is picked up by External Message Sources in BAM.
    For your use case you can write a small client code to post an XML message from your Java Class to a Queue in Weblogic.
    Hope it helps.

Maybe you are looking for