XML Publisher 5.6.2 is the FOProcessor thread capable?

I keep getting a class not found error when I make my app multi-threaded (see my log file).
I made sure I was exporting my libraries and also tried registering the class for name, and even instantiated it and in still can't find. This only happens when I make it threaded, otherwise it works just fine, no issues at all.
This is the class it can't find: oracle.apps.xdo.template.rtf.XSLTFunctions
Here's the sample call:
public void foProcessorEngine()
try
log4jLogger.info("before foProcessorEngine");
FOProcessor processor = new FOProcessor();
processor.setData(getOutputDirectory() + getFileName() + ".xml");
processor.setTemplate(getOutputDirectory() + getFileName() +".xsl");
processor.setOutput(getOutputDirectory()+ getFileName() + getFileExt());
processor.setOutputFormat(FOProcessor.FORMAT_EXCEL);
oracle.apps.xdo.template.rtf.XSLTFunctions ike = new oracle.apps.xdo.template.rtf.XSLTFunctions();
processor.generate();
log4jLogger.info("after foProcessorEngine ");
catch (XDOException e)
log4jLogger.error("foProcessorEngine - "+ e, e );
catch (Exception e)
log4jLogger.error("generic exception - foProcessorEngine - "+ e, e );
START OF LOG
INFO 04-May-2007 12:28:50 - Starting Portal...
INFO 04-May-2007 12:28:52 - P_CUSTOMER_NUMBER0005276WH020
INFO 04-May-2007 12:28:52 - P_END_DATE01-JAN-2007
INFO 04-May-2007 12:28:52 - P_START_DATE01-JAN-2005
INFO 04-May-2007 12:28:52 - P_DEBUGDBMS
INFO 04-May-2007 12:28:52 - REGMETVREGMET.rtf
INFO 04-May-2007 12:28:52 - OUTPUT FORMAT .xls
INFO 04-May-2007 12:28:52 - Before thread time 1178299732173
INFO 04-May-2007 12:28:52 - After thread time 1178299732174
INFO 04-May-2007 12:28:52 - output format value .xls
INFO 04-May-2007 12:28:52 - file extension .xls
INFO 04-May-2007 12:28:52 - The file name is VREGMET_188557147
INFO 04-May-2007 12:28:52 - start of dataEngine
INFO 04-May-2007 12:28:59 - end of dataEngine
INFO 04-May-2007 12:28:59 - start of rtfConverter
INFO 04-May-2007 12:29:04 - end of rtfConverter
INFO 04-May-2007 12:29:04 - before foProcessorEngine
INFO 04-May-2007 12:29:04 - data file directory /tmp/reports/VREGMET_188557147.xml
INFO 04-May-2007 12:29:04 - template file directory /tmp/reports/VREGMET_188557147.xsl
INFO 04-May-2007 12:29:05 - output file directory /tmp/reports/VREGMET_188557147.xls
INFO 04-May-2007 12:29:05 - output format 4
ERROR 04-May-2007 12:29:08 - foProcessorEngine - oracle.apps.xdo.XDOException
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:586)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:383)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:201)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:161)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1015)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:968)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:209)
at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1561)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:951)
at com.valspar.regulatory.portal.common.utility.XMLPublisherUtility.foProcessorEngine(XMLPublisherUtility.java:168)
at com.valspar.regulatory.portal.common.utility.XMLPublisherUtility.run(XMLPublisherUtility.java:94)
at java.lang.Thread.run(Thread.java:534)
Caused by: oracle.xdo.parser.v2.XPathException: Extension function error: Class not found 'oracle.apps.xdo.template.rtf.XSLTFunctions'
at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1526)
at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:517)
at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:485)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:264)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:150)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:187)
... 16 more
Thanks,
Ike

Thanks for responding Tim. I'm going to close my SR. One of the portal developers this morning at valspar figured it out. I tested it and it worked!
Here's the fix:
Change the setting for the OC4J option -userThreads that should allow programs to spawn threads.

