Why incomplete HTTP Response by iplanet Proxy ( Few cases ) ???

Hi All,
I create a " HTTP CONNECT "connection through iPlanet proxy server, it works fine for few connection ,and fails for some.
Request
"CONNECT 192.168.0.67:443 HTTP/1.1\r\r\r\n"
Success Response
HTTP/1.0 200 Connection established \r\n
Proxy-agent: Sun-ONE-Web-Proxy-Server/3.6-SP5 \r\rn\r\n
Incomplete Response
HTTP/1.0 200 Connection established \r\n\r\n
Once i get a incomplete response , If i try to write data on the socket, it disconnects.
Can anybody explain, when do i get the incomplete HTTP response. If you need further info fell free to ask.
Regards,
Manjesh

I have configured iPlanet 3.6 on Windows 2003 server with admin port as 10000 and Client connection on port 8000.
I m Able to use client port thru 8000 but when i goto particular URL i.e http:\\I.P:10000 it do ask for admin user name aND password.. and after that it show "page cannot be displayed" .. where as if i try on same server to connect to admin panel thru netscape . once it ask the user name password for iPlanet and after that is keeps asking user name password in WINDOWS STYLE.. liek some time it ask for IIS .. i dont know why and overall i am not able to connect to it on admin port ..
pls provide some solution if any one have faced similar problem..

