Weblogic 10.0 sends chunked encoding with a HTTP 1.0 request

This took ages to find, it was only the mod_weblogic's Debug ALL parameter that pointed me in the right direction because it printed all the headers in each stage.
Server:
Apache 2.0 with mod_weblogic and SSL (Dev: Windows XP SP2)
Apache 2.2 with mod_weblogic and SSL (Prod: Unix/Solaris/Linux)
Weblogic 10.0 running on SPARC Solaris 9
Proxy:
Squid/2.6.STABLE22 (Prod: Unix/Solaris, Dev:Windows XP SP2)
Client:
IE 6.0.2900.2180
Windows XP SP2
Under IE if a user doesn't have both of the "Use HTTP 1.1" and "Use HTTP 1.0 through proxy connections" selected they will get an error message when trying to download a file sent with "Content-disposition attached" header through a proxy server and over SSL.
This is because IE is sending a HTTP 1.0 request to weblogic and weblogic is responding with HTTP 1.1 "Transfer-encoding: chunked" response which is causing IE 6 to fail to display the error. It manifests itself as an 'apache bridge error'.
If either of the other two requirements of a proxy server or SSL aren't there then IE handles it properly.
Workaround is to disable chunked transfer for that particular server. In WLST set /Servers/<server>/WebServer/<server>/ChunkedTransferDisabled = 'true'
Any further information of a patch or additional settings would be appreciated.
This seems less than ideal as some of the reports are quite large and would benefit from chunked transfer particularly those that use the correct IE settings and those using Firefox.

Does your MDB require transactions ? If so you need to XA enable the connection factory. Looks like you are using a transactional MDB with non XA connection factory.

