Error code 413 in Weblogic

Sometimes if you have MaxPostSize set in Apache configuration(httpd.conf) to lower number such as 2048 bytes, you may get into error 413 when you perform operations such as file upload, data transfer from the browser. I had this issue for some of my applications deployed in weblogic server 10.3 with Apache proxying the requests.

You might want either increase the size or remove it completely. if you don't mention it will take default integer which is -1. this means unlimited size.
<Location /app1>
       SetHandler weblogic-handler
       WebLogicHost localhost
       WebLogicPort 7001
       WLCookieName cookie1
       DynamicServerList OFF
       MaxPostSize     2048
       Debug ALL
       WLLogFile logs/proxy.log
</Location>

Useful links:

If you would like to know how to integrate Apache with Weblogic, please visit this blog.

4 comments:

  1. Thank you for mentioning the great solution "You might want either increase the size or remove it completely." to handle this error.It gives me knowledge for weblogic training online to overcome issues.

    ReplyDelete
  2. over at this website s4b53b9g61 replica wallets replica bags online uae o0y22g9i89 click to read more z3f87c7q28 louis vuitton fake replica bags delhi v2q33s7v35 our website w4y67s9b87 bags replica ysl replica bags from china

    ReplyDelete