Migmon reports Lock file 'ExportMonitor.lck'

Hello,
I wanted to export a Oracle DB 11.2.04 in suse 11 SP 2 environment. Try many java version from oracle 1.8.0_45, kernel and sap java 4.1. Get a lock error or a java exception.
> ./export_monitor.sh -javaversion
+ /tmp/java/jre1.8.0_45//bin/java -Xmx1024m -cp ./.:./migmon.jar:./activation.jar:./mail.jar com.sap.inst.lib.app.SecureStartup -Xmx1024m com.sap.inst.migmon.exp.ExportMonitor -dbType ORA -javaversion
java version: 1.8.0_45
java vendor: Oracle Corporation
Oracle Corporation(build 25.45-b02, mixed mode)
Another instance of application is already running.
Lock file 'ExportMonitor.lck' is locked by other process.
sap java exception looks like
+ /tmp/java/sapjvm_4/bin/java -Xmx1024m -cp ./.:./migmon.jar:./activation.jar:./mail.jar com.sap.inst.lib.app.SecureStartup -Xmx1024m com.sap.inst.migmon.exp.ExportMonitor -dbType ORA
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/sap/inst/lib/app/SecureStartup : Unsupported major.minor version 50.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:638)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:307)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:59)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:250)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:243)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:365)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:318)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:311)
1. there is no other migmon running
2. there is no java instance running (stopped all SMD and SAP systems)
3. there is no ExportMonitor.lck file on the whole filesystem
Any ideas ?
Thanks a lot !

Dieter,
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/sap/inst/lib/app/SecureStartup : Unsupported major.minor version 50.0
1. I see you are running out of /tmp. Don't use /tmp. Please create/use another f/s.
2. Make sure the permissions on the directory (and files) you use are at least 775 for sidadm/sapsys (recursive)
3. Please run the following  and post the output.
"which java"
"java -version"
"lsof | grep -i ExportMonitor"
"env"
4. Explicitly set JAVA_HOME before starting migmon (sidadm)
eg: export JAVA_HOME=/usr/java6_64
5. Check your LIBPATH
Cheers,
Amerjit