Similar Messages

  • How can i send xml file with a http servlet request

    Hi
    Please tell me how can I send a xml file into http servlet request.
    I have a servlet(action) java file.From this servlet I have generate a xml file. Now I need to send that xml file to another servlet with http servlet request object.
    Dave.

    When you say you have generated an XML file what do you mean?
    Is it a file stored on disk? Then pass the file path as a string to the servlet.
    Is it stored in memory as an object? The pass a reference to the object to the servlet.
    Or are you asking how to communicate between servlets?
    Look in the JavaDocs for the RequestDispatcher class. You can use this class to forward the request to another servlet. Data can be passes using the RequestDispatcher by storing it as attributes using the request getAttribute and setAttribute methods. Also described in the JavaDOcs.
    http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/RequestDispatcher.html

  • Sending an Email with an attachment for all the Customers

    Hi friends,
    How can i send an email with an attachment to the customers email address.
    the attachment will be in doc format.
    the data which i am sending must be in a TABLE format
    withe 5 columns.
    Having an Header
    and each column with a column heading
    Please guide me.
    Thanks in Advance,
    Ganesh.

    http://www.sap-img.com/abap/sending-email-with-attachment.htm
    Sending mail to an external maild with PDF attachment.
    Creating a PDF attachment and send it via Email
    Sending E-Mail from ABAP - Version 610 and Higher - BCS Interface
    How to send a ttachment with email.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/abap-Sendthespooldatatoanemail+address.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/convertSpoolrequesttoPDFandsendase-mail
    Friend just have a look in the forum itself, there are many posts for ur query, you definetly get exact solution no need to wait for answers/solutions.
    All the best

  • Sending an email with pdf attachment in Ecc6

    we were in 4.6 c and recentely upgraded to ECC6. we have a program which we are sending email with pdf attachments. now it is breaking, we are able to display the pdf in the screen, but once it became the attachment , it is not going.
    we are running the program in forground and not reading the spool and sending it. any idea

    http://www.sap-img.com/abap/sending-email-with-attachment.htm
    Sending mail to an external maild with PDF attachment.
    Creating a PDF attachment and send it via Email
    Sending E-Mail from ABAP - Version 610 and Higher - BCS Interface
    How to send a ttachment with email.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/abap-Sendthespooldatatoanemail+address.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/convertSpoolrequesttoPDFandsendase-mail
    Friend just have a look in the forum itself, there are many posts for ur query, you definetly get exact solution no need to wait for answers/solutions.
    All the best

  • Steps to UTF-8 Encoding with Oracle 8i and Weblogic 6.1SP1

    What are the Steps to UTF-8 Encoding with Oracle 8i and Weblogic
              6.1SP1?
              I have:
              - Oracle 8.1.5 database created with character set=UTF8 and national
              character set=UTF8
              - Weblogic 6.1SP1 without any encoding mechanism set
              (though I did play with
              <jsp-param><param-name>encoding</param-name>
              <param-value>UTF-8</param-value>
              </jsp-param>
              in the weblogic.xml for a while though it seemed not to make a
              difference)
              - JSP pages set to content='text/html; charset=UTF-8'
              - JSP form POSTs set to enctype="UTF-8"
              I can copy and paste Chinese Kanji from a UTF8 encoded web page into
              form text boxes but when I post the data it comes back as different
              Kanji. Then once it is posted the Kanji stays the same on repeated
              posts. The same Kanji text also looks different when viewed in a form
              text box than when viewed as straight text on the page.
              Is there anything else? Or am I already encoding characters twice?
              Please help!
              Mel Christie
              

    Hi Experts,
    Please correct me if am asking you the question in wrong way.
    I have ARCGIS with oracle database 10gr2 in production server.
    My work is to connect AUTOCAD S/W (client computer which is connected in LAN) to ARCGIS in order to access the toposheets available in SDE user.
    When iam trying to connect iam getting this error:The specified credentials are not valid or provider is not able to establish a connection.
    I checked the path to production server by pinging and user/passcode too but not helpful.
    Please help me in this , very urgent.
    Thanks.
    Edited by: user13355644 on Jul 3, 2010 3:53 AM
    Edited by: user13355644 on Jul 22, 2011 2:55 AM

  • HTTP 1.1 Chunked Encoding

    I have a problem when using Documentum's UCF to transfer large files (4GB) when deployed on WebLogic 8.1 SP4. After some investigation, I have found that this is likely a problem with WebLogic. Has anyone else had problems transfering large files using chunked encoding? How were these issues resolved? Is this problem fixed in WL 8.1 SP5? I would appreciate any solution other than turning off the chunked encoding.

    HTTP 1.1 chunked encoding is supported Documentum 5.3 sp2 and above. I would strongly suggest that you open a case with EMC - Documentum on this particular issue. There were alot of issues with UCF in both 5.3 and 5.3 sp1.
    Good Luck

  • Chunked encoding

    Hi
    Does any one know about how chunked encoding work, and how to implement it on Java.
    any guidance will be great appreciate.

    Thanks for the reply
    the URLConnection is great but it can't do what want, eg I can get or set any cookie, which I needed to maintain the persistent state that so call session, I can't keep the connection alive as it close every time, that why I need to implement my own http connection class, I have overcome the chunked problem, the program work for some web server eg tomcat apache, but with the IIS I have some problem with the received content length, which the server tell me is more then what I actually read, anyway the real prblem that keep boring me is that even I send exact same header (except the Accept-Encoding: gzip, deflat, which I think is not important) as the browser to the server, but it just response me a 404 not found or 400 bad request, the same request work on both IE and firefox, I wonder is there any secret between them, anyone who has the similar experience would like to share .
    Thanks in advence.

  • When i send an email with greek characters in the body, the recipient receive it in an unreadable form.

    When i send an email with greek characters in the body, many recipients (not all) cannot read it.
    At the same time when i use the internet mail it can be read successfully by the recipient.
    I have already checked the encoding settings in the Fonts in order to be "unicode (UTF-8)".
    What else can i check?
    Thanks in advance.
    e.g:
    From: Eleni Kontomari [email address removed by moderator Andrew]
    Sent: Thursday, February 27, 2014 12:33 PM
    To: "Nikos Totsios (Ηλεκτρονική διεύθυνση)"; "Giannis Diokarantos (Ηλεκτρονική διεύθυνση)"; "Dimitris Papadopoulos (Ηλεκτρονική διεύθυνση)"; Vassilis Gounaris; "Vassos Efthymiadis (Ηλεκτρονική διεύθυνση)"; Νικηφόρος Κεκρίδης; Ιωάννης Αθανασόπουλος; "Alexis Katsivas (Ηλεκτρονική διεύθυνση)"; Μιχάλης Παπαοικονόμου; Fomesa Hellas; "Χρήστος Σπηλιάδης (Ηλεκτρονική διεύθυνση)"; Δημήτρης Μπενάκης; "Ν. Γαλάνης"; [email protected]; "Αποστόλης Σαμούδης (Ηλεκτρονική διεύθυνση)"; "Β. Ντουρτόγλου (Ηλεκτρονική διεύθυνση)"; [email protected]; [email protected]; "Φοίβη Λεγάκι (Ηλεκτρονική διεύθυνση)"; "Παναγιώτης Κουμεντάκος (Ηλεκτρονική διεύθυνση)"; Σπύρος Ζαφείρης; Hans- Joachim Henn; "Κώστας Αλεξανδρόπουλος (Ηλεκτρονική διεύθυνση)"; [email protected]; [email protected]
    Subject: ΠΡΟΣΚΛΗΣΗ ΤΑΚΤΙΚΗΣ ΓΕΝΙΚΗΣ ΣΥΝΕΛΕΥΣΗΣ ΕΣΥΦ
    ... 13 2014.
    ''Please read [[Forum rules and guidelines]] when posting a question in a public forum''

    There are some language add ons that support emails from other languages that you can check out: [https://addons.mozilla.org/en-us/thunderbird/extensions/language-support/?sort=popular]
    The recipient, if they also use thunderbird may need to have a language pack to read the email: [https://addons.mozilla.org/en-US/thunderbird/language-tools/]
    You may also need to have them check their interpreter to make sure the email is being received in the same format it is being sent.

  • Sending HTML email with SO_DOCUMENT_SEND_API1

    Hi all,
    I have implemented a function module to send HTML emails with SO_DOCUMENT_SEND_API1.
    It works fine, but in every email I have at the end a CRLF which looks not very nice in MS Outlook.
    It seems that this will be added to every email in addition to my HTML text.
    Has anyone an idea how I can prevent this?
    Thanks in advance for your help.
    Best Regards,
    Marcel

    Hi Marcel,
    not only you can, you should use CL_BCS for sending of email. Although I expect it to be not too different from the old functions, it points to the object oriented future of SAP/ABAP. At least it should run more stable and SAP recommends to use it as a replacement for old functions.
    I came across one blog
    [Sending HTML Email from SAP CRM/ERP|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417300%29ID2058700050DB10227264795501776639End?blog=/pub/wlg/2273]
    You may be careful with this one: Probably it's not exactly what you need.
    The one I love most for its simplicity is this one
    [Unknown thus unloved?|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417300%29ID2058700050DB10227264795501776639End?blog=/pub/wlg/3443]
    although it does not mention HTML - I think easy for you to adapt. Compared  to functional SO_DOCUMENT.. approach the program will shrink.
    If you want to understand the concepts behind, nobody explains it better than
    [Thomas Jung: Sending E-Mail from ABAP - Version 610 and Higher - BCS Interface|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417300%29ID2058700050DB10227264795501776639End?blog=/pub/wlg/789]
    or - if you still feel unsafe in oo environment -
    [Sending E-Mail from ABAP - Version 610 and Higher - BCS Interface|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417300%29ID2058700050DB10227264795501776639End?blog=/pub/wlg/15408]
    Happy coding!
    Regards,
    Clemens

  • Payload type of wav files encoded with gms codec

    Hello everybody,
    I have an application which receives and plays alaw formated wav files using JMF(with the help of some additional libraries) . I want to use lower bandwidth for my application. A quick google search indicated that i can do this by using gsm format.
    I have 2 questions:
    1-) what are the differences between .gsm files and .wav files which are encoded with gsm codecs? Which one's quality is better? which one's compression ratio is better?
    2-) which payload type should i use for wav files which are encoded with gsm codecs?
    In [Rtp Payload list|http://www.iana.org/assignments/rtp-parameters] page, there is a gsm entry whose payload is 3. I suppose that is for files with gsm extension. I tried it but it didn't work with my wav sample (as u can guess it was encoded with gsm 6.10 codec)
    Any suggestion is appreciated. If you have a comment about the main problem (which is using lower bandwidth for sending audio data) i would also like to hear it
    Thanks in advance
    btw i also tried this [gsm sample|http://www.nch.com.au/acm/sample.gsm] with payload 3.At first it worked but then strangely it played just static. In Sun's page it says gsm format is supported. I played both ulaw and alaw succesfully so i wonder what i am doing wrong. Do we need to tell the player that it is going to receive data in gsm format? I didnt do such a thing for u-law and a-law formats...
    Edited by: Bugra.Hasbek on Nov 10, 2008 1:18 AM

    Bugra.Hasbek wrote:
    Hello everybody,
    I have an application which receives and plays alaw formated wav files using JMF(with the help of some additional libraries) . I want to use lower bandwidth for my application. A quick google search indicated that i can do this by using gsm format.
    I have 2 questions:
    1-) what are the differences between .gsm files and .wav files which are encoded with gsm codecs? Which one's quality is better? which one's compression ratio is better?I would imagine they are the same...
    2-) which payload type should i use for wav files which are encoded with gsm codecs?I would imagine 3...
    In [Rtp Payload list|http://www.iana.org/assignments/rtp-parameters] page, there is a gsm entry whose payload is 3. I suppose that is for files with gsm extension. I tried it but it didn't work with my wav sample (as u can guess it was encoded with gsm 6.10 codec)
    Any suggestion is appreciated. If you have a comment about the main problem (which is using lower bandwidth for sending audio data) i would also like to hear itMy suggestion would be not to worry about so much stuff. JMF does all of this for you automaticlly.
    On the sender side, make your processor take in whatever kind of supported file you want. Set the processor to output your GSM mono, and then you can just use a Player to play it on the other side. It's really not very different than the examples...
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/AVTransmit.html]
    When you're programming the tracks, and you're calling "setFormat" on them, just set their format to be gsm.
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/AVReceive.html] should be able to play this out of the box...

  • Corrupt chunk encoding, corrupt html code

    We had corrupt chunk encoding on longish webpages (HTTP 1.1, HTTPS, HTML Code >2MB) and finally found out that the load balancer F5 from BIG-IP had a problem with HTTPS encoding .. updated the thing .. problem solved.
              Hope this helps.

    Can you please share the solution? What did you need to update in the load balancer?

  • Content-length and chunked-encoding

    Hi,
    Need to include content-length and chunked-encoding headers with response, I am using Sun One Webserver SP 6.5.
    Thanks in anticipation,
    Adnan

    upgrade to apache 2.x and you'll be good (i've dealt with this issue, it sucks.)

  • Http chunked encoding

    Hi there
    Does anyone know if there is an issue with http chunked encoding to go through ASA even when http inspection is not enabled?
    Thanks
    Naresh

    HTTP 1.1 chunked encoding is supported Documentum 5.3 sp2 and above. I would strongly suggest that you open a case with EMC - Documentum on this particular issue. There were alot of issues with UCF in both 5.3 and 5.3 sp1.
    Good Luck

  • Xcode send post parameters with URL

    Hello Developers
    How are you?
    I am a new developer at all and only 2 weeks working with Objective-c. I came from VoIP PBX World, knows little bit php, shell
    So my question is:
    I am working right now on Bill application for mobile operator
    To send parameters in a blind mode by xcode
    I installed POSTER Plugin to my Firefox that can emulate login with 2 parameters (login and password) to this web site and
    return me a content from my account there.
    So I don't know which instrument in XCODE can do the same as POSTER PLUGIN.
    I have a link where I send parameters
    "https://www.golantelecom.co.il/rpc/web.account.rpc.php?action=login&p_action="
    and parameters I sent
    Content-type: application/x-www-form-urlencoded
    username=123456&password=PASSWORD
    I can't send it from my browser like a get request in this case
    https://www.golantelecom.co.il/rpc/web.account.rpc.php?action=login&p_action=use rname=123456&password=PASSWORD it's not working
    How I can emulate this same from Xcode?
    Very appreciate for your help

    Hi,
    For this thing, you dnt need to use any plugin. What you can do is take the "username=123456&password=PASSWORD" text into string format. And convert that into some encoded format. Ask the server people decode the content what you are sending from device. Check the iPhone Code. May it works...
    Eg:
    NSMutableURLRequest *req = [[[NSMutableURLRequest alloc] init]autorelease];
        [req setURL:[NSURL URLWithString:url]];
        [req setHTTPMethod:kPOST];
        [req setHTTPBody:[postParam dataUsingEncoding:NSUTF8StringEncoding]];
        NSURLConnection *connGet = [[[NSURLConnection alloc]initWithRequest:req delegate:self] autorelease];
        if(connGet)
            NSLog(@"Connected successfully");
        else {
            [AppDelegate showAlert:kAlertUnableToConnect];
            NSLog(@"Not connected successfully");
    Thanks,
    Rajesh..

  • Sending E-mail with attachment within a loop not working.

    Hi,
    I'm trying to send e-mails with attachment to multiple users with "subject & an attachment" within an ITAB loop.
    SUBJECT for each mail to corresponding user is being sent properly.
    But ATTACHMENT contents are not being sent properly.
    1st ATTACHMENT contents are going to 2nd user(supposed to go to 1st user) & 2nd ATTACHMENT contents are going to 3rd user etc..
    in almost all attempts, last ATTACHMENT contents within the loop were delivered properly to the last user.
    As a test, I'm debugging by sending with same "SUBJECT" & "ATTACHMENT CONTENTS". still it's not working.
    Following is the code for sending mail with same "SUBJECT" & "ATTACHMENT CONTENTS".
    I even refreshed the file contents for each record within the ITAB. Greatly appreciate any help.
    assume that ITAB has a field GROUP with values 501, 502, 503 & 504.
    SUBJECT is the subject of e-mail & DIST_LIST is the e-mail id of the corresponding user.
    DATA:
        MAIL_FILE(20) TYPE C,
        MAIL_TEXT(200) TYPE C,
        COMMAND(512) TYPE C,
        DIST_LIST(425) TYPE C,
        SUBJECT(60) TYPE C.
    DATA: BEGIN OF ITAB  OCCURS 0.
            DATA GROUP LIKE /BI0/PGRP-GRP.
    DATA: END OF ITAB.
    LOOP AT ITAB.
    SUBJECT = ITAB-GROUP.
    IF ITAB-GROUP = '501'.
    DIST_LIST = '[email protected]'.
    ENDIF.
    IF ITAB-GROUP = '502'.
    DIST_LIST = '[email protected]'.
    ENDIF.
    IF ITAB-GROUP = '503'.
    DIST_LIST = '[email protected]'.
    ENDIF.
    IF ITAB-GROUP = '504'.
    DIST_LIST = '[email protected]'.
    ENDIF.
    clear MAIL_FILE.
    clear MAIL_TEXT.
    UNASSIGN <FILE1>.
    CONCATENATE '/tmp/' SY-UNAME '.txt' INTO MAIL_FILE.
    TRANSLATE MAIL_FILE TO LOWER CASE.
    OPEN DATASET MAIL_FILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      MAIL_TEXT = ITAB-GROUP.
      TRANSFER MAIL_TEXT TO MAIL_FILE LENGTH 200.
    CLOSE DATASET MAIL_FILE.
    clear MAIL_TEXT.
      CONCATENATE '< ' MAIL_FILE INTO MAIL_TEXT SEPARATED BY SPACE.
      ASSIGN MAIL_TEXT TO <FILE1>.
    *Create UNIX MAIL Command
      CONCATENATE 'mailx -s'
      '"' SUBJECT '"' '"'  DIST_LIST  '"' <FILE1>
        INTO COMMAND SEPARATED BY SPACE.
    Send the E-mail
      CALL FUNCTION 'RFC_REMOTE_EXEC'
        DESTINATION 'SERVER_EXEC'
        EXPORTING
          COMMAND = COMMAND
        EXCEPTIONS
          OTHERS  = 04.
    ENDLOOP.

    Hi Zhenglin,
    thanks for your reply.
    Now, it's working after I changed attachment file name (user name) with ITAB-GROUP.
    but, I'm not clear on why it was not working even if the file name is same in every loop, as I'm unassigning the file contents and loading new contents at the start of each loop.
    anyhow, it's working and many thanks for your help.

Maybe you are looking for

  • Apple Wireless Keyboard doesn't work in Vista Ultmate?

    My Apple Wireless Keyboard doesn't work (not response) on Vista Ultmate but its works properly in Mac OS X 10.5.2... Should I install the driver in Mac OS first or update the keyboard firmware? Or install a driver for Windows Vista (I can't find any

  • Showing only a particular level from a hierarchy on a report

    Hi, I'm creating a crystal report on top of a BW Bex Query. In that BEx query I have a hierarchy on Profit Center with 6 levels, where the first level is the Area, the second one the Country, the third one is Plant, ... In my crystal report I only wa

  • TRADACOM inbound processing in B2B 11g

    Hi All, I am trying to process Tradacom inbounds in B2B 11g but instances are getting error out (not identifying sender TP although it recognize Doc type).I have set TRADACOM Name and TRADACOM Code for the host and partner. However when I test throug

  • Model deletion generates error

    Hi all I created a dc project for which i have imported the WebService model.and it was wrkg fine. Now the webservice got changed and i need to reimport the model, deleting the previous one. By performing this i landed with lots of irrelavent errors.

  • Is It Safe To Use Target Disk Mode Between My Intel iMac And A G4 eMac ?

    I want to use DiskWarrior 4 to rebuild my Intel-iMac's directories but a suitable startup CD has not yet been produced. So I intend to put DW on my old G4 eMac (OSX 10.4.10) and use Target Disk Mode between the two. As they have different processors