Bursting control :DocumentProcessor does not use translation while bursting

Hi
We are trying to use the bursting feature in BI Publisher using the DocumentProcessor class/APIs.
The java code is :
import oracle.apps.xdo.batch.DocumentProcessor;
public class BurstingTest
public BurstingTest()
     try {
          DocumentProcessor dp = new DocumentProcessor ("bursting_cntl.xml", "test.xml","temp");
          dp.process();
catch (Exception e) {
System.out.println(e);
public static void main(String[] args)
BurstingTest burst1 = new BurstingTest();
The bursting control file is :
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
<xapi:request select="/XXG_ACCOUNTING_CNDN_REPORT/G_Cust">
<xapi:delivery>
<xapi:filesystem id="file1" output="C:\Projects\XDO\RTF_TO_PDF\output\${cust_name}.pdf"/>
</xapi:delivery>
<xapi:document output-type="pdf" delivery="file1">
<xapi:template type="rtf" locale="fr-FR" location="C:\Projects\XDO\RTF_TO_PDF\test.rtf"
translation="C:\Projects\XDO\RTF_TO_PDF\test_fr_FR.xlf" >
</xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>
The XLF file has the necessary translations. Source en-US and target fr-FR.
However, I see that the translations are NOT being picked by the DocumentProcessor. The bursting does happen successfully, however I don't see the translations in the PDF.*
Am I  missing something here? Probably some flag that I need to set or something of the kind?
A section of the XLF file is as shown below :
<?xml version = '1.0' encoding = 'utf-8'?>
<xliff version="1.0">
<file source-language="en-US" target-language="fr-FR" datatype="XDO" original="orphan.xlf" product-version="orphan.xlf" product-name="">
<header>
<prop-group name="ora_reconstruction">
<prop prop-type="extractorVersion">5.6.3_120.1</prop>
</prop-group>
</header>
<body>
<trans-unit id="5dacac6a" maxbytes="4000" maxwidth="56" size-unit="char" translate="yes">
<source>Please confirm the above information.</source>
<target>Merci pour confirmer l'information mentionee</target>
<note>Text located: body</note>
</trans-unit>
<trans-unit id="366403c2" maxbytes="4000" maxwidth="23" size-unit="char" translate="yes">
<source>Dear [&amp;0],</source>
<target>Cher [&amp;0],</target>
<note>Text located: body</note>
</trans-unit>
<trans-unit id="ce145901" maxbytes="4000" maxwidth="23" size-unit="char" translate="yes">
<source>Invoice Date</source>
<target>Date de la facture</target>
<note>Text located: body/table/table header</note>
</trans-unit>
Request you to revert as soon as you could.
Thanks and Regs
Krish
Edited by: user11131627 on Nov 8, 2009 10:16 PM

Ike
Yes, I believe the translation element is defined.
Referred to this post about that :
http://blogs.oracle.com/BIDeveloper/2009/06/bursting_translation.html
Also, we did try using the translation element thru' Apps and submitted as a standard concurrent program.
The translation fie was used correctly.
My question is :
How do I force the usage thru' my custom Java program and in which I use DocumentProcessor?

Similar Messages

  • Discoverer Does not uses partitions while running report

    Hello All,
    I am noticing a strange thing in Discoverer 9i desktop and i.e
    I have my table partition based on Trx date and when I am using trx date as a parameter in my report why it is doing full scans for all the partition across the table...?
    Because of this even a reports for single day takes hours..
    Any help will be higly appreciated.....

    Hello Rob,
    Below information has really help me a lot.It made to look at probable cause..And it was Really funny one.
    The report was using a parameter as Trx Date and range partition at back end was on another date field. :).
    I just joined a comp week ago and was wondering why a report for single date take 2-3 hr to execute....And I was not sure of this discoverer version...
    Thanks again for help....
    Devang Shah

  • I just set an administrators name (my full name) and password for parental controls (using the one I always use) and now after restarting and trying to make changes to aprental controls it does not recognize my password

    I just set an administrators name (my full name) and password for parental controls (using the one I always use) and now after restarting and trying to make changes to aprental controls it does not recognize my password

    Hello, do you have another admin account to log into for a test?

  • Drivers 2.84: audio control still does not work

    Hi there,
    is still got the same problems i already had with the v1.13 drivers. The soundstorm panel output sliders don't. They just don't work at all. The windows "sndvol32.exe" works fine though.  I am running a german windows XP. I deleted all localized .dll's as the are unusable anyway. ( I donno who has done translation and QC at NVIDIA)
    And my major problem:
    Under Input / Record there is no recording device available. (Digitzed input is there)
    to sum things up:
    - The output sliders still do NOT work at all
    - There is still no recording device selectable
    - Localization got better, but is still unusable (same prob as with the 41.xx video drivers. the text just does not fit in the panel, which looks garbled)
    Greetings,
    Andy XS
    PS: I tried installing the drivers whilst using English(USA) as region settings. Didn't help

    hi,
    thanks for your help wonkanoby...
    but, i already tried it. I switched every possible thing to english(USA). removed the old drivers, cleared the registry, installed from scratch ... The Soundstorm Control still does not work. I guess it's because i am running a german Windows XP ( Though i really switched everything to english..)
    Greetings,
    Andy XS
     

  • Create timer function that does not use start-sleep

    Hey all I would like to create a timer function that does not use the start-sleep command because this freezes my GUI. I've wrote the start of a function but it seems to move on before the specified time has finished.
    Here's what I have:
    $Global:timerCounter=0
    $Global:timer = new-object System.Windows.Threading.DispatcherTimer
    Function Timer{
    param(
    [parameter(Mandatory=$true)]
    [int]$time
    $timer.Interval = [TimeSpan]"0:0:$($time)"
    $timer.Add_Tick({
    $Global:timerCounter++
    if($Global:timerCounter -ge 1) {
    $Global:timer.Stop()
    $timer.Start()
    Then in my script i would like to call Timer -time #of seconds. It seems that when I call it the add_tick is registered and then started but it continues on with the rest of my script. Is there a better way of doing this without using start-sleep?
    Thanks!

    Okay the issue I'm having is that I have code after the $timer.start that I don't wan't to run till a powershell job is done. In all the examples I've seen it has to come to the end of the code then it starts the tick. So in your example it comes to the
    end of of your code and showsDialog() then starts ticking.
    So:
    add-type -AssemblyName system.windows.forms
    $form=New-Object System.Windows.Forms.Form
    $btn=New-Object System.Windows.Forms.Button
    $form.Controls.Add($btn)
    $btn.add_Click({$form.Close()})
    $btn.Dock='Fill'
    $btn.Font='Lucida Console, 20.25pt, style=Bold'
    $btn.Text=[DateTime]::Now
    $timer=New-Object System.Windows.Forms.Timer
    $timer.Interval=1000
    $timer.add_Tick({$btn.Text=[DateTime]::Now})
    $timer.Start()
    $form.ShowDialog()
    #I want to do other things here but only after the ps job has finished
    Thanks I really am trying to figure this out. 
    Here is the code I'm working with I guess I'm unclear on how to order the timer and the rest of my code:
    if($syncHash.mainCopy){
    $syncHash.mainJobDone = $false
    $syncHash.writeHost = $false
    while(-not $syncHash.mainJobDone){
    [System.Windows.Forms.Application]::DoEvents()
    if($syncHash.writeHost -eq $false){
    Write-OutputBox -Message "Copying"
    $syncHash.writeHost = $true
    $syncHash.inProgress = $syncHash.mainCopy | Where-Object {$_.State -match 'running'}
    $syncHash.currentCopyTime++
    }elseif($syncHash.currentCopyTime -ge ($syncHash.averageCopyTime * 2) -and $syncHash.collectionCopyTime.Count -ne 0){
    $syncHash.Unusable += $syncHash.currentMainCopyMachine
    $syncHash.computersNotForInstall += $syncHash.currentMainCopyMachine
    $syncHash.inProgress = $null
    $syncHash.mainCopyTimedOut = $True
    Write-OutputBox -Type WARNING: -Message "$($syncHash.currentMainCopyMachine) is taking too long. Removing Job.."
    Add-Content -Path $log_path -Value "$($syncHash.currentMainCopyMachine) taking to long to copy to"
    Stop-Job $syncHash.mainCopy
    }else{
    $syncHash.inProgress = $syncHash.mainCopy | Where-Object {$_.State -match 'running'}
    Write-OutputBox -Message "." -NoNewLine
    ############################# ############# So I need it to wait right here I have other code other than in this block ############# that needs to run $syncHash.currentCopyTime++
    if(-not $syncHash.inProgress){
    $syncHash.mainJobDone = $true

  • The application does not use the  screen and run in the background

    Hi
    I have downloaded a package of j2me Midlet
    from [link] here [link]
    and try to reuse the code
    but I get the following error when running the code:-
    The application does not use the screen and run in the background
    I think the error into one of these two classes
    package main;
    import javax.microedition.midlet.*;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.media.Manager;
    import javax.microedition.media.MediaException;
    import javax.microedition.media.Player;
    import java.io.IOException;
    import java.io.InputStream;
    public class MainMidlet extends MIDlet implements CommandListener {
        private SSGameCanvas gameCanvas ;
        private Command exitCommand ;
        private Player player = null;
        public void startApp() {
      try {
           //   create new game thread
              gameCanvas = new SSGameCanvas();
              gameCanvas.start(); // start game thread
              exitCommand = new Command("Exit",Command.EXIT,1);
              gameCanvas.addCommand(exitCommand);
              gameCanvas.setCommandListener(this);
                Display.getDisplay(this).setCurrent(gameCanvas);
       catch (java.io.IOException e)
                e.printStackTrace();
            try {
                // start sounds
                InputStream in = getClass().getResourceAsStream("/resource/startfly.wav");
                player = Manager.createPlayer(in,"audio/x-wav");
                player.setLoopCount(1);
                player.start();
            catch (MediaException ex)
                ex.printStackTrace();
             catch (IOException ex)
                ex.printStackTrace();
        public void pauseApp() {
        public void destroyApp(boolean unconditional) {
            if (player != null) {
                player.close();
            System.gc();
      public void commandAction(Command command, Displayable displayable) {
           if (command == exitCommand)
                 destroyApp(true);
                 notifyDestroyed();
    package main;
    import java.io.IOException;
    import javax.microedition.lcdui.*;
    import javax.microedition.lcdui.game.*;
    public class SSGameCanvas extends GameCanvas implements Runnable {
        protected GameManager gameManager;
        protected boolean running;
        private int tick=0;
        private static int WIDTH;
        private static int HEIGHT;
        private int mDelay = 20;
        Form mainForm;
        Display display;
        //private int MaxTime;
        public SSGameCanvas() throws IOException{
            super(true);
            gameManager = new GameManager(5,5,getHeight()-10,getWidth()-10,this);
        public void start() {
                this.running = true;
                Thread t = new Thread(this);
                t.start();
        public void stop() {
            running = false;
        public void render(Graphics g) {
            WIDTH = getWidth();
            HEIGHT = getHeight();
            // Clear the Canvas.
            g.setColor(0, 0, 50);
            g.fillRect(0,0,WIDTH-1,HEIGHT-1);
            // draw border
            g.setColor(200,0,0);
            g.drawRect(0,0,WIDTH-1,HEIGHT-1);
            // draw game canvas
            gameManager.paint(g);
        public void run() {
            while (running) {
                // draw graphics
                render(getGraphics());
                // advance to next graphics
                advance(tick++);
                // display
                flushGraphics();
                try { Thread.sleep(mDelay); }
                catch (InterruptedException ie) {}
        public void advance(int ticks) {
            // advance to next game canvas
            gameManager.advance(ticks);
            this.paint(getGraphics());
    }Edited by: VANPERSIE on Jul 10, 2012 12:26 PM

    Hi Andi,
    Thanks for your reply.
    Yes, I have waited for a while and the result doesn't change.
    The Porblem here is the application is seen started in visual administrator.Only restart brings up the page back.
    Can you please suggest anything.
    Thanks and regards
    Nagaraj

  • The Cluster Service function call 'ClusterResourceControl' failed with error code '1008(An attempt was made to reference a token that does not exist.)' while verifying the file path. Verify that your failover cluster is configured properly.

    I am experiencing this error with one of our cluster environment. Can anyone help me in this issue.
    The Cluster Service function call 'ClusterResourceControl' failed with error code '1008(An attempt was made to reference a token that does not exist.)' while verifying the file path. Verify that your failover cluster is configured properly.
    Thanks,
    Venu S.
    Venugopal S ----------------------------------------------------------- Please click the Mark as Answer button if a post solves your problem!

    Hi Venu S,
    Based on my research, you might encounter a known issue, please try the hotfix in this KB:
    http://support.microsoft.com/kb/928385
    Meanwhile since there is less information about this issue, before further investigation, please provide us the following information:
    The version of Windows Server you are using
    The result of SELECT @@VERSION
    The scenario when you get this error
    If anything is unclear, please let me know.
    Regards,
    Tom Li

  • The master site control file does not contain a component item for SMS_STATUS_MANAGER.

    New to the System Center world. We are using a fresh install of Server 2012 R2 and System Center R2 with everything working until Server 2012 R2 Update 1 was installed. Now we are getting the following:
    Site type: Primary Site or CAS SMS_STATUS_MANAGER
    6/4/2014 1:35:21 PM 10996 (0x2AF4)
    Resolved the "Status Manager" inbox to "C:\Program Files\Microsoft Configuration Manager\inboxes\statmgr.box\statmsgs".
    SMS_STATUS_MANAGER 6/4/2014 1:35:21 PM
    10996 (0x2AF4)
    Opened a change notification handle for directory "C:\Program Files\Microsoft Configuration Manager\inboxes\statmgr.box\statmsgs".
    SMS_STATUS_MANAGER 6/4/2014 1:35:21 PM
    10996 (0x2AF4)
    Resolved the "Site Control Manager (Master Site Control File)" inbox to "C:\Program Files\Microsoft Configuration Manager\inboxes\sitectrl.box".
    SMS_STATUS_MANAGER 6/4/2014 1:35:21 PM
    10996 (0x2AF4)
    Opened a change notification handle for directory "C:\Program Files\Microsoft Configuration Manager\inboxes\sitectrl.box".
    SMS_STATUS_MANAGER 6/4/2014 1:35:21 PM
    10996 (0x2AF4)
    Parsed the master site control file, serial number 1551209029.
    SMS_STATUS_MANAGER 6/4/2014 1:35:21 PM
    10996 (0x2AF4)
    This site is the central site. SMS_STATUS_MANAGER
    6/4/2014 1:35:21 PM 10996 (0x2AF4)
    ERROR: The master site control file does not contain a component item for SMS_STATUS_MANAGER.
    SMS_STATUS_MANAGER 6/4/2014 1:35:21 PM
    10996 (0x2AF4)
    Sleeping for 60 seconds... SMS_STATUS_MANAGER
    6/4/2014 1:35:21 PM 10996 (0x2AF4)
    Any thoughts on how to fix this? Seen a few references to a "site reset" for SCCM 2007 but wanted to make sure there wasn't anything else to try before heading down that road with 2012R2.

    A site reset can also be done in CM12 so it's worth a try.
    Torsten Meringer | http://www.mssccmfaq.de

  • Mail does not use correct outgoing server

    Problem
    Mail in Mavericks (and also IOS6 snf 7) does not use the outgoing smtp server associated with the account being used. This results in either a failure to send or mail being put into the wrong "Sent" folder.
    Background
    I have most of my non-icloud mail pulled down to a home server from which my laptops and ios devices access various accounts using imap. The local home server also provides smtp and relays all mail to my ISP. Recently I have been switching from an old home server (Mac Mini) to a new one (Raspberry pi running the debian Raspbian version with fetchmail,  Dovecot and postfix setup).
    While making the changeover I had access to both the old server and the new server enabled on my laptop. Naturally the majority of the settings (Name, email address etc) were the same although the name and address of the server to be used for both incoming and outgoing mail were different. This seemed tp work fine for incoming. However when I tested outgoing mail the copy that should appear in the "sentt" box  went missing. This usually indicates some mistake in the setting of the sent mail folder on the accounts but this all checked out.
    I eventually found the missing outgoing mail intended to go through the new server in the sent box on the old server. Further trials showed that no matter what I did the outgoing would always default to the old (and therefore first set up) outgoing server.
    Deleting the old account and the old outgoing server of course should cure the problem and will eventually be the solution for me when I kill the old server. But i wanted to get to the bottom of the problem in case it reappeared in other contexts. Checking the "use only this server" box produced failure to send rather than the correct result.
    Trialing various alterntaive settings showed that the problem occurs when there are two outgoing servers with the email address in the settings and the user name on the outgoing server name being the same. I had assumed that changing the description field would distinguish between the various settings; however this did not work. Changing the Name Field did work eg by putting (O) after my name.
    It appears therefore that mail selects the outgoing server on the basis of email address (with the full name included) and user name (trrespective of the actual server or the Description that shows in the smtp server listing. In some ways this is logical but it produces problems in the context I have described and would also be a difficulty if you wanted to use an alternative server when in a different location.
    I have trawled support and elsewhere for any thing similar. Lots of mail problems (don't get me started on the way icloud loses outgoing each time you edit the list!) but I have not found any posts on precisiely this point.
    IOS devices seem to have similar problems, but a quick attempt at a similar solution does not work, and I cannot be bothered  to test the options. I will simply clean them out and put in the new accounts.
    Advice
    Grateful for any comments or advice from people who have encountered similar problems and whether my diagnosis if correct. Have I missed any obvious corrections that would clear this up. I do not know whether this is a Mavericks issue or also appears in earlier OSX versions.
    CPE

    Peter,
    Where ever the Sent and Trash folders show in the Sidebar, highlight first one, and then the other, followed by clicking on Mailbox in the Menubar, and choosing Use This Mailbox For, and choose the function.
    Keep us posted on your progress.
    Ernie

  • Officejet J3680 Control Panel does not respond to buttons, just make "beep sound"

    Hi everybody, thanks for reading.
    The problem is that my (brand new) J3680 control panel does not work until I press all the buttons, yes its weird.
    Note #1: The printer works perfect when used through the computer (I am Linux user).
    Note #2: Once I have pressed all the buttons at control panel the control panel (kind of) works.
    Heres how this happens:
    I plug the power cord
    Now, the printers start and not even the Power button works, so I cant turn it off, each time I press any button it just do a “beep sound” and the LCD screen keeps the same
    The LCD shows this:
    0 Speed Dial
    <One-Touch 1>
    Now I have figured out what the LCD screen initialization means:
    0: Thats the times I have pressed the “Speed Dial” button
    Speed Dial: Thats the button I have to press to make the Control Panel works
    <One-Touch 1>: This is the next button I have to press after the “Speed Dial” has been pressed
    The printer then makes me press all the buttons (...)
    I think this is kind of some “Control Panel button calibration", because the LCD respond perfect when I press the button the printer ask
    The other problem is that I don't know how to finish this calibration or whatever this is, because I reach a point where I cant find the button it ask
    The LCD ends showing:
    1 Color Start
    <Hidden 1+Black>
    Where “1 Color Start” was the last button it asked me to press, and the <Hidden 1+Black> is the next one combination.
    Note that “Hidden 1” is not “1” not “Speed Dial 1”, I have just tried that combinations, but does not work.
    Please help I have to do this each time I turn on the printer to make the control panel work. Thanks a lot.
    Message Edited by NxGTR on 08-14-2009 07:15 AM

    Nao    Consigo  estalar   impressoura   HP  Officejet  J3680   Faz  horas   que estu tentando  estalar  nao  sei se  esuporte   ou provedor  gostaria  muito  de ajuda  para  italar.  obrigado  Rui

  • The '' secondary data source is not a relational data source, or does not use an OLE DB provider.

    Hi,
    We are using Teradata as data source in SSAS 2008R2, it’s using ‘.Net Providers\.Net Data Provider for Teradata’.
    In DSV, we have two data sources both using Teradata. While processing dimensions, all dimensions coming from secondary data source has error message”
    The '' secondary data source is not a relational data source, or does not use an OLE DB provider.”
    But we are not using OLE DB provider for now, we’ve searched some threads that named queries can be replaced for secondary ds, but since we have a lot of tables, it’s hard to implement using named queries.
    Any inputs would be appreciated. 

    Hi memostone,
    When defining a data source view that contains tables, views, or columns from multiple data sources, the first data source from which you add objects to the data source view is designated as the primary data source (you cannot change the primary data
    source after it is defined). After defining a data source view based on objects from a single data source, you can then add objects from other data sources.
    If an OLAP processing or a data mining query requires data from multiple data sources in a single query, the primary data source must support remote queries using
    OpenRowset. Typically, this will be a SQL Server data source.
    Here are the restrictions:
    The primary data source should be SQL Server and support OpenRowset to the secondary data source.
    Or you design the cube in such a way that rocessing for each object only needs to access data from a single data source
    I recommand you refer to the following article:
    Defining a Data Source View (Analysis Services):
    http://technet.microsoft.com/en-us/library/ms174600.aspx
    Regards,
    Bin Long
    TechNet Community Support

  • Extraction error "Target cost version in controlling area does not exists"

    Hi Gurus,
    I am trying to pull some data from a SAP OLTP system into SAP BW 710 system, using extractor "0CO_PC_02". The data load is failing with the below error message:
    Target cost version in controlling area does not exist     KN     147
    Target cost version 2 not defined. Check your entry     KV     35
    Internal program error ( Order 000010510554 Version 002 )     RM     11
    Errors in source system     RSM     340
    The same error is thrown when I am trying to execute the extractor in RSA3 in the source system.
    Please help me with the resolution of the same. It's a high priority job we are handling as of now in this.
    Thanks & Regards,
    Vikas Kr.

    You are attempting to display data on a target cost version that does not exist in controlling area.
    see this http://forums.sdn.sap.com/thread.jspa?threadID=1609418
    http://www.consolut.com/en/s/sap-ides-access/d/s/doc/YV-KN147

  • My control panel does not have flashlight,calculator or portrait lock

    Control panel does not have flashlight,calculator or portrait lock

    There is no flashlight since the iPad has no flash with it's camera. There is no calculator icon since the native calculator app available with the iPhone version is not included with the iPad's version of iOS 7. The rotation lock depends on Settings/General/Use side switch to..., setting it to mute audio will put the lock screen button on Control Panel. Setting it to lock screen rotation will change the button in Control Panel to a Mute button.

  • Can I share photostream with someone who does not use Apple devices?

    If I share a photostream with someone who does not use Apple products, will they be able to view the Photostream?

    Shared photoStreams are also available on a PC
    How do friends and family view my photos?
    Friends and family with iCloud accounts can view your photos in the Photos app on any device using iOS 6 or later; on a Mac in iPhoto 9.4 or Aperture 3.4 or later; on a Windows PC with Windows Vista or later and iCloud Control Panel 2.0 or later installed; or on a second generation or later Apple TV with software version 5.1 or later installed. They can also view your photos on the web if you enable Public Website in the settings or options for your Shared Photo Stream. Learn more about inviting people to view your shared photo streams.
    Set up instructions for the PC are in my previous link
    LN

  • Beware: icloud control panel DOES NOT WORK for icloud email

    Opposing evidence is welcome. Please comment.
    After dozens of hours, emails and chat sessions with both MS and Apple tech support (the latter escalated as high as it could go - "after this we have to refer you to engineering"), I was finally told by Apple Senior Advisor Ciara Ferguson that icloud control panel does not properly sync icloud mail with Outlook 365 (Outlook 2013).  After several months of working on dual systems I discovered that many (but not all) changes to folder names and filing of emails in various folders made in Outlook were not reflected on icloud and vice versa.   Ms. Ferguson has stated that icloud control panel "works better with calendar and contacts."  Obviously, this non-committal statement is grossly insufficient.  It either works or it doesn't.  It doesn't. 
    Allegedly, icloud control panel does work to sync other email (the example of an outlook.com email address was given) into apple devices.  This doesn't sound right to me either, since one can just add any POP or IMAP or Exchange account into a Mac device, so why would one need icloud control panel to interface?
    I remain stymied as to the actual purpose of icloud control panel, despite asking exactly that question of Ms. Ferguson on several occasions.  The Apple literature and its own setup screens suggest that it will sync email, contacts, calendar and notes with MS Outlook, but as to email, that is apparently untrue.

    I don't think so.  I'd like to sync photostream from two iPhones with distinct Apple IDs on our PCs and I don't see a way to do it.  It synced my wife's iPhone while she was logged in to iCloud control panel but not mine until I logged in (and disconnected her photostream PC syncing).

Maybe you are looking for