Similar Messages

  • Migmon: Lock file ExportMonitor.lck is locked during export

    Hello,
    I am trying to export my DB since I will move it to another system. I have done that before (2008) but not with Migration Monitor since I could not get it to work. At that time I could choose R3load-based method and everything went fine.
    This time I don't have that option so I must try to fix my problem.
    I have HP-UX 11.23 running on IA64.
    If I try to run ./export_monitor.sh (or ./sapinst and skip the table splitting function) I get this result:
    + /opt/java1.4/bin/java -showversion -Xmx1024m -cp
    ./.:./migmon.jar:./activation.jar:./mail.jar com.sap.inst.lib.app.
    SecureStartup -Xmx1024m com.sap.inst.migmon.exp.
    ExportMonitor -dbType ORA
    java version "1.4.2.17"
    Java(TM) 2 Runtime Environment, Standard Edition
    (build 1.4.2.17-071106-02:40)
    Java HotSpot(TM) Server VM
    (build 1.4.2 1.4.2.17-071106-08:12-IA64N IA64, mixed mode)
    Another instance of application is already running.
    Lock file 'ExportMonitor.lck' is locked by other process.
    If I use the sapinst and set it to split the files I get "Lock file 'PackageSplitter.lck' is locked by other process.".
    But the file is NOT used by another process!
    I use root and yes the users SIDadm and oraSID are in the group sapinst and yes I have set the permissions to 777 and yes the umask is 022 and yes I have downloaded the latest migmon and decompressed it to these locations (I picked all three just in case):
    tmp/sapinst_exe.13660.1280391575/JAR
    tmp/sapinst_exe.13660.1280391575
    /InstMst_701/IM_HPUX_IA64.
    If you smart people know how to fix this I would be very happy and also impressed. I have no idea what to do and my message to SAP is still not answered...
    Best regards Linus Hellsing
    Edited by: Linus Hellsing on Jul 29, 2010 11:04 AM

    Hi Peter, thank you for answering.
    No, I have not done a fuser on the file. But I have tried to edit it and that works just fine.
    I also have restarted the server, just in case.
    But now when I am writing this something nice has happened.
    On the server I am testing I have HP-UX 11.23 but my production servers have 11.31 so I tried to start the export on that server (scary). It seems to work!! Sadly I must export all of my systems but this makes me believe theat it is the OS that is old or don't have enough patches.
    swlist on my old server tells me that I am missing a couple of patches compared to SAP Note 837670. I think I have to call the HP-UX department at my office... Um wait, that would be me since it is vacation season....

  • Issue with the report oracle.apps.xdo.XDOException:Error creating lock file

    I am getting an error while submitting the XML publisher report in Betsy N0 instance.
    Issue
    Log :- Beginning post-processing of request 145458120 on node BETSYN0DB1 at 22-DEC-2011 05:28:26.
    Post-processing of request 145458120 failed at 22-DEC-2011 05:28:28 with the error message: One or more post-processing actions failed. Consult the OPP service log for details
    Output :- Blank Report
    XML file :- XML file generated without any error
    Output process:-
    [12/23/11 4:28:10 AM] [1213640:RT145480622] Completed post-processing actions for request 145480622.
    [12/23/11 5:16:01 AM] [OPPServiceThread1] Post-processing request 145481427.
    [12/23/11 5:49:30 AM] [OPPServiceThread1] Post-processing request 145481923.
    [12/23/11 5:49:30 AM] [1213640:RT145481923] Executing post-processing actions for request 145481923.
    [12/23/11 5:49:30 AM] [1213640:RT145481923] Starting XML Publisher post-processing action.
    [12/23/11 5:49:30 AM] [1213640:RT145481923]
    Template code: XXWIP_WO_VLVS
    Template app: XXWIP
    Language: en
    Territory: US
    Output type: PDF
    oracle.apps.xdo.XDOException: Error creating lock file
         at oracle.apps.xdo.oa.util.FontCacheManager.getFontFromDB(FontCacheManager.java:320)
         at oracle.apps.xdo.oa.util.FontCacheManager.getFontFilePath(FontCacheManager.java:198)
         at oracle.apps.xdo.oa.util.FontHelper.createFontProperties(FontHelper.java:432)
         at oracle.apps.xdo.oa.util.ConfigHelper.getFontProperties(ConfigHelper.java:166)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5824)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [12/23/11 5:49:31 AM] [UNEXPECTED] [1213640:RT145481923] oracle.apps.xdo.XDOException: Error creating lock file
         at oracle.apps.xdo.oa.util.FontCacheManager.getFontFromDB(FontCacheManager.java:320)
         at oracle.apps.xdo.oa.util.FontCacheManager.getFontFilePath(FontCacheManager.java:198)
         at oracle.apps.xdo.oa.util.FontHelper.createFontProperties(FontHelper.java:432)
         at oracle.apps.xdo.oa.util.ConfigHelper.getFontProperties(ConfigHelper.java:166)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5824)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [12/23/11 5:49:31 AM] [1213640:RT145481923] Completed post-processing actions for request 145481923.

    The issue is fixed.
    Our XML Publisher TMP is not defined, so it uses the APPLTMP used by concurrent manager. There is a folder xdofonts/<SID> in $APPLTMP. It contains the fonts used by XML publisher and on the of font file (.ttf) was 0 byte. We copied the ttf file from QA. And it started working.
    Best practice is to define diffent TMP for concurrent managers and XML Publisher.
    Cherrish Vaidiyan

  • Locks file on a file server

    Under Captivate 3 (as part of the full Tech. Comm. Suite),
    I'm authoring Captivate presentations on a Windows XP PC, and
    storing archive copies of the resultant .cp and stand-alone .exe
    files on a file server. These server copies are never opened/edited
    directly by the application - all editing is done against the local
    PC files, and regular Windows operations are used to copy the files
    off to the server.
    About 95% of the time, any attempt to delete, move to another
    folder, or rename a server side .cp file fails, when attempted from
    a PC with Captivate installed. This happens after a long delay
    (10-20 seconds). The message is that the file is locked by another
    person or program, please close it and try again. Common tools that
    attempt to "punch-through" such locks report the file as "not
    locked", but still fail. A Captivate authored .exe (sporting the CP
    icon) also induces the same delay, but ultimately can be touched.
    Non-CP files in the same directory show no delay whatsoever. A
    non-Captivate PC can freely alter these server files, without
    experiencing locks nor delays. Cold-booting the workstation and
    attempting the file server operations before starting any Captivate
    sessions does not alleviate the problem.
    Any ideas what gives? Are there Adobe background processes
    that are holding locks, even when the foreground application is
    shut down - such as some sort of Adobe file indexer?

    This questions or other questions on similar line shave been asked before.
    Instead of repeating something too overlay, I would simply point you to http://java.sun.com/j2se/1.3/docs/api/java/io/Writer.html#lock

  • Unidentified Locked File Prevents PS CS6 From Opening

    Photoshop CS6 (64 bit/ Windows 7) installed and ran perfectly. On second and subsequent runs, I get the Windows message "Could not open a scratch file becausethe file is locked, you do not have nevessary access permissions, or another program is using the file. Use the 'Properties' command in Windows explorer to unlock the file." The message does not specify which file is locked or by whom.I run as administrator, and this is the first program I run - only system programs should be running in the background. Tried PCMag TaskPower, which supposedly provides a list of all locked files and allows you to force an unlock,  but could not ID any possible culprits.
    Retired Spook

    Many people try to relocate things off of C: in an attempt to use a too-small SSD, or sometimes to reduce the write load on an SSD.
    Photoshop does NOT work well in this condition. 
    I don't know why, but I *DO* know I've seen quite a number of reports here by people who must run it As Administrator that say it does not like relocated folders.
    Other things besides Photoshop don't work as well with this kind of activity either.  Basically you're banking on every programmer always following all the rules to retrieve the folder locations, and doing all the right things - rather than hard-coding paths.  And why use the super-fast SSD technology if you're going to move all the stuff that actually gets accessed off onto another (spinning) disk?  It seems silly.
    Fundamental advice:
    1.  If you're going to build a system using SSD, don't skimp.  Overprovision a huge amount of extra storage for drive C:.  You can do this with a very large SSD or an array of SSDs.  Then you need not worry about relocating things that just work better if left in their default locations on drive C:.
    2.  If you're worried over the write load on your SSD, know that modern SSDs (within the last year) have implemented significant advances in flash write balancing so that this is essentially a non-issue.  Pretty much any modern SSD should run for 10 years under normal use (i.e., without special settings or backflips to relocate data).
    As proof of the above advice, on my Windows 7 system I have personally configured a large SSD RAID array as a 2 TB drive C:, allowing everything to be at the default locations, and all is well indeed.  I even have Photoshop's scratch files on C:, and to be honest I can hardly tell when the RAM fills and Photoshop begins heavily accessing its scratch files.
    -Noel

  • Locked file problem with WebDAV

    I am using DreamWeaver CS3 on my Macintosh at home and on a
    PC at work. I am connecting to my website via WebDAV, and for some
    reason Dreamweaver cannot edit the files on the site. When I try to
    check out any file I get an error stating: "file.html is locked and
    can be viewed but not edited" I then have the option to check it
    out or view or cancel. Regardless of what I do, if I continue and
    open the file and make changes the file will not get updated on the
    remote server even though Dreamweaver reports a successful "put" or
    "check in" command in the log file. This happens on both the
    Macintosh and the Windows PC. Both are also updated to the latest
    versions of Dreamweaver.
    The strange thing is, if I mount the WebDAV server as a
    filesystem on my macintosh and authenticate with the same
    login/password that entered in Dreamweaver's WebDAV settings, I can
    edit the html files using a text editor and they save perfectly
    fine. Additionally, while the web server is mounted on the desktop,
    if I change Dreamweaver's site settings to "local/network" and
    enter the locally mounted WebDAV share path instead of using
    Dreamweaver's built-in WebDAV client, then everything works
    properly in Dreamweaver. Reverting back to using WebDAV in
    dreamweaver (as opposed to through the OS) brings about the same
    "locked file" problem as before.
    There appears to be a problem with Dreamweaver's WebDAV
    access to the site, and I'm wondering if there's an easy fix or if
    this has been experienced by others?
    Thanks,
    -Topher

    Have a look at FileUtils::DecomposeUnicode and NormalizeUnComposedUnicodeChars. Use the first to convert before using i.e. FileUtils::PMStringToSysFile() and the later afetr i.e. FileUtils::IDFileToPMString().
    HTH

  • Vmware NFSLock lock file version mismatch BUSY

    Hey everyone, I got a problem with one of our NFS datastores but I can't seem to interpret the error.
    This is what I can see in /var/log/vmkernel.log
    2015-08-03T07:50:31.595Z cpu1:34329)WARNING: NFSLock: 468: lock file .lck-3b0000000000d893 version mismatch 0x0 vs. 0xabcd0123 and 84 vs. 84
    2015-08-03T07:50:31.595Z cpu1:34329)NFSLock: 2941: failed to get lock on file access 0x4109285ddfe0 on 10.10.10.102 (10.10.10.102): Busy
    This error keeps showing up with just a few seconds interval on all hosts connected to the store, even if we have no active VMs on it. Does anyone know how we can troubleshoot this and "version mismatch" means in this case?

    خدمة إصلاح ليبهر تقدم لكمالصيانة الشاملة لأجهزة ليبهر بالكامل 01093055835// 0235699066 // 01207619993 // 0235710008 // // 01112124913خبراء في مجال صيانة الاجهزة المنزلية ( ماركة ليبهر ) الاولي في مصر .ماهرون في صيانة ليبهر .اصلاح فوري بالمنزل مهما كان العطل مع ضمان عام كامل مع متابعة كل 3 شهور .اسطول متنقل للاصلاح بالمنزل والخدمة الفورية . اصلاح ثلاجة ليبهر , تقنيون صيانة ليبهر , مهندسون متخصصون في مجال الصيانة العالمية ليبهرنحن مركز خدمات الاجهزة المنزلية ليبهر . اجود قطع غيار , اجود معاملة مع عميل ليبهر .لاتقلق علي جهازك , نحن نلبي جميع طلباتك .صيانة ليبهر , خدمة فورية ليبهر , اصلاح ليبهر معتمد .أهم شغلنا اننا نحافظ علي عمل ليبهر بمصر أرقام صيانة ليبهر : 0235699066 // 01093055835 // 01207619993 // 0235710008 // 01112124913عندما نتعامل مع شركة صيانة ليبهر تجد أميز خدمة و أجود صيانة ليبهر الاول , ليبهر المعتمد , اسرع استجابة , اصلاح...

  • All url's stuck connecting. uninstalled and reinstalled no help. deleted parental lock file, no help

    I have been using FF for over 2 years. Suddenly 2 days ago it will not load any web sites. Just get stuck in connecting. no error messages. Tried to upgrade. No help. Uninstalled (keeping user info). Re-installed. Still have same problem. Read through your help. Deleted parental lock file, no help

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. <br>
    '''Note''': ''This will cause you to lose any Extensions and some Preferences.''
    *Open websites will not be saved in Firefox versions lower than 25.
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.
    Patrick

  • LOCKED FILES STUCK IN MY COMPUTER FOR 2 YEARS, COME ON APPLE!!!SORT IT!!

    what more can i say, its ridiculous, what's worse is that when you try to play the locked mp3 it tells you you have a hard disk error, prompting me to drive mac back to the store!!!!
    have just spent all night reformatting, only to accidently copy three locked mp3s again!!!!!!!!!
    they are like three bricks in the boot (trunk!) of my car, that i cannot take out without disabling the car!!!! its just stupid, someone give me a good reason why this issue has not been sorted. thanks..

    Hi,
    Is the use of analogies rare in the US?, I know your not great on irony or sarcasm!!
    I've no idea, I'm from the UK as well. Best to stick to the issue at hand if you want people to understand your problem and offer help (especially as people from all over the world help out here) rather than alienating them
    Locked files cannot be removed without doing some serious business in a black screen. I dont like the idea of that, if you check the relevant discussion, you will see that this issue has not been answered/resolved, despite some joker adding "press option whilst choosing delete" IT DOESNT WORK!
    What's the 'serious business in a black screen' you've been trying? What relevant discussion are you referring to? Can you recap here what you've already tried or post a link to the relevant discussion?
    V Important files used by big organizations?
    Sorry, I've no idea what you're asking here.
    Something to do with apple vs PC ??(as files came from PC)
    Could be. What file permissions do they have on a Windows machine? How are the files being copied across to the Mac? What permissions does OS X report them as having?
    Why does mac tell me i have a hard disk error when trying to open locked files?
    (this may have been fixed in last year or so, i dont dare try!)
    Don't dare try what exactly? If the OS is complaining about hard disk errors then I'd definitely concentrate on fixing those first, but again we need more information about what error messages you are seeing here and what you've tried to do already to fix things.

  • Cannot Lock File Error Message in FrameMaker 10

    When opening a multi-file book in FrameMaker (v.10.0.0.338), I'm receiving an error message that states, "Cannot Lock File. Cannot lock this file for your use. Your changes to it may conflict with the work of others." We're a small department, I'm the only one that works in this book, and I know no one else has opened these files. The error message gives me the option to "Continue" or "Cancel." Selecting "Continue" opens Save Document, but when I try to save I receive another message, "Save Document. The directory of disk t: is full. Choose another directory or disk." I work on a network drive, have rebooted, but no luck. I've used FrameMaker for years and have never experienced this issue. Thoughts?? Getting a bit desperate here.

    Check the drive out - sounds like permissions may have changed on you or you really are running out of space. The other thing is to look for .lck files that were left behind; sometimes they don't get cleared when you exit out.

  • Lock files in Finder?

    Can you lock files in your Finder? I know you can lock the entire drive, but can you lock a specific one?
    This isn't in relation to locking ****, believe it or not :P

    Welcome to Discussions - select the file you want, Get Info on it and click the lock at the bottom of the window.

  • HT2674 I have an iMac purchased in May 2011.  OSX Lion 10.7.3.  I deleted backup file from the external hard drive. Now, the trash can will not empty some of the files deleted.  File folder: "Core Services" contains a locked file: "boot.efi".  It will not

    I have an iMac purchased in May 2011.  OSX Lion 10.7.3.  I deleted backup file from the external hard drive which operates from Time Machine.
    Now, the trash can will not empty some of the files deleted from the backup harddrive.
    The trash contains-- File folder: "Core Services" which contains a locked file: "boot.efi". 
    It will not delete.
    How do I get the trash can empty of these files?

    Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
    In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think?

  • How do I enable opening firefox from two different computers sharing the same home directory without having to delete a lock file (linux).

    I just don't want to have to delete a lock file - which has a purpose - in order to use firefox simultaneously from two locations on the network - where the home directory, i.e. .mozilla directory - is located

    You need to use two separate profiles if you want to have two Firefox instances open at the same time.
    See also http://www.mozilla.org/unix/remote.html

  • ORA-27086: unable to lock file over NFS -- but it's NOT Netapp!

    My 10.2 database crashed, and when it came back I got the following error:
    ORA-00202: control file: '/local/opt/oracle/product/10.2.0/dbs/lkFOOBAR'
    ORA-27086: unable to lock file - already in use
    Linux-x86_64 Error: 11: Resource temporarily unavailable
    This is a classic symptom of a Netapp problem, which likes to hold file locks open on NFS mounts. There is a standard procedure for clearing those locks; see, for instance, document 429912.1 on Metalink.
    Unfortunately, my files are mounted on an Isilon, one of Netapp's twisted cousins. I can find no references to "isilon" on Metalink, and we are at a loss how to resolve this.
    My sysadmin assures me that "there are no locks on the Isilon". But I know this cannot be the case, because if I do the following:
    1. delete the lockfile /local/opt/oracle/product/10.2.0/dbs/lkFOOBAR, and then
    2. move my controlfiles aside, and then copy them back into place,
    then the database will mount. However, it will not open, because now all the datafiles have locks.
    Is there anyone with experience in clearing NFS locks? I know this is more of a SA task than DBA, but I am sure my SA has overlooked something.
    Thanks

    New information:
    As stated above, I moved the controlfiles aside and then copied them back into place, like this:
    mv control01.ctl control01-bak.ctl
    cp control01-bak.ctl control01.ctlDid that for each controlfile, and then the database mounted.
    But, after rebooting the machine, we discovered that all locks were back in place-- it looks like the system is locking the files on boot-up, and not letting them go. The lock is held by PID 1, which is init.
    sculkget: lock held by PID: 1This is definitely looking like a major system issue, and not a DBA issue, and hence I have little right to expect assistance in this forum. But nonetheless I lay my situation out here before you all in case someone else recognizes my problem before the server bursts into flames!
    The system is CentOS 4.5-- not my choice, but that's the way it is.

  • Need to generate a Index xml file for corresponding Report PDF file.

    Need to generate a Index xml file for corresponding Report PDF file.
    Currently in fusion we are generating a pdf file using given Rtf template and dataModal source through Ess BIPJobType.xml .
    This is generating pdf successfully.
    As per requirement from Oracle GSI team, they need index xml file of corresponding generated pdf file for their own business scenario.
    Please see the following attached sample file .
    PDf file : https://kix.oraclecorp.com/KIX/uploads1/Jan-2013/354962/docs/BPA_Print_Trx-_output.pdf
    Index file : https://kix.oraclecorp.com/KIX/uploads1/Jan-2013/354962/docs/o39861053.out.idx.txt
    In R12 ,
         We are doing this through java API call to FOProcessor and build the pdf. Here is sample snapshot :
         xmlStream = PrintInvoiceThread.generateXML(pCpContext, logFile, outFile, dbCon, list, aLog, debugFlag);
         OADocumentProcessor docProc = new OADocumentProcessor(xmlStream, tmpDir);
         docProc.process();
         PrintInvoiceThread :
              out.println("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>");
                   out.print("<xapi:requestset ");
                   out.println("<xapi:filesystem output=\"" + outFile.getFileName() + "\"/>");
                   out.println("<xapi:indexfile output=\"" + outFile.getFileName() + ".idx\">");
                   out.println(" <totalpages>${VAR_TOTAL_PAGES}</totalpages>");
                   out.println(" <totaldocuments>${VAR_TOTAL_DOCS}</totaldocuments>");
                   out.println("</xapi:indexfile>");
                   out.println("<xapi:document output-type=\"pdf\">");
    out.println("<xapi:customcontents>");
    XMLDocument idxDoc = new XMLDocument();
    idxDoc.setEncoding("UTF-8");
    ((XMLElement)(generator.buildIndexItems(idxDoc, am, row)).getDocumentElement()).print(out);
    idxDoc = null;
    out.println("</xapi:customcontents>");
         In r12 we have a privilege to use page number variable through oracle.apps.xdo.batch.ControlFile
              public static final String VAR_BEGIN_PAGE = "${VAR_BEGIN_PAGE}";
              public static final String VAR_END_PAGE = "${VAR_END_PAGE}";
              public static final String VAR_TOTAL_DOCS = "${VAR_TOTAL_DOCS}";
              public static final String VAR_TOTAL_PAGES = "${VAR_TOTAL_PAGES}";
    Is there any similar java library which do the same thing in fusion .
    Note: I checked in the BIP doc http://docs.oracle.com/cd/E21764_01/bi.1111/e18863/javaapis.htm#CIHHDDEH
              Section 7.11.3.2 Invoking Processors with InputStream .
    But this is not helping much to me. Is there any other document/view-let which covers these thing .
    Appreciate any help/suggestions.
    -anjani prasad
    I have attached these java file in kixs : https://kix.oraclecorp.com/KIX/display.php?labelId=3755&articleId=354962
    PrintInvoiceThread
    InvoiceXmlBuilder
    Control.java

    You can find the steps here.
    http://weblogic-wonders.com/weblogic/2009/11/29/plan-xml-usage-for-message-driven-bean/
    http://weblogic-wonders.com/weblogic/2009/12/16/invalidation-interval-secs/

