Caching Queue\ConnectionFacotry refs

          Hi All
          I was wondering whether caching the Queue and ConFactory handles obtained via
          a lookup from the JNDI tree is going to improve performance or not - compared
          to getting the references everytime. I am asking this question because the moment
          I bring in caching I have to deal with the fact that if the JMS service went down
          (lets assume my JMS server is not local and is in a different WLS insatnce than
          the client) - then I have to detect that the service went down (by attaching ExceptionListeners)
          and refresh the cache!
          This seems to me as appservers job rather than programmers?
          Any opinions how WLS handles this? Does it do any caching of handles from the
          tree?
          thanks
          Anamitra
          

Just to point out that WLS JMS ConnectionFactory can do failover and load
          balancing if you are using WLS cluster and you deploy same connection
          factory on multiple servers in the same cluster.
          "Tom Barnes" <[email protected]> wrote in message
          news:[email protected]...
          > Hi Anamitra,
          >
          > Looking up JNDI objects every time may or may not be OK depending on
          > the rate. Dozen's per second is OK, but at hundreds per second it
          probably
          > helps to cache. A JNDI lookup costs even if the JNDI tree
          > is local -- due to serialization overhead (not possible to do by
          reference).
          >
          > For connection-factories an onException handler isn't needed. If
          > a CF from your cache fails. You should be able to write a CF cache
          > in perhaps 20 lines of code.
          >
          > The JMS Performance white-paper provides example code for a sender pool.
          >
          >
          http://newsgroups.bea.com/cgi-bin/dnewsweb?utag=&group=weblogic.developer.in
          terest.jms&xrelated=9372&cmd_thread_last.x=42&cmd_thread_last.y=8
          >
          > Tom
          >
          > Anamitra wrote:
          >
          > > Hi All
          > > I was wondering whether caching the Queue and ConFactory handles
          obtained via
          > > a lookup from the JNDI tree is going to improve performance or not -
          compared
          > > to getting the references everytime. I am asking this question because
          the moment
          > > I bring in caching I have to deal with the fact that if the JMS service
          went down
          > > (lets assume my JMS server is not local and is in a different WLS
          insatnce than
          > > the client) - then I have to detect that the service went down (by
          attaching ExceptionListeners)
          > > and refresh the cache!
          > > This seems to me as appservers job rather than programmers?
          > > Any opinions how WLS handles this? Does it do any caching of handles
          from the
          > > tree?
          > > thanks
          > > Anamitra
          >
          

