HTTP/1.0 response

How can I force a HTTP/1.0 response from a java servlet running on oc4j?

I am also seeing hte same issue in production environment.
java.net.ProtocolException: unrecognized response from SSL proxy: 'HTTP/1.0 403 Forbidden'
     at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:410)
     at weblogic.net.http.HttpsClient.<init>(HttpsClient.java:215)
     at weblogic.net.http.HttpsClient.New(HttpsClient.java:483)
     at weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:219)
     at weblogic.net.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:215)
     at weblogic.deploy.service.internal.transport.http.HTTPMessageSender.sendMessageToServerURL(HTTPMessageSender.java:270)
     at weblogic.deploy.service.internal.transport.http.HTTPMessageSender.sendMessageToAdminServer(HTTPMessageSender.java:125)
     at weblogic.deploy.service.internal.transport.CommonMessageSender.createAndSendStatusMessage(CommonMessageSender.java:790)
     at weblogic.deploy.service.internal.transport.CommonMessageSender.sendStatusMsg(CommonMessageSender.java:773)
     at weblogic.deploy.service.internal.targetserver.TargetDeploymentService.relayStatus(TargetDeploymentService.java:496)
     at weblogic.deploy.service.internal.targetserver.TargetDeploymentService.notifyStatusUpdate(TargetDeploymentService.java:469)
     at weblogic.deploy.service.internal.DeploymentService$9.run(DeploymentService.java:282)
     at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
Can anybody help me how to fix this issue.
THis is happening intermittently lately