Similar Messages

  • XML Publisher Report:how to disappear the column if no data found

    Hi,
    I have a XMl publisher report requirement , the format is tabular lets say with the structure of 4 columns and 10 rows.requirement is to if suppose there is no data for row number 6 the row itself should not appear over the report and the immediate next row should come in place.
    please help me if any one of u has implemented the same.
    Ankit

    Ankit,
    This is almost hard to work although NOT impossible to achieve on the template.
    A little big of PL/SQL genius where all the columns are selected into variables may be used to achieve this, although you will have to manage them accordingly.
    I don't any other way round it.
    Rgds

  • XML Publisher:Concurrent Prg not picking the RTF Template

    Hi All,
    We developed the rdf report and design the layout and we registred it.when we run the concurrent program program is not picking the RTF template.
    We are using the Following version.
    Oracle Apps 11.5.10
    xml pub is 5.6.2
    So please do the need ful, pleaseeeeeeee
    Thanks & Regards
    Leela

    that suggests you haven't got the setup of the data definition and/or the layout template right.
    Go into the XML Publisher administrator responsibility and select 'Data Definition'
    You need to make sure that when you create the data definition it has the same code as the concurrent program short name and application. This is the connection between the two.
    Having create the data definition, click on the 'Templates' tab and create a template. It should connect with the data Definition you have just created.
    Now upload your layout template file.
    If you have this right, then you will be able to see the layout template from the onsite setting tab.

  • XMl Publisher Template - Unable to repeat the outer group

    I am working on XML publisher report and as part of that working on template, the Output columns are defined in header group and lines group. I was using for:each to display the items in columns and I was unable to repeat the outer group for each line.
    I was using for-each:OUTER_GROUP and i was able to print only the first line of the INNER_GROUP. or for-each:INNER_GROUP and i was able print the lines but unable to print the header items, wondering how can i print outergroup items. (I saw that like '/' used to print outer group columns), Can someone advise me on this.
    Thanks!

    Use as many '../' as needed to traverse up the path from where you are.
    Without seeing your xml structure, it would be difficult to provide the exact path the elements that you are trying to get to.
    Thanks,
    Bipuser

  • Is the DocumentProcessor thread capable?

    Hi everyone,
    I'd like to know if the DocumentProcessor is thread capable?
    I'm using the BI Publisher 10.1.3.2 APIs to burst mutiple input files at a time. If I keep my program single threaded, everything goes fines. But if I spawn a couple of threads at the same time, it sometimes goes fine or I sometimes get a bunch of :
    [092407_104518081][][EXCEPTION] java.io.FileNotFoundException: null\65.xml
         at oracle.apps.xdo.template.pdf.util.FormUtil.createURL(Unknown ...
    [092407_104518097][][EXCEPTION] java.lang.NullPointerException
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:200)...
    [092407_104518097][][EXCEPTION] Error while generating the Document...
    [092407_104518097][][EXCEPTION] java.io.FileNotFoundException: null\67.xml (Le chemin d'accès spécifié est introuvable)...
    etc etc...
    If I wait a couple of milliseconds before spawning each thread, then everything goes fine. Is there a way that each thread can Interfere with another thread? Is the document processor doing some I/O actions involving the same temporary documents or whatsoever?
    I've tried to specify a different temporary folder for each thread but I still get those errors. My threads are using the same control file, the same RTF templates but different xml inputs files. Every delivery is a PDF file written in the same folder but with a unique name.
    Where am I doing something wrong?!
    Thank you,
    Guillaume

    Thanks for your reply,
    Actually, all the exceptions are being thrown by the document processor. The code is as simple as this:
    import java.util.Properties;
    import oracle.apps.xdo.batch.DocumentProcessor;
    public class Burst extends Thread {
    private String m_FichierControle = null;
    private String m_FichierDonnees = null;
    private String m_DossierTemporaire = null;
    private ProprieteBean[] m_ProprietesUtilisateur = null;
    public Burst(String FichierControle, String FichierDonnees,
    String DossierTemporaire,
    ProprieteBean[] ProprietesUtilisateur) {
    m_FichierControle = FichierControle;
    m_FichierDonnees = FichierDonnees;
    m_DossierTemporaire = DossierTemporaire;
    m_ProprietesUtilisateur = ProprietesUtilisateur;
    this.start();
    public void run() {
    long start = System.currentTimeMillis();
    try {
    DocumentProcessor dp =
    new DocumentProcessor(m_FichierControle, m_FichierDonnees,
    m_DossierTemporaire);
    if (m_ProprietesUtilisateur != null &&
    m_ProprietesUtilisateur.length > 0) {
    Properties prop = new Properties();
    for (int j = 0; j < m_ProprietesUtilisateur.length; j++) {
    prop.put("user-variable:" +
    m_ProprietesUtilisateur[j].getAttribut(),
    m_ProprietesUtilisateur[j].getValeur());
    dp.setConfig(prop);
    dp.process();
    } catch (Exception e) {
    System.err.println(e);
    System.out.println("Temps d'exécution burst: " +
    (System.currentTimeMillis() - start) + " ms.");
    I'm running this by calling :
    Burst test1 = new Burst(paramsSet1...);
    Burst test2 = new Burst(paramsSet2...);
    Burst test3 = new Burst(paramsSet3...);
    I'm bad at Threading but I don't see why these would interfere with each other. I'm 75% sure its the Document Processor that is kinda locking files when parsing the RTF or whatsoever... Where am I wrong again :( What threading law am I breaking here ;)
    Thank you,

  • Calling XML Publisher Report from OAF using the conc programs xml output

    Hi all
    I am trying to call a report from oa Framework. I have developed the Template in the Ms-Word and for Generating the xml data i used the view object defined in OAF, this approach is working for me...i used the following code to do this in the AM as mentioned in many places...
    public XMLNode getEmpDataXML()
    OAViewObject vo = (OAViewObject)findViewObject("EmpVO1");
    XMLNode xmlNode = (XMLNode) vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
    return xmlNode;
    now i want that instead of the view object i should use the xml generated by the report which is registered as concurrnet program with output as xml.
    I am submitting the concurrent program and able to get the request id ...
    Now from here what should i do.. please suggest...

    Hi,
    I am thinking of doing something very similar. What i was planning on doing is submitting the request, and then redirecting the user to the concurrent request page. They can then use the standard functionality to view output and get the xml to use the appropriate template.
    i would be interested in how you get the concurrent request id from the submitted job.
    Many thanks
    Rupesh

  • Error while trying to update the XML template using XML Publisher Administrator

    Hello Folks,
    We are on R12.1.3
    I changed a condition in a report and trying to upload the new XML template using XML Publisher Administrator.
    when i click the Apply button, it is throwing an error 'Bad Request'
    Navigation : XML Publisher Administrator > Data Definitions > query the report
    Click on the name of the report > click 'Update file' besides Data Template > Choose file > Click Apply
    I am getting the below error
    Bad Request
    Your browser sent a request that this server could not understand.
    Now, i could not upload a new XML template.
    Am I doing anything wrong.
    regards,
    Kris

    user10163762 wrote:
    Thank you Eugen and Hussein.
    The problem is not with the template.
    It seems to be a problem in that particular instance.
    Uploaded it in a different instance.
    However once i run the program, i cannot view the output as the browser window flashes and disappears.
    My colleague says , it is to do with the trusted site to download something from the browser.
    Can you please guide me on how to fix this ?
    http://bit.ly/1k8e2vi
    Thanks,
    Hussein

  • Can XML Publisher add a digital certificate (cert.pfx) via the xdo.cfg file or do I need to upgrade and use BI Publisher instead?

    Hi Guys
    I need to add a digital certificate to a clients customer statements and invoices. XML Publisher 5.6.3 has been used originally to design the templates as RTF. I have the following questions please...
    1. Can an RTF template be used or do I need to convert it to a pdf template?
    2. Can XML publisher even be used or do I need to get the DBAs to install BI Publisher. XML Publisher doesn't even have the signature properties in the admin screens that BI Publisher has.
    Below is a copy of the xdo.cfg file which currently does not add the pfx file...
    <config version="1.0.0"  xmlns="http://xmlns.oracle.com/oxp/config/">
    <properties>
       <property name="system-temp-dir">/tmp</property>
       <property name="pdf-security">false</property>
       <property name="pdf-open-password">testpass</property>
       <property name="pdf-permissions-password">testpass</property>
       <property name="pdf-encryption-level">1</property>
       <property name="pdf-no-printing">true</property>
       <property name="pdf-no-changing-the-document">true</property>
       <property name="signature-enable">true</property>
       <property name="signature-pkcs12-path">/app/oracle/product/appldev/apps/apps_st/appl/xdo/12.0.0/resource/digcert.pfx</property>
       <property name="signature-pkcs12-password">testpass</property>
       <property name="signature-field-location">top-left</property>
       <property name="signature-reason">taxreasons</property>
       <property name="signature-signed-at">Cape Town</property>
       <property name="signature-display-style">detailed</property>
    </properties>
    </config>
    Any help will be greatly appreciated.

    thanks for the summary of the many posts and threads describing all of these steps.

  • XML Publisher and the Oracle Shipping Transactions Form

    I am running 11.5.10.2. I need to print Simplified Chinese characters in a document. We converted to the UTF-8 character set so the server can render these on forms and such. I am using Oracle Reports 6i to produce a report, but due to the limitations with this product it will not produce PDF output with Chinese characters. XML Publisher however works great. The concurrent manager is set so the report produces XML which is then set to the template and out comes a really cool looking layout with Chinese that can be viewed, printed, or e-mailed anywhere.
    Now I have put this report into a document set so it can be printed from the Shipping Transactions form. But it does not work. There is no output. Metalink Note:312194.1 states development only supports XSL-FO and this will not be available until R12.
    Is this really true? Has anyone else come across this? Any suggestions on how to get around this?

    Hi
    Im assuming you are using the EBusiness Suite becasue of your reference to AR and AP modules. If so getting using an ORacle Report as a datasource for XMLP to format is pretty straightforward. There is a white paper on metalink describe the complete process - Note 295409.1. This will be available on the public site soon http://www.oracle.com/technology/products/applications/publishing/index.html
    As for AR and AP, there is no reason at all why you can not use XMLP with the existing Oracle Reports in those modules. You will start to see more and more modules providing embedded reporting functionality in the EBS based on XMLP technologies.
    Regards
    Tim

  • PeopleSoft XML Publisher report error with java.io.FileNotFoundException

    Hi,
    I have created two reports using XML Publisher in Peoplesoft Financials. The two reports are not related and they were submitted for processing separately. The first report completes without any issues. The second report results in error with the following message:
    09.11.17 ..(CIS_POTRPT.XML_FILE.Step03) (PeopleCode)
    [012309_091118154][oracle.apps.xdo.template.FOProcessor][EXCEPTION] IOException is occurred in FOProcessor.setData(String) with 'files/cis_potrpt.xml'.
    [012309_091118500][oracle.apps.xdo.template.FOProcessor][EXCEPTION] java.io.FileNotFoundException: files/cis_potrpt.xml (A file or directory in the path name does not exist.)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java(Compiled Code))
         at java.io.FileInputStream.<init>(FileInputStream.java:89)
         at oracle.apps.xdo.template.FOProcessor.getInputStream(FOProcessor.java:1316)
         at oracle.apps.xdo.template.FOProcessor.getXMLInput(FOProcessor.java:1100)
         at oracle.apps.xdo.template.FOProcessor.setData(FOProcessor.java:372)
         at com.peoplesoft.pt.xmlpublisher.PTFOProcessor.generateOutput(PTFOProcessor.java:53)
    2009-01-23-09.11.18.000418 AePcdExecutePeopleCode [174] Exception logged: RC=100.
    Error generating report output: (235,2309) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport PCPC:51552 Statement:1153
    Called from:CIS_POTRPT.XML_FILE.GBL.default.1900-01-01.Step03.OnExecute Statement:8
    2009-01-23-09.11.18.000617 DoStepActions [1797] Exception logged: RC=100.
    Process 598607 ABENDED at Step CIS_POTRPT.XML_FILE.Step03 (PeopleCode) -- RC = 24 (108,524)
    In the process monitor detail > view log/trace page, the xml file is accessible so the file was generated to a valid directory.
    The weird thing is I was able to run this report without any issues few weeks ago although another user also ran into same error. The PeopleCode step that has been identified is essentially same in the two reports. I checked the app server and the directory does exist as well as the xml files for the two reports. The problem does not occur in test environment, just in production. Any help would be appreciated.

    We encounter the same problem. Did you get the answer for this issue? Thanks in advance.

  • XML Publisher Report  - java.lang.OutOfMemoryError

    Hi All,
    Apps - 11.5.10.2
    XML Publisher - 5.6.3
    When the request being run for huge data, its getting out of momory error.
    We have already tried the below options
    Modified the teo profiles and 3 Fo processing properties in both the template and the data definition as follows as given in the notes 563181.1 and 563945.1
    Error in OPP logs
    [12/30/09 2:49:05 AM] [STATEMENT] [GSMServiceController:2921265] Getting next event...
    Exception: java.lang.OutOfMemoryError
    [12/30/09 2:49:46 AM] [java.lang.OutOfMemoryError
    [12/30/09 2:54:24 AM] [STATEMENT] [OPPServiceThread1] 1 threads running
    [12/30/09 2:55:18 AM] [java.lang.OutOfMemoryErrorjava.lang.OutOfMemoryError
    java.lang.OutOfMemoryError
    And finally the request ended in warning and the OPP got terminated.
    [java.io.tmpdir] - Has about 3 G of free space
    [APPLTMP] - Has more than 50G of free space
    Please advice.
    Thanks & Regards,
    Rakesh

    Hi Hussein,
    Reviewed those notes.... initially we got errors like
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:624)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:421)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:233)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: java.lang.ThreadDeath
         at java.lang.Thread.stop(Thread.java:630)
         at oracle.apps.fnd.cp.opp.OPPRequestThreadManager.terminateThread(OPPRequestThreadManager.java:207)
         at oracle.apps.fnd.cp.opp.OPPTerminateCommand.execute(OPPTerminateCommand.java:45)
         at oracle.apps.fnd.cp.opp.OPPServiceThread.processMessage(OPPServiceThread.java:240)
         at oracle.apps.fnd.cp.opp.OPPServiceThread.waitForMessages(OPPServiceThread.java:227)
         at oracle.apps.fnd.cp.opp.OPPServiceThread.mainLoop(OPPServiceThread.java:128)
         at oracle.apps.fnd.cp.gsf.BaseServiceThread.run(BaseServiceThread.java:135)
    then....
    java.lang.ThreadDeath
    at java.lang.Thread.stop(Thread.java:630)
    at oracle.apps.fnd.cp.opp.OPPRequestThreadManager.terminateThread(OPPRequestThreadManager.java:207)
    at oracle.apps.fnd.cp.opp.OPPTerminateCommand.execute(OPPTerminateCommand.java:45)
    at oracle.apps.fnd.cp.opp.OPPServiceThread.processMessage(OPPServiceThread.java:240)
    at oracle.apps.fnd.cp.opp.OPPServiceThread.waitForMessages(OPPServiceThread.java:227)
    at oracle.apps.fnd.cp.opp.OPPServiceThread.mainLoop(OPPServiceThread.java:128)
    at oracle.apps.fnd.cp.gsf.BaseServiceThread.run(BaseServiceThread.java:135)
    then we have made these changes
    change the Profile option "Concurrent: OPP Process timeout" as 108000 and
    Use XML Publisher's XSLT processor: True
    Enable scalable feature of XSLT processor: False
    Enable XSLT runtime optimization: True
    now we are getting only a single line error in the opp log
    12/30/09 2:55:18 AM] java.lang.OutOfMemoryErrorjava.lang.OutOfMemoryError
    java.lang.OutOfMemoryError
    the request is running for more than 3.5 hrs and ending in warning.
    The concurrent manager has timed out waiting for the Output Post-processor to finish this request.
    Thansk & Regards,
    Rakesh

  • XML Publisher report not printing excel output due to special characters

    Hello,
    I am trying to create a xml publisher report which should display the output in excel. But the program completes with a warning status and the output is displayed as XML instead of excel, with some errors "An invalid character was found in text content. Error processing resource " and i think these errors are due to the special characters(eg: city/province - A Coruña, Cáceres). If i give rownum < 10 in my query, where there are no such characters it works fine and i am getting an excel output.
    Tried changing the XML encoding and it doesn't help (both mentioned below)
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <?xml version="1.0" encoding="UTF-8"?>
    Do anyone have a solution for this
    Thanks in advance
    Edited by: user10317098 on Jan 16, 2012 10:58 AM

    Hi,
    Check this links that might help you..
    https://forums.oracle.com/thread/1018488
    http://docs.oracle.com/cd/E10091_01/doc/bip.1013/e05000/toc.htm
    Here the Exact solution from Oracle
    In the XML PUBLISHER ADMINISTRATOR Resp..
    Click the administration..
    then Click HTML Output
    Then in the Base Image URI Give the url of your application for example
    http://Test.Test.com:8000/OA_MEDIA/
    And then
    Image File Directory give this as per your application setup
    /u01/app/oracle/apps/apps_st/comn/java/classes/oracle/apps/media/
    Thanks & Regards
    Srikkanth.M

  • Preview Etext template in XML Publisher Desktop (Template Builder)

    Is there a way, or are there plans, to be able to preview an eText template using the template builder, in MS Word, like you can with PDF type templates. This is a great feature when creating PDF output and saves a lot of time. It would be great to be able to do the same for eText templates.
    Cheers,
    Dave

    You can create a dummy data definition and dummy template(etext) in xml publisher admin responsibility.
    For the Data definition , in the bottom if you scroll down you will see a link for upload preview xml data file.
    After uploading the xml file access your template and you can see a preview icon.If you click it you will see a txt file popping up
    thanks
    prasanna

  • Xml publisher 5.6.2 and jdeveloper

    Problem :
    I wanted to generate a pdf from a OA page. I was successful ingenerating the PDF from a OA Page but the problem is I am not able to find suitable xml publisher libraries to include in the Jdeveloper
    OA Framework Version 11.5.10.CU1.
    Requested soultion for
    Please provide me the list of libraries xml publisher to be included in jdeveloper.
    Approach for Libraries:
    Took XDO/ORACLE XML PUBLISHER OA ROLLUP PATCH 5.6.0 and extracted the zip file j456151.zip from the patch and included it as a library. My class compiled. But when I run from jdev the output is not generated. But I put the class on the JAVA_TOP it worked.
    If it has worked why do I need libraries?
    xml publisher is very powerful and I want to use the other features like data template and delivery manager. I want need corrrect libraries in jdeveloper.
    Experience with Oracle Support
    Oracle XML Publisher Support was of little help. I really felt helpless. I had to dig out everything from the patches. For oracle internal managers who want to see that we get proper support the tar number is
    5619199.992 NEED AN EXAMPLE FOR USING XML PUBLISHDOC...
    Severity: 3 , OS: n/a
    Below is the approach I just followed if you have a better way please let me know.
    Approach for gererating PDF which worked:
    In the Application Module :
    public ClobDomain getXMLData()
    GapProjectListVORowImpl row = getSelectedProjectRow();
    ClobDomain cd = new ClobDomain();
    if(row != null)
    try{
    cd.getCharacterOutputStream().write("<?xml version=\"1.0\" encoding='windows-1252'?>\n");
    cd.getCharacterOutputStream().write("<AllNodes>");
    oracle.xml.parser.v2.XMLElement ele = (oracle.xml.parser.v2.XMLElement)getGapCostDetailsVO1().writeXML(0,XMLInterface.XML_OPT_ALL_ROWS);
    ele.print(new java.io.PrintWriter(cd.getCharacterOutputStream()));
    ele = (oracle.xml.parser.v2.XMLElement)getGapCostTotalsVO1().writeXML(0,XMLInterface.XML_OPT_ALL_ROWS);
    ele.print(new java.io.PrintWriter(cd.getCharacterOutputStream()));
    ele = (oracle.xml.parser.v2.XMLElement)row.writeXML(0,XMLInterface.XML_OPT_ALL_ROWS);
    ele.print(new java.io.PrintWriter(cd.getCharacterOutputStream()));
    cd.getCharacterOutputStream().write("</AllNodes>");
    //System.out.println(cd.toString());
    catch(Exception e)
    e.printStackTrace();
    return cd;
    In the controller use
    ClobDomain xmlData=(ClobDomain)am.invokeMethod("getXMLData");
    if(xmlData!=null)
    byte[] bytes = xmlData.toByteArray();
    ByteArrayInputStream l_erXML=new ByteArrayInputStream(xmlData.toString().getBytes());
    DocumentHelper.exportDocument(pageContext,"CDM","XXCDMGAP","en","US",l_erXML,"PDF",null);
    }

    Create a JAR file with $JAVA_TOP/oracle/apps/fnd and $JAVA_TOP/oracle/apps/xdo. You can have them in the same jar file or separate JAR files. The oracle directory MUST be the top directory.
    Add this/these jar files to your project libraries in JDev and you are ready to go. I have used this method with XMLP 5.5 to 5.6.2 and works just fine.
    HTH
    Message was edited by:
    newtoJava

  • Add XML Publisher Administrator responsibility with EBS 11.5.9

    Hi all !
    I'm exploring the possibility to use XML Publisher inside Oracle E Business Suite 11.5.9. because...unfortunately it's not possible to upgrade EBS to the 11.5.10 version
    I found a note on the forum which says: "Starting from 11.5.9 the XMLP is bundled with Apps. You just need to add XML Publisher Administrator responsibility to your profile, and install MS Word template builder on your PC".
    So...my questions are:
    1) how can I add the XML Publisher Administrator responsibility to my profile ? Should I set up something (already existing into EBS), or should I install a patch ?
    2) how can I know the XML Publisher version bundled within Apps (if what is written inside that note it's true), 'cause I'd like to use the 5.6.3 version
    Also, I looked for a solution on Metalink and the only note regarding how to use XML Publisher inside E Business Suite 11.5.9. is the note id 278727.1 (even I should install the 4.5 XML Publisher version - TOO OLD)
    Thanks in advance
    Alessandro

    Hi Ravi thanks for you answer !
    So....I tried to create the responsibility from scratch, because nothing is defined for XML Publisher, in this way (from the OA System Administrator):
    Responsibility Name: XML Publisher Administration
    Application: XML Publisher
    Responsibility Key: XDO_ADMINISTRATION
    .....but inside the Data Group area
    Name : Standard
    Application: ?
    ....and inside the Menu area which information should I write ?
    Is there something to follow in order to create from scratch a XML responsibility ?
    Thanks again
    Alex

Maybe you are looking for

  • Is there a way to remove the blurred background wallpaper effect when using the phone in iPhone 4S' iOS 7?

    Hello. A few nights ago, my picky client finally upgraded his iPhone 4S' iOS 6 to iOS 7. He doesn't like the blurred background wallpaper image when using the phone feature (e.g., calling and talking). Is there a way to disable this new visual effect

  • [solved]Gnome 3.12: Facebook, some images missing in browsers

    Turns out my ISP isn't resolving this address correctly Ever since the 3.12 upgrade of Gnome some Facebook images are missing. On 2 machines. 1 Ati Laptop, Gnome 3.12 1 Nvidia (prop) PC, Cinnamon 2.2 In Chromium & Firefox CTRL+SHIFT i shows many Fail

  • Add ram to macbook pro

    I recently bought a refurbished macbook pro (i5 dual core) that came with 4MB ram. How do I go about adding the ram size to 8MB or more? I am in Singapore. Thanks.

  • Problem of orphan child records

    Hi I am working on Oracle 8i DB. The production database contians around 100 tables.About 60% tables are interrelated by referential integrity . However , there are some records found which are not such that child records are present without parent r

  • Error in account deteremination for GBB and VAY

    Dear All, We have implemented the Costing based COPAand while posting the PGI we are getting the follwing error. " Account determination for entry GBB ,VAY 3000 is not possible" How to resolve this problem w/o creating cost element for COGS Whether w