Applying configuration on proxy- or business-service

Hello! When i apply configuration on working proxy- or business-service with a lot of messages, then i can have trouble with http_500 code at ~1 second on OSB's cluster nodes. I just want to know how this work. Is OSB loses some messages from business service, or nothing receiving messages is lose and http_500 is only for new requests (like graceful restart)?

(My opinion only though based on observation. I did not actually read the design papers on that).
OSB artifacts are internally compiled into EJB applications. When configuration changes, old applications are unloaded, new ones loaded. In between you get 500 with a message saying something like "Configuration is in transition".
My understanding the messages that are in-flight within the old applications are trying to complete while the unloading happens. Some will, some won't.
Incoming messages coming during the unload-load gap get 500.
Messages after the new EJB is loaded are processed successfully.
If you must provide message deliver guarantees, you gotta go with persistent storage (JMS) and transactions.

Similar Messages

  • Call another proxy via business service of first proxy

    I have a proxyservice1. I want to call another proxy service (proxyservice2) via business service (businessservice1).
    My proxyservice1 routes to businessservice1.
    So in my businessservice1 I have mentioned the below URL in "Transport Configuration"/"Endpoint URI" in "Business Service Configuration" .
    My proxy service "proxyservice2" url to be called:
    http://localhost:7001/projectname1/foldername1/ServiceName1
    I have logging in proxyservice2 as first step. But I don't see the traces of "proxyservice2" getting called from businessservice1 of proxyservice1.
    Is the format of url for the proxy "proxyservice2" correct? Also is the above procedure valid?

    Hi,
    Why dont you create the business service 1 upon the proxy service 2?..There is an option in Business service configuration where u can create a BS upon a PS.
    Have you tested proxy service 2 using test console?..can u see the reports?..
    If yes test BS1 and check if you can see the reports...
    Atlast u can check if testing PS1 shows u the reports of PS2.
    I think this shoul wok...Please let us know of any problems..
    Regards.

  • Dynamic timeout for OSB proxy or business services

    The scenario we got here is that we will have multiple synchronous webservices implemented as OSB proxy services. These proxies will then invoke a common "routing" proxy that will determine which other OSB proxy or business services (JMS Request/Response) to call and does the dynamic routing.
    I understand that you can set a timeout at the business service level how long to wait for a response (at least when using the JMS transport). The problem is we got the requirement that the timeout value would be dependent on the role of the caller invoking the frontend webservice (this is done via some kind of lookup to determine the appropriate timeout setting for the invocation).
    Is this possible? I can't seem to find anything exposed in the transport header that allows me to set a timeout value during runtime. This means that the frontend proxy will be waiting for a response depending on the business service timeout setting. Can we implement a timeout in this frontend proxy somehow?
    Stumped right now over this. Thanks in advance for helping out.

    >
    Are there other reasons why you say it's not the most ideal way of development ?
    >
    Versioning binary files is always a pain. You can't compare them, you can't merge them ... Another point, if you put your jar archive with OSB artifacts under version control, you will most probably face issue related to end of line styles (mac, unix, windows).
    However, the most important point is usability. I want to version .proxy and .biz services to see right in IDE that I changed something and I should check that in for the others. I don't want to risk that I forget something. And I also want to see what other users committed, what sources they work on ... You loose all of that by versioning jar file. I would never go this way.

  • Need Java API's to create OSB proxy and Business Services

    Hi All,
    I need to create OSB proxy and business services using Java API's. Does any one have reference to the OSB APIs??

    AFAIK it is proprietary.
    What I do in a similar situation is to form XML for the services, package them into JAR the same way as an import JAR is packaged (creating ExportInfo resource, ...) and deploy with standard WSLT script. Works for simplest services only (direct proxies mostly) but I can also form security, alerts, throttling etc etc etc -- all in one shot.
    Out of sheer interest, may I ask you a question? Why do you need to create OSB services from Java?
    Vlad
    http://vladimirdyuzhev.com

  • Editing proxy and business service security with WLST

    My customer wants to manage the OSB with WLST as much as possible. I'm wondering if it is possible to handle the security and policies on proxy and business service with WLST.
    Any ideas or links to documenation are welcome.
    Thanks!

    I think you can do this. Please refer - http://docs.oracle.com/cd/E14571_01/core.1111/e10043/wlstcmds.htm#CHDGHDFJ
    But not sure of how much flexibility you will get with WLST. I will recommend using OWSM that is specifically used for similar activities for the soa suite.
    Please refer - http://docs.oracle.com/cd/E21764_01/web.1111/e13713/owsm_appendix.htm & http://docs.oracle.com/cd/E21764_01/doc.1111/e15866/owsm.htm for more details.
    Thanks,
    Patrick

  • Transportation of security through header from proxy to business service

    Hi,
    I have an application in which i have implemented web security at proxy service level. I couldnt transport that to business service.
    I have embedded USERNAME and PASSWORD in the header of the proxy service. This authentication should pass through to the business service, which in turn calls the SOA composite. How can i transport my credentials from proxy to business service.
    Thanks
    Karthick

    Solved

  • Regarding JMS-Queue/Topic in Proxy and Business service in OSB

    Hi
    I have one query regarding to the JMS-Queue/Topic.
    I am published the message to the JMS-Queue/Topic.
    ----My Business-service configuration is---
    General----Any xml
    Tranport--jms://localhost:7001/MyConnectionFactory/RequestQueue
    Response--None
    I call this Business-service in proxy-service of Routing message was published successfully to thee Queue.
    I try to dequeue the message from that queue for this
    --- I take another proxy with---
    General----Any xml
    Tranport--jms://localhost:7001/MyConnectionFactory/RequestQueue
    In meassage flow
    Routing--second busines-service)
    --- Second business-service configuration is---
    General----Any xml
    Tranport-File (C://temp)
    Issue is when I publish the message to Queue,the message is also found in the file  i.e C:temp. I don't now why  this come to the file.*
    Any suggestions
    Thanks
    Mani

    Either I did not get an idea, but in your JMS proxy you are routing to File :)
    If you don't want file, why route to 2nd BS ?

  • Can OSB proxy and business service act as a stub ?

    Hi all,
    would like to enquire whether I can achieve the following. I have a web service consumer. Can the consumer call a OSB proxy service and within the proxy service, I use XQuery and extract the body and perform some transformation. And the proxy service return variables to the consumer? Without calling any business proxy in the process
    Can the proxy service act as a stub? Would I need a dummy business service for it?
    Or my objective cannot be achieved in OSB?
    Appreciate any thoughts.

    Hi,
    Assuming the incoming body contains "name: Peter, age: 13". Can the return information contain "name:Peter, age:13, Status: N"Yes, it's possible too, in your Response XQuery Transformation u can add n number of additional fields, and send back to requester.
    You can do both Translations and Transformations.
    Can I also configure the proxy service not to call any business service?Have you made/generated your proxy service from existing Business Service?
    If yes,: then your message flow would have only Route Node ( routing to Business Service).
    1. To do transformations on request add a Pipeline Pair in message flow and inside it add stage for doing XQuery transformations.
    2. Use Reply Action in stage as last Actions and do reply with Success.( The message flow won't go to Route actions after this ).
    IF No : Then either remove the OSB Action which is being used to call Business Service.
    It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
    Regards,
    Abhinav Gupta
    Edited by: Abhinav on Mar 8, 2013 3:27 PM

  • Problem configuring Email transport for business service

    Hi,
    I'm trying to configure an email transport for an outgoing business service and the General Configuration page is showing the error:
    [WliSbTransports:381030]Neither SMTP nor mail session exists
    and consequently the Email Transport configuration page has both the SMTP Server and Maill Session pull downs greyed out.
    I presume there is some external configuration required so that OSB can discover the SMTP service but I can't find any reference to this. Can someone help?
    regards

    Blog at http://blogs.oracle.com/christomkins/2007/12/sending_an_email_from_oracle_s.html by Chris Tomkins should help. Did you configure SMTP server in OSB?
    Cheers
    Manoj

  • Security between Proxy and Business Services

    Dear All
    We are trying to restrict business service access only through proxy services. Will outbound security using service accounts can do this task? I enabled basic authentication at business service level and tried to pass username/password token through soap header in proxy service. I get "The invocation resulted in an error: Unauthorized." error.
    Please suggest if this is the correct approach.
    Thanks,
    Amjad.

    I'm affraid you didn't get the very basic meaning of business service.
    >
    I want BS1 to be accessed only through PS1 and hence need to secure BS1.
    >
    1. You don't need to secure BS because of this reason since every BS can be accessed only through PS. There is no way you can call BS outside of OSB. BS is just a definition of external (business) service.
    2. Authentication set on BS is not meant to restrict access to BS itself. It is set to use credentials to access some service from OSB (WS1 in your case).
    >
    When BS1 is directly accessed through OSB console, I get "The invocation resulted in an error: Unauthorized".
    >
    This is only a testing form. Again, there is no chance you could call BS outside of OSB. On top of that, if you test BS which has pass-through account set, the test fails as there are no credentials to be passed to BS from PS as there was no PS called.
    I suggest you go back to OSB basics:
    http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/tutorial/tutIntro.html#wp1045005
    http://docs.oracle.com/cd/E14571_01/doc.1111/e15020/architecture_overview.htm#i1094753

  • JMS Timer into a Proxy or Business

    Hello,
    I have a JMS Queue and I wanna know if is possible to configure a proxy or business service to read the JMS Queue time by time, for example read the Queue each 5 minutes.
    Is there any option in ESB to configure as a timer to read the Queue?
    Thank you!

    No I don't think there is such option. However you can define a delay when you post the message, before it get consummed.
    Gregory Haardt
    ALSB Prg. Manager
    [email protected]

  • Proxy business services in osb

    In osb if i want to get data from a client then what is the procedure
    I am using a business service whose endpointuri is a proxy service (protocol http)
    And this business service is inturn called by my local proxy service
    Is this procedure correct ?
    if not then what is the correct procedure how many proxy and business services do i need to get data from my client
    Thanks,
    Rahul

    How many Proxy Services and Business Services to use depends on the use case.
    For example, if your client will initiate a transaction when it has some data to send to another system then you will have to configure following flow:
    First system (wants to send some data)--> Proxy Service(to receive data from Client) --> Business Service (to call the second system) --> second system web service API
    Another scenario in which you need to get some data from the second system when requested by the first system (query scenario) the above flow would still remain the same.
    Addition of another Proxy service depends on specific use case and scope of re-usability etc. For example if you want to fetch data from a system and that query can be reused in various processes or can also be called from various client applications then you can create a wrapper Proxy above the Business service and call this Proxy Service instead of calling the business service from your Proxy.
    Domain structure also is a deciding factor, for example if you want to call a Proxy in one domain from another domain you can use a Business Service in the requesting domain.

  • URGENT: How to Configure Ruote to Business Service that invokes 2 methods

    Hi,
    I am using ALSB 2.6.
    Currently I am working on a project, in which i have to configure business service and proxy service.
    Now the problem which i am facing is the following :-
    I'm trying to configure my Proxy service to route to 1 Business Service which in turn invokes 2 methods.
    I want to know how can i configure this route to business service that invokes 2 methods.
    Right now, to execute/ invoke any of the method i need to invoke each method by changing manually in the rotuing flow.
    Can any one tell me how can i configure both the methods for the same business service in a single rotuing flow only.
    Presently i am configuring it in this way:
    Route to BUSINESSSERVICE invoking METHOD1.
    At the place of method 1 theres a drop box from where you select the desired method.
    I want to know how to configure both the methods in single rotuing flow so that it invokes the desired method without manually editing it each time.
    What is the best solution to this problem? I would very much appreciate any help on this!
    Regards,
    Samir

    Hi,
    You can create a pipeline pair, add one (or more stages), and inside of the stage, invoke the a service callout to your business service.
    Regards,
    Fabio Douek.
    Regards,
    Fabio Douek

  • Proxy & business Services creation using XML

    Hi,
    can we create a proxy service & business service in OSB using an xml? usually we use to create using a WSDL defined by a webservice. can we create it using XML ? If so can anyone provide the doc or link for that.
    thanks

    You may create XSD from XML and then create WSDL from XSD using JDev. Using that WSDL you may create proxy or business service in OSB.
    Regards,
    Anuj

  • Features to isolate OSB services from just one slow business service.

    Hi,
    Here is a OSB question around a quick business service that suddenly turn to be a slow one and the impact on the overall OSB performance.
    Suppose you have a critical OSB cluster in production with many proxy and business services.
    Because of requirements, you have a specific sync http business service (web service) that has an acceptable response time around 1 secs. But suddenly the response time goes to 30 secs or even more due to some problem, generating a great impact on thread and resource consumption on OSB side.
    Suppose a http time out configuration of 2 secs on the business service is just not enough. OSB continues to crash.
    You can use OSB throttling feature but doing that you have to fix a maximum concurrency.
    If the service implementation is down, OSB can handle that using "Offline Endpoint URIs" in the operational settings of sbconsole. But in this situation the service is online accepting requests. It's just slow to respond.
    This is a hypothetical situation just to stress the problem.
    Besides business service time-out configuration and throttling and dispatch-policies on proxy/business services are there any other features that can be used ?

    Wesley,
    Ok, once the business service request is sent, the thread is freed. When the response comes, a new thread is picked up to handle the business service response. So in the mean time there's no blocking thread. Yes. It is correct.
    Just to make sure, what about the waiting synchronous http client calling the proxy service ?
    I mean, this fire-and-forget feature works only on the business service side or entirely for the proxy/business service (That separation would not make sense I suppose) ? The same case with http proxy. The request thread will be used till the BS is invoked in the route node or end-of the request pipeline. After this thread is released. Once the response comes from the http bs on a different thread, that thread will be used till the end of the responsepipeline
    eg
    Client---->Http Proxy---->Thread1{Request Pipeline--->Routenode---->End of Request actions in the Routenode--->Call BS Request} ----->Thread2{BS gets response--->Response Pipeline --->send response back to the client}
    For example, a http client is waiting for the proxy service response, but while the business service does not respond, there is no blocking thread at all in the proxy service side too ?Yes. That is true
    So, there could be many waiting http clients calling this proxy service, all http business service requests sent, and no blocking threads ?Yes.
    What would be the drawbacks of this feature ?Nothing I can think off. Therotically we will be forced to do extra over head when BS latencies are low which might of little practical impact. In that case you can change QOS=Exactly once. BS request and response will be on the same thread , but proxy response thread will be always different from that of proxy request thread no matter what the QOS is set
    Cheers
    Manoj

Maybe you are looking for

  • How do i set up two different ID accounts to one Mac

    I have a Mac book pro and was wondering how you set up two different user ID's to one Mac. I have logged out of itunes and set up two different libaries, when I log into one libary and log into Itunes all of my origional music is shown but when I log

  • Sales order duplicate item

    Hi, Can someone help and explain me why there's a duplicate item in my sales order. In the sales order document a variant component doubled from ITem 10, item 20 then ITEM 21 then item 30..... Irregularities of item number. The config was defaulted b

  • Clearing old erroneous address info from imac memory

    When I type in addresses, Address book automatically fills in the rest of the address. This is great except when it keeps putting in old adresses that are no longer correct. I have made sure that the listing in Address Book is current and correct but

  • BAPI_PR_CREATE call error

    I am using IBM WebSphere Message Broker SAP Adapter request node to call BAPI_PR_CREATE, here is the input business object: <NS1:SapbapiprcrtWrapper xmlns:NS1="http://www.ibm.com/xmlns/prod/websphere/j2ca/sap/sapbapiprcrtwrapper"> <SapBapiPrCreate>  

  • Problem with DiscussionGroups iView

    Hello Yogi/Robert, I have a problem with my discussion groups iview. I am using the discussion groups iView, and layout set is DiscussionGroupsContributor. The iView is using the /discussiongroup folder to store the discussions created. Here's the pr