Servlet for firl downloading is not invoked, but file IS downloaded.Cache ?

Hi,
I used a servlet to enable users to download files from server. Sometime I noticed the servlet is not invoked at all, but files are downloaded. I guess it is a cache problem. How do I make sure the servlet is invokced everytime I click the button to download file, instead getting a cached file?
Also, I used JEXCEL package to generate Excel files for users to download. The first time the Excel file is generated, all formatting info was kept. But later generation of the Excel lost all formatting info, I just got the "raw" Excel file. Of course the content of the file is correct, just without format I want.
Thanks

Hi,
There are two ways to display the content of the CPA cache refresh.
1. The Cache-Update Content-XML
Document can be stored in the Adapter Framework database (J2EE schema) for further analysis. Here you have to set the property in the J2EE Visual Administrator tool.
To do so, proceed as follows:
=>J2EE-service SAP XI AF CPA Cache
=> set property trackCacheUpdateXML= true
=> You can now display the cache update XML with the alias  CPACache
=> View Cache Update History
=> View Cache Update XML
2. The content of the cache refresh from the Integration Directory intothe CPA cache can be written to an XML file: Here you have to set the property inthe J2EE Visual Administrator tool:
=>J2EE-service SAP XI AF CPA Cache
=> set property J2EE service SAP XI AF CPA Cache cacheUpdateDebugFile = true
=> the CPA cache refresh XML file will be in the server(0) directory search for the following file names:
=> value of the property cacheUpdateDebugFile.deltaif you intend to see the delta refresh accordingly and the value of the property cacheUpdateDebugFile.full if
you intend to see the full cache refresh content
Note: After your analysis, do not forget to reset the properties value to false.
You can delete the XML cache-
refresh table: alias CPACache
=> View Cache Update History
=> Delete History
Also check out the user and its permission.
regards
Aashish Sinha
PS : Reward points if Helpful

