HTTP header size problem

We have been using weblogic to serve the jnlp for a while now (there is a servlet that generates jnlp and sends to client) without any problems. Yesterday the following error occurred for the first time and the server stopped working. Does anyone have a clue as to in which situation can the header size exceed this limit? After restarting the server, it started working properly again.
weblogic.socket.MaxMessageSizeExceededException: [Incoming HTTP request headers of size 4129 bytes  exceeds the configured maximum of 4096 bytes]
at weblogic.socket.MuxableSocketHTTP.incrementBufferOffset(MuxableSocketHTTP.java:111)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:245)
Thanks.

My first reaction was that if you are using version protocol, and if you had many versions of some resources in the cache, maybe the request from java web start kept growing with each version.
http://xxx.com/yyy/zzz.jar version="1.9"&current_version="1.1"&current_version="1.2"&current_version="1.3"...
but in that case can't see how restarting the server would help.
/Dietz

Similar Messages

  • HTTP header insertion problem with ACE

    Hi
    I try to configure the HTTP header insertion feature based on the action-list type modify http. Unfortunately it does not works.
    The config looks like that
    action-list type modify http TEST
    header insert both Host header-value test:test.
    I added this action-list to the correct policy-map.
    When I checked the snifer output on the server side, there is no test value in the HTTP header.
    I test the same feature based on the "insert-http" command in the policy-map and this one works.
    Could anybody help me with this problem?
    Thank you in advance
    Regards
    Lucas

    Hi Lukas,
    Add a new parameter-map named PRMAP_PERST_REBLNC and add this to the policy map using command appl-parameter http advanced-options PRMAP_PERST_REBLNC as shown below:
    action-list type modify http test-insert
    header insert both My-Header header-value test
    header insert both SSL header-value TRUE
    policy-map type loadbalance http first-match HtppInsert
    class class-default
    serverfarm linux1-80
    action test-insert
    policy-map multi-match SLB1
    class VIP-122-80
    loadbalance vip inservice
    loadbalance policy HtppInsert
    loadbalance vip icmp-reply active
    loadbalance vip advertise active
    loadbalance vip advertise metric 1
    connection advanced-options SetTos
    appl-parameter http advanced-options PRMAP_PERST_REBLNC
    parameter-map type http PRMAP_PERST_REBLNC
    persistence-rebalance
    Hope this will make all the packets are inserted with the http header not the first one only.
    If it works then plz inform.
    Kind Regards.
    Sachin Garg

  • Src IP HTTP header insertion problem

    I have configured a vserver to loadbalance to 2 proxy servers over TCP port 8080.
    I use a policy to insert the source ip address of the client workstation to be
    inserted in the HTTP header.
    We use the same vserver to loadbalance HTTPS traffix.
    Appearantly the CSM also tries to insert the ip address when HTTPS traffic
    is passing this vserver.
    Is this a correct beheavior? How can I solve this one?
    Thanks!
    Regards Wim

    Actually mozilla lets you specify different ports for proxy http and proxy https.
    Anyway, are the servers behing your CSM proxy servers ?
    Do you have 'persistent rebalance" configured ?
    If so, could you try to turn do 'no persistent rebalance' and see if that solves your problem.
    Normally, https connection via a proxy are still done with HTTP connection with the request "CONNECT x.x.x.x:443" and the CSM should be able to inset the requested info.
    But we need to avoid the CSM to inspect further packets as this would be ssl traffic -> so disable peristent rebalance.
    Just an idea.
    Regards,
    Gilles.

  • HTTP Header SOAPAction Problem

    hi Everyone,
    this is an extract of my test soap program:
    SOAPConnectionFactory soapfactory = SOAPConnectionFactory.newInstance();
    SOAPConnection connection = soapfactory.createConnection();
    URL endpoint = new URL("http://url.asmx");
    MessageFactory messagefactory = MessageFactory.newInstance();
    SOAPMessage message = messagefactory.createMessage();
    SOAPPart soapPart = message.getSOAPPart();
    SOAPEnvelope envelope = soapPart.getEnvelope();
    SOAPBody body = envelope.getBody();
    soapFactory = SOAPFactory.newInstance();
    Name insertNewUser = soapFactory.createName("insertNewUser","","namespace");
    SOAPBodyElement bodyElement = body.addBodyElement(insertNewUser);
    response = connection.call(message, endpoint);
    response.writeTo(System.out);
    connection.close();when i send the call, this the response from the server:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="...">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Client</faultcode>
    <faultstring>Server did not recognize the value of HTTP Header SOAPAction:.</faultstring>
    <detail />
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    This is my question:
    How can I set the HTTP Header SOAPAction?
    Thanks.
    Roberto

    Hi try out the following code.
    MimeHeaders hd = message.getMimeHeaders();
    hd.addHeader("SOAPAction", "http://tempuri.org/HelloWorld");This will add the SOAP Action header to ur HTTP headers.
    Regards
    Aditya

  • Default WCI HTTP Header size

    Hi All,
    I am currently working with a customer that has a very small header size limit on their load balancers, 4K including URL.
    They would like to know for a normal portal user what is the default header size that WCI will produce. They are aware that this will vary according to page content but if we assume there are no portlets on a page.
    I can measure this but thought I would put it out there to see if anyone has done this work before ?
    Cheers
    Bob

    hi,
    You are referring to header between user browser and portal or portal and remote applications ?
    Size of the header between portal and remote applications, depends on userinfo that are configured for specific portlet.
    As for header size sent by user browser, you can easily check it using firebug or fidler.
    Cześć,
    Marcin

  • Oracle (Apache) HTTP Server - Default Header Size limitation

    Does the Oracle HTTP Server have a http header size limitation? If so, what is the maximum size allowed for http headers? Can it be changed, and how?
    Which version of Apache shipped with AS 9.0.4? I've been trying to find the answer to my questions in the Apache 1.3 documentation, but I'm not having any luck.
    Let me explain my problem. We're using Vintela's Single Sign-On library for authentication in our java applications. Recently we ran into a problem where a user was not being granted access to the application. Much debugging occured, eventually we had to open a trouble ticket with Vintela. They suggested it might be a http header size limitation and to check the configuration for the web cache and apache. We easily found the configuration options for the web cache, but are still looking for apache.
    We've by-passed the web cache and accessed the HTTP server directly and we are still experiancing the same problem.
    To keep this message short and concise, I've omitted most of our troubleshooting, we're pretty sure the problem is related to a HTTP header size limitation.

    One trick I saw the Oracle guys do is telnet to the httpd port and manually type in an HTTP request.
    Perhaps ask the Vintela people for a test string that you can paste in a telnet window to test if the server handles it correctly.
    Also, you can put Apache in a sort of debug mode as well using the AS Console. I can't remember, but I think this may show the entire http request including the headers.

  • Max Header size

    Hi,
    I am running WebLogic 9.2 on Windows. I wanted to know how to increase the Max HTTP Header size for the server instance. I know how to do it in Tomcat (server.xml), but never done this with weblogic before.
    Any pointers would be a great help!
    Thanks,
    SD

    Hi,
    I am running WebLogic 9.2 on Windows. I wanted to know how to increase the Max HTTP Header size for the server instance. I know how to do it in Tomcat (server.xml), but never done this with weblogic before.
    Any pointers would be a great help!
    Thanks,
    SD

  • Problem setting Unicode (utf-8) in http header using tomcat

    Hi:
    I am trying to set a file name in utf-8 to http header using the following code:
    response.setContentType("text/html; charset=utf-8");
    response.setHeader("Content-disposition", "attachment; filename=&#35299;&#27770;.zip");
    // I actually has file name in utf-8 here to set to the header, and I know that the name is correctly
    // and I also looked into the response object MimeHeaders object and saw the head is correctly there
    then write the content of zip file using ServletOutputStream.
    The problem I have is that the file name is not displayed correctly when prompted to save or open in the pop up window next. I found out using Fiddler that the request header is wrong:
    Content-disposition: attachment; filename=&#65533;zn&#65533;�.zip
    I am using Tomcat 5.0.28. Any idea how to get this working?
    Thanks in advance!

    You are setting the charset for the content to be UTF-8. (That is why the method is called setContentType.) But HTTP headers are not part of the content and so that has no effect on the header.
    The original specification for HTTP only allowed US-ASCII characters in headers. It is possible that more recent versions have features that allow for non-ASCII header data, but I don't know if that is the case or how you would use those features if they exist.

  • OSB http Header Problem

    Hello all,
    (I hope I'm right here with my Oracle Service Bus problem)
    I have a Oracle Service Bus Proxy Service, that calls a Business Service (not in my control).
    That business service is somehow crap, cause it doesn't respond correctly (in sense of http protocol):
    POST / HTTP/1.1
    Content-Type: text/xml; charset=utf-8
    User-Agent: Java1.6.0_05
    Host: somehost.net:8080
    Accept: text/html, image/gif, image/jpeg, */*; q=.2
    Connection: Keep-Alive
    0093
    <?xml version="1.0" encoding="UTF-8"?>
    <somePayload/>
    0000
    *<TheResponse/>*
    <TheResponse/> is all i get from that service. No http header..
    My Proxy service doesn't like responses with no HTTP/1.1 200 OK
    and returns an error (although its a correct answer.. from the service)
    Is there a posibility to avoid this error and get the plain response instead?
    Thanx in advance
    Pat

    You're right, that service doesn't respond correctly as defined by HTTP. I don't think there is an out of the box feature in OSB you could use to overcome this.
    However, you can possibly write your own transport implementation as described here:
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/transportsdk/architecture.html
    There's also sample implementation that could be useful:
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/transportsdk/example.html

  • Problem adding HTTP header to request

    Hi all,
    My company is wanting to access our Adobe Connect through our
    SAP portal without requiring the user to stop and enter their Adobe
    Connect password.
    The documentation available says that this should be possible
    using a combination of SAPSSOEXT (to interrogate the SAP ticket and
    authenticate the user coming from the SAP portal) and HTTP header
    authentication within Adobe Connect (by inserting the authenticated
    username into a custom HTTP header).
    However the problem is that I'm intending to use Java, but I
    can't find any Java functionality that will allow me to add a
    header into an HTTP request.
    Has anyone done anything like this before? Any ideas on how
    to go about it?
    Thanks in advance,
    David

    In 10.1.3.5, there were several examples or samples in the Oracle BPEL folder. I think there were ones called HTTPGetService and HTTPPostService. You might check to see if they are still around.

  • Problems with http header "Content-Location"

    Does anyone know how to override the
    "Content-Location" http header. We are having issues with search engines and this header being returned from Apache/oc4j. In a nutshell, I have a site that uses the
    Struts framework, where the actual urls submitted would be for example
    (http://mysite/home.do), where ".do" is just a servlet mapping. When we have
    tried to follow the one link that has been spidered, it actually contains
    the full path that appears in the "Content-Location" header (i.e.
    http://mysite/web-inf/jsps/bogus.jsp) which in this case can't even be
    accessed. The feedback we get from third-party utilities that try to spider
    the site is that it is stopping because it has already indexed "bogus.jsp",
    which in reality will always appear since it is a template, where the actual
    urls will be different as is above.
    Because the "Content-Location" header is being returned to any
    client hitting the site, search engine spiders stop indexing at the first page because the value in "Content-Location" is the same.
    Solutions tried:
    mod_headers in Apache - have tried "Header unset"
    HttpServletResponse.setHeader()
    Any help would be appreciated

    Hi there,
    i'm having a similar problem to this when trying to run some web page speed optimisation software...
    i think the issue also causes problems with the Opera browser (although this may have been fixed in the latest version).
    anybody any ideas how to stop the header being sent in the response?
    many thanks,
    Andy

  • BPEL HTTP Header Problem

    Hello @all
    I�m new to Open ESB and NetBeans.
    Does anybody has an idea how to put HTTP-Header to the BPEL-Process?
    I have to call a WebService (from BPEL) which expects user authentication (sessionId) in the HTTP-Header . How do I do that? Do I have to modify my WSDL-File?
    Thanks for your posts in advance

    You would have already defined your WSDL accommodating this requirement. If not, then yes, you might have to change your wsdl.
    Assuming you are sending the user info all the way from the BPEL process and assuming soap-http protocol. Typically the way i see this done is, you define a wsdl message with the parts that correspond to your business logic and parts that you would use in the "soap headers". In the BPEL it is always "business as usual" you deal with the abstract wsdl message. It would be developers responsibility to fill the wsdl message parts correctly. Once this message goes through the soap-http BC, it would be the BC's job to then put things as required by the HTTP protocol.
    hope that helps,
    Kiran B.

  • HTTP header and Filter: problem

    Hi,
    Let's suppose I need to check HTTP header values for some reason. I created a filter to analyze request information before passing it to servlet.
    Anyway filter's method doFilter() takes a ServletRequest as a parameter, not HttpServletRequest, therefore I can't use HttpServletRequestWrapper and its method getHeaders(). ServletRequestWrapper does not have such a method. Casting from ServletRequest to HttpServletRequest won't work - Weblogic does not allow this.
    Anyway I need to extract headers information for the request and I know for sure it is an HTTP request, of course.
    Does anyone here know how can I extract header information in this case?

    Anyway filter's method doFilter() takes a
    ServletRequest as a parameter, not
    HttpServletRequest, therefore I can't use
    HttpServletRequestWrapper and its method
    getHeaders().However you are actually getting an HttpServletRequest object as your actual parameter, so just cast it to HttpServletRequest and do what you need to do.

  • Controlling the header size when using sub templates

    Hi All,
    I have a conditional header subtemplate which has a different company logo for each country. I have a header sub template which has the list of all possible logo's which are conditinally invoked from the main template. Everything works fine. But the header size if too huge. I have tried different options of reducing the margin-size, setting vertical alignment to the top, but none of them seems to make the header size any smaller. Pls help.
    Thanks
    Swarna

    Hi,
    once i upload the rtf to the server With the static url i am able to view it . the problem is occuring only when i add the ${HTTPSERVER} in the import statement. I have set the property "Disable external reference" to false.
    Here is my static URL
    <?import:http://myserver:9704/xmlpserver/HeaderFooter.rtf?>
    After adding property of HTTPSERVER in xdo.cfg file URL is
    <?import: http://${HTTPSERVER}/HeaderFooter.rtf?>
    further i am even able to download the file when I run the static URL.
    Please let me know if any settings need to be done

  • #5.3.4 message header size exceeds limit

    Hi !
    We are getting this bounce error message from our customers trying to send emails to our newly built C370 Ironport box.
    Here is the error message;
    "The following message to [email protected] was undeliverable.
    The reason for the problem:
    5.3.0 - Other mail system problem 552 - '#5.3.4 message header size exceeds limit'"
    Hope is Delivery Satus Notification will help to identify what the problem is about.
    Appreciate your kind response on how to fix this issue.
    Best Regards,
    Ruveni

    Hi Ruveni,
    Please check our following knowledge base article which explains this error and provide solution for it.
    Message Bounces with "552 #5.3.4 message header size exceeds limit"
    http://tinyurl.com/2yw579
    Hope this helps!
    Regards,
    Viquar
    Customer Support Engineer

Maybe you are looking for

  • Travel adapter or power converter?

    Do I need a power converter to charge my BlackBerry Bold and PlayBook in Holland or is a travel adapter enough? Solved! Go to Solution.

  • How to get the Url(address) of Next Page in Sequence of Pages in OAF

    Dear All, My requirement is to get the next page Url dynamically . i have created 2 pages ,first page have button to navigate to the next page ,when i click on first page button , i want to store the url of the next page in column of the database tab

  • Best Practice for New Doc Version?

    I'm a RH novice who needs to create a V1.1 doc based on the V1.0 source topics, TOC, and images. I'm using RH HTML X5. What is my best practice? The previous author left a unclear doc suggesting something like the following: Copy the current V1.xpj,

  • Named Pipes Provider, error: 40 on workgroup workstations

    I am having issues with a vendor supplied application. It generates an error when run from workstations that are not part of an Active Directory domain. The error is "provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Serv

  • IDOC Number based on the output type

    Hi, I have a special requirement where in I need to find the IDOC number generated from the output type . I have the NAST details and the Invoice number and need to find the IDOC generated for the particular NAST entry. Is there any table or FM which