Updating InetAddress Cache in the case of changing a live WebSite's IP addr

Hi all,
According to Java API documentation for InetAddress Class "The InetAddress class has a cache to store successful as well as unsuccessful host name resolutions. ". I want to be make sure, if I change the IP address of an already live website, this cache is updated immediately after finding the wrong cached IP address in the request to website's URL.
It would be much more helpful if you explain more about "unsuccessful host name resolutions".
Regards
Mehdi.
Edited by: user9205046 on Oct 6, 2011 3:46 AM

Thank you for providing the reference. However, I know what should I do with "Time to Live" to modify default behavior of Java security on refreshing negative and positive IP address caches. What I really want to know is when JVM decides one IP must go to negative cache.
EJP wrote:
It would be much more helpful if you explain more about "unsuccessful host name resolutions". Err, this is a forum, not a documentation problem report centre. There is no 'you' here that can act on that suggestion, just other Java users like yourself.The "you" in here means someone who wants to answer my question nothing more. Could you please let me know where should I ask this question. You mentioned "documentation report center".

Similar Messages

  • How to update POWL cache in the feeder class

    Hi All,
    I need to update POWL cache in the feeder class, While user removing the selected entries we will synchronize it to DB directly. But I have no idea how to update the POWL cache, Do you know any method to implement it?
    Thank you very much!
    Julia

    Hi,
    In your method Handle_Action changing C_RESULT_TAB is nothing but a sort of local cache which sends the data to be displayed in POWL.
    Can you try deleting the selected row ( can be fetched from c_selected ) from this C_RESULT_TAB parameter.
    I guess this should do the trick.
    Also when you change C_RESULT_TAB, then do remember to set the parameter E_RESULT_LINES_CHANGED as true.
    Regards
    Manas Dua

  • I want the system automatic update my UDFs when the OnHand was changed.

    I added two UDFs in table OITW to count the warehouse OnHand by CASES and Bottles. I want the system automatic update my UDFs when the OnHand was changed.  Is there any way I can do it in database level instead in the application (too much places involved).

    There is few ways how to do this:
    - triger as David said, but I dont recomend it through SAP policy
    - in stored procedure transaction notification  by adding or updating document update your user field
    - create job in SQL server which in specific interval recalculate the changes of onhand and update your user defined field
    - create addon which will be over functiuonalities which may change the onhand value
    I think that from SAP is possible only Addon, but the easist way is trigger and if you dont need it just in time but for example every 10 seccond, the better is job which cannot fail the standard SBO transaction (triger may and may be unsafe).
    Hope it helps
    Petr

  • Can the case be changed while uploading the data or after uploading ????

    hi all ,
    can u pls help me ???  can the case of the data in a itab be changed while running the program? the data is uploaded to an internal table and then based on loop at that itab the conditions will evaluate to give the result.... but the problem is like wen the data is given in small letters the worste(last)  condition is executing even the data satisfies the condtion which is not supposed to happen. this is due to case sensitive problem ...can u pls help me ....can the case be changed while uploading the data r after uploading ????

    this is the itab declaration ..
    data: begin of it_input occurs 0 ,
           tra          like tstc-tcode,
         end of it_input.
    and then from the uploaded data the prog should check wheather it is having any userexits or not ...
    here comes the code...
    sort it_input by tra.
    delete adjacent duplicates from it_input  .
    loop at it_input.
               it_itab-sno = sy-tabix.
      select single * from tstc where tcode eq it_input-tra.
    if sy-subrc eq 0.
        select single devclass from tadir into v_devclass
                 where pgmid = 'R3TR'
                        and object = 'PROG'
                        and obj_name = tstc-pgmna.
             if sy-subrc ne 0.
             select single * from trdir where name = tstc-pgmna.
             if trdir-subc eq 'F'.
                select single * from tfdir where pname = tstc-pgmna.
                select single * from enlfdir where funcname =
                tfdir-funcname.
                select single * from tadir where pgmid = 'R3TR'
                                   and object = 'FUGR'
                                   and obj_name eq enlfdir-area.
             move : tadir-devclass to v_devclass.
              endif.
           endif.
           select * from tadir into table jtab
                         where pgmid = 'R3TR'
                           and object = 'SMOD'
                           and devclass = v_devclass.
           if sy-subrc = 0.
            select single * from tstct where sprsl eq sy-langu and
                                            tcode eq it_input-tra.
                      if not jtab[] is initial.
               loop at jtab.
                    select single modtext from modsapt  into str
                         where sprsl = sy-langu and
                                name = jtab-obj_name.
                    it_itab-tra        = it_input-tra.
                    it_itab-i_obj_name = jtab-obj_name.
                    it_itab-i_modtext = str.
                    append it_itab.
                    str = ''.
               endloop.
              endif.
            else.
                    it_itab-tra        = it_input-tra .
                    it_itab-i_obj_name = ' '.
                    it_itab-i_modtext = 'No user Exit exists'.
                     append it_itab.
            endif.
          else.
                    it_itab-tra        = it_input-tra .
                    it_itab-i_obj_name = ' '.
                    it_itab-i_modtext = 'Transaction Code Does Not Exist'.
                     append it_itab.
          endif.
    endloop.

  • Avoid the browser cache display the previous version of my flash website

    I frequently update my website. But customers do not see immediately the changes as the cache displays the previous version.
    How do I avoid this? Any advice is highly appreciated.

    Hi, this is a bit of a wrong forum since your problem doesn't pertain to AS per se, but for what it's worth I'm gonna tell you how i deal with the browser caching and it helped me (both SWF and JavaScript caches). I always use the Dreamweaver site and after I'm done compiling the SWF file I suply "Upload" the file to the testing/remote server. Hope that helps.

  • Illustrator CC used to support edrw (SolidWorks) files but Illustrator CC 2014 no longer seems to after updating today, Is this the case?

    We are sent SolidWorks files by our supplier and they used to open so that we could make minor adjustments where needed, mainly language conversion and dimensions alterations but the .edrw file format no longer seems to be supported after updating to Illustrator CC 2014. Has Adobe tightened the noose of monopolistic limitation even further with this update?

    Hello ikon,
    Could you please verify in your AICC installation plugins folder that you do not have any additional 3rd party plugins installed to enable this import? Also, AICC 2014 installation happens in a folder parallel to AICC so you would need to install/copy the 3rd party plugin into AICC 2014 plugins folder. It is most likely that you have an additional plugin installed in AICC which is not there in AICC 2014.
    Please confirm as we do not support these files import natively in AI or in other previous versions.
    Regards,
    Dhirendra

  • Topink 9.0.4 not generating an update statement, if the object was changed.

    I have 2 tables T_Objects and T_Categories.
    T_Objects stores images as a BLOB field. T_Categories stores the details of an article category and references the pictogram in T_Objects via a FK.
    I have 2 webpages. One which is used to load the pictogram in T_Objects and the other which is used to maintain details of the category in T_Categories. As soon as the image is uploaded and is displayed on the screen, user fills in the category details and saves them.
    Each of these operations is performed in a seperate HTTP Request (and consequently seperate UOW). The idea is that the user first uploads an image, checks the image on the screen and the decides to associate it with a category.
    The database is Oracle 9i. Driver used is OCI 8. Binary Steam Binding is enabled for BLOB fields. DatabasePlatform is Oracle9Platform.
    The descriptors of both the tables use SoftCacheWeakIdentity and the cache size is 100. Both tables use Optimistic Locking based on a version field using TimestampLockingPolicy.
    Coming to the problem, if the delay between the upload of the image and saving of the category details is large (say 20 seconds or so) Toplink generates a Update query to update the details in T_Categories. If the delay is smaller than that then Toplink fails to generate an update query even if the object was changed. Upon debugging I find that just before the commit, the BO being committed has all the correct details including the new PK of the uploaded image.
    Assuming that the BO pointing to T_Objects may not be in Cache (owing to images of size 200+ KB) I did an explicit read of this object before attempting to save details to T_Categories. Even that does not seem to help.
    Any ideas on what is happening here?

    Chris. Thanks for your reply. I did not get your point. However these are the steps being done.
    Can you please go through the code and check what could be wrong?
    Steps
    1) createContent(VmTObjectsVO vo) is called to insert into VM_T_OBJECTS.
    This internally calls create ( Object obj, UnitOfWork uow, boolean commitChanges )
    2) update( VmSubcategoriesVO vo ) is called to update a sub-category details to VM_T_SUBCATEGORIES.
    This internally calls save( Object bo, UnitOfWork uow, boolean commitChanges )
    In the save method at the time of uow.commitAndResume() no update statement is getting generated.
    These core methods are used for almost all tables in the application and all of them work.
    It is only in this use case I have a problem.
    * Creates a new entry for storing the image/document in VM_T_OBJECTS.
    * @param vo the content to be stored.
    * @return the sequence assigned to this object.
    public Long createContent(VmTObjectsVO vo){
    VmTObjectsVO voSaved = null;
    Long lnContentId = null;
    if(vo != null){
    VmTObjectsBO bo = new VmTObjectsBO();
    /* copy the properties from the VO to the BO. */
    ObjectAssembler.vo2bo((BaseVO)vo, bo);
    /* Create the content */
    lnContentId = create(bo);
    return lnContentId;
    * updates a subcategory to VM_T_SUBCATEGORIES
    * @param vo VmSubcategoriesVO to update.
    * @ return updated VmSubcategoriesVO
    public VmSubcategoriesVO update( VmSubcategoriesVO vo ) {
    VmSubcategoriesBO boSaved = null;
    VmSubcategoriesVO voSaved = null;
    VmSubcategoriesBO bo = new VmSubcategoriesBO( );
    /* Copy the properties in the VO to the BO */
    ObjectAssembler.vo2bo( vo, bo );
    /* Save the changed object */
    save( bo );
    return voSaved;
    * Stores the new object in the database and
    * returns the primary key identifier with which it was created.
    * @param obj The object to be created.
    * @param uow Use this unit of work for performing the insert.
    * @param commitChanges Should commit changes upon insertion?
    * If the client wants to perform the commit operation across several others
    * operations, then the value should be set to false.
    * @return Primary key of the object created.
    public Long create ( Object obj, UnitOfWork uow, boolean commitChanges ) {
    Object cacheObj = null;
    Long lnSequenceAssigned = null;
    if ( obj == null ) {
    throw new ObjectNotFoundException( null, null, null, null );
    try {
    if (uow == null) {
         /* create a new unit of work if necesasry */
         uow = getUnitOfWork( dbSession );
    /* Assign a sequence number */
    uow.assignSequenceNumber( obj );
    /* Get the descriptor associated with this object */
    Descriptor descriptor = uow.getDescriptor(obj);
    /* Get the sequence assigned */
    lnSequenceAssigned = (Long)descriptor.getObjectBuilder().getBaseValueForField(descriptor.getSequenceNumberField(),obj);
    /* Register the object */
    uow.registerObject( obj );
    if(commitChanges){
    /* Commit the changes */
    uow.commitAndResume();
    } finally {
    return lnSequenceAssigned;
    * Saves changes to an existing object to the data store.
    * Has only been tested for flat-objects. Objects that reference other
    * persistent objects have not been tested.
    * @param bo The object to be saved.
    * @param uow The UnitOfWork to use for saving the object.
    * @param commitChanges whether the changes should be committed.
    * If the client wants to perform the commit operation across several others
    * operations, then the value should be set to false.
    public void save( Object bo, UnitOfWork uow, boolean commitChanges ) {
    if ( bo == null ){
    throw new IllegalArgumentException(
    "Object is invalid" );
    try {
    /* Register the object supposed to be existing */
    Object clone = uow.registerExistingObject( bo );
    /* This object does not exist */
    if ( clone == null ) {
    throw new ObjectNotFoundException( "object not found", "dao", bo.getClass().getName(), bo.toString());
    /* Copy the properties from the object to the clone, to ensure that
    * the intended properties have not been overwritten in the object from
    * the cache
    ObjectAssembler.copy( bo, clone );
    /* Commit the changes. */
    if(commitChanges){
    uow.commitAndResume();
    } finally {
    dbSession.release( );
    }

  • Information in the case folder is not getting updated in Oracle Credit Mgt

    Hi,
    I have created an SO and an Invoice for this SO for a particular customer. Now, when I create a credit application and a case folder in OCM for this customer, Fields like Receivables Balance, Credit Exposure, Days Sales Outstanding etc. in the case folder are not getting updated. These fields are not getting updated even after refreshing the case folder. It means that the information from the 'Receivables Responsibility is not getting updated in the case folder.
    I have already run the 'Initialize credit Summaries' concurrent program after creating the Sales Order and Invoice.
    PS: The case folder gets updated only when I set the Profile Option: "AR: Allow summary table refresh" to Yes and then running the "Refresh AR Transactions Summary Tables" concurrent program. But once this program runs the Profile Option again becomes 'No' (Which is a Standard functionality).
    So this is a manual way to update the case folder. My requirement is that the case folder should get updated automatically and no manual intervention should be required.

    Sumit Malik wrote:
    Hi,
    I have created an SO and an Invoice for this SO for a particular customer. Now, when I create a credit application and a case folder in OCM for this customer, Fields like Receivables Balance, Credit Exposure, Days Sales Outstanding etc. in the case folder are not getting updated. These fields are not getting updated even after refreshing the case folder. It means that the information from the 'Receivables Responsibility is not getting updated in the case folder.
    I have already run the 'Initialize credit Summaries' concurrent program after creating the Sales Order and Invoice.
    PS: The case folder gets updated only when I set the Profile Option: "AR: Allow summary table refresh" to Yes and then running the "Refresh AR Transactions Summary Tables" concurrent program. But once this program runs the Profile Option again becomes 'No' (Which is a Standard functionality).
    So this is a manual way to update the case folder. My requirement is that the case folder should get updated automatically and no manual intervention should be required.Duplicate post -- Information in the case folder is not getting updated in Oracle Credit Mgt

  • Crash when updating site cache?  MM_Username1?

    Hi,
    All of a sudden, tonight, DW8.0.2 will no longer open or load
    one of my
    sites, crashing when "Updating Site Cache". The site is ASP
    linked to an SQL
    database.
    Checking the file that the cache gets to, I notice that the
    problem file is
    within a sub-directory of the site, called "/admin". Thing is
    though, it's
    not always the same file, but it IS always a file within the
    /admin
    sub-directory.
    Within this sub-directory I altered, by hand, the Login User
    code and
    Restrict Access to Page code to create and use the session
    variable
    MM_Username1 as opposed to the default MM_Username.
    Could this be the reason for the sudden trouble with the site
    cache? I am
    puzzled because the site was working fine for a few weeks
    now, with this
    sub-directory included, and I didn't create the MM_Username1
    issue today
    either, it has also been working fine for a good few weeks
    now. I've also
    not added anything new to the site, that I am aware of.
    When I remove the sub-directory from the site, the Updating
    Site Cache works
    fine, so I am 100% sure there is a problem with the files
    within this
    sub-directory. How will I know which one though?
    I've tried this, as recommended by Adobe, but I still get a
    freeze-up when
    re-creating the cache:
    1. Try renaming the Dreamweaver user configuration folder, so
    that
    Dreamweaver will automatically generate a new user
    configuration folder the
    next time Dreamweaver launches. The Configuration folder is
    located here:
    C:\Documents and Settings\<username>\Application
    Data\Macromedia\Dreamweaver
    8\Configuration
    2. Recreate your Dreamweaver user settings in the registry as
    follows:
    Launch the Registry Editor by clicking the Start button,
    choose Run, then
    type "regedit". In the Registry Editor, navigate to this
    folder:
    HKEY_CURRENT_USER\Software\Macromedia\Dreamweaver 8
    Rename the "Dreamweaver 8" key to "DreamweaverOLD", so that
    Dreamweaver will
    automatically generate a new user settings key the next time
    you launch it.
    3. Recreate your Dreamweaver site definitions in the registry
    as follows.
    The steps below will delete your site definitions in
    Dreamweaver.
    4. Launch the Registry Editor by clicking the Start button,
    choose Run, then
    type "regedit". In the Registry Editor, navigate to this
    folder:
    HKEY_CURRENT_USER\Software\Macromedia\Common\8\Sites
    Rename the "Sites" key to "SitesOLD", so that Dreamweaver
    will automatically
    generate a new Sites key the next time you launch it.
    Any further advice?
    Regards
    nath.

    Found it! Jeesh.
    I had a querystring value in my UPDATE redirect URL which was
    coded
    incorrectly!!!
    I am frustrated that, rather than just highlighting the error
    or, at the
    very least, producing an error when opening the specific
    file, this type of
    thing crashed the entire DW programme.
    The time I spent in Notepad today changing MM_Username1 back
    to
    MM_Username!! Turns out that was nothing to do with it.
    <groan> Yeah,
    that's right, laugh it up! :o)
    Anyway, solved now. A misplaced ", %, ), (, <, >, &
    etc can cause you no
    end of grief! :o(
    Nath.
    "tradmusic.com" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi,
    > All of a sudden, tonight, DW8.0.2 will no longer open or
    load one of my
    > sites, crashing when "Updating Site Cache". The site is
    ASP linked to an
    > SQL database.
    > Checking the file that the cache gets to, I notice that
    the problem file
    > is within a sub-directory of the site, called "/admin".
    Thing is though,
    > it's not always the same file, but it IS always a file
    within the /admin
    > sub-directory.
    >
    > Within this sub-directory I altered, by hand, the Login
    User code and
    > Restrict Access to Page code to create and use the
    session variable
    > MM_Username1 as opposed to the default MM_Username.
    > Could this be the reason for the sudden trouble with the
    site cache? I
    > am puzzled because the site was working fine for a few
    weeks now, with
    > this sub-directory included, and I didn't create the
    MM_Username1 issue
    > today either, it has also been working fine for a good
    few weeks now.
    > I've also not added anything new to the site, that I am
    aware of.
    >
    > When I remove the sub-directory from the site, the
    Updating Site Cache
    > works fine, so I am 100% sure there is a problem with
    the files within
    > this sub-directory. How will I know which one though?
    >
    > I've tried this, as recommended by Adobe, but I still
    get a freeze-up when
    > re-creating the cache:
    >
    > 1. Try renaming the Dreamweaver user configuration
    folder, so that
    > Dreamweaver will automatically generate a new user
    configuration folder
    > the next time Dreamweaver launches. The Configuration
    folder is located
    > here: C:\Documents and
    Settings\<username>\Application
    > Data\Macromedia\Dreamweaver 8\Configuration
    >
    > 2. Recreate your Dreamweaver user settings in the
    registry as follows:
    >
    > Launch the Registry Editor by clicking the Start button,
    choose Run, then
    > type "regedit". In the Registry Editor, navigate to this
    folder:
    > HKEY_CURRENT_USER\Software\Macromedia\Dreamweaver 8
    > Rename the "Dreamweaver 8" key to "DreamweaverOLD", so
    that Dreamweaver
    > will automatically generate a new user settings key the
    next time you
    > launch it.
    >
    > 3. Recreate your Dreamweaver site definitions in the
    registry as follows.
    > The steps below will delete your site definitions in
    Dreamweaver.
    >
    > 4. Launch the Registry Editor by clicking the Start
    button, choose Run,
    > then type "regedit". In the Registry Editor, navigate to
    this folder:
    >
    > HKEY_CURRENT_USER\Software\Macromedia\Common\8\Sites
    >
    > Rename the "Sites" key to "SitesOLD", so that
    Dreamweaver will
    > automatically generate a new Sites key the next time you
    launch it.
    >
    > Any further advice?
    > Regards
    > nath.
    >

  • Case (Sensitivity) changes between Data Mart and Tabular Model

    DM.Team.TeamName = "testTeam"
    Run Full Process to Tabular DataModel
    Tabular.Team.TeamName = "Testteam" (or sometimes "TestTeam")
    Notice that the case on the first T is changing from lower case to upper case between the DM and the tabular model.  Why?  I've searched for an answer on this forum and elsewhere but other users problems are with duplicate entries with different
    casing, but in my situation, I DON'T have duplicate entries in the tabular model.  It's the same entry from the DM but the case has changed.  Why?  It's almost as if it's trying to "fix" the casing.  After several more tests I've
    found that if I have a mixture of upper & lower case characters, the tabular load changes the case to either all lower or camel case.  What is causing this behavior?
    I've checked the language collation on both the DM Server and the SSAS Tabular Server and they are identical: SQL_Latin1_General_CP1_CI_AS
    I also checked the columns in the DM, specifically - the TeamName column contains the same language collation as the servers  
    This is occurring on one of our lab servers, but the same scenario works fine on my dev box - I've compared the 4 machines and they all appear identical.  Only difference is my dev box has sql server 2012 sp2 developer edition and the lab box has sql
    server 2012 enterprise.  Also my dev box contains windows 8.1 and the lab box windows server 2012 R2 Standard.  
    Any help would be most appreciated.  Thanks.

    Thanks.  I did look at the above post prior to submitting my question but my problem is different:
    Notice that the case on the first T is changing from lower case to upper case between the DM and the tabular model.  Why?  I've searched for an answer on this forum and elsewhere but other users problems are with duplicate entries with different
    casing, but in my situation, I DON'T have duplicate entries in the tabular model.  It's the same entry from the DM but the case has changed.  Why?  I've checked all the other solutions to the duplicate problem and my configuration (as explained
    in original post) appears to be correct to avoid duplicates due to case.  So, I'm stumped.

  • How can I make a intro page for my website, then after the intro has run make the page automatically change to my we site home screen

    how can I make a intro page for my website, then after the intro has run make the page automatically change to my website's home screen

    You can do this using a meta refresh but the problem is you have to add it to the html file for the page very time you publish changes.
    A better way is to create a splash page and upload it to the server outside of the folder produced by iWeb. Example HERE.
    The meta refresh is added to the head section of the html file...
    <meta http-equiv="refresh" content="32;url=http://www.domain.about.com/Page-Name.html">
    The delay time in seconds is marked in blue and the URL to the redirect page is in red.

  • How to verify that the user has changed table row data before db update

    Hi all,
    Iam using Oracle ADF with EJBs.
    I have a single selection table that displays rows of data returned from a function of my data control.
    The columns of my table are editable so that the user can change the data. The user selects a row, changes the data in one or more columns of the row and saves the data by means of a submit button. The code in the submit button, identifies the row of the corresponding iterator that the user clicked on and updates the data in the database (using the 'mergeEntity' function of the EntityManager)
    Before saving the data, I want to put some logic to check whether the user has actually changed some data to avoid unnecessary updates in the database . But for this I need a technique to detect that the user has indeed changed some data in the table row.
    One technique I have been using so far was to isolate the iterator row of the table and then query the corresponding row in the database table and compare their values.
    Except from dummy, this technique is not efficient if the table contains many rows.
    Moreover, in my case I have observed that on successive updates on the same row , the query on the database returns the new values (user changed values) and not the actual values contained in the database table. This means that when the user updates an iterator row the cached data affect also the results of the SELECT statement from the actual database table!!! Isn't this strange ?
    Can somebody propose me a neat method to detect when the user has changed the the data of an iterator row ?

    Hey Alan,
    The below solution seems overly complicated to me and can not be implemented without a custom screen and/or the use of JavaScript. Also, if your main concern is that a user may accidentally loose all their data because they closed the browser window or the session times out before they hit the save button then this solution does not help you.
    There are a couple of simpler approaches you can take here:
    # If the use of JavaScript is permissible you can hook into the windows 'onUnload' event, and pop-up a message box which gives the user the opportunity to cancel closing the window and save their case if they haven't already.
    # Implement an autosave feature by hooking into one of events provided by web determinations. A simple (but rather naive) way of doing this would be to hook into the OnRenderScreenEvent and call save on the interview session every time the event fires. This guarantees that all the data the user has submitted will aways automatically be saved, thereby removing the need to make sure the user manually saves their data before closing the browser.
    Automatically making Web Determinations close a browser window has to be done using JavaScript. However, doing so means that a) it won't work for people who turn off JavaScript, which is commonly done for accessibility reasons b) you'll likely run afoul of the browser's security mechanism (they generally won't let you close a window that you didn't open and some really don't like you doing that at all).
    Thanks,
    Kristy

  • Prevent multiple users from updating coherence cache data at the same time

    Hi,
    I have a web application which have a huge amount of data instead of storing the data in Http Session are storing it in coherence. Now multiple groups of users can use or update the same data in coherence. There are 100's of groups with several thousand users in each group. How do I prevent multiple users from updating the cache data. Here is the scenario. User logs-in checks in coherence if the data there and gets it from coherence and displays it on the ui if not get it from backend i.e. mainframe systems and store it in coherence before displaying it on the screen. Now some other user at the same time can also perform the same function and if don't find the data in coherence can get it from backend and start saving it in coherence while the other user is also in the process of saving or updating. How do I prevent this in coherence. As have to use the same key when storing in coherence because the same data is shared across users and don't want to keep multiple copies of the same data. Is there something coherence provides out-of-the-box or what is best approach to handle this scenario.
    Thanks

    Hi,
    actually I believe, that if we are speaking about multiple users each with its own HttpSession, in case of two users accessing the same session attribute in their own session, the actually used cache keys will not be the same.
    On the other hand, this is probably not what you would really like, you would possibly like to share that data among sessions.
    You should probably consider using either read-through caching with the CacheLoader implementor doing the expensive data retrieval (if the data to be cached can be obtained outside of an HTTP container), or side caching with using Coherence locks or entry-processors for concurrency control on the data retrieval operations for the same key (take care of retries in this case).
    Best regards,
    Robert

  • How do I quickly update the ActiveX automation references in my VIs when the ActiveX interface changes?

    Hello all,
    I joined a test automation team in the middle of a large project and
    inherited a huge set of VIs (over 700) and associated architecture for
    this automation (not to mention the several thousand TestStand
    sequences).  Another part of the project is being developed by our
    customer, who is using VB 6.0 to create ActiveX components which we
    need to use in LabView to access their hardware.  They've already
    invested a large amount of time developing these ActiveX components,
    and they are not finished -- meaning the ActiveX interfaces will be
    changing.  Every time they send updated ActiveX components, I have to
    re-write many, many VIs including updating a couple strict typdefs. 
    This process takes way too much time and is mind-numbing and prone to
    error or omission.
    Unfortunately I can't post any of the VIs because of a NDA.  But
    perhaps a bit more detailed explanation would help.  TestStand calls a
    VI to open and get an ActiveX reference for automation (which it stores
    in a variant).  It will pass this reference into any VI it calls to
    perform specific functions through this ActiveX interface.  For
    example, one VI that may be called passes this automation refnum into
    another, which passes it to another, which passes it into another to
    get the actual ActiveX reference stored in that variant (through a
    Variant To Data call with a strict typedef of the ActiveX component
    wired to the type input).  [See the attached image of this sample VI
    hierarchy: the far left icon would represent TestStand, and the far
    right is the strict typedef.]  Any of the VIs in the chain might use
    ActiveX Property or Invoke nodes, and it can break at any one of those
    when the ActiveX component changes.  It's easy to fix each one, but
    since there are so many VIs it takes a very long time.
    Is there any way at all to do a massive search/replace or something to
    make the ActiveX references update?  I realise that even though
    property or method names stay the same from one version to the next,
    they are different references.  Is there a way to update these based on
    name if you give it the base ActiveX reference?
    Thanks in advance for any help!
    Tom Williams
    Attachments:
    hierarchy.GIF ‏6 KB

    Ben,
    Unfortunately I can't post any VIs that would demonstrate the problem
    because the ActiveX components are confidential.  I'll try to develop
    my own ActiveX dll that will demonstrate it, but in the meantime, in
    hopes that another picture will help, I've attached an image of a block
    diagram (with some names changed to protect confidential information)
    of one of the lower level VIs from the hierarchy I posted.  In this
    example, the "Automation Refnum IN" is an input with a type definition
    linked to the strict typedef based on the ActiveX automation dll that
    has changed.  I updated that typedef, but as you can see the output to
    the "Class1" indicator is broken.  If I delete the "Class1" indicator
    and select Create->Indicator from the Class1 property node, and then
    wire the new "Class1" indicator to the connector pane, the VI is fixed
    -- at least at compile time.  In most cases there is also a runtime
    problem where the reference obtained by one of the intermediate
    property nodes is null, so the property or method node that uses it
    fails (e.g. "_VNManager.Networks" property returned is 0, so the
    "_Networks.Network1" property node fails).  To fix this problem, I have
    to delete the wires between the property nodes, and one by one select a
    different property/method, then select the correct property/method and
    re-wire.  There seems to be a bit of "jiggling the handle" to get it to
    work though.
    I don't know if the ActiveX developer changed anything in this class,
    but if he did, he didn't change the name of this class.  I would like
    to have to modify the VI only if a class, property or method has
    changed name or been removed.
    Does that all make sense?  Thanks for any pointers or help!
    Tom
    Attachments:
    Class1_Path.GIF ‏7 KB

  • Hello, I update my mac pro to 10.10. Why the photoshop cs6 change to slowly now. When I change the tools like brush to command+Z, It's will be freeze a while. why? and how can I improve?

    hello, I update my mac pro to 10.10. Why the photoshop cs6 change to slowly now. When I change the tools like brush to command+Z, It's will be freeze a while. why? and how can I improve?

    what a long post....Apple, btw, does not read this stuff, so ranting, raving, and complaining here might make you feel good, but it does no good at all. That being said, I, too have a Mac Pro Quad Core Xeon with 6 gigs of ram and an nVidia 8800 GT graphics card (not as good as yours, alas) and I've had no problems at all with it. Yes, it doesn't have Thunderbolt, but maybe we Mac pro owners will get lucky and someone will come out with an adapter (probably not). No, you probably don't have to throw away your Mac Pro, but if you do, I'll take it, for a small "recycling" fee >:-) That was a joke.  Yes, the Mac Pro's future isn't quite clear, YET. Hopefully that will improve very soon. As for not being able to upgrade to Mountain Lion. Don't worry about that too much, Nobody is forcing you to do that.  Your Mac Pro won't quit working if it isn't installed. From what  I've heard, you should give the new OS a chance, and wait to get it, in case there might be some bugs, or stuff not working with the new OS, which has been known to happen. Yes, we Mac Pro owners don't like being treated like mushrooms-kept in the dark, and being fed......... but Apple is Apple and it will do what it does, and there is nothing you or me can really do to change that. All I can say is....trust, have faith, be patient, go for a walk, do something else to take your mind off of this problem. IF apple decides to drop the Mac Pro for good, and that's a big "IF", I think they will anger a whole bunch of people
    which isn't good. However, that hasn't happened...YET. Let us hope that it doesn't
    John B

Maybe you are looking for

  • How do l get Bridge CS5 to recognise scanner ?

    Hi again good people of Adobe Bridge Fora. I have installed CS5 Production Premium Suite this afternoon onto a new C drive 600GB HDD, with Win 7 x64 (used Vista for a few years with CS4 Production Premium so using the same hardware) Everything went w

  • Two VGA monitors don't work with two different G4s, but both work with G3!

    I recently acquired two used Power Mac G4s (one of them is a mirrored-door dual-processor that I got from school and was told should work, the other is a Gigabit Ethernet model, and should also work), from two completely different sources. They both

  • Laggy scrolling/animations and tricky touchpad on MacBook Pro w/Retina Display

    As much as I loved the form factor and screen on the 15" 2.6ghz MBP w/Retina Display, the laggy scrolling, animations and intermimitently non-functional tap-to-click made me return it to Best Buy. A $3000 computer (after tax) shouldn't have problems

  • SOLVED - English thesaurus doesn't work in OpenOffice Writer 3.2.1

    I'm using OpenOffice Writer v.3.2.1 in current Arch Linux.  To enable spell and grammar checking and for a thesaurus, it appears one has to install the appropriate extension(s).  I did that by going to Tools -> Extension Manager, selecting  Add, navi

  • Documents upload

    Hi there, I seriously need help. I have an iPad 2 and an iPhone 4s. I had computer for years and I'm now try to get around the whole iPad stuff. Not doing to bad on the simple stuff but, now I want to upload some documents onto recruitment website an