XML Publisher 5.6.2 Document Processor Engine

Would I be correct in assuming that sending the xapi: tags through the regular concurrent request engine would be a fultile exercise in order to burst an invoice batch into multiple PDFs?
Could somebody please confirm that I must use a JAVA concurrent program wrapper around the request in order to use the document processor engine to burst and save on the file system?
Thanks in advance,
G.

XML Publisher 5.6.2 API may be used in JDeveloper 11g by importing the Oracle JDBC library definition from JDeveloper 10.1.3. Instead of the Oracle JDBC library in JDeveloper 11g create a Oracle JDBC library from the JDeveloper 10.1.3 Oracle JDBC library JAR files.

Similar Messages

  • How to trigger xml publisher API (ex:Delivering Documents via e-Mail)?

    Dear All:
    How to use xml publisher API ?
    In user's guide always talk API's code.(ex:Delivering Documents via e-Mail
    // create delivery manager instance
    DeliveryManager dm = new DeliveryManager();
    // create a delivery request
    DeliveryRequest req =
    dm.createRequest(DeliveryManager.TYPE_SMTP_EMAIL);
    // set email subject
    req.addProperty(DeliveryPropertyDefinitions.SMTP_SUBJECT, "Invoice");
    // set SMTP server host
    req.addProperty(
    DeliveryPropertyDefinitions.SMTP_HOST, "mysmtphost");
    // set the sender email address
    req.addProperty(DeliveryPropertyDefinitions.SMTP_FROM,
    "[email protected]");
    // set the destination email address
    req.addProperty(
    DeliveryPropertyDefinitions.SMTP_TO_RECIPIENTS,
    "[email protected], [email protected]" );
    // set the content type of the email body
    req.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_TYPE,
    "text/html");
    // set the document file name appeared in the email
    req.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_FILENAME,
    "body.html");
    // set the document to deliver
    req.setDocument("/document/invoice.html");
    // submit the request
    req.submit();
    // close the request
    req.close(); )
    Not say how to use this code to account effect !!
    Having anybody to use API before?
    Please tell me how to use that,thanks!!
    BY Emily_ye

    Hi Emily
    I had the same question. After much research and a lot of deduction I produced the following:
    import oracle.apps.fnd.cp.request.*;
    import java.io.*;
    import java.sql.*;
    import java.util.Vector;
    import oracle.apps.fnd.util.*;
    import oracle.apps.xdo.XDOException;
    import oracle.apps.xdo.common.pdf.util.PDFDocMerger;
    import oracle.apps.xdo.delivery.DeliveryException;
    import oracle.apps.xdo.delivery.DeliveryManager;
    import oracle.apps.xdo.delivery.DeliveryPropertyDefinitions;
    import oracle.apps.xdo.delivery.DeliveryRequest;
    import oracle.jdbc.driver.OracleCallableStatement;
    public class RunTravProgram implements JavaConcurrentProgram {
    CpContext mCtx; // global reference to concurrent program context
    LogFile logFile; // global reference to context logfile
    OutFile outFile; // global reference to context outfile
    Connection mConn = null;
    ReqCompletion lRC;
    //File Separator
    private String mFileSeparator;
    // globals for template
    String XDOAppShortName = "";
    String XDOtemplateCode = "";
    // hard-wired constants for template addition
    final String XDOLanguage = "en";
    final String XDOTerritory = "US";
    final String XDOFinal_format = "PDF";
    final String XDOtemplateType = "TEMPLATE_SOURCE";
    String PDFFile = "";
    String outFilePath = "";
    String progShortName = "";
    String progDesc = "";
    Integer iRequestID = 0;
    String sWatermark = ""; // watermark text
    String emailAddress = ""; // Not Implemented
    String emailServer = "";
    public static final String M_SUCCESS = "SUCCESS";
    public static final String M_ERROR = "ERROR";
    public static final String M_WARNING = "WARNING";
    * Create a Java FND ConcurrentRequest objec to call fnd_request.submit_request
    * The first three parameters are:
    * Application Short Name -- Application Short name (ie. WAHC)
    * Current Program Short Name -- Concurrent Program being called
    * Current Program Description -- description for above
    * These should be the first three parameters passed by the concurrent
    * program in this order. The next two are constants set to null
    * These are followed by the parameters passed by the first concurrent
    * program that are being passed to the next concurrent program.
    * I am limiting the parameter list to ten for now.
    // Dynamic PLSQL statement used to get a concurrent request completion status
    // This is necessary because the java class does not provide this method :-(
    String mGetCompleteStatus =
    "DECLARE R_VAL BOOLEAN; " + "b_phase VARCHAR2 (80) := NULL; " +
    "b_status VARCHAR2 (80) := NULL; " +
    "b_dev_phase VARCHAR2 (80) := NULL; " +
    "b_dev_status VARCHAR2 (80) := NULL; " +
    "b_message VARCHAR2 (240) := NULL; " + "BEGIN " +
    "r_val := fnd_concurrent.wait_for_request (:1,5,1000," +
    "b_phase,b_status,b_dev_phase,b_dev_status,b_message); " +
    ":2 := b_phase; " + ":3 := b_status; " + ":4 := b_message; " + "end;";
    public RunTravProgram() {
    // no constructor necessary for now
    * Concurrent Processing provides an interface 'JavaConcurrentProgram' with abstract method
    * runProgram() which passes the concurrent processing context 'CpContext'. The concurrent
    * program developer will implement all of their business logic for a concurrent program in
    * runProgram(). The main() method, implemented by AOL, will call runProgram() after
    * performing all of the required initialization for the concurrent program, including
    * establishing a database connection, initializing the required contexts, and setting up
    * the log and output files. CpContext will have the request specific log and output
    * file input methods
    public void runProgram(CpContext pCpContext) {
    mCtx = pCpContext;
    OracleCallableStatement lStmt = null;
    boolean bCompletion = true;
    String sPhase = "";
    String sStatus = "";
    String sMessage = "";
    //get handle on request completion object for reporting status
    lRC = pCpContext.getReqCompletion();
    // assign logfile
    logFile = pCpContext.getLogFile();
    // assign outfile
    outFile = pCpContext.getOutFile();
    // assign fileseparator
    mFileSeparator = getFileSeparator();
    // get the JDBC connection object
    mConn = pCpContext.getJDBCConnection();
    outFilePath =
    ((new File(outFile.getFileName())).getParent() == null ? "" :
    (new File(outFile.getFileName())).getParent() +
    mFileSeparator);
    logFile.writeln("OutFile File Path: -> " + outFilePath, 0);
    // get parameter list object from CpContext
    // these come from the concurrent program
    ParameterList lPara = pCpContext.getParameterList();
    // create a temporary array and retrieve the parameters created by
    // the program. Currently limiting the number of parameters to 10 for now
    String pvals[] = new String[10];
    int pcount = 0;
    while (lPara.hasMoreElements()) {
    NameValueType aNVT = lPara.nextParameter();
    pvals[pcount] = aNVT.getValue();
    pcount++;
    if (pcount > 9)
    break;
    // send parameter values to the log file
    logFile.writeln("Arg 1: APPL_SHORT_NAME -> " + pvals[0], 0);
    logFile.writeln("Arg 2: CURR_PROG_SHORT_NAME -> " + pvals[1], 0);
    logFile.writeln("Arg 3: CURR_PROG_DESCRIPTION -> " + pvals[2], 0);
    logFile.writeln("Arg 4: TEMPLATE_CODE -> " + pvals[3], 0);
    logFile.writeln("Arg 5: P_PLANT_CODE -> " + pvals[4], 0);
    logFile.writeln("Arg 6: P_BATCH_NO -> " + pvals[5], 0);
    logFile.writeln("Arg 7: P_SHOW_PROMISE -> " + pvals[6], 0);
    logFile.writeln("Arg 8: P_WATERMARK -> " + pvals[7], 0);
    XDOtemplateCode = pvals[3]; // store the template name globally
    progShortName = pvals[1]; // store the program short name globally
    XDOAppShortName = pvals[0]; // store the application short name
    sWatermark = pvals[7]; // store the watermark globally
    progDesc = pvals[2];
    try {
    // create a concurrent request object
    ConcurrentRequest cr = new ConcurrentRequest(mConn);
    // use the parameters to call fnd_request.submit_request
    cr.addLayout(XDOAppShortName, XDOtemplateCode, XDOLanguage,
    XDOTerritory, XDOFinal_format);
    Vector param = new Vector();
    param.add(pvals[4]); // plant code
    param.add(pvals[5]); // batch ID
    param.add(pvals[6]); // Show SO info flag
    iRequestID =
    cr.submitRequest(XDOAppShortName, progShortName, progDesc,
    null, false, param);
    mConn.commit();
    // send the request ID to the log file
    logFile.writeln("-- Request ID: ->" + Integer.toString(iRequestID),
    0);
    // call fnd_concurrent.wait_for_request to wait until the request
    // has ended - use this to check the request status before proceeding
    lStmt =
    (OracleCallableStatement)mConn.prepareCall(mGetCompleteStatus);
    lStmt.setInt(1, iRequestID);
    lStmt.registerOutParameter(2, java.sql.Types.VARCHAR, 0, 255);
    lStmt.registerOutParameter(3, java.sql.Types.VARCHAR, 0, 255);
    lStmt.registerOutParameter(4, java.sql.Types.VARCHAR, 0, 255);
    lStmt.execute();
    // get the results of the completion
    sPhase = lStmt.getString(2);
    sStatus = lStmt.getString(3);
    sMessage = lStmt.getString(4);
    lStmt.close();
    // send the results of the request processing to the log file
    logFile.writeln("-- Phase: -> " + sPhase, 0);
    logFile.writeln("-- Status: -> " + sStatus, 0);
    logFile.writeln("-- Message: -> " + sMessage, 0);
    // test here to make sure it completed correctly
    if (sPhase.equals("Completed") && sStatus.equals("Normal")) {
    // construct the PDF file name generated by the called request
    PDFFile = progShortName + "_" + iRequestID + "_1.pdf";
    // add a watermark to the generated PDF
    // create an output stream for the existing PDF
    // and set ouput to append
    OutputStream pdfout =
    new FileOutputStream(outFilePath + PDFFile, true);
    // create an inputstream array (required by calling method)
    InputStream pdfin[] = new InputStream[1];
    pdfin[0] = new FileInputStream(outFilePath + PDFFile);
    // add the watermark passed as a parameter
    bCompletion = addWatermark(pdfin, pdfout);
    // assign the modified file to the context out
    // this will print using this request
    if (bCompletion)
    outFile.setOutFile(outFilePath + PDFFile);
    // release the connection object
    // and set the completion status for the request
    if (bCompletion) {
    pCpContext.getReqCompletion().setCompletion(ReqCompletion.NORMAL,
    } else {
    lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
    pCpContext.releaseJDBCConnection();
    } catch (SQLException s) {
    logFile.writeln("SQL Error: Exception thrown w/ error message: " +
    s.getMessage(), 0);
    lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
    pCpContext.releaseJDBCConnection();
    } catch (IOException ioe) {
    logFile.writeln("IO Error: Exception thrown w/ error message: " +
    ioe.getMessage(), 0);
    lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
    pCpContext.releaseJDBCConnection();
    } catch (Exception e) {
    logFile.writeln("General Exception: " + e.getMessage(), 0);
    lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
    pCpContext.releaseJDBCConnection();
    } finally {
    try {
    if (lStmt != null)
    lStmt.close();
    pCpContext.releaseJDBCConnection();
    } catch (SQLException e) {
    logFile.writeln(e.getMessage(), 0);
    lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
    * addWatermark()
    * @param pdfin
    * @param pdfout
    * @return boolean
    * This method will work for an existing document or a newly generated
    * one. Set the outputstream append flag to false for a new document
    * and true for an existing one.
    * NOTE: PDFDocMerger requires an inputstream array even if it only
    * contains one document.
    private boolean addWatermark(InputStream[] pdfin, OutputStream pdfout) {
    if (!sWatermark.equals("")) {
    try {
    PDFDocMerger docMerger = new PDFDocMerger(pdfin, pdfout);
    //docMerger.setTextDefaultWatermark(sWatermark);
    docMerger.setTextWatermark(sWatermark, 80f, 50f);
    docMerger.setTextWatermarkAngle(25);
    docMerger.setTextWatermarkColor(1.0f, .50f, .50f);
    docMerger.setTextWatermarkFont("Garamond", 100);
    docMerger.process();
    docMerger = null;
    return true;
    } catch (XDOException e) {
    logFile.writeln("Watermark process Failed: " + e.getMessage(),
    0);
    return false;
    return true;
    * Returns the file separator
    private String getFileSeparator() {
    return (System.getProperty("file.separator"));
    * EBSEmailDelivery
    * @return
    * Just for testing right now.
    private boolean EBSEmailDelivery() {
    if (!emailAddress.equals("")) {
    try {
    // create delivery manager instance
    DeliveryManager delMgr = new DeliveryManager();
    // create a delivery request
    DeliveryRequest delReq =
    delMgr.createRequest(DeliveryManager.TYPE_SMTP_EMAIL);
    // set email subject
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_SUBJECT,
    "EBS Report:" + progDesc +
    " for request: " + iRequestID);
    // set SMTP server host
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_HOST,
    emailServer); // need to supply the email smtp server
    // set the sender email address
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_FROM,
    emailAddress);
    // set the destination email address
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_TO_RECIPIENTS,
    emailAddress);
    // set the content type of the email body
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_TYPE,
    "application/pdf");
    // set the document file name appeared in the email
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_FILENAME,
    PDFFile);
    // set the document to deliver
    delReq.setDocument(outFilePath + PDFFile);
    // submit the request
    delReq.submit();
    // close the request
    delReq.close();
    return true;
    } catch (DeliveryException de) {
    logFile.writeln("email process Failed: " + de.getMessage(), 0);
    return false;
    return true;
    This is the class for a JCP I created to perform the following:
    1) Launch an existing Concurrent Program that produces PDF output
    2) Grab the PDF and apply a watermark based on user input or conditions
    3) associate the modified PDF to CP output for PASTA printing
    It isn't elegant but it is fairly simple. I added the email capability and tested it but am not implementing it at the present time.
    there is a fair amount of information out there that explains how to create a JCP councurrent program but very little that demonstrates the class needed.
    I hope this helps

  • XML Publisher common user interface document viewer

    Trying to display XMLP data template output from OA Framework page.
    My getXMLData AM method is:
    public BlobDomain getXMLData(String personId, String prgmCd)
    BlobDomain blobDomain = new BlobDomain();
    try
    String s1 = "SKOAFTRANS";
    String s2 = "SKA";
    DataTemplate datatemplate = new DataTemplate(((OADBTransactionImpl)getOADBTransaction()).getAppsContext(), s2, s1);
    Hashtable parameters = new Hashtable();
    parameters.put("P_PERSON_ID",personId);
    parameters.put("P_PRGM_CD",prgmCd);
    datatemplate.setParameters(parameters);
    datatemplate.setOutput(blobDomain.getBinaryOutputStream());
    datatemplate.processData();
    catch(SQLException e)
    throw new OAException("SQL Error=" + e.getMessage(),OAException.ERROR);
    catch (XDOException e)
    throw new OAException("XDOException" + e.getMessage(),OAException.ERROR);
    catch(Exception e)
    throw new OAException("Exception" + e.getMessage(),OAException.ERROR);
    return blobDomain;
    I'm getting the following exception at runtime:
    java.lang.IllegalAccessError: tried to access class oracle.apps.fnd.i18n.common.text.DigitList from class oracle.apps.fnd.i18n.common.text.ExcelNumberFormat
         at oracle.apps.fnd.i18n.common.text.ExcelNumberFormat.<init>(ExcelNumberFormat.java:345)
         at oracle.apps.fnd.i18n.common.text.ExcelNumberFormat.<init>(ExcelNumberFormat.java:623)
         at oracle.apps.fnd.i18n.common.util.FormatMaskUtil.<clinit>(FormatMaskUtil.java:472)
         at oracle.apps.xdo.dataengine.Format.<init>(Format.java:68)
         at oracle.apps.xdo.dataengine.XMLPGEN.<init>(XMLPGEN.java:66)
         at oracle.apps.xdo.dataengine.DataProcessor.<init>(DataProcessor.java:178)
         at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:135)
         at skidmore.oracle.apps.igs.assessment.server.StudentTranscriptAMImpl.getXMLData(StudentTranscriptAMImpl.java:108)

    Hi,
    I had the same problem listed at the beginning of this thread:
    Error invoking 'set_xslt_locale':'java.lang.IllegalAccessError: tried to access class oracle.apps.fnd.i18n.common.text.DigitList from class oracle.apps.fnd.i18n.common.text.ExcelNumberFormat'
    I raised an SR and eventually came up with the cause and a solution.
    Cause:
    Essentially the problem is caused by incompatible versions of classes in the oracle.apps.fnd.i18n.* package held in the file jdevbin\jdev\appslibrt\aolj.jar versus the classes used by the BI Publisher libraries. The 'set_xslt_locale' method was introduced in BI publisher version 5.6.3 so if you have upgraded to this version on the server it is likely that you will get this error in JDeveloper.
    Solution:
    1) You will first need to copy the following file to your local JDev install and add it as a library via Project Settings --> Libraries :
    $FND_TOP/java/3rdparty/stdalone/xdoparser.zip
    2) Next fetch the latest version of the oracle.apps.fnd.i18n.* classes from $OA_JAVA. Create a zip file of these files (i.e. i18n.jar), copy to your local JDev install and add it as a library as you did with the xdoparser.zip.
    3) Copying these files alone will not solve the problem because JDeveloper will use the oracle.apps.fnd.i18n.* classes located in the jdevbin\jdev\appslibrt\aolj.jar file before using the ones located in the file added in step 2 (i18n.jar). To get round this, ensure that the the library you have added for the i1n8.jar file is higher in the list (under Project Settings  Libraries) than the libraries “FND Libraries” & “OA Developer Libraries” (if selected). This will ensure that the files in i18n.jar are used prior to those in jdevbin\jdev\appslibrt\aolj.jar. If this does not work (some users have found this approach not to work), make a backup of the file jdevbin\jdev\appslibrt\aolj.jar and then manully remove all files in the oracle.apps.fnd.i18n package from the file.
    4) In addition to the above copy the file $OA_HTML/xdo_doc_display.jsp to your local OA_HTML directory (usually jdevhome\jdev\myhtml). You should also set the temporary directory of the XML Publisher (under Admin) to a directory that exists on your PC (eg. /var/tmp on your PC will be c:\var\tmp).

  • XML PUBLISHER Questions

    Hi All,
    Following questions restrict to use of functionalities of XMLP:
    1. What could be functionality of Delivery manager of XMLP?
    2. How could process Delivery manager an user request?
    3. Delivery manager is full of Java API’s that means apps developer must know java. Am I correct? If it is Yes, what are java concepts need know so that developer can do his job successfully?
    4. What could be sub-template concept in XMLP? Please give one practical scenario.
    5. One scenario: I want generate group of invoices in PDF format and each invoice must generate in fresh page.
    XML Input to Template: Report output (output format in XML)
    Input parameters: Customer or Print date (i.e. all invoices of specified customer should populate)
    I could not able to generate each invoice in fresh page. Is it possible through XMLP?
    6. XSL: is language and used for transformation i.e. one form document to another form document (xml =>XHTML) am I correct?
    7. When do we go for XSL implementation in XMLP? Please provide example.
    8. Where do we write XSL code in template? Assume template I am using RTF form field method.
    Any help would appreciate.
    Thanks,
    [email protected]
    Date: 13-Aug-07.
    Hi All,
    What could be the difference between delivery manager and Document Processor engine?
    Could we use both for deliver XMLP documents to different Delivery channels?
    Thanks,
    [email protected]
    Message was edited by:
    user553699

    Hi All,
    I am also facing new problem while i am going to register template in following environment:
    Oracle applications version: 11.5.10.2
    XML publisher Version: 5.0.0
    My file size: 65 KB with out image
    363 KB with company logo
    The RTF used English language characters and want to register for English – USA
    My RTF template works fine in preview mode in Word. I go to upload it via XML Publisher Adminstator and I get a screen that just says "You have encountered an unexpected error. Please contact the System Administrator for assistance."
    What? The only option is Log out. Is there a way to validate my template to know what could possibly be wrong with it?
    Please let me know if any other information require about RTF template.
    Any help would appreciate.
    Thanks,
    Sai.Krishna @cavaya.com
    P.S: I do not know how to attach file in forum. please give me information how to attach file form so that i can attach RTF file.

  • XML Publisher (Converting (.xml )XML file into (.xsd)XMLSchema)

    Hi,
    How to convert (.xml) XML file into (.xsd.) XML Schema.
    Please help me out.
    Thanks,
    SubbaRao.

    Hi,
    Actually We have to generate reports using XML Publisher.For this we gone through the documents provided by XML Publisher.As per Pusher documents we followed the steps.
    Taken the Oracle Apps Report.Converted into .xml file then converted into XML Schema (.xsd) by using Stylus studio.
    Now we are not able to create .rtf file.
    please help us.
    Thanks,
    Venkat.

  • BI Publisher Document Processor fails after upgrade on AS/400 from V5R4 to V7R1

    We have used BI Publisher for four years now, and when we upgraded our operating system to V7R1, we are getting  unusual errors when invoking Document Processor.  We have run the exact same command on the two different machines and we get a FileNotFoundException on the new (V7R1 box).   Investigated the logs from the two machines we get the following:
    ===> RUNJVA CLASS(oracle.apps.xdo.batch.DocumentProcessor) PARM('-debug' '-tempdir' '/e1je/UAT/Outbound/XPTempDir' '/e1je/UAT/Outbound/WORKDIR/70207_308131654402711.xpctrl')
    The java.version property was detected as input. This property is used as output only and has no effect on JVM initialization.                           
    [081613_124243749][][STATEMENT] Oracle XML Parser version ::: Oracle XML Developers Kit 10.1.3.0.0 - Production                                          
    [081613_124243753][oracle.apps.xdo.batch.DocumentProcessorEngine][STATEMENT] The xdo.cfg can't be found.                                                 
    [081613_124243768][oracle.apps.xdo.batch.DocumentProcessorEngine][STATEMENT]
    ========================> startElement() ::: startDocument is entered <======
    ==================                                                          
    [081613_124243781][][STATEMENT] Logger.init(): *** DEBUG MODE IS OFF. ***   
    [081613_124243781][oracle.apps.xdo.template.EFTProcessor][STATEMENT] EFTProcessor constructor is called.                                                 
    [081613_124243785][][STATEMENT] Logger.init(): *** DEBUG MODE IS OFF. ***   
    [081613_124244201][oracle.apps.xdo.batch.FileSearch][STATEMENT] /e1je/UAT/Outbound/XPTempDir/081613_124243754/4.xdo is deleted                           
    [081613_124244204][oracle.apps.xdo.batch.FileSearch][STATEMENT] /e1je/UAT/Outbound/XPTempDir/081613_124243754 is deleted                                 
    [081613_124244560][][STATEMENT] WARNING: Old RTF version detected, nested table disabled
    [081613_124244608][][STATEMENT] -------cell per row: 2---------        
    [081613_124244805][][STATEMENT] Adding: {TEMPLATE TYPE(HLDR:4)}        
    [081613_124244805][][STATEMENT] Adding: {FIXED_POSITION_BASED(STR)}    
    [081613_124244807][][STATEMENT] -------cell per row: 2---------        
    [081613_124244807][][STATEMENT] Adding: {OUTPUT CHARACTER SET(HLDR:4)} 
    [081613_124244807][][STATEMENT] Adding: {iso-8859-1(STR)}              
    More values here being loaded
    [081613_124245599][][STATEMENT] expression: rpad((CONVERT_CASE(TO_CHAR(('')),
    'NONE')),1,' ')                                                             
    [081613_124245600][][STATEMENT] -------cell per row: 2---------             
    [081613_124245601][][STATEMENT] Adding: {END LEVEL(HLDR:3)}                 
    [081613_124245601][][STATEMENT] Adding: {V558671A_S8(STR)}                  
    [081613_124246022][oracle.apps.xdo.common.xml.XSLT10gR1][STATEMENT] Oracle XML Developers Kit 10.1.0.5.0 - Production                                    
    [081613_124246027][][EXCEPTION] java.io.FileNotFoundException: /e1je/UAT/Outbound/XPTempDir/081613_124243754/4.xdo (A file or directory in the path name d
    oes not exist.)                                                             
            at java.io.FileInputStream.<init>(FileInputStream.java:126)         
            at java.io.FileInputStream.<init>(FileInputStream.java:85)          
            at oracle.apps.xdo.template.eft.EFTGenerator.loadXSL(Unknown Source)
            at oracle.apps.xdo.batch.DocumentProcessorEngine.xsl2text(Unknown Source)                                                                        
            at oracle.apps.xdo.batch.DocumentProcessorEngine.endElement(Unknown Source)                                                                      
            at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:210)                                                                 
            at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1310)                                                          
            at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:328)                                                       
            at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:295)                                                          
            at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:258)         
            at oracle.apps.xdo.batch.DocumentProcessorEngine.process(Unknown Source)                                                                         
            at oracle.apps.xdo.batch.DocumentProcessor.process(Unknown Source)  
            at oracle.apps.xdo.batch.DocumentProcessor.main(Unknown Source)     
                                                                                 [081613_124246029][oracle.apps.xdo.batch.DocumentProcessorEngine][EXCEPTION]
       java.io.FileNotFoundException: /e1je/UAT/Outbound/XPTempDir/081613_124243754/3.xdo (A file or directory in the path name does not exist.)                
            at java.io.FileOutputStream.<init>(FileOutputStream.java:194)       
            at java.io.FileOutputStream.<init>(FileOutputStream.java:84)        
            at oracle.apps.xdo.batch.DocumentProcessorEngine.xsl2text(Unknown Source)                                                                        
            at oracle.apps.xdo.batch.DocumentProcessorEngine.endElement(Unknown Source)                                                                      
            at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:210)                                                                 
            at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1310)                                                          
            at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:328)                                                       
            at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidati ngParser.java:295)                                                          
            at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:258)         
            at oracle.apps.xdo.batch.DocumentProcessorEngine.process(Unknown Source)                                                                         
            at oracle.apps.xdo.batch.DocumentProcessor.process(Unknown Source)  
            at oracle.apps.xdo.batch.DocumentProcessor.main(Unknown Source)      [081613_124246030][oracle.apps.xdo.batch.DocumentProcessorEngine][STATEMENT]
    ========================> startElement() ::: endDocument is entered <========
    ================                                                            
    [081613_124246030][][STATEMENT] The output ---> 0 : null                    
    [081613_124246030][][UNEXPECTED] DocumentProcessor ::: The elapsed time processing batch xml ---> 2.494 secs                                             
    Java program completed                                                                                                                        
    It seems that it is deleting the temporary directory before it is finished with it.  Any help on why this might be occuring would be appreciated.
      Doug

    This was a problem  in the xdocore.jar file from Oracle.  We receive the latest patch from them and the issue was resolved.

  • OPP(Output Post Processor) not processing the report (XML Publisher)

    Hi,
    I have defined a concurrent program (XML Publisher report) then ran but failed with the errors below. I am running the report in Oracle E-Business Suite 11.5.10.2, thru a concurrent manager other than Standard Manager. My guess is that OPP(Output Post Processor) is not processing the request outputs coming from a different manager/work shift since requests ran thru Standard Managers are all OK.
    In the OAM(Oracle Applications Manager)-> OPP, there is only 1 process allocated for both Actual and Target. If we increase the number of processes, will it work?
    /home/app/oracle/prodcomn/temp/pasta19356_0.tmp:
    /home/app/oracle/prodcomn/temp/pasta19356_1.tmp: No such file or directory
    Pasta: Error: Print failed. Command=lp -c -dkonica4 /home/app/oracle/prodcomn/temp/pasta19356_1.tmp
    Pasta: Error: Check printCommand/ntPrintCommand in pasta.cfg
    Pasta: Error: Preprocess or Print command failed!!!
    Anybody who has experienced similar issue?
    Thanks in advance.
    Rownald

    Hello,
    Just an additional tests info. We have 2 concurrent managers which I think is affecting the XML report output - Standard Manager(running 24 hours) and a Warehouse manager (9am-4:15pm).
    When I run the report before or after the Warehouse manager workshift(9am-4:15pm), the output is fine - which means PDF is generated and Pasta printing is OK. However, when report is run between 9am-4:15pm, the report only shows XML output with an error in Pasta printing(above). I also found that re-opening the output(ran prior to Warehouse workshift) on the period between 9am-4:15pm would also result to just an XML output instead of the previous PDF.
    Anybody who has experienced similar issue like this? Any idea? The report is not directly defined as "inclusion" in the Warehouse manager, only the program calling it. Any effect of multiple concurrent managers in the XML Publisher output?
    Thanks in advance for your ideas..

  • XML Publisher data engine vs. switching output to XML in the Con.Program.

    What is the difference between setting up templates using the data engine described in the 5.6 user's guide and creating a customer report and setting its output to XML?
    Is it a matter of you being able to totally create your own XML and add atrributes to tags and such? Is this the only way to get data output from Oracle into an XML file? It's been a while, but i recall creating XML output on the fly with .Net pretty easily via an ASPX page.
    Seems like alot of work to achieve this? Am I missing something?
    If I wanted to have a JSP page where a user could use a form to query the database via IE, are these the API's i need to use for the returned data to come back as XML?
    Thanks,
    Jeremy

    You should try posting your query in XML Publisher forum, which is now BI Publisher.

  • XML Publisher PDF DOCUMENT MERGER

    Hi,
    The Report POXPRPOP (Print Purchase order Report) has been customized with XML publisher for PDF output. The RTF has been designed and it works well. Now I have to combine the two or more PO attachment with above XML report output and produces single PDF as output at concurrent request. The PO attachment is BLOB (PDF file, Word doc). For this I found that in the XML Publisher User Guide that we make this as post processing event through PDFDocumentMerger API.
    Could any one validate this and also suggest if any other best approach to do this?
    if you know more about this PDF document MErger could you know me how to stimulate this process?
    Any help in this regard would appreciate.
    Thanks,
    Sai Krishna.

    Hi,
    We have a similar requirement, did u get any solution. It would be great if you could share your solution.
    Thanks,
    Satheesh

  • Font problems in resulting XML Publisher document (from PeopleSoft)

    Hi all,
    we're creating documents using XML Publisher under PeopleSoft, designing the template in Word 2007.
    We see strange things hapening to the resulting documents: even though the majority of the template is created in a Times New Roman 11pt font, we find that in the resulting document, empty paragraphs and empty table cells are formatted as Arial 12 pt. So where we put an empty line between paragraphs in the text in the template, and set all the text to Times New Roman, the empty lines are Arial. Same thing with the tables. There's a table with a for-each loop in the rows. The XML with the data always contains 10 entries, but possibly with empty values, so that the table in the resulting document always has 10 rows (plus a header row). However, the empty rows are Arial 12, and the filled-in rows are TNR 11. This results in a different heigth for the table depending on how many rows are filled in, causing the positioning of the rest of the document to be off.
    The template contains NO Arial 12 at all...
    I hope my problem is clear. Any ideas or pointers where to look are really appreciated...
    Spiffo

    Hello Deepz,
    Thank you for your answer. I am not sure I understand your answer: I stated, this is occurring in XML Publisher from PeopleSoft, so not in BI Publisher. Furthermore, there is one section in the document where I do need Arial, but at pt 11, not 12.
    I hope you or other forum members can help me further.
    Regards,
    Spiffo

  • XML Publisher and Application Engine in Peoplesoft

    How do i write a simple application engine program for an XML Publisher report in Peoplesoft?
    Thanks in advance.
    Message was edited by:
    user611481

    Create sample output data in xml format and create a data source type rowset.
    create the report defination with above data source.
    Create a AE and create the rowset by using peoplecode, run the xmlp report by using PeopleCode and publish it in PeopleCode.

  • XML Publisher 5.6.1 Bursting Engine Issue

    We are patched to XML Publisher 5.6.1 in EBS. We have created a JCP to call the BURSTING ENGINE.
    The JCP is instantiating the DocumentProcessor class and calling the process method. However, it is generating a DELIVERY MANAGER (which makes me very CONFUSED) error saying:
    oracle.apps.xdo.batch.DeliveryHelper][EXCEPTION] oracle.apps.xdo.delivery.MissingRequiredPropertyException: Required property missing. Property name :[SMTP_TO_RECIPIENTS]
    at oracle.apps.xdo.delivery.AbstractDeliveryRequest.validateProperties(AbstractDeliveryRequest.java:1364)
    HAS ANYONE ENCOUNTERED THIS PROBLEM IN XML PUBLISHER 5.6.1? IS THIS A KNOWN PROBLEM? I JUST NEED TO KNOW IF THIS IS REALLY A 5.6.1 ISSUE (OR MY ISSUE) AND IF IT IS, THEN WE WILL UPGRADE TO 5.6.2 or 5.6.3?!?!?!
    Thanks!

    sounds like you are setting the to property in the wrong spot. Is the to set in the xapi: message id="123" to="[email protected]" ?

  • Is it possible to use xml publisher with xml document as data source ?

    I have an application that have to publish document from xml document that are not part a oracle 10g database but will be stored into Oracle Berkeley XML database insteed. Is it possible to use server and/or desktop to publish these documents ?
    I test the desktop edition using the source xml document but it render no data when the template is executed (vizualization)
    I installed the server edition and i'm not able to declare xml document as a data source
    So i have a doubt that xml publisher is able to publish something from a xml datasource
    Thanks

    Yes, it is possible.
    The problem should come from your template. Refer to "edit a RTF template" in the docs.
    A fact is that XML Publisher server edition is not very adapted to an XML file datasource. In order to use it, you should use an HTTP datasource, with the URL of your XML document (that you should place on a web server...). The problem is that this URL is fixed and point always on the same reference...so XML Publisher server edition is not very good for that use.
    I choose to use the XML Publisher Java API which is better for this task.

  • XML Publisher Documents

    From where can we get some more documents in xml publisher i.e more than the help file present in the xml publisher. If Anyone have the document please help

    http://www.oracle.com/technology/products/xml-publisher/xmlpdocs.html

  • XML Publisher API Document

    Hi,
    I am looking for complete XML Publisher Java API Docs. Any pointers would be helpful.
    Thanks in Advance
    ~Neeraj

    The document
    XML Publisher 5.6.2 Core Components APIs
    can be found here:
    http://www.oracle.com/technology/products/xml-publisher/xmlpdocs.html

Maybe you are looking for

  • Menu for bounded task flow

    Hi experts, can we create menu for bounded task flow?.....we can do it in a unbounded task flow by using "create or update menu"...... PMS Edited by: pms on Jan 6, 2012 5:31 AM

  • K8n won't boot off ATA drive

    So with all this talk of unlocked SATA busses limiting o/c, and my frustration getting the bus over 240 with 5:6 (or even 2:3), or 225 with 1:1 I thought I'd give using an old ATA drive a shot. But the board won't boot off it. I've tried several inst

  • ISkin Case from 1st gen iPhone Fits 3G iPhone

    I have the iSkin Revo for the orginal iPhone. It fits the 3G iPhone alomst like it was made for it. I thought I was going to have to spring for a new case, but this iSkin will work for now. Of course, I purchased the White 3G iPhone and it's now cove

  • Firefox crashes in zynga games

    adobe flash plugin crashes

  • Acrobat: Ungültiger Pfad - Was tun?

    Wie kann ich Acrobat XI Pro löschen? Ich versuche seit 6 Monaten dies zu tun! Krieg's nicht hin. Also kann ich auch nicht updaten. Denn es heißt: Erst den falschen Pfad löschen! Farancor