Similar Messages

  • Cache/Queue Problem while executing scenario

    Hi All,
    Our server is up and running, but there is a problem <b>every</b> time we try to execute a scenario:
    1. The SXI cache and the CPA cache have to be refreshed after making any changes to the objects
    2. The queues have to be de-registered, then re-registered in sxmb_adm
    Has anyone faced this problem before? Any suggestions as to how to solve this?
    Regards,
    Puloma.

    Hi,
    this is not a normal behaviour. Have a look at the cache notifications in the integration directory and check whether you receive some hint. Eventually there might be problems with the connectivity to the adapter engine or user xidiruser. Have a look at the following notes
    741214  and 780747 and the HOw To Cache guide which you can find under http://service.sap.com/xi
    Hope this helps, Regards, Jaime

  • Where is the 'Cache Tab'? ref: byteverify

    I had the Byteverify exploit which was successfully deleted.
    In order to prevent this again I have been advised to turn off the cache.
    Control Panel -- Java Plugin -- Cache Tab -- disable cache
    But I have no Cache Tab!
    I'm using Version 1.5.0 (build 1.5.0_02-b09)
    and I can see General, Settings, Location for the cache directory but no option to turn it off.

    Safari menu - Reset Safari has an option to remove website data.
    You can also use Safari - Preferences - Advanced to show the Develop menu. Once that's visible, there's an Empty Caches command there.
    Also see Safari - Preferences - Privacy to remove cache/cookies etc for some or all sites.

  • XI 7.0 Advnaced User Defined Function  how to check Cache Entire Queue ?

    Hi Friends ,
                       We are using XI 7.0 (PI)   . There is no Selection For Advanecd UserDefinedFunction .  I think in this version Both will perfom in the User DefinedFunction Itself .
               There is option for Context and Queue While we are creating Function . If we select Queue is it eqivalent to Check box of Cache Entire Queue ? Is My assuption is correct  ?
              I want to cache the Entire Queue  ? Can you please tell me about this.
              My environment is like
    Session Information
    Application:
    Design: Integration Builder
    User:
    Test
    Logon Language:
    English
    Server:
    xidev_XID
    Server Node:
    server0
    Runtime Environment
    Java version:
    1.4.2_13
    Java vendor:
    Sun Microsystems Inc.
    Version
    Service pack:
    10
    Release:
    645_VAL_REL
    Best Regards .,
    V.Rangarajan

    you advanced user defined functions are now known as 
    Enhanced Functions (Cache = Context or Cache = Queue)
    From Help -
    +Features
    Depending on which values are available in the cache for a user-defined function, different functions are available:
    ·        Simple Functions (Cache = Value)
    This function type can process individual input values of a field for each function call. Therefore, simple functions expect strings as input values and return a string.
    ·        Enhanced Functions (Cache = Context or Cache = Queue)
    This function type can process multiple input values of a field for each function call. Before you call the function, you can either import all the field values of a context or the whole queue for the field in an array.+
    Have this link as your reference - http://help.sap.com/saphelp_nw04s/helpdata/en/22/e127f28b572243b4324879c6bf05a0/content.htm

  • Queue status stopped

    Hi All,
    I am trying a file to file scenario. In SXMB_MONI the message status is "scheduled" and the queue status is "stopped".
    I have tried deregistering and registering the queue.
    i also tired to see the error in by double clicking on the queue ID it shows SYSFAIL. when i double click on SYSFAIL it shows a message "XI ERROR Update XI Cache Queue Stopped". for this i have also refreshed the cache. but nothing seems to help.
    Anyone having a clue?
    Thanx in advance.
    Latika.

    Hi Latika,
    Reason,
    http://help.sap.com/saphelp_nw04/helpdata/en/49/e3fb40ef74f823e10000000a155106/content.htm
    1. Try restarting J2EE stack.
    2. One of the reason may be database overflow. In this case also, restart is required.
    3. Check if XIAPPLUSER & XIAFUSER are locked. Also retype the password and try.
    Check out Steve Winkler's response here
    To Be Delivered on Adapter Message for JDBC
    Regards,
    Prateek

  • SUPPRESSED fields in the queue in message mapping

    Hello Experts,
    I have stucked in a graphical mapping because of suppressed fields in the queue. I would like to remove these fields without loosing the context.
    I tried writting UDF but still they appear in the queue as <null>
    my queue looks like
    <null>
    SUPPRESS
    1
    2
    3
    Context Change
    SUPPRESS
    1
    Context Change
    SUPPRESS          
    SUPPRESS
    1
    2
    Context Change
    ( All above suppress appears in GRAY and not in GREEN )
    and I need it as
    <null>
    1
    2
    3
    context change
    1
    context change
    1
    2
    context change
    Your expert comments will be appreciated.

    your input is like below:
    <null>
    SUPPRESS
    1
    2
    3
    Context Change
    SUPPRESS
    1
    Context Change
    SUPPRESS         
    SUPPRESS
    1
    2
    Context Change
    ( All above suppress appears in GRAY and not in GREEN )
    if you use mapWithDefault() node function before the UDF with this queue and use any Default value for e.g. "XYZ" then your SUPPRESS will be replaced
    with value XYZ and your input to the UDF will become as below:
    <null>
    XYZ
    1
    2
    3
    Context Change
    XYZ
    1
    Context Change
    XYZ         
    XYZ
    1
    2
    Context Change
    Now you can write the UDF using this queue as input (cache= queue)
    for(int i=0; i<input.length;i++){
              if(input[i].equals("XYZ")){}   // do nothing
              else if(input[i].equals(ResultList.CC)){         // add context change to the output queue
              result.addContextChange();
              else {                                                   // add the required value in the output queue
              result.addValue(input[i]);
    after this you will get the output Queue as below:
    <null>
    1
    2
    3
    context change
    1
    context change
    1
    2
    context change

  • Price of Azure Cache in Role

    Hi, 
    I need to understand the price of Azure Cache in Role, in this link says: 
    For In-Role Cache do I need to provision and thus pay for separate Compute Services resources (i.e. web and worker roles)?
    No. In-Role Cache can be deployed as a service alongside other application code in your web or worker roles. However, you can choose to have worker roles specifically dedicated to the cache and pay normal Cloud Services rates, which
    vary by the type of role and the role size.
    http://azure.microsoft.com/en-us/pricing/details/cache/
    So I can say: the cost of Azure Cache in Role is included when you pay for your VM(XS,S,M,L,XL). This is correct? 
    Best Regards,
    Oscar Quesada Avalos
    Oscar Quesada Avalos -Costa Rica- Los que dicen que es imposible no deberian molestar ni interrumpir a los que lo estan haciendo. A. Einstein.

    Hi Oscar,
    I think this should help:
    How do I get billed for In-Role Azure Cache?
    There is no premium associated with In-Role Cache. Instead, you are billed using standard pricing for compute time for Azure role instances. For example, if you had three web role instances running your ASP.NET web site, it is possible that you could
    use the extra memory on those instances for caching. In this example, there would not be additional charges for using caching on the existing web role. However, you might find that you need to add an additional web role instance or a dedicated In-Role Cache
    role. In this case, you would be charged for the additional running role instances that you require for caching.
    If you require more details about In-Role Cache, you could refer the following links:
    https://msdn.microsoft.com/en-us/library/azure/hh914142.aspx
    https://msdn.microsoft.com/en-us/library/azure/dn386103.aspx
    Regards,
    Malar.

  • Process in the Same Queue ID

    Hi experts,
    I am having some problem whereby several different XML Messages (Processes) has been assigned in the same queue. This makes the XML message need to wait until the preceding message to be completed.
    [IMG]http://img525.imageshack.us/img525/2220/samequeueidnc1.jpg[/IMG]
    Given my system performance not affected, may I know any way I can increase my Queue ID range so that the chances for the messages 'stuck' in same Queue ID minimized? Or is there any advice?
    Thanks so much.
    Cheers,
    Isaac.

    Hi Isaac
    I dont think there is a way that you can increase the queue ID range.
    In XI you can even use QOS as EOIO that will help not to stuck XML messages while processing.
    But yes you can register, deregister queue using the Qin Sceheduler. This can help you seperating the XML messages assigned to same queue.
    Refer the Help link to understand how to use Qin for this task. This link is for inbound queue administration.
    http://help.sap.com/saphelp_nw04/helpdata/en/b0/df5f3c8dde1c67e10000000a114084/content.htm
    Thanks
    Gaurav

  • Query Dimension 1-Cache Data

    Hi,
    I am running a MDX query  and when I checked in profiler its showing a long list of Query dimension (Event Class) 1-Cache data, What does it mean?
    I think its not hitting storage engine rather pulling from cache but why so much caching. What does this event class means?
    Please help! 

    Hi Pinu123,
    Create Cache for Analysis Services (AS) was introduced in SP2 of SQL Server 2005. It can be used to make one or more queries run faster by populating the OLAP storage engine cache first. The query results were cached in memory for re-use.
    In your scenario, you said that the results not hitting storage engine rather pulling from cache. In this case, it seems that this results had been queried by other users and cached in memory. For more information about cache data, please refer to the links
    below.
    How to warm up the Analysis Services data cache using Create Cache statement
    Examining MDX Query performance using Block Computation
    Regards,
    Charlie Liao
    TechNet Community Support

  • SESSION AND CURSOR CACHE

    10.1.3.3.2
    Can its below save in a table or where logs are saved file?
    it needing for history information.
    http://localhost:9704/analytics/saw.dll?Sessions
    [SESSION]
    User ID      Host Address      Session ID      Browser Info      Logged On      Last Access
    [CURSOR CACHE]
    D     User     Refs     Status     Time     Action     Last Accessed     Statement     Information
    Thanks.
    in advance.

    Will Usage Tracking help you?
    You will find it in the Documentation: Oracle® Business Intelligence Server Administration Guide: Chapter 10 Administering the Oracle BI Server Query Environment.
    Regards,
    Stefan Hess
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31770.pdf

  • Cache config for distributed cache and TCP*Extend

    Hi,
    I want to use distributed cache with TCP*Extend. We have defined "remote-cache-scheme" as the default cache scheme. I want to use a distributed cache along with a cache-store. The configuration I used for my scheme was
    <distributed-scheme>
      <scheme-name>MyScheme</scheme-name>
      <backing-map-scheme>
        <read-write-backing-map-scheme>
          <internal-cache-scheme>
            <class-scheme>
              <class-name>com.tangosol.util.ObservableHashMap</class-name>
            </class-scheme>
          </internal-cache-scheme>
          <cachestore-scheme>
            <class-scheme>
              <class-name>MyCacheStore</class-name>
            </class-scheme>
            <remote-cache-scheme>
              <scheme-ref>default-scheme</scheme-ref>
            </remote-cache-scheme>
          </cachestore-scheme>
          <rollback-cachestore-failures>true</rollback-cachestore-failures>
        </read-write-backing-map-scheme>
      </backing-map-scheme>
    </distributed-scheme>
    <remote-cache-scheme>
      <scheme-name>default-scheme</scheme-name>
      <initiator-config>
        <tcp-initiator>
          <remote-addresses>
            <socket-address>
              <address>XYZ</address>
              <port>9909</port>
            </socket-address>
          </remote-addresses>
        </tcp-initiator>
      </initiator-config>
    </remote-cache-scheme>I know that the configuration defined for "MyScheme" is wrong but I do not know how to configure "MyScheme" correctly to make my distributed cache the part of the same cluster to which all other caches, which uses the default scheme, are joined. Currently, this ain't happening.
    Thanks.
    RG
    Message was edited by:
    user602943

    Hi,
    Is it that I need to define my distributed scheme with the CacheStore in the server-coherence-cache-config.xml and then on the client side use remote cache scheme to connect to get my distributed cache?
    Thanks,

  • Disabling oracle cache

    Hi,
    I am a graduate student in Computer Science and need to do some experiments for my thesis. I am not very familiar with oracle. I am using oracle and have implemented a cache to store some of the frequently used data items in my application.
    I am connecting to oracle using the ODBC driver 9.0.2, the one that comes with oracle 9i client installation.
    To measure the performance of the cache, I need to disable any other cache implemented by the oracle client or the server. Is there any way by which I can do that? I know oracle does do some of its own caching.
    Is there any way in which I can disable the oracle cache? Please refer me to the appropriate documentation.
    Something that I can give in my query. I am not the DBA. It is ok even if there is a directive in the query to tell oracle to bypass the cache. That will also work for me.
    Thanks,
    Nishant
    Thanks,
    Nishant

    You can flush the shared pool
    ALTER SYSTEM FLUSH SHARED_POOLwhich will flush the buffer cache. This will clear the cache on the server. I don't believe it is possible to tell Oracle not to cache buffers it reads from disk, though.
    What sort of client-side caches are you thinking of? The client will automatically fetch rows you may not have requested yet (i.e. fetch the first 10 rows from SELECT * FROM <<someLargeTable>> when the application requests the first row). That is covered by the prefetch count in the ODBC DSN. Not sure what a value of 0 means, though-- that may specify that the default value be used.
    What about things like the operating system cache (assuming you're not using raw devices) or the hardware disk cache. I don't think you can disable those.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • SB-Messaging adapter connecting to multiple queues

    Is it possible to configure messaging BizTalk adaptor to support connecting to multiple services bus instances on BizTalk 2013?

    Hi,
    You can make use of ReplyTo property
    to get or set the address of the queue dynamically,
    Refer the article: How
    to integrate BizTalk Server 2013 with Windows Azure Service Bus
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • In Bound and Out Bound Queues

    Hello All,
    Can some body explain what is meant by a Queue.
    Why do we require queues to transfer the the data
    In our land Scape we have XI through XI messages(Pay load) are transfered
    My question is Now a days many of the customers implementing XI
    So do we require Queue registration
    If Yes please explain me breifly.
    Thanks &Regards,
    Praveen Kondabal.

    Hi Praveen,
    XI messages for inbound processing are placed in inbound queues of Integration Engine and placing them in outbound queues carries out outbound processing. As a part of Integration Engine configuration, we register XI queues. By registering queues used by the Integration Engine, we intimate qRFC the technical names of these queues
    Do refer  these ~
    /people/sap.india5/blog/2006/01/03/xi-asynchronous-message-processing-understanding-xi-queues-part-i
    /people/vasanthakumar.balasubramani2/blog/2005/12/21/complete-reference-for-idoc-queuing-and-monitoring
    /people/sap.user72/blog/2005/01/28/setting-up-inbound-qrfc-queues-for-serializing-idocs-using-the-idoc-adapter
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7b/94553b4d53273de10000000a114084/content.htm
    Regards,
    Madhu

  • Direct delta, serialized delta, unserialised delta, queued delta

    I want to know the difference between these four;
    1. Direct delta
    2. Serialized Delta
    3. Unserialized Delta
    4. Queued Delta

    Hi,
    refer to this .../people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
    /people/sap.user72/blog/2004/12/23/logistic-cockpit-delta-mechanism--episode-two-v3-update-when-some-problems-can-occur
    /people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    /people/sap.user72/blog/2005/04/19/logistic-cockpit-a-new-deal-overshadowed-by-the-old-fashioned-lis

Maybe you are looking for