Similar Messages

  • HTTP Channel request-response

    Hi,
    I have configured HTTP channel for synchronous request response (syncresponse=true in additional headers). I have to send an outbound Invoice to TP via http, get the response back and process it as an email. I have the outbound and inbound agreements set and it works fine. The issue is that I am unable to create a correlation between the request and response (invoice request corresponds to which response). Is there any setting to achieve this?
    Thanks in advance.

    This looks to be known issue. Similar bug was reported for
    Bug 17304428 - hcfpmlr: sync 271 response does not set reference to outbound 270
    There could be one possible solution of using correlation xpaths defined into the document definition, however, this being a sync transfer, it might happen that the outbound msg's xpaths are not persisted into the DB and the response msg xpath for correlation wouldn't find this.
    Hence, for the correlation of sync request and response to work by default the bug should get fixed. Please indicate the same in the bug if fix is required.

  • Send XML Message via HTTP and Receive Response

    Hello,
    We have a scenario where we need to update Currency Exchange Rates in R/3 via a 3rd party called Oanda.  I'd like to use XI for this Interface, if possible. 
    Basically, we need to send XML over HTTP.  Here's the URL and the XML we need to use for our POST (I'll need to perform the look-up for about 15 currency codes - I plan on using a BPM process to loop through each currency code specified in a flat file):
    http://www.oanda.com/cgi-bin/fxml/fxml?fxmlrequest=<CONVERT><CLIENT_ID>TestAccount1</CLIENT_ID><EXCH>USD</EXCH><EXPR>CAD</EXPR><DATE>03/25/2008</DATE></CONVERT>
    And the reponse looks like this:
    <RESPONSE>
      <EXPR>CAD</EXPR>
      <EXCH>USD</EXCH>
      <AMOUNT>1</AMOUNT>
      <NPRICES>1</NPRICES>
      <CONVERSION>
        <DATE>Mon, 24 Mar 2008 20:00:00 GMT</DATE>
        <ASK>1.0257</ASK>
        <BID>1.0251</BID>
      </CONVERSION>
    </RESPONSE>
    I plan on mapping each reponse to BAPI_EXCHRATE_CREATEMULTIPLE, using BPM.
    So my question is this:  Should I use the HTTP adapter for the out going POST to Oanda?  If so, would the HTTP adapter be consider the sender or the receiver?  Also, how would the XML message be automatically appended to the end of the URL (i.e., after the fxmlrequest parameter)?  I guess I'm a little confused on how to use the HTTP adapter...  Are there any blogs that discuss this type of scenario?
    Thanks,
    Matt

    Hi guys,
    I have few concerns for setting up this scenario.
    1). I have created a data type for request mapping, and teste the mapping.
    The output looks like below:
      <?xml version="1.0" encoding="UTF-8" ?>
      <ns1:MT_CONVERT xmlns:ns1="http://test.com/ExchngRate">
       <CONVERT>
         <CLIENT_ID>test</CLIENT_ID>
         <EXPR>CAD</EXPR>
         <EXCH>USD</EXCH>
         <DATE>10/21/2009</DATE>
         <AMOUNT>1</AMOUNT>
       </CONVERT>
      </ns1:MT_CONVERT>
    How to pass only
      <CONVERT>
         <CLIENT_ID>test</CLIENT_ID>
         <EXPR>CAD</EXPR>
         <EXCH>USD</EXCH>
         <DATE>10/21/2009</DATE>
         <AMOUNT>1</AMOUNT>
       </CONVERT>
    to the receiver HTTP adapter.
    2) I am using URL address in the receiver HTTP adapter.
    Target Host: www.oanda.com
    Path Prefix: cgi-bin/fxml/fxml?fxmlrequest=
    What is will be Service Number?
    Looking forward for you help. Your help is greatly appreciated.
    Thanks,
    Namadev
    Edited by: Namadev Chillal on Oct 21, 2009 5:35 PM

  • HTTP Sender Adapter Response

    Hi there,
    Can I send a status code back to the sender of the HTTP request in case of a HTTP Sender Adapter ?
    We need to send a response immediately to the Sender Application. The interface however is an asynchronous interface and a response with XI is only perhaps possible with BPM which would be rather complex for a small response code to be sent back ! Is there any possibility that some response is sent as soon as I receive a request on the SICF service ?
    Amair

    Hi Amair,
    As Bhavesh suggested i also dont see a way you can do this unless by making the interface Synchronous. If you do so then it becomes so simple and u will not require any work arounds.
    Regards,
    Abhy

  • Performance Tuning: Http Task Time Response Time Threshold

    I must analyze the response time of HTTP task on my instance and I found any value from tcode ST03.
    For HTTP task with my user I have these values:
    N. Step   T resp.time    A. Resp.Time   T. DB Time   A. DB Time
    3405         3072              902,1                1436            421,7
    Now I would like to know if these values are correct or they are very high.
    Is there an OSS Note which explain the threshold of all task type??
    Thanks in advanced.
    Moreno

    If its an external ITS,
    here is one note:
    Note 388198 - ITS performance problems - Monitors and log files
    if its an internal ITS,
    Note 892442 - Integrated ITS configuration/performance
    Regards,
    Siddhesh

  • Interconnect HTTP Adapter Send / Response

    Hi,
    I'm setting up an Interconnect HTTP adapter to send XML data to an outside partner. Based upon my XML I get a response XML file from that partner. The XML I'm sending is a list of requests. The response XML is either a list of verifications and/or errors. I really need that response. I'd like to take that response and put it back on the Hub queue to be handled in our system.
    From what I see in the log the send is successful. The response XML from the partner is printed correctly in the log.
    I looked at the documentation for the http.reqreply mode. However, that appears to be used only for a receiver to send a reply back to a sender. I really want the opposite - I want my sender to send back the response.
    This is my first time using the HTTP adapter. I readily admit I may be missing something.
    I appreciate any help!
    Thanks!

    Hi,
    The Integration Interconnect forum can better assist you with this question. Please repost your question to that forum.
    Thanks,
    Eng

  • HTTP error (server response) during segmentation

    Hi
    I was testing segmentation on our CRM IDES 2007 and unfortunately I have technical issue which I do not know how to investigate (to find a reason).
    Graphical modeler in segmentation seems to work fine, but when do following step I get a popup with error:
    1. Right click on the group
    2. Press 'Count' ....
    OR
    1. Right click on the group
    2. Choose 'Build Target Group' and then 'In dialog' or 'in background'
    For the first time error says its HTTP error 500, but afterwards it is always HTTP error with code 400
    (the whole message is something like this:
    Server returned HTTP response code: 400 for URL :.....and then very long string, though the beginning is ok since it contains valid domain).
    Could anybody give me a hint how can I find a root cause for this error?
    The string with error contains at th end /bc/bsp/sap/crm_mkttg_segap/communication.do ...so maybe its something about not running service?
    When I start SICF and go in the tree to sap --> crm ..t.hen I do not see anything like crm_mkttg_segap. maybe I am looking at the wrong place ?
    regards
    Rafal

    Hi,
       Take a look at SAP note number  1363871.
    Regards,
    Arun Prakash

  • HTTP error 302: response.sendRedirect()

    Hi everybody,
    I have a first servlet (AGSenderServlet) sending a file to a second one (AGReceiverServlet). This second servlet I'm receiving a file and then redirect to a JSP page. But I'm getting the following exception:
    13-Sep-2010 13:20:42 org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet AGSenderServlet threw exception
    java.io.IOException: Received HTTP status code 302
            at AGSenderServlet.doGet(AGSenderServlet.java:43)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    ....I've looked on internet and apparently the error 302 is linked to response.sendRedirect().
    Here is my code:
    public class AGReceiverServlet extends HttpServlet {
         public void doGet(HttpServletRequest request,
                HttpServletResponse response)
         throws ServletException, IOException {
             // Create a factory for disk-based file items
              DiskFileItemFactory factory = new DiskFileItemFactory();
             // Create a new file upload handler
              ServletFileUpload upload = new ServletFileUpload(factory);
              String realPath = this.getServletContext().getRealPath("sync/in");
              List items = null;
                        try {
                             items = upload.parseRequest(request);
                        } catch (FileUploadException e) {
                             e.printStackTrace();
                        // Process the uploaded items
                        Iterator iter = items.iterator();
                        try {
                             String fileName = "blabla";
                             while (iter.hasNext()) {
                                  FileItem item = (FileItem) iter.next();
                                  // Process a file upload
                                  if (!item.isFormField()) {                         
                                       fileName = item.getName();
                                       long sizeInBytes = item.getSize();
                                       //Write to File
                                       if (fileName != null) {
                                          fileName = FilenameUtils.getName(fileName);
                                       File uploadedFile = new File(realPath);
                                       if (!uploadedFile.exists())
                                            uploadedFile.mkdirs();
                                       uploadedFile = new File(realPath+"/"+fileName);
                                       item.write(uploadedFile);
                             System.out.println("http://"+request.getServerName()+':'+request.getServerPort()+"/upTool/filereceived.jsp?filename="+fileName);
                             String redirectURL = "http://"+request.getServerName()+':'+request.getServerPort()+"/upTool/filereceived.jsp?filename="+fileName;
                             response.sendRedirect(redirectURL);                         
                        } catch (Exception e) {
                             e.printStackTrace();
         public void doPost(HttpServletRequest request,
                HttpServletResponse response)
         throws ServletException, IOException {
                   doGet(request, response);
    }The file received is saved properly and is ok.
    Using print out I have discovered that it was the running the whole code but not the code in filereceived.jsp (the JSP of the sendRedirect() ).
    I have tried the url used in the sendRedirect() and it works ok.
    Any idea?
    Cheers.

    The AGSenderServlet is sending a file to the AGReceiverServlet using multipart and Postmethod object. Here is the code.
    public class AGSenderServlet extends HttpServlet {
         public void doGet(HttpServletRequest request,
                HttpServletResponse response)
         throws ServletException, IOException {
              String filename = request.getParameter("filename");
              String ext = request.getParameter("ext");
              String serverName = request.getParameter("serverName");
              String port = request.getParameter("port");
              String path = null;
              String uri = "http://"+serverName+":"+port+"/AGReceiverServlet";
              File file = new File((this.getServletContext().getRealPath("/sync/out"))+"\\"+filename+'.'+ext);
              System.out.println("Test = "+file.getAbsolutePath());
              PostMethod post = new PostMethod(uri);
            Part[] parts = new Part[] {
                new FilePart(file.getName(), file) // File you want to upload
            post.setRequestEntity(new MultipartRequestEntity(parts, post.getParams()));
            // Now perform the POST and check for errors
            HttpClient http = new HttpClient();
            int status = http.executeMethod(post);
            if (status != HttpStatus.SC_OK) {
                throw new IOException("Received HTTP status code " + status);
         public void doPost(HttpServletRequest request,
                HttpServletResponse response)
         throws ServletException, IOException {
                   doGet(request, response);
    }Line 43 is just throw new IOException("Received HTTP status code " + status);What do you mean by " then you should handle it." ? I think I handle it. It redirects to the JSP filereceived.jsp which is hosted and available on the server (tried to access it directly by entering the url and it works).
    Edited by: Foobrother on Sep 13, 2010 7:38 AM

  • Http 302 found response while consuming rest service

    Hi,
    When Sap Pi consumed rest service in receiver rest adpater, the response is as following:
    HTTP PUT call to http://host:port/backend/v2/test/test1  not successful. HTTP/1.1 302 Found
    when i tried  with rest client tool:
    firstly it said :
    Redirect  To: http://host:port/login.jsp with status: 302 HTTP/1.1 302 Found
    Redirection information has not been cached.
    the second is:
    Status
    200 OK Loading time: 22
    How can i redirect in sap PI?
    Thanks,
    Nurhan

    Can you please post some of the values you are using to connect to your Schema Service? (please redact the hostname URL for security purposes)
    You can also follow this tutorial:
    Data Loading and the Oracle Database Cloud Service
    Format is usually:
    username used to sign up
    password giving at sign up
    Service Instance URL

  • How to monitor Http Request and Response when load testing is going on

    Hi,
    can any one please let me know how to monitor http request sent and response received for each virtual ID when a load test is going on ?
    Thanks,

    You used to be able to see what the VUs "see" using the "VU Monitor" (it would only do a simple rendering of the HTML but it served it's purpose). However this was replaced (in v12 I think?) by the "VU Log". While this offers simlilar functionality, I have had problems getting to see the same level of detail. You may need to use the "debug" modes. Also check the "Content" tab within the VU Logs (it is the closest equivalent to the HTML you would see in the responses in the old VU Monitor).

  • HTTP Service XML Response?

    Hi,
    I have implemented an HTTP service to my getXML.php which produces XML output. I used Flash Builder Data Menu to do that, not write services by hand. It created a service packet, and also created an object type as return value( valueObjects). It converts responed XML file into that object type, and user can use that object to access data. However, I want to get XML file directly, I do not want that conversion. I looked at action script codes, and modify operation.resultType but it did not work. Any suggestiontions?
              _serviceControl = new HTTPMultiService("http://localhost/XMLprovider/");
             var operations:Array = new Array();
             var operation:Operation; 
             var argsArray:Array;      
             operation = new Operation(null, "getXML");
             operation.url = "getXML.php";
             operation.method = "GET";
             argsArray = new Array("s");
             operation.argumentNames = argsArray;        
             operation.serializationFilter = serializer0;
             operation.properties = new Object();
             operation.properties["xPath"] = "/";
          operation.resultType = valueObjects.SelectionXML;           
             operations.push(operation);
             _serviceControl.operationList = operations;

    You will need to modify the <Service Name> class.
    You can modify its constructor as:
    package services.srv
        import mx.rpc.http.Operation;
    public class Srv extends _Super_Srv
        public function Srv()
            var operation:Operation = _serviceControl.getOperation("getXML") as Operation;
            operation.serializationFilter = null;
            operation.resultFormat = "xml";       
    You can then get the XML from the result event as:
    protected function Operation1Result_resultHandler(event:ResultEvent):void
                    trace((event.result as XMLNode).toString());

  • AJAX HTTP Posts:  No Response problem (PT5)

    To avoid cross-scripting popups and such I am posting to the gateway'ed address. I am still a bit new to PT so forgive me if I am calling this URL something else. (space in http to avoid linking). Making a 'GET' request works like a champ with this URL. Working outside of the portal will also result in much success. But within the portal and making a 'POST' request 'myDiv' never sees content. It seems as if the readystate never gets to 4 -- only 3. Any help?
    MY CODE:url = 'h ttp://myPortalServer/portal/server.pt/gateway/PTARGS_0_123_123_0_0_123/https;/myGadgetServer;443/myApp/myForm.htm';
    postVars = 'var1=123&var2=123';
    target = document.getElementById('myDiv');
    http_request.onreadystatechange = processContents;http_request.open('POST', url, true);http_request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");http_request.setRequestHeader("Content-length", postVars.length);http_request.setRequestHeader("Connection", "close");http_request.send(postVars);
    function processContents() {if (http_request.readyState == 4) {target.innerHTML = http_request.responseText;}}

    A little trial-n-error and solved my own problem. Just removed this line and all works fine. Interesting...
    http_request.setRequestHeader("Connection", "close");
    vr, Rich

  • 4710 HTTPs VIP Slow Response

    Hi All
    I am having problems with HTTPs load balanced connections in one arm mode. When we test direct to the servers in the serverfarm, it is 4 times faster than connections through the VIP to the same servers. I have configured ICMP probes direct to the servers, and an HTTPs probe in the serverfarm itself. I'm using predictor 'least bandwidth. Attached below is the config.I have compared this config to another client site utilising the same design and it looks fine. Also, when we perform the same test at the other client site, we have no problems.... connections direct to the servers and through the LB are the same speed.
    Does anybody have any ideas ?

    Hi,
    First thing to be checked would be whether the ACE is the device responsible for the delay or not. With this in mind, I would recommend you to do a traffic capture on the ACE vlan while doing a test connection. With this capture, you should be able to see where is the delay coming from.
    If you need help analyzing this, you can always open a TAC service request
    Regards
    Daniel

  • IE HTTP Plugin - no response after click on "Start Transaction"

    Hello,
    I try to record some portal performance traces with the E2E Trace Tool and IE HTTP Plugin. I'm able to start the plugin (using latest version) but when I click on "Start Transaction" the IE or the plugin window is no longer responding to further input. The process is also busy with 100 %.
    Looks like a classic app crash.
    Has someony successfully used the IE Plugin for E2E trace and a solution for my problem?
    Best regards,
    Frank

    Hi Frank,
    I am also facing same issue. Did you got solution for this issue? I tried HTTP plugin with SP18 from my laptop but even that is also not working.
    Do we need to start this plug in from remote terminals (like Jump server so there wont be firewall in-between SAP server and remote desktop). Please let me know about this.
    Thanks

  • How to check HTTP response code

    Hi,
    we have the following scenario:
    HTTP -> PI -> HTTP
    So it's easy to use HTTP or SOAP-adapter here.
    But we have to inform the sender of the message immediately about the successfull delivered message.
    So we have to check if response code 200 was sent from the receiver of the message and inform the sender about this.
    I can't find any possibility how I can check this in PI 7.1 (neither by using HTTP adapter nor by using SOAP-adapter). There is no acknowledgement mechanism (I can't find any).
    Does anybody know how we can solve this?
    Thanks for your replies.
    Regards
    Thorsten

    If the response has to travel from Receiver to Sender then you have to make use of SYNC mode of processing or use a BPM.
    In Async flow the Sender will get a HTTP 200 OK response from the sender adapter of SAP XI/ PI.
    Regards,
    Abhishek.

Maybe you are looking for

  • PC Suite/no device recognition

    I have downloaded the latest version of PC Suite 6.85 and installed on my PC (windows XP home edition service pack 2) My phone is a Nokia 6233. I follow the procedure and connect to the PC with the USB cable supplied. After a while I get the message

  • HELP needed in SDM

    Guys i m v new to this......i want the copy of cisco SDM is it free...??? i went to cisco website an dserached for it there are like 10's of them which one shd i download (if its free) and guys i have 2811 router will it fits on that do i have to dow

  • Don't Know what's wrong ?

    I have had my macbook pro for about 2 years right now, and I haven't had any major problems with it so far. I had some battery issues but that was because I updated to the new OS and it is not as bad anymore. I also had to get my sata cable replaced

  • Busines partner type field

    Hi  Gurus, I  need a clarity in a field name Business partner type.In my interaction center I dont  see this.I wud like to  select if its a person,organization or if its a group.But this particular field is not visible in my screen.Iam using UTIL_IC

  • Mac Mail - Add Account Options

    My mac mail will not give me "account type" options. How do I get the option to select an account type. When I go to preferences and click on the "+" button to add an account I just get the screen that says enter your name email address and password.