Prevent catalog from loading from memory

Hi experts!
I am working on B2B scenario with ERP backend and NO TREX.
I would like to prevent the catalog from loading from memory when the user logs in.
How can i achieve this????
Thank you all!!

Hi Pradeep,
i changed the value to -1 . And now in catalog cache statistics i see the following:
Configured expiration time: -60 min
Configured removal time: -60 min (next invalidation in -73 min)
Next check of remaining life time in 46 min (removal of catalogs with life time <= 0).
But still if another user logs in (2nd login) catalog is not read from ERP.
Is there any class i can enhance so that cache is never read?????
In R3MemCatalogBuilder class i see the code below: From my understanding it checks if there is catalog in memory and if not it connects to ERP. I have only extended Order Class so far and i do not understand how to extend this specific class.. Where should i register it???
Please help!!
Thank you in advance!!
     try {
               if (catalogTree != null) {
                    return catalogTree;
               //retrieve R/3 specific backend data
               R3BackendData backendData = ((R3CatalogServerEngine)theR3Catalog.getServerEngine()).getBackendData();
               //determine the cache key
               String configurationKey = backendData.getConfigKey();
               String catalogAndVariant = theR3Catalog.getName() + theR3Catalog.getVariant();
               String key = configurationKey + catalogAndVariant;
               //if (log.isDebugEnabled()) {
               //     log.debug("getCatalogTree started, cache key is: " + key);
               //now check the cache
               //use catalog cache, so (temporarily) all references to system cache are commented out
if (access.get(key) != null) {
if (log.isDebugEnabled()) {
log.debug("catalog already exists in cache");
catalogTree = (CatalogTree) access.get(key);
return catalogTree;
else {
the catalog tree does not exist
if (log.isDebugEnabled()) {
log.debug("creating the catalog tree");
catalogTree = createCatalog(jcoCon,
backendData,
theR3Catalog.getName() + " " + theR3Catalog.getVariant());
now put the new catalog into the cache
try {
access.put(key, catalogTree);
catch (Cache.ObjectExistsException ex) {
this is not possible,method is synchronized
log.debug("synchronization problem");
throw new CatalogBuildFailedException(ex.getMessage());
catch (Cache.Exception ex) {
this is not possible since an exception is thrown
before if the cache wasn't ready, see constructor
log.debug("cache exception");
throw new CatalogBuildFailedException(ex.getMessage());
               catalogTree = createCatalog(jcoCon,
                         backendData,
                         theR3Catalog.getName() + RFCConstants.CATALOG_GUID_SEPARATOR + theR3Catalog.getVariant());
               return catalogTree;
          catch (Exception ex) {
               log.debug("exception caught: \n", ex);
               throw new CatalogBuildFailedException(ex.getMessage());
          finally {
               jcoCon.close();

Similar Messages

  • Prevent footer from loading froma flat file

    I am using SQL loader to load data from a flat file.
    I want to remove footer/trailer records from being loaded
    I am on oracle 11g.
    Please suggest

    Pl do not post duplicates - Loading a falt file into table using sqlloader
    Skipping header and footer records of source file

  • My computer is blocking firefox from loading from the logo shortcut it prompts me to choose a program to open it!

    1.I click on logo.
    2.a window opens that says I must choose from
    a list of programs to open it.
    3. The list includes Adobe, Internet exp. and a couple others.
    4. No matter what I choose, another window pops up
    5. That window says Run or Save.
    6. I click Run and it refers me back to #2!!!!!

    In terms of searching i have searched for photos on my finder. However, none of the photos that appear are from my iPhoto Library.
    Search with FindAnyFile. You can download it here:   http://apps.tempel.org/FindAnyFile/index.php
    Search for any file with "ThumbJPGSegment" in the name. If you added at least one image to your library, the library should contain a file with this name, see OldToad's post: Re: Since I updated to iPhoto 9.5.1, my library is not listed or available. How can I find it? Can I use the time machine to restore it?

  • Delete and modify orgs from Load from File

    Hi,
    I created my organizations with the Configure > Import File option, but how can i delete or modify organizations in a same way.
    Thanks,

    In that case Do i need to write the entire contents of my file to a hash table(sumthng like this) and modify the Second row in my case with the new values..
    is it possible??I would have done like this (though there maybe better methods)
    1- create a class representing the record.
    class Record{
          String field1;
          String field2;
          String field3;
          // and so on....
          //setters
          public void setFeild1(String str){
              field1=str;
          // and so on....
          //getters
          public String getFeild1(){
              field1=str;
          // and so on....
          public String toString(){
               return(field1+"||"+field2+"||"+field3);
    }//end class2- then create an ArrayList meant to have objects of this class (Generics).
    3- read from the file , create a new Record Object and add that to the ArrayList
    4- perform operations on the ArrayList (you can add new records, and delete record, update......)
    5- write the record back to file using 'toString()' method.
    is there ne sample code available for thisdon't know, but you rarely get full code on forums.....outline given can be followed
    Thanks!
    Edit: It appears that 'r035198x' and me have the same point. This shows that this methodology is almost a standard way( if we ignore the Random access files.....)
    Edited by: T.B.M on Jan 13, 2009 2:39 PM

  • Is there a way to prevent Mail from loading non system fonts?

    For over a year, and a system OS upgrade, Mail has been taking 7 - 10 minutes to load all the thousands of fonts I have on my computer for graphic design. This started with Snow Leopard on my 2009 Mac Pro (10 GB RAM, 2 TB HDD). At first I didn't know why the computer was taking such a long time to finish boot up. So I reformatted the drive--zeroing it out. Then I installed Mavericks and reinstalled everything else. Finally I tried logging the system activity during startup and noticed that something to do with fonts took up the biggest chunk of this time. Because Mavericks loads any programs you leave running at shut down, I saw that if Mail had the fonts window open, the list of fonts would slowly grow, filling up with the many font families I use for my work. I called tech support for my font management utility but they say the fonts are not in the system and and shouldn't affect the system during startup. In the end I gave up and just go drink a few coffees after hitting the start button. It's like going back to the early days 25 years ago.
    Can I stop Mail from loading any non-system fonts? I never use anything but the default font.

    Hey SchenkerBob,
    It is possible to disable non-system fonts temporarily for all applications using the Font Book application. This article explains how to do so -
    Mac Basics: Font Book - Apple Support
    In particular -
    Disable and enable specific fonts
    In situations where you'd like to prevent a font from being available in applications, but you don't want to completely remove the font from your Mac, you can use Font Book to disable the font.
    In Font Book, click "All Fonts" in the Collection column.
    Click the name of the font in the Font column.
    Choose Disable "Font Name" Family from the Edit menu.
    Since it might be problematic to have to disable each font individually, you can create a collection of fonts and disable the collection. See the article for how to create a font collection -
    Organize fonts as collections
    When working with fonts, you may discover that you use certain fonts frequently, but rarely use others. To make it easier to find the font you are looking for, you can organize your fonts into collections.
    From the Font Book File menu, choose New Collection.
    Type in a name for the new collection.
    Click "All Fonts" in the Collection column.
    Drag the fonts that you want from the Font column onto the name of your new collection in the Collection column.
    You can then disable collections of fonts -
    You can also disable or enable all fonts in a collection: Click the name of the collection in the Collection column, then choose Disable "Collection Name" or EnableCollection Name" " from the Edit menu. 
    Thanks for using Apple Support Communities.
    Happy computing,
    Brett L 

  • How do I prevent firefox from loading page when I type in first few letters?

    I am giving my laptop to my daughter. I deleted history and emptied cache. Yet if she were to type the letter 'c', an adult site I have visited pops up - WITH MY USERNAME AND PASSWORD ALREADY TYPED IN! This gives her full access to my adult activity on the site.
    How do I prevent this from happening? I want to totally remove this site from firefox's 'memory', especially the username and password.

    To log you out of all websites your gonna want to clear the cookies:
    * Firefox in top left corner > Options > Privacy > Show Cookies >Remove all Cookies
    I would also recommend resetting Firefox if you are no longer gonna use it yourself :
    * Firefox in top left corner>Help>Troubleshooting Information>Reset Firefox
    See here for more information:
    [[Reset Firefox – easily fix most problems]]
    [[Delete cookies to remove the information websites have stored on your computer]]

  • Can't prevent unwanted toolbar from loading in Acrobat Pro 9

    I downloaded an evaluation copy of EverMap AutoBookmark plug-in.  I prefer not to automatically open toolbars that I don't use regularly when first opening Acrobat, but I can't keep the AutoBookmark toolbars from loading, even if I uncheck those particular toolbars.  EverMap support claims that it is a problem in Acrobat.  I have also had the same issue with a free plug-in from the Acrobat for Legal Professionals site. Plug-ins work fine, but I can't prevent the toolbars from loading on startup.
    Anyone else experience this issue?

    Sometimes it is simplest to simply enter the Acrobat folder and move the plugins that are a problem. Just copy then to a backup so you can put them back when you need them. I think that the presence or absence of the plugins is all that Acrobat needs.

  • How to prevent images from loading?

    I am working on creating a web gallery in Dreamweaver CS3.  The thumbnails are in a horizontal strip within a layer above the full sized image layer, in other words the strip is  hiding part of the image, but only when the image is in a vertical orientation. (the strip has no background, so all that is visible are the actual thumbnails) Upon clicking show/hide text , in a toggle configuration, the strip fades, or shows.   On my computer it works perfectly. However, once uploaded, it takes forever to load the images.
    The problem: Although I have the thumbnail images are set to preload,  all of the full size images are loading as well, which takes alot of time. Is there a way to prevent the full sized images from loading, i.e. only when the thumbnail is clicked?
    Frames, in which one frame is thumbnails, and another the is images, is what I normally would use, and have a page for each image. However, for what I have in mind, it will not work (transparency on parts of one frame above another is as far as I can tell not possible).
    So how do I prevent images from loading until called for?  regards~bill-o

    t would help if you posted a link to the page, but I can guess that you have properly diagnosed the cause - the page is encumbered with the weight of all of the full-sized images.
    The only way to not have this happen would be to dynamically write the link to the full sized-images on demand, as it were.  In other words, the link ISN'T EVEN ON THE PAGE until you have clicked on the corresponding thumbnail, and only at that point is the weight of that image experienced.  One easy way to do this is to use the SetText of Container behavior that is part of DW's native arsenal of behaviors.  When the thumb is clicked, the SetText behavior is called to write the image link into the enlarged image's container. Need to see a demo?  Look here -
    http://dreamweaverresources.com/tutorials/settextoflayer.htm
    The behavior is called "Set Text of Container", and using it will meet all of your requirements.
    To use it, you will have to have the following:
    1.  A page with a 'container' which is to receive the enlarged image - this could be a table cell, a paragraph tag, a div, or even a span tag.
    2.  That container will have to be identified with an ID attribute and a valid value, e.g., <div id="enlargedImage">.
    3.  A dummy page containing each enlarged image, placed sequentially on the page.
    To implement the effect, do the following:
    1.  Open the dummy page in Code view, and select the first image's tag, e.g., <img src="images/foo.jpg" width="123" height="256" alt="whatever" /> (XHTML syntax shown here).
    2.  Switch to the actual page, select a thumb that will 'open' this enlarged image, and enter "javascript:;" (that's colon semicolon) in the 'Link' field of the Property inspector to make this thumbnail image a null link.
    3.  Apply the Set Text of Container behavior.
    4.  Paste the clipboard into the dialog for the behavior, and click OK to close the dialog.
    5.  Examine the Behavior panel to see which mouse event has been defaulted - probably 'onclick'.  If you would rather have this be 'onmouseover' use the Behavior panel Event selector (the dark triangle to the right of the event name) to select 'onmouseover'.
    5.  Repeat from #1 above until all thumbs have been treated.
    Let us know if this does not make sense

  • Firefox is preventing Java from loading Pogo games which require it

    I have just updated to the latest Firefox and now java is being prevented from loading Pogo games which require it. I have unchecked the block popups box and enabled java script but each time I try to load I get a message on the java concol saying permission denied. I went to IE8 (yuck) and the game loaded fine.
    Help please.

    For as much as I spend on membership there I don't need these problems... I DIDN'T update my FF it happened automatically which * me off since i like to wait until all the bugs are gone...
    ''edited for language - TonyE''

  • An error prevented the view from loading

    I'm using SQL Server 2012 Express and I'm building a report with one table.  I dragged and dropped two data set elements into the table that has two columns (Product Name and Product Description).  Both the dataset elements have
    a data type of varchar (50) in SQL Server 2012 Express.  The table with those two elements is the only data I have in Design view.  When I click on Preview, the Preview screen states 'An error prevented the view from loading.'.  This is difficult
    to diagnose, because in the Error List there are '0 Errors', '0 Warnings', and '0 Messages'.  I would like help understanding if there is another error log I can observe to understand the issue, or if there are basic SQL Server 2012 Express Reporting
    Services debugging techniques.  Please help.  Thank you,
    Additionally, when I run the query in SQL Server 2012 Express and Reporting Services Query Designer the query results are correct.
    Also, when I click the start debugging button, the report displays and I can export it to pdf, however the Previous still displays the error.

    Well, funny stuff.  I shut the solution down yesterday, then I booted my computer today and started the solution AND JUST LIKE MAGIC....it works.  I can't explain it.  Persistence pays, that's the answer sometimes.

  • How prevent movie from loading completely before playing?

    Hi,
    how do I prevent an swf from loading completely before
    starting to play in the browser? When simulating a download in the
    Flash application, several preload stages work perfectly, but not
    in the browser. Preload stages don't appear, instead it takes ages
    for the 3.5 mb file to completely load before displaying the first
    frame of the movie.
    I have tried inversing the load order in export settings and
    different flash versions, but just can't get it to work.
    Can someone help? Thank you!

    hi kglad
    I thought it should be that way; the point is that I don't
    want to add code that loads the entire movie before starting to
    play the first frame, but only a certain number of frames (i.e. 11
    out of 35, for example). I'm trying to do this with this code in
    the first frame:
    ifFrameLoaded (11) {
    gotoAndPlay("start");
    in the simulation, it works perfectly, but when uploading the
    movie and viewing it in html, the entire thing loads, and the
    preloader doesn't appear.
    Many thanks for your help.

  • How do prevent firefox from loading(going to) a website(following a link, etc...) that i never want to see again(example: choose now & click on some link in the future)?

    I go to a website(link, etc...) & I never want to go there again, but sometime(anytime) later I come across some page that seems to be useful. I click on a link, and the other required links until I find that it is a waste of time & I then kind of remember having been there in the past & have wasted all this time again. This happening for many different sites over time.
    How do I prevent firefox from loading(going to) all websites that I choose to go to when I have in the(distant) past decided that I never wish to return to: block websites with message saying that I blocked it?

    Hello Cen.
    You need to find an extension that blocks certain sites. I am certain there are many. Search over at [http://addons.mozilla.org addons.mozilla.org].
    I hope you find it.
    If you need help, just ask.

  • BUG: IE11, windows 8.1 enhanced protected mode prevents pages from loading. Slow browsing experiece

    if enhanced protected mode is enabled in IE11 on windows 8.1 it prevents many pages from loading in a timely manner.
    eg. TechNet.microsoft.com; dotnetcurry.com
    this is reproducible on multiple machines.
    please resolve.

    Hi,
    Based on my test, it works fine on my windows 8.1 with IE 11.
    Firstly, we need to check the following:
    1.  Do you mean the issue is only occurred when you enable the enhanced protected mode?
    2.  How about other browsers? Do they also meet the same issue?
    3.  If there is a computer on the other network, please check if it also meets this issue.
    Please try the following to check the issue:
    1. Disable the security software temporarily and see if it works.
    2.  Reinstall the IE 11 for a test.
    How to reinstall or repair Internet Explorer in Windows 7, Windows Vista, and Windows XP
    http://support.microsoft.com/kb/318378/en-us
    As Real McCoy mentioned,  the recording can be used to quickly identify problems and help reduce time spent with the help desk.
    Please upload “Problem.zip” to SkyDrive (http://www.skydrive.live.com/) and share its URL with us.
    More information about Problem Steps Recorder:
    Problem Steps Recorder
    http://technet.microsoft.com/en-us/windows/dd320286.aspx
    Hope it helps.
    Regards,
    Blair Deng
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Prevent Startup Form from Loading using Command Line Arguments

    Hi there
    I'm developing a VB.NET windows forms application in VS2013.
    The application will have 2 ways of being executed, one being by the user manually and the other being automated by the task scheduler.
    When executed by the task scheduler, command line arguments will be used so that the application is aware that it is being run automatically and not by a user.
    My problem is that I want the startup form to load when run by a user but I don't want it to load when it is run automatically, I just want to execute code.
    Is it possible to prevent the startup form from loading by using the commandline arguments from the MyApplication_Startup event?
    Cheers

    Hi Aureuz,
    >>Is it possible to prevent the startup form from loading by using the commandline arguments from the MyApplication_Startup event
    It is impossible to accomplish it in the MyApplication_Startup event, we can use Form.Shown event:
    #Form.Shown Event
    http://msdn.microsoft.com/en-us/library/system.windows.forms.form.shown(v=vs.110).aspx
    If we start a form by using the commandline arguments, the count of CommandLineArgs will be above one, if so, use Me.Hide() method to hide this form.
    Private Sub Form1_Shown(sender As Object, e As EventArgs) Handles MyBase.Shown
    Dim args As String() = Environment.GetCommandLineArgs()
    If args.Count > 1 Then
    Me.Hide()
    Else
    Me.Show()
    End If
    End Sub
    You can also uncheck "Enable application framework" on the project properties application tab and select your startup object to a module object:
    Module Module1
    Sub Main()
    Dim args As String() = Environment.GetCommandLineArgs()
    If args.Count > 1 Then
    'Run your background code
    Else
    Dim f As New Form1
    f.ShowDialog()
    End If
    End Sub
    End Module
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I cannot seem to load raw images into LR 2.5.  I've been using this for years.  I always load from memory card, but it gives me an unknown error message.  I tried to load from camera, hard drive, & external drive and still will not work.  I checked import

    I cannot seem to load raw images into LR 2.5.  I've been using this for years.  I always load from memory card, but it gives me an unknown error message.  I tried to load from camera, hard drive, & external drive and still will not work.  I checked import menu and nothing has changed.  I loaded the photos onto my tablet and images are fine, so do not feel it is the memory card.  Any thoughts?

    The error message probably said "unsupported or damaged"
    The T3 requires Lightroom 3.4.1 or later. You can either upgrade to a more current version of Lightroom (version 5.6 is the most recent) or you can use the free Adobe DNG Converter to convert the RAWs to DNG, which should import into Lightroom properly.

Maybe you are looking for