CSM http get keepalive

Hi there,
I have a question regarding csm keepalive. We are using http get keepalive, server response is usually 200 as OK. But if server aplication is not working it puts a message in a file, so file is changed, status is still 200. Is there a kind of hash value checking as with CSS? If not, what could be a solution? TCL script?
Thank in advance.
Regards,
Branko

the wait time is the frequency time minus 1 sec.
So if you have an interval of 5 sec, the CSS waits 4 sec for the response.
The only way to increase this wait time is to increase the keepalive frequency.
Gilles.

Similar Messages

  • HTTP Get Keepalive Wait Time

    Does anyone know how long is the wait time for the built in http get keepalive before it determines there's no answer and marks the service as dying? And is this configurable somewhere? I have an App owner who thinks the load balancer may not be waiting long enough for a response from the server. I searched around and couldn't find anything on the built in. I see it's in the scripts but I don't think the "keepalive type http" under the service uses the scripts. TIA

    the wait time is the frequency time minus 1 sec.
    So if you have an interval of 5 sec, the CSS waits 4 sec for the response.
    The only way to increase this wait time is to increase the keepalive frequency.
    Gilles.

  • Issues with a http get keepalive

    We are having a issue with some keepalives that are causing our web servers to run really slow. I have explained the environment below and provided some configs from the CSS
    I would appreciate any insight you could provide as to why this issue is occuring and how we might avoid them.
    Thanks,
    Jim
    Environment:
    CSS 11150 with 4.01 (Build 19) code.
    We have 2 applications that connect to backend oracle databases. In order to monitor the database connections, we wrote an asp page for each application that queries the database and returns a normal status web page if a connection was established. If the database connection can not be obtained, an error web page is returned. We created 2 services with a keepalive method of get pointing to the asp page we wrote with the expectation that it would create a checksum for the normal web page.
    Issue:
    The problem we are having is that when we activate these two services, the web server that is running the applications slow down considerably. In addition to the speed issues, we also sometimes get a page cannot be displayed error from the application. If you get a page cannot be displayed error but hit refresh in your browser the application comes back. If we suspend the services the server speeds back up and we have no issues with the application.
    Configuration:
    **************************Service**********************
    service web02qi-compoint-SMDR
    ip address 172.28.1.102
    keepalive type http
    keepalive frequency 10
    keepalive maxfailure 2
    keepalive method get
    keepalive uri "/keepalive/compointkeepalive.asp"
    service web02qi-issuestrk-SMDR
    ip address 172.28.1.102
    keepalive type http
    keepalive frequency 10
    keepalive maxfailure 2
    keepalive method get
    keepalive uri "/keepalive/crmdbcheck.asp"
    ************************Owner*************************
    content compoint1
    protocol tcp
    port 80
    url "/dataproducts/*"
    add service redirect-compoint
    vip address 172.28.1.100
    balance aca
    add service web02qi-compoint-SMDR
    active
    content compoint2
    protocol tcp
    port 80
    url "/dpcompoint/*"
    add service redirect-compoint
    vip address 172.28.1.100
    balance aca
    add service web02qi-compoint-SMDR
    active
    content issuestrk
    protocol tcp
    port 80
    url "/crmdpd/*"
    add service redirect-issuestrk
    vip address 172.28.1.100
    add service web02qi-issuestrk-SMDR
    balance aca
    active

    What happen if you remove your uri in the service, do the server speed return to normal? What is the serivce 'redirect-compoint'? Try to remove any unnecessary commands such as balance aca to see if anything changes?
    What is the response time of your keepalive asp pages? What happen if you run this asp page on another computer while you're access the application on differnent computer? Trying to simulate what CSS is trying to do and see what happen.
    If nothing else works, try to upgrade to the version 5.0.
    Hope this help.
    Brad

  • Using ADFS authentication to perform SSO via HTTP GET request

    Hi,
    Can i authenticate users (those users are clients, at home) to a web application using ADFS without SAML tokens?
    The situation is that i want the clients to perform SSO to the website via a link they receive in their mailboxes. 
    I thought about a solution that combines JWT in a URL link that each user will get to his private mail. this link will contain the users' claim (such as ID Num, given from AD DS Server dedicated especially for them).
    Thus, the user will receive an email with a link that already contains a short period of time JWT to perform SSO to the webapp.
    Is it possible ? anybody heard about a similar solution ?

    Sandra
    Thanks for your message
    Here is the my requirment
    The basic flow of a Where 2 Get It REST API call is:
    1) create the required XML structure,
    2) URI encode it,
    3) make a HTTP GET request,
    4) then parse the return XML document.
    Currently i have some data in ABAP structure with 5 fields, i need to create XML from the those 5 fields,and needs to be URI
    encode it, and then needs to make a HTTP get request to connect Where to Get It REST API, finally it will return XML document via HTTP Get request , and then needs to convert the return XML to  ABAP structure for further processing .the above 4 points will be implemented in my report.
    Any  body could help on this

  • Retrieve data from a non-peoplesoft application using HTTP Get

    I need to retrieve data from a non-peoplesoft application. They want us to submit a HTTP GET request to their URL with a series of parameters. I am thinking about using HTTP Targert connector to accomplish this. Does anyone have sample peoplecode?
    Currently we are on 8.51.10 Tools...
    If there is any better way .. please let me know ..

    I have used HTTP Get to get XML file from a government sanction list by hitting URL http://www.treasury.gov/ofac/downloads/sdn.xml
    There is a delivered PS program that does that for vendor sanctions. I had to get the online setup correctly by creating a new custom Node with HTTP Target Connector. The program name is BSP_IMPORT. The below code is responsible for the calling the node and retrieving the data. Play around with the code below see if you can get it to meet your needs.
    BSP_IMPORT_AET.BANKNODE.Value is just the custom external code that I created.
    PMT_FLAT_FILE_INBOUND message is just a none rowset based message to use the web service call.
    Local TR:FileUtilities:FTP &oFTPUtil = create TR:FileUtilities:FTP();
    +/* HTTP */+
    +/*******************************************************************************/+
    Local Message &msgHTTP;
    Local Message &msgResult;
    +&msgHTTP = CreateMessage(Message.PMT_FLAT_FILE_INBOUND);+
    +&oFTPUtil.PopulateFTPGetIBInfo(&msgHTTP, BSP_IMPORT_AET.BANKNODE.Value);+
    +&msgResult = %IntBroker.ConnectorRequest(&msgHTTP);+
    +/* check to see if the file is wrapped */+
    +&strAllLines = &msgResult.GenXMLString();+
    +&strAllLines = Substitute(&strAllLines, Char(26), " "); /* Added this line to remove invalid characters */+
    +/*******************************************************************************/+
    Edited by: Maher on Mar 20, 2012 3:28 PM

  • HANDLING HTTP "GET"  IN SENDER ADAPTER

    Hi,
    I have a Scenario where I have to use HTTP GET Adapter  to get data from a website daily to PI and Post the data from PI to SAP ECC.On the receiver end Idoc is being used.I need help on what to use (From sdn I came to know that Java Proxy or Adapter Module can be used ) and how to configure the sender adapter in this scenario.In case of Adpater module the steps needed to configure the scenario would be helpful.In case of Java Proxy sample code that would suit the scenario would be appreciated.

    Only 7.3 version (Latest) supports HTTP GET method. All previous versions support only POST.
    In your case java proxy is better choice.
    Refer these standard links.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab?quicklink=index&overridelayout=true
    http://wiki.sdn.sap.com/wiki/display/Java/JavaProxyChangesinPI7.1fromPI7.0
    http://help.sap.com/saphelp_nwesrce/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm
    Basically you have to create java proxy for the outbound (sender) interface and use those proxy(stub) objects to code in java. Refer sender java proxy in the above link.

  • HTTP GET Error - PI does not allow more than 200 chars in the dynamic URL

    Hi Everyone,
    Scenario RFC <-> PI <-> HTTP (GET).
    PI 7.1, Service Pack 05.
    HTTP Setup > URL Address
    The response comes back from the target server when stuffing the URL path in the communication channel "Path" field.
    /rest?&xml_request=......................................................
    The requirement is to dynamically create the URL in the mapping program. While doing this the interface error out saying the URL exceeds the character limit of 200.
    Any thoughts on this would be highly appretiated.
    Thanks,
    AJ

    Please check Mark's reply
    http://forums.sdn.sap.com/thread.jspa?threadID=1944129

  • How to do HTTP GET effectively in PI

    Hi ,
        I need to download a csv file using HTTPS GET using .Looks like the plain HTTP adaptor only supports POST.I plan to do it by writing a Java client.My question is where to write the implementation ie in Mapping,wrap it under a SOAP web service etc.
    Any inputs will be appreciated.
    Regards,
    Premjit

    Hi,
         Did you checked the below blog
    /people/amol.joshi2/blog/2006/06/28/must-fire-a-http-get-from-xi---try-this
    which details the implementation of using java
    HTH
    Rajesh

  • HTTP GET/POST Queue

    Hello,
    I was trying to Performance Monitor Tool for measuring the performance of
    WebLogic 5.1 Server which is hosting
    my Web Application. My interest was to primarily record the HTTP GET and
    POST requests processed by the WebServer and the number of pending HTPP
    requests etc. But the Performance Monitor is not able to capture this info.
    It can find the information for IIS Server running on my machine but not for
    WebLogic server running on Port 80. Is there any other tool which can be
    used
    for obtaining the data mentioned above
    Thanks
    Sandeep
    This e-mail communication and any attachments are privileged and
    confidential and intended only for the use of the recipients named above.
    If you are not the intended recipient, please do not review, disclose,
    disseminate, distribute or copy this e-mail and attachments. If you have
    received this communication in error, please notify the sender immediately
    by email or telephone at +91-20-2906286.

    By Performance Monitor Tool I meant the perfmon.exe which is available with
    the WINNT installation.
    Sandeep
    "Sandeep Rajpathak" <[email protected]> wrote in message
    news:[email protected]..
    Hello,
    I was trying to Performance Monitor Tool for measuring the performance of
    WebLogic 5.1 Server which is hosting
    my Web Application. My interest was to primarily record the HTTP GET and
    POST requests processed by the WebServer and the number of pending HTPP
    requests etc. But the Performance Monitor is not able to capture thisinfo.
    It can find the information for IIS Server running on my machine but notfor
    WebLogic server running on Port 80. Is there any other tool which can be
    used
    for obtaining the data mentioned above
    Thanks
    Sandeep

  • Http get to Http post

    Hello.
    Currently the Http receiver adapter is configured as HTTP get . We need to change it to HTTP Post and put the parameters in the URL in the body.
    Can someone please give an example on how to conevert a http get to http post. Is it a simple thing to do or does it need some java programming?
    Thanks for your help.
    Best Regards,
    Teresa

    Thanks Baskar. I am on SAP PI 7.1 Currently they have a HTTP_DESTINATION that is defined in SM59 and a Prolog. We want to change it to HTTP Post.
    Below is how it is configured currently -
    addressing type : HTTP Destination
    HTTP Destination : UPS_DESTINATION
    Content Type : application/x-www-form-urlencoded
    XML Code : UTF-8
    Prolog : arg1=
    Epilog = &action=generateUPSShippingLabel&format=xml
    How would I change above to HTTP post ?
    Teresa

  • HTTP GET request to XI

    hi forum,
    i have been trying to send a HTTP GET request to XI using SOAP and HTTP adpaters (by designing objects in IR and ID), but failed to do so,
    the requirement is specifically sending HTTP GET, (no content in the body)
    Is there any way of achieving this using existing adapters,
    My observations:
    when i make a HTTP GET request to XI using sender HTTP adapter, it gives a response "Body is empty" with HTTP code 204-No content,
    when i use SOAP adapter, and make a HTTP GET request to intergration engine, using sender SOAP adapter, it gives a response
    <html>
    <head>MessageServlet</head>
    <body>
    Message Servlet is in Status OK
    Status information:
    Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04_23_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#2 $) bound to /MessageServlet
    <br/>Classname ModuleProcessor: null
    <br/>Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
    <br/>Lookupname for remoteModuleProcessorLookupName: null
    <br/>ModuleProcessorClass not instantiated
    <br/>ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0
    <br/>ModuleProcessorRemote not instantiated
    </body></html>,
    and http response code 200 OK, but i cant find anything in the integration engine (from SXMB_MONI),
    pls help

    hi prateek..... lot of thanks,
    developing/deploying a proxy ejb for this purpose seems good,
    but, deploying a custom servlet (for calling that ejb) seems "not-so-standard" way,
    since i m very new to custom j2ee development in XI, i have certain queries:
    1. Is there any guidelines for developing and deploying custom j2ee components,
    2. Will SAP provide support in case of these components not working "as expected" or hampering other applications,
    thanks for help

  • HTTP GET for sender adapter possible ?

    I have to get XML-messages from third party webservice. I should use HTTP GET to get the data but is this possible in XI ? I mean like RFC->XI->HTTP(GET) and I would process the response from HTTP GET call.

    Hi Jari,
    For getting response from web service, you should use SOAP adapter.
    Anyways,if it for web application, you can use HTTP get in XI for synchronous communication.
    Have a look at these blogs for details -
    1. /people/amol.joshi2/blog/2006/06/28/must-fire-a-http-get-from-xi---try-this
    2. /people/william.li/blog/2007/09/07/posting-and-testing-using-xipi-http-adapter
    Regards,
    Sunil Chandra

  • Retrieving image using HTTP GET method?

    I want to send a image to a client browser. My servlet's HTML response to the client browser contains the <img src="..."> tag. The client browser uses the HTTP GET method to call my servlet's DoGet method, and I must transfer the desired image to the client browser in this DoGet method at servlet. Now, the problem is that, what should be the source URL in the image(img) tag that is present in my servlet response to client?
    For eg: the img tag should be like this
    <img src="http://<hostname>:<portname>/<servletname>/...?[var1=value1]">
    Now at the ellipsis that you see in the above source URI, I want to write the type of image file (something.jpg) ,so the browser knows what kind of image file it is.
    To sum it up...how to get the image using DoGet method and <img src="...">
    Regards,
    Amit

    To give you a better idea on what's happening, read the RFC:
    (HTTP/1.0) http://ftp.ics.uci.edu/pub/ietf/http/rfc1945.html
    (HTTP/1.1 - compressed data)
    http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
    If you for example execute the command by telnetting to port 80 on a server:
    GET http://somewhere.com/some.jpg HTTP/1.0<cr>
    <cr>You will get this header:
    Trying 217.22.64.73...
    Connected to xxx.xxx.xxx
    Escape character is '^]'.
    HTTP/1.1 200 OK
    Date: Fri, 01 Aug 2003 12:36:30 GMT
    Server: Apache/1.3.27 (Unix) FrontPage/5.0.2.2510
    Last-Modified: Tue, 15 Jul 2003 03:11:52 GMT
    ETag: "268de8-2fc4-3f1370f8"
    Accept-Ranges: bytes
    Content-Length: 12228
    Connection: close
    Content-Type: image/jpegWatch the last part, that's what the setContentType does, normally the content-type defaults to text/html in a webserver.
    A webserver usually maintains a list of file extensions by which it will determine the correct MIME type to emit, when a resource is retrieved.
    The browser reads the header, and decides what to do with it, in combination with (X)HTML markup.
    Greets.

  • HTTP GET/POST: J2EE Design Strategy w.r.t servlet implementation

    I am in process of designing a J2EE application with browser interface. I have thought of having "Front Controller" Servlet for all HTTP-GET requests and "Action Controller" servlet for all HTTP-POST requests.
    I have worked this distinction on the basis that GET request maps directly to page being requested and POST request corresponds to action being performed on some page. Here in fact the design is driven by appropriate selection between GET or POST. So all possible requests on the site should get properly mapped to action or page.
    Decision of two servlets is merely to divide the load on single servlet. There being well defined logical (page and action) and implementation (GET/POST) boundary, the division seems workable.
    Before actually finalizing this decision I need to know any inputs (pros and cons) of this approach.
    Further If I start mapping to actual scenerios,
    Request for home page,
    Request from HREFs,
    Request where new transaction is started
    will always be GET Requests.
    However what about request method (POST or GET) for update employee profile page when emp. id is available already available on first page ??
    And further
    Is this GET/POST divison always possible ??
    Any constraints that any one can see in this mapping ??
    Any comments on the update employee profile scenerio - GET/POST - page/action ??
    PS: Pl. discard error scenerios for the moment.

    how would you direct the GET requests to one servlet and the POST requests to the other?
    Wouldn't they need to pass thru' yet another servlet to decide which is which (GET or POST), and redirect them accordingly?
    I would have both GET and POST handled by the same single-point-of-entry servlet. For example, not all data is sent to the server via a POST - you can send form data via a GET, using name/value pairs in the url.

  • R/3 HTTP GET to external supplier - what are the options

    Hello all
    Our scenario is that we have to connect to an external supplier using HTTP GET to get our order responses in the return structure. I was wondering what the best/easiest way is to do this.
    We cannot use the HTTP adapter since that only supports HTTP-POST. Additionally the RFC that lies behind it does not allow query strings in the definition, something we need to use.
    we could make use of the HTTP_GET function module in the SFTP function group but how to do it then?
    -we cannot create an abap proxy for this since the outbound WSDL contains invalid keywords (choice keyword not supported)
    -we probably could use BPM that calls the HTTP_GET.
    -we could write an ABAP that calls the HTTP_GET and puts the output into a directory where XI can pick it up.
    -I also read that you could write a small java function that does the HTTP_GET . But i have no experience with this.
    So what is the best option to accomplish this?
    thanks
    Tom

    From SP15 you may use Adapter-Specific Message Attributes.
    To evaluate adapter attributes in the message header of the XI message, set the Use Adapter-Specific Message Attributes indicator.
    œ     If you want missing message attributes to trigger an error message, set the Fail If Adapter-Specific Message Attributes Missing indicator. If the indicator is set and the header for adapter-specific message attributes or one of the set attributes is missing from the message, this leads to a system error (red flag).
    If you do not set the indicator, and message attributes are missing, the adapter accesses information from the adapter configuration.
    œ     If you want to use an HTTP destination or URL set by the mapping, set the URL or HTTP Destination indicator. (The indicator displayed depends on the Addressing Type you selected above). If you set the indicator, the URL or HTTP destination set dynamically is called by HTTP.
    If the message header does not contain the URL or the HTTP destination, and you have set the Fail If Adapter-Specific Message Attributes Missing indicator, the XI message is set to status System Error. If you do not set the indicator, the URL or HTTP destination defined statically in the communication channel is used.
    œ     If you want to use HTTP Header Fields, set the indicator and enter the fields in Field 1 to Field 6. The fields are embedded in the HTTP request under the names you enter here.
    The technical names of the fields are HeaderFieldOne, .... HeaderFieldSix.
    œ     If you want to use URL Parameters, set the indicator and enter the parameters in the fields Parameter 1 to Parameter 6. The parameters are embedded in the HTTP request under the names you enter here.
    The technical names of the fields are URLParamOne, c, URLParamSix.
    The attribute namespace for the adapter is http://sap.com/xi/XI/System/HTTP.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
    /Otto

Maybe you are looking for

  • Problem in saving a file in TextEdit

    When I try to save a file in TextEdit in Mavericks, I receive a warning such as "The file "Untitled.rtf" couldn't be opened." although I use a different file name. And the file is not saved at all. I would appreciate if this can be solved. Thanks.

  • Can i set up document folders in iWork?

    Can you set up document folders in iwork?

  • Calling stored procedure from php script.

    I have the following stored procedure in Oracle 8: CREATE OR REPLACE procedure kunde_create (iname1 in varchar2, iname2 in varchar2, iname3 in varchar2, ianrede in number, istrasse in varchar2, iland varchar2, iplz in varchar2, iort in varchar2, iort

  • Invoice Coreection request for Debit Process

    hi I wanted to use the Invoice correction Request for the Debit Process I have invoices customer for 10 pieces instead of 12 Pieces , so I need to correct the Invoice and need to get money for the remaining 2 qtys. Customer wants to do the same throu

  • Problem in Connecting IIOP in 8i

    while deploying an EJB to Oracle8i through JDeveloper it shows the connection failed .. what to do more the SID , PORT and Host name is correct . Any modification to be done on the server side or the client machine !! Is there any way to check whethe