Similar Messages

  • FileChooser is not invoking the file Please Help

    Hi,
    I have created a menuItem when user selects from the menuItem the file chooser come's up after that when he select any file from the JFile chooser dilalog box the r not invoked.Here is the code, please tell me where am i wrong. Please Help me out
    Thanking u
    in advance
    public void actionPerformed(ActionEvent e)
    Object source = evt.getSource();
    if(source == dialerItem)
    JFileChooser chooser = new JFileChooser();
    chooser.setCurrentDirectory(new File("."));
    chooser.setFileFilter(new Javax.swing.filechooser.FileFilter()
    public boolean accept(File f)
    String fname = f.getName().toLowerCase();
    return fname.endWith("html") || f.isDirectory();
    public string getDescription()
    return "Html Files";
    int r = chooser.showOpenDialog(this);
    if(r == JFileChooser.APPROVE_OPTION)
    chooser.getSelectedFile();

    Not "invoking" the file? What does that mean? What did you expect it to do?
    What it actually does, in the last line of your code, is to create a File object based on the selected file, then to discard it because you didn't assign it to a File variable.

  • I forgot my code for my iphone 4 not pin but not my my unlock code

    I forgot my code for my iphone 4 not the pin code but the unlock code PLIIIIIIIIIIIS HELP

    I forgot my code for my iphone 4 not the pin code but the unlock code PLIIIIIIIIIIIS HELP

  • Why my cronjob for primary/standby server not work, but worked at prompt

    I have redhat linux version 5, oracle servers 11gr2.
    I have cronjobs to monitor tablespace usage and alert logs.
    However they not work at the cron job, but if I execute them at the command prompt, it worked.
    What might be the problem?
    example of the cron script:
    Head of the script:
    #!/bin/bash
    . /u01/app/oracle/bin/hydev_env
    MAILTO="dba.com"
    LOG=/u01/app/oracle/dba_cron/out/tablespace_90_full.html
    echo $ORACLE_SID
    sqlplus -S <<-EOF >>/dev/null
    / as sysdba
    Cron job set is like this:
    #------------------------TABLESPACES Check------------------------------------------------------------------------
    0,35 * * * * /u01/app/oracle/dba_cron/scripts/tablespaces_over_90%.sh >/u01/app/oracle/dba_cron/out/tablespaces_over_90%.log > 2>&1
    Vi /var/spool/mail/oracle:
    Has error like this:
    /bin/sh: -c: line 0: syntax error near unexpected token `2'
    /bin/sh: -c: line 0: `/u01/app/oracle/dba_cron/scripts/chk_ora_alert_all.sh >/u01/app/oracle/dba_cron/out/chk_oracle_alert_all.log > 2>&1'
    Any guru help?

    Hello;
    Generally this is an environment issue.
    The script works at the command prompt because when you signed on your user picked the environment settings from a profile, for example .bash_profile.
    A crontab job has no environment. That is why you call hydev_env near the beginning of the script. So something of some things are missing from your env file mostly likely.
    What I do is keep an environment file for each database at a location like this :
    /u01/app/oracle/dba_tool/env ( /u01/app/oracle/dba_tool/env/PRIMARY.env )
    The file PRIMARY.env is <database_name>.env
    What I keep in it is everything I need that a background job like crontab would need :
    ORACLE_BASE=/u01/app/oracle
    ULIMIT=unlimited
    ORACLE_SID=PRIMARY
    ORACLE_HOME=$ORACLE_BASE/product/11.2.0.2
    ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    LIBPATH=$LD_LIBRARY_PATH:/usr/lib
    TNS_ADMIN=$ORACLE_HOME/network/admin
    PATH=$ORACLE_HOME/bin:$ORACLE_BASE/dba_tool/bin:/bin:/usr/bin:/usr/ccs/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/lbin:/GNU/bin/make:/u01/app/oracle/dba_tool/bin:/home/oracle/utils/SCRIPTS:/usr/local/bin:.
    export TERM=vt100
    export ORACLE_BASE ORACLE_SID ORACLE_TERM ULIMIT
    export ORACLE_HOME
    export LIBPATH LD_LIBRARY_PATH ORA_NLS33
    export TNS_ADMIN
    export PATH
    export MAILTO=
    Important If you are not sure of a setting on your system type "env" at a Linux prompt while logged on as the user where the script works. Change as needed in your .env file.
    Here a script I call from crontab to check tablespaces
    #!/bin/bash
    if [ "$1" ]
    then DBNAME=$1
    else
    echo "basename $0 : Syntax error : use . quickcheck <DBNAME> "
    exit 1
    fi
    # Set the Environmental variable for the instance
    . /u01/app/oracle/dba_tool/env/${DBNAME}.env
    $ORACLE_HOME/bin/sqlplus /nolog <<EOF
       connect / as sysdba
    @/u01/app/oracle/dba_tool/bin/quickaudit
    EOFNotice how I pass the db name as a parameter to the script so I can use the script with several database without changing it.
    /u01/app/oracle/dba_tool/bin/quickcheck.sh PRIMARY
    The crontab to make this run daily at 5:12 am is :
    12 05 * * * /u01/app/oracle/dba_tool/bin/quickcheck.sh PRIMARY > /tmp/quickcheck.out
    Best Regards
    mseberg

  • The files for after effects are not ther but still creative cloud thinks its installed

    My Macs Creative Cloud thinks that I have After Effects CC installed but when i search my mac no files are there :/ help me get a sollution as to how to fix this.

    Hello,
    as strange as it may seem I fear it's a challenge for Adobe's Creative Cloud Cleaner Tool.
    Sometimes - for whatever reasons - CC doesn't "want" to work. In this case you should CC completely delete and reinstall by help of Adobe Creative Cloud Cleaner Tool. (A try to uninstall by own resources is not enough!)
    I quote: ... helps resolve installation problems for Adobe Creative Cloud and Adobe Creative Suite (CS3-CS6) applications. The tool removes installation records for prerelease installations of Creative Cloud or Creative Suite applications. It does not affect existing installations of previous versions of Creative Cloud or Creative Suite applications.
    Please use: http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html  and follow the prescribed sequence of operations
    Sometimes the "opm.db file" is the culprit. In this case you should delete it.
    If necessary and for further questions and if "open" please use chat, I had the best experiences.
    Hans-Günter

  • An update for an app is not loading, but I need to use the app even without the update. How do I cancel the update? Right now is on hold.

    I use an app, today there is an update, so I push it to update. Is giving some error, not possible to upload,.. May the server is too busy?,.. So the app is on hold,.. Waiting...
    In any case, I need to to use the app... But I can not get it to open ....how do I go about canceling the update?

    If there's no important data, delete and re-install.

  • I tried getting a game for iPad 2 / did not work but took money

    As above what do I do
    I had $twenty four dollars
    Tried three apps all said unablle to download but took money

    But When I verify The sub-partition in the Disk (disk4s2), it asks me to repair disk. When I try to repair disk, it gives me this error.

  • My sister installed page rage on my laptop, tried rmeoving it frodm add and delete programs and it is not there, tried looking for extensions and its not there, but the page rage web search is ther and i cant remove it. need help asap

    find it under add on and extensions, it doesnt appear on add or remove programs. need help asap

    Hi there -
    Thank you for your feedback. If you wish to uninstall our app, you can do so via our official uninstall page: http://www.pagerage.com/uninstall-pagerage.aspx
    If you still need assistance, please feel free to reach out to us by email: [email protected], thanks!

  • Problem in 1toN message mapping,payload not populated but file created

    I am doing 1:N multimapping From Proxy  to File scenario .Proxy send three types of data all having same stucture but depending on the value of First field we split the whole stucture in 3 parts on target side and generating three files on taget side.During testing values get Passed from the SXMB_MONI(processed) and we get whole payload data upto
    "Message Branch Acording to Reciever List" .But when i check payload data in 'Request Message Mapping" we donot get any data in Payload.Taget File is generated but when we try to oen the file I get message " Unable to display the File".
    can any expert help me resolve this problem.

    I need to generate 3 files each having similar structures depending upon the first field 'listcode' values whose values are  'N0','MA','MY' coming in a proxy structure.The source structure is as follows::
    MT_Source
    >Detailrecord..0..unbounded
    >listcode..0.1...xsd:string
    >itemcode...0.1...xsd:string
    >description1...0.1..xsd:string
    >description2...0.1..xsd:string
    The target stuctures are:
    MT_Target_N0
    >Detailrecord..0..unbounded
    >listcode..0.1...xsd:string
    >itemcode...0.1...xsd:string
    >description1...0.1..xsd:string
    >description2...0.1..xsd:string
    MT_Target_MA
    >Detailrecord..0..unbounded
    >listcode..0.1...xsd:string
    >itemcode...0.1...xsd:string
    >description1...0.1..xsd:string
    >description2...0.1..xsd:string
    MT_Target_MY
    >Detailrecord..0..unbounded
    >listcode..0.1...xsd:string
    >itemcode...0.1...xsd:string
    >description1...0.1..xsd:string
    >description2...0.1..xsd:string
    I need to do mapping of such 1:n multimapping mapping.I have done mapping but getting error in moni "Split mapping created no messages".Please suggest me some right way to do mapping

  • HT3771 how to disable printer updates for printers I do not have anymore

    I'm using Snow Leopard and find that auto-update is constantly wanting to update printer drivers for printers i do not own, but might have had connected in the past. How can I disable these printers? I've spotlight searched through my system and cannot find where these printer profiles are located.

    /Library/Printers/ and delete any manufacturer's folder for the ones you don't have. This is all I have left:

  • HT4759 i downloaded the icloud to my pc it says to login with apple id and it says it is a valid apple id but not cloud but i cannot get the control panel for icloud to come up to set it up on my pc which runs windows 8

    i downloaded the icloud to my pc it says to login with apple id and it says it is a valid apple id but not cloud but i cannot get the control panel for icloud to come up to set it up on my pc which runs windows 8

    An update.
    From iCloud Control Panel 2.1.1 for Windows
    "iCloud Control Panel 2.1 and later includes support for Windows 8"
    but you still need to set it up on a Mac or iOS device, "Note: To create an iCloud account you need an iPhone, iPad, or iPod touch with iOS 5 or later, or a Mac with OS X Lion v10.7.5 or later."

  • HT1725 When I click on a Movie I get the following "You have already purchased this item but it has not been downloaded. To download it, select Check For Available Downloads from the Store menu." Then get err = 11111

    iTunes quit unexpectedly during the download of a movie.  When I click on that movie now I get the following message: "You have already purchased this item but it has not been downloaded. To download it, select Check For Available Downloads from the Store menu."
    I follow the instructions, but the download still doesn't resume - err = 11111
    Any advice?

    Yeah, I am going to blast my iPhone for the 4th time today and pray this goes away. I had 6 apps showing updates, the 6 badge icon shows on the App Store on my iPhone and, having run them all, the 6 apps have two copies each on my iPhone: one that is the old version of the app and will not run and the other is a faded version of the app with an empty progress bar on the icon. Click those and you get an error message about connecting to iTunes, etc. as described in the article I linked to above.
    It gets stranger than this. If I install a completely NEW app, the 6 that are stuck mid-update heal themselves and appear with the new version only, however now completely different apps (Hold Em for instance - which I did not update and didn't need an update) will not launch "app name Cannot Launch" message comes up.
    Agh!

  • I'm looking for a Jukebox app that can download songs I do not have, but my friends want to hear at a party. Any ideas?

    I'm looking for a Jukebox app that can download songs I do not have, but my friends want to hear at a party. Any ideas?

    Ah. I'm surprised, but there we go.
    Have a look here ...
    http://jam.hitsquad.com/vocal/about2136.html
    (courtesy of googling 'OSX free multitrack recording software')
    Didn't have time to do more than skim, but 'Ardour' looked promising. Protools is the only one I've used, the full product is one of the industry standards, but the free 'lite' version listed here seems to be limited to 2 in/out as well.
    Referring to your original post, I'd think trying to write or 'script' something would be a nightmare ... synchronisation of streams within something like Applescript would be a major issue, quite apart from anything else.
    G5 Dual 2.7, MacMini, iMac 700; P4/XP Desk & Lap.   Mac OS X (10.4.8)   mLan:01x/i88x; DP 5.1, Cubase SX3, NI Komplete, Melodyne.

  • I have win 7 pro and the download for jre 7u10 does not work on Firefox17, I have installed and uninstalled, but works on internet explorer.

    I have uninstalled jre7u10, the latest version of java, and re-installed this several times and it will NOT work on Firefox 17. I have checked that the plugins are downloaded in the add-ons tab and made sure they are Enabled. I have tried disabling every plugin I have on the page, but it still will NOT run on FF 17. So, I have uninstalled jre7u10 in windows control panel. I got the jre7u10 download for windows 7 from the actual java website.
    I don't know what else to do. I am totally confused as to why it works on Internet explorer but not Firefox 17. It gives me an error message on a chat window on one of my sites that says error client class not found, But I DON'T get this error when I use Internet explorer because the chat window works with it. HELP PLEASE ???????????
    I am not that good with computers so take it easy on me please.
    Thanks in advance

    I questioned that 64 bit version thing and when I checked the download it sent me to the java version 32 bit for windows 7. The download of jre 32 bit works for my computer on internet explorer but not for firefox 17. I also checked firefox and there is not a 64 bit version browser. so I don't get this at all. anyway, I don't know what a 64 bit vs a 32 bit means but someone asked me to check that too on the site I went to they thought it might be different browser. It's not.

  • I paid for and downloaded a song, but it won't play saying the file could not be found. It says this even when I click on the song IN the itunes store, so I can't even listen to the sample now??

    I paid for and downloaded a song, but it won't play saying the file could not be found. It says this even when I click on the song IN the itunes store, so I can't even listen to the sample now??
    I haven't kept records of the songs I have paid for, and a number of songs have recently been displaying this message, making me search my computer for them. Most I have been able to find, but this one immediately "disappeared" the moment I attempted to play it after downloading...... how do I either get it back or get my money back???

    How did you do this move?  Unless you know what you are doing you have to move the whole, complete iTunes folder.
    iTunes: How to move [or copy] your music to a new computer [or another drive] - http://support.apple.com/kb/HT4527
    Quick answer if you use iTunes' default preferences settings:  Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive.  Open iTunes and immediately hold down the Option (alt) key (shift on Windows), then guide it to the new location of the library.
    Windows users see tip at: https://discussions.apple.com/message/18879381

Maybe you are looking for

  • USE of BAPI_PRICES_CONDITIONS

    Hi All, Can i use BAPI_PRICES_CONDITIONS to create, change, delete, copy and display condition records. when i had gone through the parameters of this BAPI i found a field called operation and it has the following things: 003     Delete: Message cont

  • 320gb external suddenly quit working

    I have had this hard drive for roughly a year now. I ripped a new cd to my macbook and copied the files to my external as I always do. I then ejected the drive properly, as per usual. It took a while to eject, and now when I plug it in to my mac or m

  • Flash Builder 4 connect to Data/Service

    I am attempting to connect Flash Builder projects to a custom AMF server using the connect to Data/Service tool. I am able to successfully connect to the server and create a service connection. Flash Builder creates a service but does not recognize a

  • Smart Script Player Applet (Player Only) Problem ...

    Hi all! We are trying to make our SmartScript opens automatically when a user navigates to a particular view. We followed the following steps: * Using Siebel tools: 1) Create a new view. 2) Add "Smart Script Player Applet (Player Only)" to it. 3) Add

  • How do I get photoshop cs6 on my pc?

    I need photoshop cs6 for a college course and I was wondering how I download it.