Similar Messages

  • How to see http response from an axis web service call (Eclipse)

    Hello,
    I would like to see the raw http response which is returned from web service calls. I have a dynamic web project in Eclipse which uses a local instance of Tomcat 6. I'm using all of the default setting for a top-down web service generated from a WSDL file. I've generated the client using the built-in "generate client" using default settings.
    I've tried using the Eclipse plugin TCP/IP monitor and apache's TCPMON, but I am only able to see the http request, not the http response returned from the web server I am querying.
    I've seen some sparse documentation outlining how to use logging handlers and a client-config.wsdd file, but I haven't been able to get that working.
    So to recap, I'm looking for a way to view raw http responses using a web service client and server generated from a WSDL file in eclipse. I don't mind creating a new project using different code-generating libraries if someone has an easy way to do this using a different configuration.
    Thanks very much,
    Craig

    908794 wrote:
    Hello,
    I would like to see the raw http response which is returned from web service calls.Why the HTTP response? Isn't the soap message body enough? If it is, you probably want to check out SoapUI.
    A simple google query for "apache axis2 http response" also return this article:
    http://blogs.cocoondev.org/dims/archives/004668.html
    And finally, you did go through the Axis2 website right? It has a wiki with a rather staggering amount of articles in there.
    http://wiki.apache.org/ws/FrontPage/Axis2/

  • HTTP Response 407

    Hi,
    I work with the Swing. I have a proxy, and all my ports are not opened.
    So, If I try with all my ports opened -> everything is good.
    Otherwise I have this error.
    Which port is used by the getInputStream method?
    Do I am able to pass a port in parameter to change the default used?
    If not where the number port is declared?
    Do I have an other solution, If I am not able to open my port? I have a lot of information to transport..
    Thank you

    407 is the HTTP response for the Proxy Authentication Required so it looks like your proxy server is setup to force user authentication. If you are using URLConnection to open the http connection then you'll need to set an Authenticator so that the user is prompted for the proxy username/password. See java.net.Authenticator.

  • Thread will hang if no http response from TP

    i found out 1 case that Oracle B2B thread will hang if it does not receive HTTP reponse from TP after posting messages to TP.
    we use Async MDN.
    example 1:
    i send ORDERS to TP and expect HTTP response to close the transaction but my TP failed to send HTTP response due to proxy problem. then that particular thread will remain like that forever and no timeout.
    example 2:
    i receive ORDERS from TP and send the MDN back to my TP, again the thread will hang forever if no HTTP response from TP.
    eventually all the thread will hang and no more messages can be process, then i have to restart the B2BService to clean all the hanged thread.

    Please get us the b2b.log. And, information like midtier shiphome (version) used also would help.
    If you are running it on linux, please recreate the scenario and get a thread dump. Here's the command,
    kill -3 <B2BServer process id>
    You could reach me at [email protected]
    Thanks,
    Sinkar

  • ABAP Proxy HTTP response contains status code 401

    We have a client ABAP proxy running in a program successfully in our development system. Today I transported this to our Test system. When I tested, there were no messages in the adapter engine pipeline.
    One of my colleagues discovered that when running SXMB_MONI on the Application system (_not_ the XI system), the XML queue there shows the message with an error, the error being:
    HTTP response contains status code 401 with the description Unauthorized
    I have looked at quite a few posts here with this error; the PIAPPLUSER is not locked, Integration engine is configured the same way in both Development and Test, but I cannot figure out why this is happening.
    Any assistance more than welcome!
    BR,
    Tony.

    hi,
    Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
    • If the error is in XI Adapter, then your port entry should J2EE port 5<System no>
    • If the error is in Adapter Engine
    –then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
    • May be wrong password for user XIISUSER
    • May be wrong password for user XIAFUSER
    – for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message
    Thanks
    Swarup

  • Reset the HTTP response code in OSB for proxy service

    Hi,
    I created a HTTP proxy service in ALSB with any XML message option. There are some business scnearios for which i need to send a custom error message in the HTTP body. I am replacing the $body variable with the error message and sending reply with success.As i am using reply with success it sends a HTTP response status code as 200 Ok.
    However based on different error conditions i want to send appropraite http response code. How can this be achieved?

    I would like to share the solution so that it would be useful to all the users of the forum.
    There is a http:http-response-code element in the $inbound variable which is optional element. You need to insert this element to the $inbound using the insert action. Here is the extract of the code:
    Insert [<http:http-response-code>401</http:http-response-code>] [ as last child of ] [./con:transport/con:response] in [inbound]
    Please note namespace con belongs to "http://www.bea.com/wli/sb/context".
    Edited by: [email protected] on Aug 12, 2009 10:47 PM

  • Error with Proxy - Soap sync scenario - "invalid http response:HTTP/1.1 5"

    Hello,
    I'm working on a PI scenario as displayed below:
    Proxy <-> ECC <-> Soap
    I've already imported the WSDL provided by 3th party and mapped one of the actions of the interface.
    In the PI configuration I`d created the Scenario, using a Soap Receiver communication channel, passing only the URL and the action (no more options used).
    When I`m trying testing using SPROXY or Runtime Workbench, the error bellow is displayed, and no receive message is created:
    "com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid http response: HTTP/1.1 5"
    Someone knows the error cause?
    Thanks,
    Ana Paula Lavieri

    Hello,
    "com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid http response: HTTP/1.1 5"
    HTTP 1.1 is not natively supported by standard SOAP or Plain HTTP Adapter, you should use SOAP Axis for that. See SAP Note 1039369 - FAQ XI Axis Adapter, under Receiver Adapter General -> 16. Can I use HTTP 1.1? Otherwise, you would have to ask the third-party to use HTTP 1.0 instead.
    Hope this helps,
    Mark

  • [Forum FAQ] How to display an image from Http response in Reporting Services?

    Question:
    There is a kind of scenario that users want to display an image which is from URL. In Reporting Services, if the URL points to an image file, we can directly display it by typing the URL in embedded image. However, some URLs are just sending Http requests
    to server side, then redirect to another position and the server will return the image. For these kind of URLs, Reporting Services can’t directly render the image from Http response.
    Answer:
    To achieve this goal, we can add custom code into the report. Pass the URL as argument into our custom function so that we can create HttpRequest and get the HttpResponse. Then we can use custom function to return the Bytes() from the HttpResponse and render
    it into an image in report.
    Ps: In Reporting Services, it only support drawing Bytes() array into image, so we need to have our custom function return Bytes array.
    Add the assembly and custom code into the report.
    Public shared Function GetImageFromByte(Byval URL as String) As byte() 
                    Dim photo as System.Drawing.Image 
             Dim Request As System.Net.HttpWebRequest 
           Dim Response As System.Net.HttpWebResponse 
                  Request = System.Net.WebRequest.Create(URL)         
                     Response = CType(Request.GetResponse, System.Net.WebResponse) 
                 If Request.HaveResponse Then  
                      If Response.StatusCode = Net.HttpStatusCode.OK Then                    
                           photo = System.Drawing.Image.FromStream(Response.GetResponseStream) 
                     End If 
                 End If 
                  Dim ms AS System.IO.MemoryStream = new System.IO.MemoryStream() 
                 photo.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg) 
                    Dim imagedata as byte()  
                    imagedata = ms.GetBuffer()  
                    return imagedata
    End Function
    Grant the permission for assemblies. 
    Go to: 
    C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\RSpreviewPolicy.config 
    C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer\rssrvpolicy.config
    Give “FullTrust” for Report_Expressions_Default_Permissions.
    Insert an image into report. 
    Expression:
    =Code.GetImageFromByte("https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSrVwPoAtlcA2A3KaiAJi-XjS4icr1QUnKYr7uzpX3IL3g2GPisAQ")
    The Result looks below:
    Applies to:
    Reporting Services 2005
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012
    Reporting Services 2014
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    >
    Hi, I'd like to display a dynamic image from the web inside a JLabel or any other swing component it could work in. I've been looking on the Swing tutorials and others forums, all I can have is that a JLabel can load an Icon object, defined by an image URL, but can this URL be like "http://xxxxx/image.jpg" somehow or can it only be a local image URL?>
    I do not know why you start talking about an image on the web then go on to show concerns about whether it will work for a 'local' URL.
    But perhaps this answer will cover the possibilities.
    So long as you can from an URL to the image, and the bytes are available for download (e.g. some web sites wrap a direct call to an image in HTML that embeds the image), the URL based icon constructors will successfully load it.
    It does not matter if that URL points to
    - a web site,
    - a local server ('localhost'),
    - an URL representation of a File on the local file system, or
    - it is inside a Jar file that is on the application's run-time classpath.
    How you go about forming a valid URL to a 'local resources' (or indeed what you regard as local resources) is another matter, depending on the form of the project, and how the resources are stored (see list above).
    Probably the main reason that examples use images at a hard coded URL on the net is that it makes an 'image example' self contained. As soon as we compile and run it, we can see the result. I have posted a few examples like that on these forums.
    Edit 1:
    BTW - Welcome to the Sun forums
    Edited by: AndrewThompson64 on Apr 21, 2009 12:15 PM

  • Server returned HTTP response code: 503 for URL

    I was deploy my webcenter application and was working fine, but I updated my Webcenter Framework plugin in Jdeveloper to version 11.1.2.0.091030.1847 and now when I try deploy my application error 503 occurr:
    [05:06:55 PM] Weblogic Server Exception: weblogic.deploy.api.internal.utils.DeployerHelperException: The source 'C:\Users\nmaia\AppData\Local\Temp\app8.ear' for the application 'app8#V2.0' could not be loaded to the server 'http://it7-srv-lnx-wcenter:7002/bea_wls_deployment_internal/DeploymentService'.
    Server returned HTTP response code: 503 for URL: http://it7-srv-lnx-wcenter:7002/bea_wls_deployment_internal/DeploymentService
    [05:06:55 PM] See server logs or server console for more details.
    [05:06:55 PM] weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260041]Unable to upload 'F:\Desenvolvimento\JDev\Application8\deploy\app8.ear' to 't3://it7-srv-lnx-wcenter:7002'
    [05:06:55 PM] #### Deployment incomplete. ####
    [05:06:55 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    My Weblogic is version 11g(10.3), can anyone help me?
    Thanks,

    To solve my problemn I do these steps:
    - Uninstall jdeveloper;
    - Delete jdeveloper folder;
    - Install Jdeveloper, version 11.1.1.2;
    - Downloaded the plugin to Webcenter: http://download.oracle.com/otn/java/jdeveloper/1112/extensions/oracle.webcenter.framework_bundle.zip
    - Remove my proxy from Jdev ( Tools -> Preferences -> Web Browser and Proxy)
    And works fine.
    Thks anyway.
    []'s

  • No response in sysnchronous proxy interface,not delivering

    Hi All,
    I have a synchronous contract interface with http to proxy scenario. In few cases like when contract has max line items, it is not delivering to target system and message in RWB Integration engine it is showing  status as to be delivered delivered., also showing in XI sxmb_moni entry as log version  and no response. When messages with few line items its working fine without any issue and getting response back as well. Also , i have same issue in http to rfc scenario.
    Can you please help me to fix this issue, how to make these pending messages in XI to deliver to tartget system and get response back.
    Thanks in advance.
    Regards,
    Rajesh

    First thing is XI is not supposed to use for Mass data uploads.
    for your problem...
    did you check Moni on SAP side? check moni of SAP for any errors? if you don't find anyting...go to SMQ2 and check the queues, if you find messages struck in queue, delete them..if you face same problem after refreshing the queue then ask your basis to increase the number of queues.if still your problem presists, then only solution is sending data in small chunks.
    i mean you have split data into parts and send it...hope your problem will be solved...

  • Server returned HTTP response code: 500

    Hi,
    First time in here, so please be patient...
    This is the error message I get on the Java Console.
    I suspect that the problem is related to the DB. (MYSQL)
    Can someone elaborate more on this error message? It is the first time I encounter such an error.
    Any help will be appreciated.
    2008-06-11 11:55:21,312  Chart - createLowerChart(int) - end
    2008-06-11 11:55:21,312  Chart - createLowerCharts() - end
    2008-06-11 11:55:21,328  Chart - populateToolBar(JToolBar) - start
    2008-06-11 11:55:21,359  AxisZoomHistory - addHistoryListener(HistoryListener) - start
    2008-06-11 11:55:21,359  AxisZoomHistory - addHistoryListener(HistoryListener) - end
    2008-06-11 11:55:21,359  BackwardAction - computeEnabled() - start
    2008-06-11 11:55:21,359  BackwardAction - computeEnabled() - end
    2008-06-11 11:55:21,375  AxisZoomHistory - addHistoryListener(HistoryListener) - start
    2008-06-11 11:55:21,375  AxisZoomHistory - addHistoryListener(HistoryListener) - end
    2008-06-11 11:55:21,437  Chart - populateToolBar(JToolBar) - end
    2008-06-11 11:55:21,609  Chart - installDefaultInteractors() - start
    2008-06-11 11:55:21,609  Chart - installDefaultInteractors() - end
    2008-06-11 11:55:21,609  Chart - loadPatient(JFrame) - start
    2008-06-11 11:55:21,625  Chart - startLoading() - start
    2008-06-11 11:55:21,625  Chart - startLoading() - end
    network: Connecting https://xxx.xxx.xxx.xxx/patientfile/PatientFile with proxy=DIRECT
    start : calling patient servlet 16
    end : called patient servlet 16
    network: Connecting https://xxx.xxx.xxx.xxx/patientfile/PatientFile with cookie "__utma=212142292.1094118687.1212604421.1213197694.1213199701.38; __utmz=212142292.1212604421.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utmb=212142292; appname=e4095ce3ceadc7b3d8900bd7ba07113c; __utmc=212142292"
    java.io.IOException: Server returned HTTP response code: 500 for URL: https://xxx.xxx.xxx.xxx/patientfile/PatientFile
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
         at utility.ServletConnection.GetPatientFile(ServletConnection.java:128)
         at graphModule.Chart.loadPatient(Chart.java:1849)
         at graphModule.Chart.init(Chart.java:481)
         at graphModule.AbstractChartExample.init(AbstractChartExample.java:202)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
         at java.util.Vector.get(Unknown Source)
         at graphModule.Chart.loadPatient(Chart.java:1856)
         at graphModule.Chart.init(Chart.java:481)
         at graphModule.AbstractChartExample.init(AbstractChartExample.java:202)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    basic: Exception: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
    java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
         at java.util.Vector.get(Unknown Source)
         at graphModule.Chart.loadPatient(Chart.java:1856)
         at graphModule.Chart.init(Chart.java:481)
         at graphModule.AbstractChartExample.init(AbstractChartExample.java:202)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    ...

    Why do you think this an appropriate forum to discuss a PHP and/or Apache configuration error?

  • HTTP response code 403 (forbidden)

    Hi, my name is Sebastiano and I'm a student.
    I'm developping a Server-Client application for Web in 100% Java.
    My application comunicates with a browser (Explorer) through a socket to satisfy http request.
    So my application is between the browser and the web (like a proxy).
    My application create an HttpUrlConnection with the URL contained in the http request getting from the browser, receive the response (the content of the url requested) from this URL and after doing some task with it, send it to browser as response.
    However some site (in particular www.google.com when my application send to it a query of research) gives to my application http response code 403 (forbidden) raising an "java.io.IOException: Server returned http response code: 403 for URL ...".
    There is someone who can help me ... may questions are:
    Why my application get this respone code?
    There is something to set in HttpUrlConnection to avoid this response?
    How can I avoid this response?
    Thank you very much for yuor reply,
    Sebastiano.

    Read this page:
    http://www.google.com/terms_of_service.html
    Especially the section headed "No Automated Querying".

  • Iplanet proxy plugin issue; simple but iam confused; Please Help !!

    Hi All,
    Iam using Iplanet proxy plug-in with BEA weblogic6.1. In simple terms. the iplanet webserver proxies any dynamic requests to the application tier(wls6.1)
    And we have configured the proxy plug-in to show the debugging information on to __WebLogicBridgeConfig page.
    Now, could somebody explain more about the "requests:" and "successful requests:" that is been shown on the iplanet proxy plugin's __WebLogicBridgeConfig ???
    I mean i understand that "requests:" are the Total # of request that proxy plugin received. And "successful requests:" are the # of requests that went pass through to the wls server. But what happen to the requests which are UN successful requests .....i have seen the fugures like this:
    "requests:2000" "successful requests:1900"
    then what happened to these 2000-1900=100 requests.....why is there difference and why does this happen???
    how can calculate these UNsuccessful requests in my iplanet proxy logs ???
    please advise. I would really really appreciate your help on this.
    -san

    In more simple terms and to eloborate more on what iam asking, how can an HTTP request become unsuccessful ?
    Again, more specifically, is __WebLogicBridgeConfig shows information of unsuccessful for the application tier OR any unsuccessful requests for the web tier ?
    -sangita

  • Doubts about HTTPS requests and Java proxy

    Hello,
    I need help about SSL connections and Java.
    I'm developing a HTTP/S proxy with Java. To test my proxy, I use Firefox. I configure the proxy option in the browser. The proxy works good with HTTP requests, but with HTTPS requests doesn't work and I don't know why.
    I explain the steps that I do for a HTTPS request:
    * The browser sends a CONNECT message to the proxy.
    I check that the proxy receives the CONNECT request correctly.
    * The proxy establish a secure connection with the content server.
    I use an SSLSocket to connect with my content server, and the SSL handshake is succesful.
    * The proxy sends a 200 HTTP response to the client:
    I send
    HTTP/1.0 200 Connection established[CRLF]
    [CRLF]
    to the application client (Firefox)
    * The proxy sends/receive data to/from Firefox/content server
    I have a Socket between Firefox and my proxy, and a SSLSocket between my proxy and my content server. I use two threads to communicate the client and the server.
    Java code:
    //Thead server-->proxy-->application(Firefox)
    ThreadComm tpa = new ThreadComm(bis_serverSSL, bos_app);
    //Thread application(Firefox)-->proxy-->server
    ThreadComm tap = new ThreadComm(bis_app, bos_serverSSL);
    The "tpa" thread reads from the SSLSocket between the proxy and the server and sends data to the Socket between the proxy and Firefox.
    The "tap" thread reads from the Socket between the proxy and Firefox and sends data to the SSLSocket between the proxy and the server.
    This is the class ThreadComm:
    public class ThreadComm extends Thread{
        private BufferedInputStream bis = null;
        private BufferedOutputStream bos = null;
        public ThreadComm(BufferedInputStream bis, BufferedOutputStream bos) {
            this.bis = bis;
            this.bos = bos;
        @Override
        public void run() {
            int b = -1;
            FileOutputStream fos = null;
              do {
                   try {
                        b = bis.read();
                        System.out.print((char) b);
                        fos.write(b);
                        bos.write(b);
                        bos.flush();
                   } catch (Exception ex) {
                        Logger.getLogger(ThreadAplicacionProxy.class.getName()).log(Level.SEVERE, null, ex);
                        //b=-1;
              } while (b != -1);
        }But this doesn't work and I don't know why.      
    I have an Apache server with the mod_ssl enabled as content server, I can send requests (with Firefox) to the port 80(HTTP request) and 443(HTTPS request) without use my proxy and it works. If I use my proxy, HTTP request works but with HTTPS request doesn't work, I look the log of Apache and I see:
    [Tue Apr 27 17:32:03 2010] [info] Initial (No.1) HTTPS request received for child 62 (server localhost:443)
    [Tue Apr 27 17:32:03 2010] [error] [client 127.0.0.1] Invalid method in request \x80\x7f\x01\x03\x01
    [Tue Apr 27 17:32:03 2010] [debug] ssl_engine_kernel.c(1770): OpenSSL: Write: SSL negotiation finished successfully
    [Tue Apr 27 17:32:03 2010] [info] [client 127.0.0.1] Connection closed to child 62 with standard shutdown (server localhost:443)
    Why it say? Invalid method in request \x80\x7f\x01\x03\x01 , my proxy sends the data that the Firefox sends.
    I think than I have follow the explanations of [1] but doesn't work, I have problems in implementation in Java but I don't know where.
    I appreciate any suggestions.
    Thanks for your time.
    [1] http://www.web-cache.com/Writings/Internet-Drafts/draft-luotonen-web-proxy-tunneling-01.txt

    ejp, I have checked the socket between the proxy and server and ... You are right! , I was using the port 80 instead of the 443 (incredible mistake!, I'm sorry). I was convinced that I was using the port 443... Well, is a little step, but I still have not won the war :)
    If I see the log files of Apache, We can see that something goes wrong.
    localhost-access.log
    >
    127.0.0.1 - - [04/May/2010:17:44:48 +0200] "\x 80\x 7f\x01\x03\x01" 501 219
    >
    localhost-error.log
    >
    [Tue May 04 17:44:48 2010] [info] Initial (No.1) HTTPS request received for child 63 (server localhost:443)
    [Tue May 04 17:44:48 2010] [error] [client 127.0.0.1] Invalid method in request \x80\x7f\x01\x03\x01
    [Tue May 04 17:44:48 2010] [debug] ssl_engine_kernel.c(1770): OpenSSL: Write: SSL negotiation finished successfully
    [Tue May 04 17:44:48 2010] [info] [client 127.0.0.1] Connection closed to child 63 with standard shutdown (server localhost:443)
    >
    I think that this happens because Apache receives the data without decrypt, this is the reason because in the log we can see the "Invalid method in request \x80\x7f\x01\x03\x01". This supposition is true?
    ejp, you say that the "Termination is quite tricky." I have changed my code following yours suggestions (using the join and the shutdownOutput) but the threads don't die.
    I explain you what I do:
    (in time 1)
    I launch the thread (threadFirefoxToApache) that reads data from Firefox and sends to Apache.
    I launch the thread (threadApacheToFirefox) that reads data from Apache and sends to Firefox.
    (in time 2)
    threadFirefoxToApache sends the firts data to the server.
    threadApacheToFirefox is waiting that the server says something.
    (in time 3)
    threadFirefoxToApache is waiting that Firefox says something.
    threadApacheToFirefox sends data to Firefox.
    (in time 4)
    threadFirefoxToApache is waiting that Firefox says something.
    threadApacheToFirefox is waiting that Firefox says something.
    and they are waiting... and never finish.
    In time 2, these first data are encrypted. The server receives these data and It doesn't understand. In time 3, the server sends a HTTP response "501 Method Not Implemented", here there is a problem because this data must be encrypt. According to the documentation that I read, the proxy cannot "understand" this data but I can "understand" this data. What's happen?
    Firefox encrypt the data and send to the proxy. This It's correct.
    The proxy encrypt the data another time, because I use the SSLSocket to send the data to the server. Then the server receives the data encrypted two times, when decrypt the data gets the data encrypted one time. And this is the reason why the server doesn't understand the data that sends Firefox. It's correct? May be.
    Then If I want that the server receives the data encrypted one time I need to use the socketToServer, It's correct?
    I will supposed that yes. If I use the socketToServer, the proxy doesn't understand nothing, because the data received from the socketToServer are encrypted (I only see simbols), but the Apache log says that there is a problem with the version? (If I use the socketToServer the threads die)
    >
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 read finished A
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 write change cipher spec A
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 write finished A
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 flush data
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_kernel.c(1756): OpenSSL: Handshake: done
    [Tue May 04 19:55:42 2010] [info] Connection: Client IP: 127.0.0.1, Protocol: TLSv1, Cipher: RC4-MD5 (128/128 bits)
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_io.c(1817): OpenSSL: read 5/5 bytes from BIO#29bd910 [mem: 29ea0a8] (BIO dump follows)
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_io.c(1750): -------------------------------------------------------------------------
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_io.c(1789): | 0000: 80 7f 01 03 .... |
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_io.c(1793): | 0005 - <SPACES/NULS>
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_io.c(1795): ------------------------------------------------------------------------
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_kernel.c(1770): OpenSSL: Write: SSL negotiation finished successfully
    [Tue May 04 19:55:42 2010] [info] [client 127.0.0.1] SSL library error 1 reading data
    [Tue May 04 19:55:42 2010] [info] SSL Library Error: 336130315 error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_kernel.c(1770): OpenSSL: Write: SSL negotiation finished successfully
    [Tue May 04 19:55:42 2010] [info] [client 127.0.0.1] Connection closed to child 63 with standard shutdown (server localhost:443)
    >
    What option is the correct? I need use the SSLSocketToServer or socketToServer to send/read the data to/from the server?. Use the SSLSocket has sense because the data travel in a secure socket, but use the Socket also has sense because the data are encrypted and they are protected by this encription. It's complicated...

  • Deploying simple HTML page to WLS 10.3.6 fails with HTTP response code: 502

    - I created a simple HTML page and want to test deployment to WLS 10.3.6 on Linux. I created WAR file and when using JDev 11.1.1.4.0 to deploy to WebLogic Server, it fails to deploy. Full errors/messages are:
    [04:40:56 PM] ---- Deployment started. ----
    [04:40:56 PM] Target platform is (Weblogic 10.3).
    [04:40:59 PM] Retrieving existing application information
    [04:40:59 PM] Running dependency analysis...
    [04:40:59 PM] Building...
    [04:40:59 PM] Deploying profile...
    [04:40:59 PM] Wrote Web Application Module to C:\JDeveloper\mywork\Simpe_HTML\Project1\deploy\SimpleHTML.war
    [04:41:01 PM] Deploying Application...
    [04:41:01 PM] Weblogic Server Exception: weblogic.deploy.api.internal.utils.DeployerHelperException: The source 'C:\DOCUME~1\NGOLDR~1.LAT\LOCALS~1\Temp\SimpleHTML.war' for the application 'SimpleHTML' could not be loaded to the server 'http://dupe:7031/bea_wls_deployment_internal/DeploymentService'.
    Server returned HTTP response code: 502 for URL: http://dupe:7031/bea_wls_deployment_internal/DeploymentService
    [04:41:01 PM] See server logs or server console for more details.
    [04:41:01 PM] weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260041]Unable to upload 'C:\JDeveloper\mywork\Simpe_HTML\Project1\deploy\SimpleHTML.war' to 't3://dupe:7031'
    [04:41:01 PM] #### Deployment incomplete. ####
    [04:41:01 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    - The Application Server connection is accessible within JDev. 'dupe' is my server name and it's running RH 5.4
    - Any help or suggestions appreciated, although I've already asked Mr. Google without success.
    Thanks in advance,
    Neville

    HTTP response code 502 means temporarily overloaded.
    I would say that we have to check the deployment error on the weblogic server logs located at <Domain_Home>\servers\dupe\logs\dupe.log
    Check for any errors like OutOfMemory etc OR any deployment failures.
    If possible, try accessing the console at http://dupe:7031/console
    Check if you are able to successfully deploy your application using the console.
    From the error it looks like the "dupe" server might not be healthy. So, the log file would really help here to get clues into the root cause.
    Arun

Maybe you are looking for