Result cache refresh at business service (OSB) ?

Hi,
I have configured my business service at osb side to cache the result. My business service is pointing JCA- dbadapter which is calling a stored procedure.
Is there any way to update/refresh the cache if there are any changes in the corresponding tables which the store procedure is using. I have googled a lot on this but have found nothing on it.
Any help would be very much appreciated.

Is there any way to update/refresh the cache if there are any changes in the corresponding tables which the store procedure is using. I have googled a lot on this but have found nothing onAFAIK, OSB does not provide any functionality to refresh the cache without hitting the backend sevice.
The result caching in Oracle Service Bus is available for Business Services. When you enable result caching, the Business Service will not reach the backend service and the response will come from the cache entry. This entry can expire and if the entry is expired, the next service call will indeed reach the backend service and update the cache entry.
Each cached result has its own TTL. When a TTL is reached, Oracle Coherence flushes that individual cached result.
It would be better if you can raise a support ticket and ask for enhancement.
Regards,
Abhinav Gupta

Similar Messages

  • Oracle service bus cache flush/clear - business service

    Hi Everyone,
    We are currently using oracle service bus as an integration platform. We are conducting a disaster recovery exercise for on of the applications (A) integrated to OSB, but the OSB is always connecting to the primary node of the application A though the DNS at application A is pointing to the secondary node.
    We believe this is happening because OSB is caching the IP address of the application A (though it is using DNS) and keeps connecting to the same server even if the primary traffic is diverted to the secondary node.
    Can someone please let us know if there is a way we can clear the cache of the business service (used to connect to the application A) without restarting the servers?
    Thank you.
    Regards,
    Ram

    Yes, by default the JVM will cache the name resolution. You can change this behaviour by adding the TTL in the managed server startup parameters as follows:
    -Dnetworkaddress.cache.ttl=120 -Dnetworkaddress.cache.negative.ttl=10
    The above parameters mean that the JVM will cache the name resolution for 2 minutes in case of success and for 10 seconds in case of a failure.
    For testing purposes, you can reduce the ttl from 120 seconds, but when in production make sure that this value is not too low.
    Regards,
    Fabio Douek

  • Log endpoint URI of  a Business Service OSB

    Hi,
    I want to log the endpoint URI of a business service (OSB) that I'm calling from a proxy service. Can anybody tell me how to do this?
    Thanks in advance!
    Martín.-
    Edited by: 876766 on Aug 16, 2011 7:31 AM

    In the response (pipeline) you have this attribute: $outbound/ctx:transport/ctx:uri.

  • How to pass parameters to servlet with POST with  Business Service OSB

    Hi all.
    I am newby in OSB. I am trying to send some values through a POST call to a servlet. I know how to call the servlet with Business Service of type "Messaging Service". I send the parameters of type Text.
    I have tried several ways, but I don`t find the proper way yo do it. I have tried to insert the param into the body and into the header.
    The problem is that I don`t know exactly where to put them, I don`t know if it must be done in the header or in the boy. I neither don`t know if there is a common way to do this.
    Please, could you give me a good example of an insert activity to isert a post parameter inside the call?
    For example: now I am using this one:
    Expression => "accountType=test"
    Location => as first child of"
    XPATH => empty.
    In variable => body.
    Where do I have to insert this, in the body or in the outbounds?
    I have followed this posts:
    https://blogs.oracle.com/jeffdavies/entry/enhanced_rest_support_in_oracl
    http://www.yenlo.nl/en/using-osb-with-rest/
    Thanks a lot.

    Hi,
    Please be carefull about passing values such as Strings or number that contains ',' .
    using the way described above.
    the best way is to pass an ID and then use a select Statement to get the other Values in the target page.
    regards
    MDK.

  • Invocation Exception Business Service-OSB

    Error while invoking HTTP Autheticated WSDL in OSB 11G . I can invoke the same WSDL in SOA w/o any issue.
    SOA
    I passed user name, pwd as xml along with otherxml fields when I invoke from SOA.It worked
    I followed below steps for OSB Process
    1. I created Service Account with user name password.
    2. I selected Basic Authentication
    3. I used the service account in my business service.
    When I test Business Service I get below Error:
         <con:metadata      xmlns:con="http://www.bea.com/wli/sb/test/config">
         <tran:headers      xsi:type="http:HttpResponseHeaders" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <tran:user-header      name="X-Powered-By" value="Servlet/2.5 JSP/2.1"/>
         <http:Content-Length>1518</http:Content-Length>
         <http:Content-Type>text/html; charset=UTF-8</http:Content-Type>
         <http:Date>Fri, 15 Jul 2011 21:32:09 GMT</http:Date>
         <http:WWW-Authenticate>Basic realm="WebLogic Server"</http:WWW-Authenticate>
         </tran:headers>
         <tran:response-code      xmlns:tran="http://www.bea.com/wli/sb/transports">1</tran:response-code>
         <tran:response-message      xmlns:tran="http://www.bea.com/wli/sb/transports">Unauthorized</tran:response-message>
         <tran:encoding      xmlns:tran="http://www.bea.com/wli/sb/transports">UTF-8</tran:encoding>
         <http:http-response-code      xmlns:http="http://www.bea.com/wli/sb/transports/http">401</http:http-response-code>
         </con:metadata>

    Please refer section "49.2.2 Configuring Outbound HTTP Security: Main Steps" at -
    http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15866/transport_level.htm#i1058754
    Regards,
    Anuj

  • How to set SOAP Header When Calling Business Service (OSB) Using Split-Join

    Hi,
    We need to call WSDL based webservice which requires heading static content for successful call. As we need to call the same service parallely, hence we want to use Split-Join.
    Looked at couple of forum links, noted that we can't play with headers while working with Split-Join.
    For curiosity, just want to check any option other than using proxy as mediator in setting header information.
    Regards
    Venkata Madhu

    Venkata,
    You still have the option, if you hv n't tried this one.
    To enable this capability, you must declare the header parts along with the body parts in a single request/response message in the Split-Join WSDL and in the WSDL of the proxy or business services invoked by the Split-Join. With the message parts declared in the WSDLs, SOAP header content is available to Split-Joins in the request/response message variables.
    Following is an example of the message and binding definitions in the WSDL.
    Message
    <wsdl:message name="retrieveCustomerOverviewByIdRequestMessage">
    <wsdl:part name="retrieveCustomerOverviewByIdRequest"
    element="co:retrieveCustomerOverviewByIdRequest"/>
    *<wsdl:part name="serviceContext" element="sc:serviceContext"/>*
    </wsdl:message>
    Binding
    <wsdl:input>
    <soap:body use="literal" parts="retrieveCustomerOverviewByIdRequest"/>
    *<soap:header message="tns:retrieveCustomerOverviewByIdRequestMessage"part="serviceContext" use="literal"/>*
    </wsdl:input>
    hope it helps !!
    Regards,
    Abhinav

  • Caching in OSB with Business Service

    Hi All,
    I am done with business service development, but I need to configure caching to fetch the data from cache if TTL (Time to Live) <24 if is more then my request to interact with the database can please help how I can I do it, as I am new to caching concept.
    Thank You,
    Vinay Kumar

    Hi Vinay, Select the Business Service - Message Handling Configuration - in Advanced Settings section, you can configure caching for the business service; select Result caching as Supported, and specify cache token (unique key) and expiration time (TTL). Note- once the TTL exceeds for a particular data, the business service will fetch the result from the target system/database and cache it, and the cycle repeats (no specific configuration to be done for this).  Also, before configuring the above, first enable the caching globally in OSB; go to Operations - Global settings - select Enable Result caching, and activate the changes.

  • Oracle service bus Business service - Cache Flush/clear

    Hi Everyone,
    We are currently using oracle service bus as an integration platform. We are conducting a disaster recovery exercise for on of the applications (A) integrated to OSB, but the OSB is always connecting to the primary node of the application A though the DNS at application A is pointing to the secondary node.
    We believe this is happening because OSB is caching the IP address of the application A (though it is using DNS) and keeps connecting to the same server even if the primary traffic is diverted to the secondary node.
    Can someone please let us know if there is a way we can clear the cache of the business service (used to connect to the application A) without restarting the servers?
    Thank you.
    Regards,
    Ram

    Yes, by default the JVM will cache the name resolution. You can change this behaviour by adding the TTL in the managed server startup parameters as follows:
    -Dnetworkaddress.cache.ttl=120 -Dnetworkaddress.cache.negative.ttl=10
    The above parameters mean that the JVM will cache the name resolution for 2 minutes in case of success and for 10 seconds in case of a failure.
    For testing purposes, you can reduce the ttl from 120 seconds, but when in production make sure that this value is not too low.
    If you follow the above, you don't have to restart anything and you don't have to write any script. The IP address is going to be updated as long as the DNS server is being updated correctly (you can easily test by pinging the host name)
    Regards,
    Fabio Douek

  • OSB: Invoking multiple endpoint URIs or business service at same time

    Hi All,
    I want to route the request to two end point URIs or business services using OSB.
    Say for example, I have a BPEL which is deployed in two servers. Using this solution I have to invoke the deployed service in both servers as soon as I receive input.
    Please help.
    Thanks in Advance

    yes you can.
    1. place URIs in a xml. Save XML as a xquery resource say URICollection.xquery.
    2. assign this URICollection.xquery to a variable say URICollectionVariable.
    3. extract desired URIs using a xquery from URICollectionVariable. Two URIs can be stored inside one parent element, which can be output as result.
    4. replace business service URI with desired URI (from result) using "Routing options".
    To propagate request to two different locations, you need to use "for each" action. Run the "for loop" exactly two times, write logic for above item no.4- inside the for loop action.

  • How to enable cache on Business service having protocol other than JCA

    Hi all,
    In my use case I should use cache on my business service which uses Http as its transport protocol.
    when I try to use the cache on http business service I am unable to use the cache functionality.
    When I try to use the cache on JCA business service I am able to use it. Please help me in finding the
    ways in which I can enable cache functionality on the business service which uses the other protocols.
    Thanks,
    Phanindra.

    Caching in Business Service should work fine on HTTP transport as well. What all configurations have you done in your HTTP business service and how are you testing it?

  • OSB - Response timer when business service call external webservice slowly.

    I am a new bie about OSB, i am developing and testing business service OSB call external webservice. When i test by business service on osb console then time response is 10s, but when i program by C# call external webservice then time response is 0,000026s.
    pls help me.

    I am a new bie about OSB, i am developing and testing business service OSB call external webservice. When i test by business service on osb console then time response is 10s, but when i program by C# call external webservice then time response is 0,000026s.
    pls help me.

  • Result Caching in Business Service

    Hi,
    We have a web service to the provider system and need to do the web service result in the Business service.
    We have enabled the caching and used the Cache token expression as given below.
    concat($body/sch:Request/sch:ID/text(),'-',$body/sch:Request/sch:FromDate/text(),'-',$body/sch:Request/sch:ToDate/text())
    But the expression seems to be not working. Please let me know if the expression syntax is correct and the ways to check if the result is returned from Cache (Apart from checking if the web services hitting Provider system).
    Any inputs on this will be very helpful
    Thanks,
    Arun M
    Edited by: 842347 on May 20, 2013 1:31 PM

    if your BS is based on a WSDL, this should take care of chaining the operation to the key to ensure uniqueness of the key in the cache.
    The official documentation (that I can't seem to find right now) explains how the Coherence key is formed:
    chaining the Service name, the operation and the eventual key you specify with an XPath.

  • How to refresh business service in OSB

    Hi,
    I created business & proxy service (consume URI) in OSB. Now service is changed. Is there possibility to simply refresh/renew business/proxy service in Eclipse or I have to delete it and create it again?

    What do you mean by "service is changed"?
    If you mean that the osb project name has changed and you want to reuse the same resources, then you can try the Move option on the resource or use the Clone resource option.
    There might be some conflicts that you will have to resolve if you use the clone with proxies and ws-ploicy files.
    Thanks,
    Patrick

  • Result Cache in business service

    Lets say I have two operation in the business service operation1 and operation2. I want to cache operation1 but not operation2. Can I do this with Result Caching? I have tried to put this expression fn:string($operation)='operation1' in cache token expression but it's always caching both operations
    Appreciate your reply on this
    Edited by: 868539 on Sep 21, 2011 7:19 PM

    I don't think it is possible as of now though you may raise an enhancement request with support.
    As a workaround, you may create separate business services for caching and non-caching operations and you may have dynamic routing in the proxy service.
    Regards,
    Anuj

  • OSB: When does invokation from http Business Service result into an error

    Hi,
    I want to know when does invokation from http Business Service in OSB result into an error.
    I have a http based business service which is calling an external service on http url.
    I want to know when this business service is invoke/tested, what are the cases in which the invokation will result into an error.
    What does OSB read to cause the invokation an error.
    I am aware that it reads the http-response-code. If its not 200 or 0, it will result into an error.
    Want to validate this understanding and also want to know what are the other case that will cause this happen. Is it by any way dependent on body content?
    Please help. Please share any good links for the topics related to this.
    TIA.
    Regards,
    Ashish

    Hi,
    Some info here...
    http://svgonugu.wordpress.com/2011/06/15/fault-handling-in-osb/
    Cheers,
    Vlad

Maybe you are looking for

  • I/O Error while trying to make an image of the bootcamp partition

    Hei all. I want to backup my Win-partition on my MBP. But every time I try to make an image of that via Disk Utility, it gives me an i/o-error. I tried to do it logged in, while booted via the restore DVD, in Firewire-Target-Disk mode, on the interna

  • Linking between BELNR's BUZEI and MBLNR's ZEILE

    Hi Gurus, I am making a Z report for which I have the Accounting Document Number (BELNR) and Number of Line Item Within Accounting Document (BUZEI). Now I have to link this to Number of Material Document (MBLNR) and Item in Material Document (ZEILE).

  • How can I change the proportional font in Firefox?

    I prefer helvetica font, so I have changed the fonts for webpages in Firefox settings to it (changed all fonts to helvetica, unchecked "Allow pages to choose their own fonts, instead of my selections above"). However, some webpages still display in w

  • Tile Printing / Tiling Large Poster

    I did not see this as a feature in the print module lr2 where you can tile a large image to print in smaller pieces then cut and tape together a large poster.

  • Need to download databse 8.1.7.4

    Hi Everybody, Can anybody please send me a link to download database 8.1.7.4 Thanks