Maybe you are looking for

  • Date format in XML sys.dbms_xmlgen

    hello all, i have posted this question in "general XML " forum also....so please dont mind i am using following query to generate insert SQL statements SELECT 'insert into ' || table_name || ' (' || (select rtrim(extract(xmlagg(xmlelement(e, t.column

  • How we use group by function while inserting data through datablock

    Hi All i have datablock in tabulor form i want when i insert data (commit) then data will insert in group by example my table is like that desc table dress_name     color             qty and i am inserting data into it like this dress_name    color  

  • First time execution problem

    Hi All, I have created a report on Vendors, used the tables LFA1, LFM1, EKKO, EKPO, T024. When I execute the report for the first time it's taking around 8 Mins., On the other hand, When I execute the same report with the same variant, it's taking ar

  • Import NEF files from Nikon D7100

    Ich habe die aktuellen PS CC, Bridge CC, ACR- und DNG Versionen installiert. Dennoch werden meine NEF-Dateien meiner Nikon D7100 nicht erkannt.

  • How to humanize subposition in Logic Pro

    Hi there, I try to humanize a midi track to change a bit of the the midi notes' position to a very small amount but has been failing to do so. That MIDI-TRANSFORM-HUMANIZE-POSITION's range is too large and that SUBPOSITION column there has no paramet